From 1d67949b325a028b51c14c984fa3e786976d4186 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Thu, 21 Dec 2017 15:24:25 +0100
Subject: [PATCH 001/126] Improve synctex documentation
Signed-off-by: Sebastian Ramacher
---
doc/man/_synctex.txt | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/doc/man/_synctex.txt b/doc/man/_synctex.txt
index 7ba1098..8a1728b 100644
--- a/doc/man/_synctex.txt
+++ b/doc/man/_synctex.txt
@@ -8,7 +8,25 @@ pass the arguments to *synctex view*'s *-i* option to zathura via
*--syntex-forward* and zathura will pass the information to the correct
instance.
+For gvim forward and backwards synchronization support can be set up as follows:
+First add the following to the vim configuration:
+
+::
+
+ function! Synctex()
+ execute "silent !zathura --synctex-forward " . line('.') . ":" . col('.') . ":" . bufname('%') . " " . g:syncpdf
+ redraw!
+ endfunction
+ map :call Synctex()
+
+Then launch *zathura* with
+
+::
+
+ zathura -x "gvim --servername vim -c \"let g:syncpdf='$1'\" --remote +%{line} %{input}" $file
+
Some editors support zathura as viewer out of the box:
* LaTeXTools for SublimeText
(https://latextools.readthedocs.io/en/latest/available-viewers/#zathura)
+* LaTeX for Atom (https://atom.io/packages/latex)
From 4bde3d793ff25f0b158ca1f5fd6ebc60c23b4d05 Mon Sep 17 00:00:00 2001
From: valoq
Date: Sat, 30 Dec 2017 13:46:07 +0100
Subject: [PATCH 002/126] seccomp implementation
---
Makefile | 4 +
config.mk | 12 +
zathura/libsec.c | 554 +++++++++++++++++++++++++++++++++++++++++++++++
zathura/libsec.h | 19 ++
zathura/links.c | 9 +
zathura/main.c | 15 ++
6 files changed, 613 insertions(+)
create mode 100644 zathura/libsec.c
create mode 100644 zathura/libsec.h
diff --git a/Makefile b/Makefile
index 9a22c30..8eda173 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,10 @@ ifneq ($(WITH_SYNCTEX),0)
CPPFLAGS += -DWITH_SYNCTEX
endif
+ifneq ($(WITH_SECCOMP),0)
+CPPFLAGS += -DWITH_SECCOMP
+endif
+
ifneq ($(wildcard ${VALGRIND_SUPPRESSION_FILE}),)
VALGRIND_ARGUMENTS += --suppressions=${VALGRIND_SUPPRESSION_FILE}
endif
diff --git a/config.mk b/config.mk
index 7a488cf..b7f55d3 100644
--- a/config.mk
+++ b/config.mk
@@ -47,6 +47,10 @@ WITH_SYNCTEX ?= $(shell (${PKG_CONFIG} synctex && echo 1) || echo 0)
# To disable support for mimetype detction with libmagic set WITH_MAGIC to 0.
WITH_MAGIC ?= 1
+# seccomp
+# To enable support for seccomp filter set WITH_SECCOMP to 1.
+WITH_SECCOMP ?= 0
+
# paths
PREFIX ?= /usr
MANPREFIX ?= ${PREFIX}/share/man
@@ -116,6 +120,14 @@ LIBS += ${SYNCTEX_LIB}
endif
endif
+ifneq (${WITH_SECCOMP},0)
+SECCOMP_INC ?=
+SECCOMP_LIB ?= -lseccomp
+
+INCS += ${SECCOMP_INC}
+LIBS += ${SECCOMP_LIB}
+endif
+
ifneq (${PKG_CONFIG_LIBS},)
INCS += $(shell ${PKG_CONFIG} --cflags ${PKG_CONFIG_LIBS})
LIBS += $(shell ${PKG_CONFIG} --libs ${PKG_CONFIG_LIBS})
diff --git a/zathura/libsec.c b/zathura/libsec.c
new file mode 100644
index 0000000..ed87142
--- /dev/null
+++ b/zathura/libsec.c
@@ -0,0 +1,554 @@
+#include "libsec.h"
+#include
+
+#ifdef WITH_SECCOMP
+
+#include /* libseccomp */
+#include /* prctl */
+#include
+#include
+#include
+#include
+
+#define DENY_RULE(call) { if (seccomp_rule_add (ctx, SCMP_ACT_KILL, SCMP_SYS(call), 0) < 0) goto out; }
+#define ALLOW_RULE(call) { if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(call), 0) < 0) goto out; }
+
+scmp_filter_ctx ctx;
+
+
+
+int protectedMode(void){
+
+ /* prevent child processes from getting more priv e.g. via setuid, capabilities, ... */
+ if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
+ perror("prctl SET_NO_NEW_PRIVS");
+ exit(EXIT_FAILURE);
+ }
+
+ /* prevent escape via ptrace */
+ if(prctl (PR_SET_DUMPABLE, 0, 0, 0, 0)){
+ perror("prctl PR_SET_DUMPABLE");
+ exit(EXIT_FAILURE);
+ }
+
+ /* initialize the filter */
+ ctx = seccomp_init(SCMP_ACT_ALLOW);
+ if (ctx == NULL){
+ perror("seccomp_init failed");
+ exit(EXIT_FAILURE);
+ }
+
+
+ DENY_RULE (_sysctl);
+ DENY_RULE (acct);
+ DENY_RULE (add_key);
+ DENY_RULE (adjtimex);
+ DENY_RULE (chroot);
+ DENY_RULE (clock_adjtime);
+ DENY_RULE (create_module);
+ DENY_RULE (delete_module);
+ DENY_RULE (fanotify_init);
+ DENY_RULE (finit_module);
+ DENY_RULE (get_kernel_syms);
+ DENY_RULE (get_mempolicy);
+ DENY_RULE (init_module);
+ DENY_RULE (io_cancel);
+ DENY_RULE (io_destroy);
+ DENY_RULE (io_getevents);
+ DENY_RULE (io_setup);
+ DENY_RULE (io_submit);
+ DENY_RULE (ioperm);
+ DENY_RULE (iopl);
+ DENY_RULE (ioprio_set);
+ DENY_RULE (kcmp);
+ DENY_RULE (kexec_file_load);
+ DENY_RULE (kexec_load);
+ DENY_RULE (keyctl);
+ DENY_RULE (lookup_dcookie);
+ DENY_RULE (mbind);
+ DENY_RULE (nfsservctl);
+ DENY_RULE (migrate_pages);
+ DENY_RULE (modify_ldt);
+ DENY_RULE (mount);
+ DENY_RULE (move_pages);
+ DENY_RULE (name_to_handle_at);
+ DENY_RULE (open_by_handle_at);
+ DENY_RULE (perf_event_open);
+ DENY_RULE (pivot_root);
+ DENY_RULE (process_vm_readv);
+ DENY_RULE (process_vm_writev);
+ DENY_RULE (ptrace);
+ DENY_RULE (reboot);
+ DENY_RULE (remap_file_pages);
+ DENY_RULE (request_key);
+ DENY_RULE (set_mempolicy);
+ DENY_RULE (swapoff);
+ DENY_RULE (swapon);
+ DENY_RULE (sysfs);
+ DENY_RULE (syslog);
+ DENY_RULE (tuxcall);
+ DENY_RULE (umount2);
+ DENY_RULE (uselib);
+ DENY_RULE (vmsplice);
+
+
+ /* applying filter... */
+ if (seccomp_load (ctx) >= 0){
+ /* free ctx after the filter has been loaded into the kernel */
+ seccomp_release(ctx);
+ return 0;
+ }
+
+ out:
+ /* something went wrong */
+ seccomp_release(ctx);
+ return 1;
+
+}
+
+
+int protectedView(void){
+
+ /* prevent child processes from getting more priv e.g. via setuid, capabilities, ... */
+ if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
+ perror("prctl SET_NO_NEW_PRIVS");
+ exit(EXIT_FAILURE);
+ }
+
+ /* prevent escape via ptrace */
+ if(prctl (PR_SET_DUMPABLE, 0, 0, 0, 0)){
+ perror("prctl PR_SET_DUMPABLE");
+ exit(EXIT_FAILURE);
+ }
+
+ /* initialize the filter */
+ ctx = seccomp_init(SCMP_ACT_KILL);
+ if (ctx == NULL){
+ perror("seccomp_init failed");
+ exit(EXIT_FAILURE);
+ }
+
+
+ ALLOW_RULE (access);
+ ALLOW_RULE (bind);
+ ALLOW_RULE (brk);
+ ALLOW_RULE (clock_getres);
+ ALLOW_RULE (clone);
+ ALLOW_RULE (close);
+ ALLOW_RULE (connect);
+ ALLOW_RULE (eventfd2);
+ ALLOW_RULE (exit);
+ ALLOW_RULE (exit_group);
+ ALLOW_RULE (fadvise64);
+ ALLOW_RULE (fallocate);
+ ALLOW_RULE (fcntl); /* TODO: build detailed filter */
+ ALLOW_RULE (fstat);
+ ALLOW_RULE (fstatfs);
+ ALLOW_RULE (ftruncate);
+ ALLOW_RULE (futex);
+ ALLOW_RULE (getdents);
+ ALLOW_RULE (getegid);
+ ALLOW_RULE (geteuid);
+ ALLOW_RULE (getgid);
+ ALLOW_RULE (getuid);
+ ALLOW_RULE (getpid);
+ ALLOW_RULE (getppid);
+ ALLOW_RULE (getpgrp);
+ ALLOW_RULE (getpeername);
+ ALLOW_RULE (getrandom);
+ ALLOW_RULE (getresgid);
+ ALLOW_RULE (getresuid);
+ ALLOW_RULE (getrlimit);
+ ALLOW_RULE (getsockname);
+ ALLOW_RULE (getsockopt); /* needed for access to x11 socket in network namespace (without abstract sockets) */
+ ALLOW_RULE (inotify_add_watch);
+ ALLOW_RULE (inotify_init1);
+ ALLOW_RULE (inotify_rm_watch);
+ /* ALLOW_RULE (ioctl); specified below */
+ ALLOW_RULE (lseek);
+ ALLOW_RULE (lstat);
+ ALLOW_RULE (madvise);
+ ALLOW_RULE (memfd_create);
+ ALLOW_RULE (mkdir); /* needed for first run only */
+ ALLOW_RULE (mmap);
+ ALLOW_RULE (mprotect);
+ ALLOW_RULE (mremap);
+ ALLOW_RULE (munmap);
+ ALLOW_RULE (open); /* (zathura needs to open for writing) TODO: avoid needing this somehow */
+ ALLOW_RULE (openat);
+ ALLOW_RULE (pipe);
+ ALLOW_RULE (poll);
+ ALLOW_RULE (pwrite64); /* TODO: build detailed filter */
+ ALLOW_RULE (pread64);
+ ALLOW_RULE (prlimit64);
+ ALLOW_RULE (prctl); /* NOT specified below */
+ ALLOW_RULE (read);
+ ALLOW_RULE (readlink);
+ ALLOW_RULE (recvfrom);
+ ALLOW_RULE (recvmsg);
+ ALLOW_RULE (restart_syscall);
+ ALLOW_RULE (rt_sigaction);
+ ALLOW_RULE (rt_sigprocmask);
+ ALLOW_RULE (seccomp);
+ ALLOW_RULE (sendmsg);
+ ALLOW_RULE (sendto);
+ ALLOW_RULE (select);
+ ALLOW_RULE (set_robust_list);
+ ALLOW_RULE (setsockopt);
+ ALLOW_RULE (shmat);
+ ALLOW_RULE (shmctl);
+ ALLOW_RULE (shmdt);
+ ALLOW_RULE (shmget);
+ ALLOW_RULE (shutdown);
+ ALLOW_RULE (stat);
+ ALLOW_RULE (statfs);
+ /* ALLOW_RULE (socket); specified below */
+ ALLOW_RULE (sysinfo);
+ ALLOW_RULE (uname);
+ ALLOW_RULE (unlink);
+ ALLOW_RULE (write); /* specified below (zathura needs to write files)*/
+ ALLOW_RULE (writev);
+ ALLOW_RULE (wait4); /* trying to open links should not crash the app */
+
+
+ /* allowed for use with container */
+
+ ALLOW_RULE (chmod);
+ ALLOW_RULE (link);
+ ALLOW_RULE (rename);
+
+
+
+ /* allowed for debugging: */
+
+ /* ALLOW_RULE (prctl); */
+ /* ALLOW_RULE (ioctl); */
+
+
+
+ /* incomplete */
+
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, F_GETFL)) < 0) */
+ /* goto out; */
+
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, F_SETFL)) < 0) */
+ /* goto out; */
+
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, F_SETFD)) < 0) */
+ /* goto out; */
+
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, F_GETFD)) < 0) */
+ /* goto out; */
+
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, F_SETLK)) < 0) */
+ /* goto out; */
+
+
+ /* Special requirements for ioctl, allowed on stdout/stderr */
+ if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(ioctl), 1,
+ SCMP_CMP(0, SCMP_CMP_EQ, 1)) < 0)
+ goto out;
+ if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(ioctl), 1,
+ SCMP_CMP(0, SCMP_CMP_EQ, 2)) < 0)
+ goto out;
+
+
+
+ /* TODO: build detailed filter for prctl */
+ /* needed by gtk??? (does not load content without) */
+
+ /* /\* special restrictions for prctl, only allow PR_SET_NAME/PR_SET_PDEATHSIG *\/ */
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(prctl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, PR_SET_NAME)) < 0) */
+ /* goto out; */
+
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(prctl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, PR_SET_PDEATHSIG)) < 0) */
+ /* goto out; */
+
+
+
+
+ /* when zathura is run on wayland, with X11 server available but blocked, unset the DISPLAY variable */
+ /* otherwise it will try to connect to X11 using inet socket protocol */
+
+ /* required changes in links.c (at girara_xdg_open) */
+ /* special restrictions for socket, only allow AF_UNIX/AF_LOCAL */
+ if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(socket), 1,
+ SCMP_CMP(0, SCMP_CMP_EQ, AF_UNIX)) < 0)
+ goto out;
+
+ if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(socket), 1,
+ SCMP_CMP(0, SCMP_CMP_EQ, AF_LOCAL)) < 0)
+ goto out;
+
+
+
+ /* TODO: avoid the need for the open syscall to be allowed with write permissions */
+
+ /* zathura needs to open files for writing to save current position */
+
+ /* /\* special restrictions for open, prevent opening files for writing *\/ */
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(open), 1, */
+ /* SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_WRONLY | O_RDWR, 0)) < 0) */
+ /* goto out; */
+
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(open), 1, */
+ /* SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_WRONLY, O_WRONLY)) < 0) */
+ /* goto out; */
+
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(open), 1, */
+ /* SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_RDWR, O_RDWR)) < 0) */
+ /* goto out; */
+
+
+
+
+
+ /* ------------ experimental filters --------------- */
+
+
+ /* /\* this filter is susceptible to TOCTOU race conditions, providing limited use *\/ */
+ /* /\* allow opening only specified files identified by their file descriptors*\/ */
+
+ /* this requires either a list of all files to open (A LOT!!!) */
+ /* or needs to be applied only after initialisation, right before parsing */
+ /* if(seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(read), 1, */
+ /* SCMP_CMP(SCMP_CMP_EQ, fd)) < 0) /\* or < 1 ??? *\/ */
+ /* goto out; */
+
+
+ /* /\* restricting write access *\/ */
+
+ /* /\* allow stdin *\/ */
+ /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(write), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, 0)) < 0 ) */
+ /* goto out; */
+
+ /* /\* allow stdout *\/ */
+ /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(write), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, 1)) < 0 ) */
+ /* goto out; */
+
+
+ /* /\* allow stderr *\/ */
+ /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(write), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, 2)) < 0 ) */
+ /* goto out; */
+
+
+ /* /\* restrict writev (write a vector) access *\/ */
+ /* this does not seem reliable but it surprisingly is. investigate more */
+ /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(writev), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, 3)) < 0 ) */
+ /* goto out; */
+
+ /* test if repeating this after some time or denying it works */
+
+
+ /* first attempt to filter poll requests */
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(poll), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_MASKED_EQ, POLLIN | POLL, 0)) < 0) */
+ /* goto out; */
+
+
+ /* /\* restrict fcntl calls *\/ */
+ /* this syscall sets the file descriptor to read write */
+ /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, 3)) < 0 ) */
+ /* goto out; */
+ /* fcntl(3, F_GETFL) = 0x2 (flags O_RDWR) */
+ /* fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 */
+ /* fcntl(3, F_SETFD, FD_CLOEXEC) = 0 */
+
+
+ /* ------------------ end of experimental filters ------------------ */
+
+
+ /* applying filter... */
+ if (seccomp_load (ctx) >= 0){
+ /* free ctx after the filter has been loaded into the kernel */
+ seccomp_release(ctx);
+ return 0;
+ }
+
+ out:
+ /* something went wrong */
+ seccomp_release(ctx);
+ return 1;
+
+
+}
+
+
+int strictFilter(void){
+
+ /* prevent child processes from getting more priv e.g. via setuid, capabilities, ... */
+ if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
+ perror("prctl SET_NO_NEW_PRIVS");
+ exit(EXIT_FAILURE);
+ }
+
+ /* prevent escape via ptrace */
+ if(prctl (PR_SET_DUMPABLE, 0, 0, 0, 0)){
+ perror("prctl PR_SET_DUMPABLE");
+ exit(EXIT_FAILURE);
+ }
+
+ /* initialize the filter */
+ ctx = seccomp_init(SCMP_ACT_KILL);
+ if (ctx == NULL){
+ perror("seccomp_init failed");
+ exit(EXIT_FAILURE);
+ }
+
+
+ ALLOW_RULE (access);
+ /* ALLOW_RULE (arch_prctl); */
+ ALLOW_RULE (bind);
+ ALLOW_RULE (brk);
+ ALLOW_RULE (clock_getres);
+ ALLOW_RULE (clone);
+ ALLOW_RULE (close);
+ /* ALLOW_RULE (connect); */
+ ALLOW_RULE (eventfd2);
+ ALLOW_RULE (exit);
+ ALLOW_RULE (exit_group);
+ ALLOW_RULE (fadvise64);
+ ALLOW_RULE (fallocate);
+ ALLOW_RULE (fcntl); /* TODO: build detailed filter */
+ ALLOW_RULE (fstat);
+ ALLOW_RULE (fstatfs);
+ ALLOW_RULE (ftruncate);
+ ALLOW_RULE (futex);
+ ALLOW_RULE (getdents);
+ ALLOW_RULE (getegid);
+ ALLOW_RULE (geteuid);
+ ALLOW_RULE (getgid);
+ ALLOW_RULE (getuid);
+ ALLOW_RULE (getpid);
+ /* ALLOW_RULE (getpeername); */
+ ALLOW_RULE (getresgid);
+ ALLOW_RULE (getresuid);
+ ALLOW_RULE (getrlimit);
+ /* ALLOW_RULE (getsockname); */
+ /* ALLOW_RULE (getsockopt); needed for access to x11 socket in network namespace (without abstract sockets) */
+ ALLOW_RULE (inotify_add_watch);
+ ALLOW_RULE (inotify_init1);
+ ALLOW_RULE (inotify_rm_watch);
+ /* ALLOW_RULE (ioctl); specified below */
+ ALLOW_RULE (lseek);
+ ALLOW_RULE (lstat);
+ ALLOW_RULE (madvise);
+ ALLOW_RULE (memfd_create);
+ ALLOW_RULE (mkdir); /* needed for first run only */
+ ALLOW_RULE (mmap);
+ ALLOW_RULE (mprotect);
+ ALLOW_RULE (mremap);
+ ALLOW_RULE (munmap);
+ ALLOW_RULE (open); /* (zathura needs to open for writing) TODO: avoid needing this somehow */
+ ALLOW_RULE (openat);
+ ALLOW_RULE (pipe);
+ ALLOW_RULE (poll);
+ ALLOW_RULE (pwrite64); /* TODO: build detailed filter */
+ ALLOW_RULE (pread64);
+ /* ALLOW_RULE (prlimit64); */
+ /* ALLOW_RULE (prctl); specified below */
+ ALLOW_RULE (read);
+ ALLOW_RULE (readlink);
+ ALLOW_RULE (recvfrom);
+ ALLOW_RULE (recvmsg);
+ ALLOW_RULE (restart_syscall);
+ ALLOW_RULE (rt_sigaction);
+ ALLOW_RULE (rt_sigprocmask);
+ ALLOW_RULE (sendmsg);
+ ALLOW_RULE (sendto);
+ ALLOW_RULE (select);
+ ALLOW_RULE (set_robust_list);
+ /* ALLOW_RULE (set_tid_address); */
+ /* ALLOW_RULE (setsockopt); */
+ ALLOW_RULE (shmat);
+ ALLOW_RULE (shmctl);
+ ALLOW_RULE (shmdt);
+ ALLOW_RULE (shmget);
+ ALLOW_RULE (shutdown);
+ ALLOW_RULE (stat);
+ ALLOW_RULE (statfs);
+ /* ALLOW_RULE (socket); */
+ ALLOW_RULE (sysinfo);
+ ALLOW_RULE (uname);
+ ALLOW_RULE (unlink);
+ ALLOW_RULE (write); /* specified below (zathura needs to write files)*/
+ ALLOW_RULE (writev);
+ ALLOW_RULE (wait4); /* trying to open links should not crash the app */
+
+
+ /* Special requirements for ioctl, allowed on stdout/stderr */
+ if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(ioctl), 1,
+ SCMP_CMP(0, SCMP_CMP_EQ, 1)) < 0)
+ goto out;
+ if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(ioctl), 1,
+ SCMP_CMP(0, SCMP_CMP_EQ, 2)) < 0)
+ goto out;
+
+
+
+ /* needed by gtk??? (does not load content without) */
+
+ /* special restrictions for prctl, only allow PR_SET_NAME/PR_SET_PDEATHSIG */
+ if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(prctl), 1,
+ SCMP_CMP(0, SCMP_CMP_EQ, PR_SET_NAME)) < 0)
+ goto out;
+
+ if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(prctl), 1,
+ SCMP_CMP(0, SCMP_CMP_EQ, PR_SET_PDEATHSIG)) < 0)
+ goto out;
+
+
+
+ /* allowed for debugging: */
+
+ /* ALLOW_RULE (prctl); */
+ /* ALLOW_RULE (ioctl); */
+
+
+ /* applying filter... */
+ if (seccomp_load (ctx) >= 0){
+ /* free ctx after the filter has been loaded into the kernel */
+ seccomp_release(ctx);
+ return 0;
+ }
+
+ out:
+ /* something went wrong */
+ seccomp_release(ctx);
+ return 1;
+}
+
+
+#else /* WITH_SECCOMP */
+
+int protectedMode(void){
+
+ perror("No seccomp support compiled-in\n");
+ return 1;
+}
+
+int protectedView(void){
+
+ perror("No seccomp support compiled-in\n");
+ return 1;
+}
+
+int strictFilter(void){
+
+ perror("No seccomp support compiled-in\n");
+ return 1;
+}
+
+#endif /* WITH_SECCOMP */
diff --git a/zathura/libsec.h b/zathura/libsec.h
new file mode 100644
index 0000000..2b604df
--- /dev/null
+++ b/zathura/libsec.h
@@ -0,0 +1,19 @@
+#ifndef SECCOMP_H
+#define SECCOMP_H
+
+/* basic filter */
+/* this mode allows normal use */
+/* only dangerous syscalls are blacklisted */
+int protectedMode(void);
+
+/* secure whitelist filter */
+/* whitelist minimal syscalls only */
+/* this mode does not allow to open external links or to start applications */
+/* network connections are prohibited as well */
+int protectedView(void);
+
+/* strict filter before document parsing */
+/* this filter is to be enabled after most of the initialisation of zathura has finished */
+int strictFilter(void);
+
+#endif
diff --git a/zathura/links.c b/zathura/links.c
index 47030e2..6eeb0dd 100644
--- a/zathura/links.c
+++ b/zathura/links.c
@@ -14,6 +14,10 @@
#include "page.h"
#include "render.h"
+#ifdef WITH_SECCOMP
+#include "libsec.h"
+#endif
+
struct zathura_link_s {
zathura_rectangle_t position; /**< Position of the link */
zathura_link_type_t type; /**< Link type */
@@ -199,9 +203,14 @@ zathura_link_evaluate(zathura_t* zathura, zathura_link_t* link)
link_remote(zathura, link->target.value);
break;
case ZATHURA_LINK_URI:
+#ifndef WITH_SECCOMP
if (girara_xdg_open(link->target.value) == false) {
girara_notify(zathura->ui.session, GIRARA_ERROR, _("Failed to run xdg-open."));
}
+#endif
+#ifdef WITH_SECCOMP
+ girara_notify(zathura->ui.session, GIRARA_ERROR, _("Opening external apps in protectedView Sandbox mode is not permitted"));
+#endif
break;
case ZATHURA_LINK_LAUNCH:
link_launch(zathura, link);
diff --git a/zathura/main.c b/zathura/main.c
index 2355a1e..2c8e31a 100644
--- a/zathura/main.c
+++ b/zathura/main.c
@@ -19,6 +19,11 @@
#include "synctex.h"
#endif
+#ifdef WITH_SECCOMP
+#include
+#include "libsec.h"
+#endif
+
/* Init locale */
static void
init_locale(void)
@@ -122,6 +127,11 @@ init_zathura(const char* config_dir, const char* data_dir,
int
main(int argc, char* argv[])
{
+
+#ifdef WITH_SECCOMP
+ protectedView();
+#endif
+
init_locale();
/* parse command line arguments */
@@ -288,6 +298,11 @@ main(int argc, char* argv[])
goto free_and_ret;
}
+#ifdef WITH_SECCOMP
+ /* enforce strict syscall filter before parsing the document */
+ strictFilter();
+#endif
+
/* open document if passed */
if (file_idx != 0) {
if (page_number > 0) {
From 51f4bba5f501f45fd7f7ac2573762fa198f5e02e Mon Sep 17 00:00:00 2001
From: qwence
Date: Tue, 2 Jan 2018 12:36:17 -0500
Subject: [PATCH 003/126] Cases for vertical_center were swapped
---
zathura/zathura.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/zathura/zathura.c b/zathura/zathura.c
index 938aed3..07439dc 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -1387,11 +1387,11 @@ position_set(zathura_t* zathura, double position_x, double position_y)
/* xalign = 0.5: center horizontally (with the page, not the document) */
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);
+ } else {
+ /* 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);
}
/* automatic horizontal adjustment */
From b5d0b28bb9a061740edd9640d9f8f87163b20b44 Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Mon, 22 Jan 2018 22:51:36 +0100
Subject: [PATCH 004/126] Implement support for HiDPI displays
---
zathura/callbacks.c | 22 ++++++++++++++++++++++
zathura/callbacks.h | 15 +++++++++++++++
zathura/document.c | 24 ++++++++++++++++++++++++
zathura/document.h | 19 +++++++++++++++++++
zathura/render.c | 16 ++++++++++++++++
zathura/zathura.c | 3 +++
6 files changed, 99 insertions(+)
diff --git a/zathura/callbacks.c b/zathura/callbacks.c
index 7db22f8..c768195 100644
--- a/zathura/callbacks.c
+++ b/zathura/callbacks.c
@@ -216,6 +216,28 @@ cb_refresh_view(GtkWidget* GIRARA_UNUSED(view), gpointer data)
statusbar_page_number_update(zathura);
}
+gboolean
+cb_window_configure(GtkWidget* widget, GdkEventConfigure* UNUSED(configure), zathura_t* zathura)
+{
+ if (widget == NULL || zathura == NULL || zathura->document == NULL) {
+ return false;
+ }
+
+ int new_factor = gtk_widget_get_scale_factor(widget);
+
+ double current_x;
+ double current_y;
+ zathura_document_get_device_scale(zathura->document, ¤t_x, ¤t_y);
+
+ if (new_factor != current_x || new_factor != current_y) {
+ zathura_document_set_device_scale(zathura->document, new_factor, new_factor);
+ girara_debug("New device scale: %d", new_factor);
+ render_all(zathura);
+ }
+
+ return false;
+}
+
void
cb_page_layout_value_changed(girara_session_t* session, const char* name, girara_setting_type_t UNUSED(type), void* value, void* UNUSED(data))
{
diff --git a/zathura/callbacks.h b/zathura/callbacks.h
index 15e4ba1..8ef65b8 100644
--- a/zathura/callbacks.h
+++ b/zathura/callbacks.h
@@ -79,6 +79,21 @@ void cb_view_vadjustment_changed(GtkAdjustment *adjustment, gpointer data);
*/
void cb_refresh_view(GtkWidget* view, gpointer data);
+/**
+ * This function gets called when the main window is reconfigured, i.e. when
+ * its size, position or stacking order has changed, or when the device scale
+ * factor has changed (e.g. when moving from a regular to a HiDPI screen).
+ *
+ * It checks if the device scale factor has changed and if yes, records the new
+ * value and triggers a re-rendering of the document.
+ *
+ * @param widget The main window GtkWidget
+ * @param configure The GDK configure event
+ * @param zathura The zathura instance
+ */
+gboolean cb_window_configure(GtkWidget* widget, GdkEventConfigure* configure,
+ zathura_t* zathura);
+
/**
* This function gets called when the value of the "pages-per-row"
* variable changes
diff --git a/zathura/document.c b/zathura/document.c
index cddb00d..055a4d6 100644
--- a/zathura/document.c
+++ b/zathura/document.c
@@ -36,6 +36,8 @@ struct zathura_document_s {
double cell_height; /**< height of a page cell in the document (not ransformed by scale and rotation) */
unsigned int view_width; /**< width of current viewport */
unsigned int view_height; /**< height of current viewport */
+ double device_scale_x; /**< x scale factor (for e.g. HiDPI) */
+ double device_scale_y; /**< y scale factor (for e.g. HiDPI) */
unsigned int pages_per_row; /**< number of pages in a row */
unsigned int first_page_column; /**< column of the first page */
unsigned int page_padding; /**< padding between pages */
@@ -132,6 +134,8 @@ zathura_document_open(zathura_t* zathura, const char* path, const char* uri,
document->cell_height = 0.0;
document->view_height = 0;
document->view_width = 0;
+ document->device_scale_x = 0.0;
+ document->device_scale_y = 0.0;
document->position_x = 0.0;
document->position_y = 0.0;
@@ -500,6 +504,26 @@ zathura_document_get_viewport_size(zathura_document_t* document,
*width = document->view_width;
}
+void
+zathura_document_set_device_scale(zathura_document_t* document,
+ double x_factor, double y_factor)
+{
+ if (document == NULL) {
+ return;
+ }
+ document->device_scale_x = x_factor;
+ document->device_scale_y = y_factor;
+}
+
+void
+zathura_document_get_device_scale(zathura_document_t* document,
+ double *x_factor, double* y_factor)
+{
+ g_return_if_fail(document != NULL && x_factor != NULL && y_factor != NULL);
+ *x_factor = document->device_scale_x;
+ *y_factor = document->device_scale_y;
+}
+
void
zathura_document_get_cell_size(zathura_document_t* document,
unsigned int* height, unsigned int* width)
diff --git a/zathura/document.h b/zathura/document.h
index 3118f30..b49e865 100644
--- a/zathura/document.h
+++ b/zathura/document.h
@@ -249,6 +249,25 @@ void
zathura_document_get_viewport_size(zathura_document_t* document,
unsigned int *height, unsigned int* width);
+/**
+ * Set the device scale factors (e.g. for HiDPI). These are generally integers
+ * and equal for x and y. These scaling factors are only used when rendering to
+ * the screen.
+ *
+ * @param[in] x_factor,yfactor The x and y scale factors
+ */
+void
+zathura_document_set_device_scale(zathura_document_t* document,
+ double x_factor, double y_factor);
+/**
+ * Return the current device scale factors.
+ *
+ * @param[out] x_factor,yfactor The x and y scale factors
+ */
+void
+zathura_document_get_device_scale(zathura_document_t* document,
+ double *x_factor, double* y_factor);
+
/**
* Return the size of a cell from the document's layout table in pixels. Assumes
* that the table is homogeneous (i.e. every cell has the same dimensions). It
diff --git a/zathura/render.c b/zathura/render.c
index 51967a8..727d357 100644
--- a/zathura/render.c
+++ b/zathura/render.c
@@ -740,6 +740,14 @@ render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* render
&page_height, &page_width,
false);
+ double device_scale_x;
+ double device_scale_y;
+ zathura_document_get_device_scale(document, &device_scale_x, &device_scale_y);
+
+ if (device_scale_x != 0.0 && device_scale_y != 0.0) {
+ page_width *= device_scale_x;
+ page_height *= device_scale_y;
+ }
cairo_surface_t* surface = cairo_image_surface_create(CAIRO_FORMAT_RGB24,
page_width, page_height);
@@ -751,6 +759,14 @@ render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* render
return false;
}
+ if (device_scale_x != 0.0 && device_scale_y != 0.0) {
+ cairo_surface_set_device_scale(surface, device_scale_x, device_scale_y);
+ if (cairo_surface_status(surface) != CAIRO_STATUS_SUCCESS) {
+ cairo_surface_destroy(surface);
+ return false;
+ }
+ }
+
cairo_t* cairo = cairo_create(surface);
if (cairo == NULL) {
cairo_surface_destroy(surface);
diff --git a/zathura/zathura.c b/zathura/zathura.c
index 938aed3..250dcaa 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -153,6 +153,9 @@ init_ui(zathura_t* zathura)
g_signal_connect(G_OBJECT(zathura->ui.session->gtk.view), "refresh-view",
G_CALLBACK(cb_refresh_view), zathura);
+ g_signal_connect(G_OBJECT(zathura->ui.session->gtk.window), "configure-event",
+ G_CALLBACK(cb_window_configure), zathura);
+
/* page view */
zathura->ui.page_widget = gtk_grid_new();
gtk_grid_set_row_homogeneous(GTK_GRID(zathura->ui.page_widget), TRUE);
From 5fa4b8907e3df4643481641227f78c68bfcb798d Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Tue, 23 Jan 2018 09:17:01 +0100
Subject: [PATCH 005/126] HiDPI: watch GtkWidget scale-factor property
The scale-factor property is more specific than the GDK configure event
and is the recommended way to watch for scale factor changes.
---
zathura/callbacks.c | 11 +++++------
zathura/callbacks.h | 15 ++++++---------
zathura/zathura.c | 8 ++++++--
3 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/zathura/callbacks.c b/zathura/callbacks.c
index c768195..4c4728d 100644
--- a/zathura/callbacks.c
+++ b/zathura/callbacks.c
@@ -216,11 +216,11 @@ cb_refresh_view(GtkWidget* GIRARA_UNUSED(view), gpointer data)
statusbar_page_number_update(zathura);
}
-gboolean
-cb_window_configure(GtkWidget* widget, GdkEventConfigure* UNUSED(configure), zathura_t* zathura)
+void
+cb_scale_factor(GtkWidget* widget, GParamSpec* UNUSED(pspec), zathura_t* zathura)
{
if (widget == NULL || zathura == NULL || zathura->document == NULL) {
- return false;
+ return;
}
int new_factor = gtk_widget_get_scale_factor(widget);
@@ -230,12 +230,11 @@ cb_window_configure(GtkWidget* widget, GdkEventConfigure* UNUSED(configure), zat
zathura_document_get_device_scale(zathura->document, ¤t_x, ¤t_y);
if (new_factor != current_x || new_factor != current_y) {
- zathura_document_set_device_scale(zathura->document, new_factor, new_factor);
+ zathura_document_set_device_scale(zathura->document, new_factor,
+ new_factor);
girara_debug("New device scale: %d", new_factor);
render_all(zathura);
}
-
- return false;
}
void
diff --git a/zathura/callbacks.h b/zathura/callbacks.h
index 8ef65b8..2be79b0 100644
--- a/zathura/callbacks.h
+++ b/zathura/callbacks.h
@@ -80,19 +80,16 @@ void cb_view_vadjustment_changed(GtkAdjustment *adjustment, gpointer data);
void cb_refresh_view(GtkWidget* view, gpointer data);
/**
- * This function gets called when the main window is reconfigured, i.e. when
- * its size, position or stacking order has changed, or when the device scale
- * factor has changed (e.g. when moving from a regular to a HiDPI screen).
+ * This function gets called when the view widget scale factor changes (e.g.
+ * when moving from a regular to a HiDPI screen).
*
- * It checks if the device scale factor has changed and if yes, records the new
- * value and triggers a re-rendering of the document.
+ * It records the new value and triggers a re-rendering of the document.
*
- * @param widget The main window GtkWidget
- * @param configure The GDK configure event
+ * @param widget The view widget
+ * @param pspec The GParamSpec for the scale-factor property
* @param zathura The zathura instance
*/
-gboolean cb_window_configure(GtkWidget* widget, GdkEventConfigure* configure,
- zathura_t* zathura);
+void cb_scale_factor(GtkWidget* widget, GParamSpec *pspec, zathura_t* zathura);
/**
* This function gets called when the value of the "pages-per-row"
diff --git a/zathura/zathura.c b/zathura/zathura.c
index 250dcaa..2d9a5d6 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -153,8 +153,8 @@ init_ui(zathura_t* zathura)
g_signal_connect(G_OBJECT(zathura->ui.session->gtk.view), "refresh-view",
G_CALLBACK(cb_refresh_view), zathura);
- g_signal_connect(G_OBJECT(zathura->ui.session->gtk.window), "configure-event",
- G_CALLBACK(cb_window_configure), zathura);
+ g_signal_connect(G_OBJECT(zathura->ui.session->gtk.view),
+ "notify::scale-factor", G_CALLBACK(cb_scale_factor), zathura);
/* page view */
zathura->ui.page_widget = gtk_grid_new();
@@ -959,6 +959,10 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char*
const unsigned int view_height = (unsigned int)floor(gtk_adjustment_get_page_size(vadjustment));
zathura_document_set_viewport_height(zathura->document, view_height);
+ /* get initial device scale */
+ int device_scale = gtk_widget_get_scale_factor(zathura->ui.session->gtk.view);
+ zathura_document_set_device_scale(zathura->document, device_scale, device_scale);
+
/* create blank pages */
zathura->pages = calloc(number_of_pages, sizeof(GtkWidget*));
if (zathura->pages == NULL) {
From 36d9ece978b012d6515c0d51e7c6ae9190b74827 Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Tue, 23 Jan 2018 09:34:22 +0100
Subject: [PATCH 006/126] HiDPI: add preprocessor conditionals
---
config.mk | 9 +++++++++
zathura/callbacks.c | 4 ++++
zathura/render.c | 4 ++++
zathura/zathura.c | 2 ++
4 files changed, 19 insertions(+)
diff --git a/config.mk b/config.mk
index 7a488cf..9d957bb 100644
--- a/config.mk
+++ b/config.mk
@@ -47,6 +47,15 @@ WITH_SYNCTEX ?= $(shell (${PKG_CONFIG} synctex && echo 1) || echo 0)
# To disable support for mimetype detction with libmagic set WITH_MAGIC to 0.
WITH_MAGIC ?= 1
+# HiDPI
+HIDPI_SUPPORT_CAIRO = $(shell (${PKG_CONFIG} --atleast-version=1.14 cairo && echo 1) || echo 0)
+HIDPI_SUPPORT_GTK = $(shell (${PKG_CONFIG} --atleast-version=3.10 ${GTK_PKG_CONFIG_NAME} && echo 1) || echo 0)
+ifeq (${HIDPI_SUPPORT_CAIRO},1)
+ifeq (${HIDPI_SUPPORT_GTK},1)
+CPPFLAGS += -DHAVE_HIDPI_SUPPORT
+endif
+endif
+
# paths
PREFIX ?= /usr
MANPREFIX ?= ${PREFIX}/share/man
diff --git a/zathura/callbacks.c b/zathura/callbacks.c
index 4c4728d..b257b17 100644
--- a/zathura/callbacks.c
+++ b/zathura/callbacks.c
@@ -223,7 +223,11 @@ cb_scale_factor(GtkWidget* widget, GParamSpec* UNUSED(pspec), zathura_t* zathura
return;
}
+#ifdef HAVE_HIDPI_SUPPORT
int new_factor = gtk_widget_get_scale_factor(widget);
+#else
+ int new_factor = 1;
+#endif
double current_x;
double current_y;
diff --git a/zathura/render.c b/zathura/render.c
index 727d357..6c5db86 100644
--- a/zathura/render.c
+++ b/zathura/render.c
@@ -740,6 +740,7 @@ render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* render
&page_height, &page_width,
false);
+#ifdef HAVE_HIDPI_SUPPORT
double device_scale_x;
double device_scale_y;
zathura_document_get_device_scale(document, &device_scale_x, &device_scale_y);
@@ -748,6 +749,7 @@ render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* render
page_width *= device_scale_x;
page_height *= device_scale_y;
}
+#endif
cairo_surface_t* surface = cairo_image_surface_create(CAIRO_FORMAT_RGB24,
page_width, page_height);
@@ -759,6 +761,7 @@ render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* render
return false;
}
+#ifdef HAVE_HIDPI_SUPPORT
if (device_scale_x != 0.0 && device_scale_y != 0.0) {
cairo_surface_set_device_scale(surface, device_scale_x, device_scale_y);
if (cairo_surface_status(surface) != CAIRO_STATUS_SUCCESS) {
@@ -766,6 +769,7 @@ render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* render
return false;
}
}
+#endif
cairo_t* cairo = cairo_create(surface);
if (cairo == NULL) {
diff --git a/zathura/zathura.c b/zathura/zathura.c
index 2d9a5d6..e83bf7b 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -153,8 +153,10 @@ init_ui(zathura_t* zathura)
g_signal_connect(G_OBJECT(zathura->ui.session->gtk.view), "refresh-view",
G_CALLBACK(cb_refresh_view), zathura);
+#ifdef HAVE_HIDPI_SUPPORT
g_signal_connect(G_OBJECT(zathura->ui.session->gtk.view),
"notify::scale-factor", G_CALLBACK(cb_scale_factor), zathura);
+#endif
/* page view */
zathura->ui.page_widget = gtk_grid_new();
From 7f4acdb0f4869b93ff87df56c15715e39ab04cb7 Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Tue, 23 Jan 2018 11:34:22 +0100
Subject: [PATCH 007/126] HiDPI: fix thumbnail scaling
---
zathura/page-widget.c | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/zathura/page-widget.c b/zathura/page-widget.c
index d5e4ad6..c6e170e 100644
--- a/zathura/page-widget.c
+++ b/zathura/page-widget.c
@@ -445,8 +445,18 @@ zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
} else {
const unsigned int height = cairo_image_surface_get_height(priv->thumbnail);
const unsigned int width = cairo_image_surface_get_width(priv->thumbnail);
- const unsigned int pheight = (rotation % 180 ? page_width : page_height);
- const unsigned int pwidth = (rotation % 180 ? page_height : page_width);
+ unsigned int pheight = (rotation % 180 ? page_width : page_height);
+ unsigned int pwidth = (rotation % 180 ? page_height : page_width);
+
+#ifdef HAVE_HIDPI_SUPPORT
+ double device_scale_x;
+ double device_scale_y;
+ cairo_surface_get_device_scale(priv->thumbnail, &device_scale_x, &device_scale_y);
+ if (device_scale_x != 0.0 && device_scale_y != 0.0) {
+ pwidth *= device_scale_x;
+ pheight *= device_scale_y;
+ }
+#endif
cairo_scale(cairo, pwidth / (double)width, pheight / (double)height);
cairo_set_source_surface(cairo, priv->thumbnail, 0, 0);
From e487df053d7891d057dd04f85f047ce20d3c9d52 Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Tue, 23 Jan 2018 19:57:16 +0100
Subject: [PATCH 008/126] HiDPI: use original notify callback signature
---
zathura/callbacks.c | 7 ++++---
zathura/callbacks.h | 6 +++---
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/zathura/callbacks.c b/zathura/callbacks.c
index b257b17..b89a4a7 100644
--- a/zathura/callbacks.c
+++ b/zathura/callbacks.c
@@ -217,14 +217,15 @@ cb_refresh_view(GtkWidget* GIRARA_UNUSED(view), gpointer data)
}
void
-cb_scale_factor(GtkWidget* widget, GParamSpec* UNUSED(pspec), zathura_t* zathura)
+cb_scale_factor(GObject* object, GParamSpec* UNUSED(pspec), gpointer data)
{
- if (widget == NULL || zathura == NULL || zathura->document == NULL) {
+ zathura_t* zathura = data;
+ if (zathura == NULL || zathura->document == NULL) {
return;
}
#ifdef HAVE_HIDPI_SUPPORT
- int new_factor = gtk_widget_get_scale_factor(widget);
+ int new_factor = gtk_widget_get_scale_factor(GTK_WIDGET(object));
#else
int new_factor = 1;
#endif
diff --git a/zathura/callbacks.h b/zathura/callbacks.h
index 2be79b0..95ee0fe 100644
--- a/zathura/callbacks.h
+++ b/zathura/callbacks.h
@@ -85,11 +85,11 @@ void cb_refresh_view(GtkWidget* view, gpointer data);
*
* It records the new value and triggers a re-rendering of the document.
*
- * @param widget The view widget
+ * @param object The view widget
* @param pspec The GParamSpec for the scale-factor property
- * @param zathura The zathura instance
+ * @param gpointer The zathura instance
*/
-void cb_scale_factor(GtkWidget* widget, GParamSpec *pspec, zathura_t* zathura);
+void cb_scale_factor(GObject* object, GParamSpec* pspec, gpointer data);
/**
* This function gets called when the value of the "pages-per-row"
From 29b6e45c02da0044ecd2bcf6bfd0b388ba060316 Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Tue, 23 Jan 2018 22:19:02 +0100
Subject: [PATCH 009/126] Bump GTK+ to 3.10
---
config.mk | 5 +----
zathura/callbacks.c | 4 ----
zathura/zathura.c | 2 --
3 files changed, 1 insertion(+), 10 deletions(-)
diff --git a/config.mk b/config.mk
index 9d957bb..05fffec 100644
--- a/config.mk
+++ b/config.mk
@@ -26,7 +26,7 @@ GLIB_MIN_VERSION = 2.50
GLIB_PKG_CONFIG_NAME = glib-2.0
# GTK
GTK_VERSION_CHECK ?= 1
-GTK_MIN_VERSION = 3.6
+GTK_MIN_VERSION = 3.10
GTK_PKG_CONFIG_NAME = gtk+-3.0
# pkg-config binary
@@ -49,12 +49,9 @@ WITH_MAGIC ?= 1
# HiDPI
HIDPI_SUPPORT_CAIRO = $(shell (${PKG_CONFIG} --atleast-version=1.14 cairo && echo 1) || echo 0)
-HIDPI_SUPPORT_GTK = $(shell (${PKG_CONFIG} --atleast-version=3.10 ${GTK_PKG_CONFIG_NAME} && echo 1) || echo 0)
ifeq (${HIDPI_SUPPORT_CAIRO},1)
-ifeq (${HIDPI_SUPPORT_GTK},1)
CPPFLAGS += -DHAVE_HIDPI_SUPPORT
endif
-endif
# paths
PREFIX ?= /usr
diff --git a/zathura/callbacks.c b/zathura/callbacks.c
index b89a4a7..f82eda0 100644
--- a/zathura/callbacks.c
+++ b/zathura/callbacks.c
@@ -224,11 +224,7 @@ cb_scale_factor(GObject* object, GParamSpec* UNUSED(pspec), gpointer data)
return;
}
-#ifdef HAVE_HIDPI_SUPPORT
int new_factor = gtk_widget_get_scale_factor(GTK_WIDGET(object));
-#else
- int new_factor = 1;
-#endif
double current_x;
double current_y;
diff --git a/zathura/zathura.c b/zathura/zathura.c
index e83bf7b..2d9a5d6 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -153,10 +153,8 @@ init_ui(zathura_t* zathura)
g_signal_connect(G_OBJECT(zathura->ui.session->gtk.view), "refresh-view",
G_CALLBACK(cb_refresh_view), zathura);
-#ifdef HAVE_HIDPI_SUPPORT
g_signal_connect(G_OBJECT(zathura->ui.session->gtk.view),
"notify::scale-factor", G_CALLBACK(cb_scale_factor), zathura);
-#endif
/* page view */
zathura->ui.page_widget = gtk_grid_new();
From e0cf06ff058266f54faabad0516e5945e06233af Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Tue, 23 Jan 2018 22:22:38 +0100
Subject: [PATCH 010/126] Remove HAVE_HIDPI_SUPPORT
One can simply check the Cairo version now that GTK+ has been bumped to
3.10.
---
config.mk | 6 ------
zathura/page-widget.c | 2 +-
zathura/render.c | 4 ++--
3 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/config.mk b/config.mk
index 05fffec..d40a334 100644
--- a/config.mk
+++ b/config.mk
@@ -47,12 +47,6 @@ WITH_SYNCTEX ?= $(shell (${PKG_CONFIG} synctex && echo 1) || echo 0)
# To disable support for mimetype detction with libmagic set WITH_MAGIC to 0.
WITH_MAGIC ?= 1
-# HiDPI
-HIDPI_SUPPORT_CAIRO = $(shell (${PKG_CONFIG} --atleast-version=1.14 cairo && echo 1) || echo 0)
-ifeq (${HIDPI_SUPPORT_CAIRO},1)
-CPPFLAGS += -DHAVE_HIDPI_SUPPORT
-endif
-
# paths
PREFIX ?= /usr
MANPREFIX ?= ${PREFIX}/share/man
diff --git a/zathura/page-widget.c b/zathura/page-widget.c
index c6e170e..8067d3d 100644
--- a/zathura/page-widget.c
+++ b/zathura/page-widget.c
@@ -448,7 +448,7 @@ zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
unsigned int pheight = (rotation % 180 ? page_width : page_height);
unsigned int pwidth = (rotation % 180 ? page_height : page_width);
-#ifdef HAVE_HIDPI_SUPPORT
+#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,14,0)
double device_scale_x;
double device_scale_y;
cairo_surface_get_device_scale(priv->thumbnail, &device_scale_x, &device_scale_y);
diff --git a/zathura/render.c b/zathura/render.c
index 6c5db86..a890e49 100644
--- a/zathura/render.c
+++ b/zathura/render.c
@@ -740,7 +740,7 @@ render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* render
&page_height, &page_width,
false);
-#ifdef HAVE_HIDPI_SUPPORT
+#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,14,0)
double device_scale_x;
double device_scale_y;
zathura_document_get_device_scale(document, &device_scale_x, &device_scale_y);
@@ -761,7 +761,7 @@ render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* render
return false;
}
-#ifdef HAVE_HIDPI_SUPPORT
+#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,14,0)
if (device_scale_x != 0.0 && device_scale_y != 0.0) {
cairo_surface_set_device_scale(surface, device_scale_x, device_scale_y);
if (cairo_surface_status(surface) != CAIRO_STATUS_SUCCESS) {
From 9cf323970898dd0cc76e65925b9293fb7d90beee Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Tue, 23 Jan 2018 22:38:45 +0100
Subject: [PATCH 011/126] HiDPI: zero check using DBL_EPSILON
---
zathura/page-widget.c | 2 +-
zathura/render.c | 7 +++++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/zathura/page-widget.c b/zathura/page-widget.c
index 8067d3d..765181e 100644
--- a/zathura/page-widget.c
+++ b/zathura/page-widget.c
@@ -452,7 +452,7 @@ zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
double device_scale_x;
double device_scale_y;
cairo_surface_get_device_scale(priv->thumbnail, &device_scale_x, &device_scale_y);
- if (device_scale_x != 0.0 && device_scale_y != 0.0) {
+ if (fabs(device_scale_x) >= DBL_EPSILON && fabs(device_scale_y) >= DBL_EPSILON) {
pwidth *= device_scale_x;
pheight *= device_scale_y;
}
diff --git a/zathura/render.c b/zathura/render.c
index a890e49..a420d78 100644
--- a/zathura/render.c
+++ b/zathura/render.c
@@ -745,7 +745,10 @@ render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* render
double device_scale_y;
zathura_document_get_device_scale(document, &device_scale_x, &device_scale_y);
- if (device_scale_x != 0.0 && device_scale_y != 0.0) {
+ gboolean scales_nonzero = (fabs(device_scale_x) >= DBL_EPSILON &&
+ fabs(device_scale_y) >= DBL_EPSILON);
+
+ if (scales_nonzero) {
page_width *= device_scale_x;
page_height *= device_scale_y;
}
@@ -762,7 +765,7 @@ render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* render
}
#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,14,0)
- if (device_scale_x != 0.0 && device_scale_y != 0.0) {
+ if (scales_nonzero) {
cairo_surface_set_device_scale(surface, device_scale_x, device_scale_y);
if (cairo_surface_status(surface) != CAIRO_STATUS_SUCCESS) {
cairo_surface_destroy(surface);
From 4e9f8a7b1d77806b627ab8d602dfce38cda17ec0 Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Wed, 24 Jan 2018 20:49:57 +0100
Subject: [PATCH 012/126] HiDPI: refactor handling of device scale factors
The document scale factors are now guaranteed to be non-zero.
A new Cairo helper function get_safe_device_factors() and a type
zathura_device_factors_t are introduced to simplify the code and avoid
some #ifdef blocks.
---
zathura/callbacks.c | 17 +++++++++--------
zathura/document.c | 36 ++++++++++++++++++++++--------------
zathura/document.h | 11 +++++------
zathura/page-widget.c | 37 ++++++++++++++++++++++++++++---------
zathura/render.c | 33 ++++++++++-----------------------
zathura/types.h | 9 +++++++++
zathura/zathura.c | 4 ++--
7 files changed, 85 insertions(+), 62 deletions(-)
diff --git a/zathura/callbacks.c b/zathura/callbacks.c
index f82eda0..c7ba706 100644
--- a/zathura/callbacks.c
+++ b/zathura/callbacks.c
@@ -225,15 +225,16 @@ cb_scale_factor(GObject* object, GParamSpec* UNUSED(pspec), gpointer data)
}
int new_factor = gtk_widget_get_scale_factor(GTK_WIDGET(object));
+ if (new_factor == 0) {
+ girara_debug("Ignoring new device scale factor = 0");
+ return;
+ }
- double current_x;
- double current_y;
- zathura_document_get_device_scale(zathura->document, ¤t_x, ¤t_y);
-
- if (new_factor != current_x || new_factor != current_y) {
- zathura_document_set_device_scale(zathura->document, new_factor,
- new_factor);
- girara_debug("New device scale: %d", new_factor);
+ zathura_device_factors_t current = zathura_document_get_device_factors(zathura->document);
+ if (fabs(new_factor - current.x) >= DBL_EPSILON ||
+ fabs(new_factor - current.y) >= DBL_EPSILON) {
+ zathura_document_set_device_factors(zathura->document, new_factor, new_factor);
+ girara_debug("New device scale factor: %d", new_factor);
render_all(zathura);
}
}
diff --git a/zathura/document.c b/zathura/document.c
index 055a4d6..bf6539d 100644
--- a/zathura/document.c
+++ b/zathura/document.c
@@ -5,6 +5,7 @@
#include
#include
#include
+#include
#include
#include
@@ -36,8 +37,7 @@ struct zathura_document_s {
double cell_height; /**< height of a page cell in the document (not ransformed by scale and rotation) */
unsigned int view_width; /**< width of current viewport */
unsigned int view_height; /**< height of current viewport */
- double device_scale_x; /**< x scale factor (for e.g. HiDPI) */
- double device_scale_y; /**< y scale factor (for e.g. HiDPI) */
+ zathura_device_factors_t device_factors; /**< x and y device scale factors (for e.g. HiDPI) */
unsigned int pages_per_row; /**< number of pages in a row */
unsigned int first_page_column; /**< column of the first page */
unsigned int page_padding; /**< padding between pages */
@@ -134,8 +134,8 @@ zathura_document_open(zathura_t* zathura, const char* path, const char* uri,
document->cell_height = 0.0;
document->view_height = 0;
document->view_width = 0;
- document->device_scale_x = 0.0;
- document->device_scale_y = 0.0;
+ document->device_factors.x = 1.0;
+ document->device_factors.y = 1.0;
document->position_x = 0.0;
document->position_y = 0.0;
@@ -505,23 +505,31 @@ zathura_document_get_viewport_size(zathura_document_t* document,
}
void
-zathura_document_set_device_scale(zathura_document_t* document,
- double x_factor, double y_factor)
+zathura_document_set_device_factors(zathura_document_t* document,
+ double x_factor, double y_factor)
{
if (document == NULL) {
return;
}
- document->device_scale_x = x_factor;
- document->device_scale_y = y_factor;
+ if (fabs(x_factor) < DBL_EPSILON || fabs(y_factor) < DBL_EPSILON) {
+ girara_debug("Ignoring new device factors %f and %f: too small",
+ x_factor, y_factor);
+ return;
+ }
+
+ document->device_factors.x = x_factor;
+ document->device_factors.y = y_factor;
}
-void
-zathura_document_get_device_scale(zathura_document_t* document,
- double *x_factor, double* y_factor)
+zathura_device_factors_t
+zathura_document_get_device_factors(zathura_document_t* document)
{
- g_return_if_fail(document != NULL && x_factor != NULL && y_factor != NULL);
- *x_factor = document->device_scale_x;
- *y_factor = document->device_scale_y;
+ if (document == NULL) {
+ /* The function is guaranteed to not return zero values */
+ return (zathura_device_factors_t){1.0, 1.0};
+ }
+
+ return document->device_factors;
}
void
diff --git a/zathura/document.h b/zathura/document.h
index b49e865..a993411 100644
--- a/zathura/document.h
+++ b/zathura/document.h
@@ -257,16 +257,15 @@ zathura_document_get_viewport_size(zathura_document_t* document,
* @param[in] x_factor,yfactor The x and y scale factors
*/
void
-zathura_document_set_device_scale(zathura_document_t* document,
+zathura_document_set_device_factors(zathura_document_t* document,
double x_factor, double y_factor);
/**
- * Return the current device scale factors.
+ * Return the current device scale factors (guaranteed to be non-zero).
*
- * @param[out] x_factor,yfactor The x and y scale factors
+ * @return The x and y device scale factors
*/
-void
-zathura_document_get_device_scale(zathura_document_t* document,
- double *x_factor, double* y_factor);
+zathura_device_factors_t
+zathura_document_get_device_factors(zathura_document_t* document);
/**
* Return the size of a cell from the document's layout table in pixels. Assumes
diff --git a/zathura/page-widget.c b/zathura/page-widget.c
index 765181e..3e5875f 100644
--- a/zathura/page-widget.c
+++ b/zathura/page-widget.c
@@ -409,6 +409,30 @@ zathura_page_widget_get_property(GObject* object, guint prop_id, GValue* value,
}
}
+#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,14,0)
+static zathura_device_factors_t
+get_safe_device_factors(cairo_surface_t* surface)
+{
+ zathura_device_factors_t factors;
+ cairo_surface_get_device_scale(surface, &factors.x, &factors.y);
+
+ if (fabs(factors.x) < DBL_EPSILON) {
+ factors.x = 1.0;
+ }
+ if (fabs(factors.y) < DBL_EPSILON) {
+ factors.y = 1.0;
+ }
+
+ return factors;
+}
+#else
+static zathura_device_factors_t
+get_safe_device_factors(cairo_surface_t* UNUSED(surface))
+{
+ return (zathura_device_factors_t){1.0, 1.0};
+}
+#endif
+
static gboolean
zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
{
@@ -448,15 +472,10 @@ zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
unsigned int pheight = (rotation % 180 ? page_width : page_height);
unsigned int pwidth = (rotation % 180 ? page_height : page_width);
-#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,14,0)
- double device_scale_x;
- double device_scale_y;
- cairo_surface_get_device_scale(priv->thumbnail, &device_scale_x, &device_scale_y);
- if (fabs(device_scale_x) >= DBL_EPSILON && fabs(device_scale_y) >= DBL_EPSILON) {
- pwidth *= device_scale_x;
- pheight *= device_scale_y;
- }
-#endif
+ /* note: this always returns 1 and 1 if Cairo too old for device scale API */
+ zathura_device_factors_t device = get_safe_device_factors(priv->thumbnail);
+ pwidth *= device.x;
+ pheight *= device.y;
cairo_scale(cairo, pwidth / (double)width, pheight / (double)height);
cairo_set_source_surface(cairo, priv->thumbnail, 0, 0);
diff --git a/zathura/render.c b/zathura/render.c
index a420d78..7cd3f3e 100644
--- a/zathura/render.c
+++ b/zathura/render.c
@@ -732,26 +732,20 @@ render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* render
unsigned int page_width = 0;
unsigned int page_height = 0;
+ /* page size in points */
zathura_document_t* document = zathura_page_get_document(page);
const double height = zathura_page_get_height(page);
const double width = zathura_page_get_width(page);
+ /* page size in user pixels base on document zoom: 100% results in 1 pixel per point */
const double real_scale = page_calc_height_width(document, height, width,
&page_height, &page_width,
false);
#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,14,0)
- double device_scale_x;
- double device_scale_y;
- zathura_document_get_device_scale(document, &device_scale_x, &device_scale_y);
-
- gboolean scales_nonzero = (fabs(device_scale_x) >= DBL_EPSILON &&
- fabs(device_scale_y) >= DBL_EPSILON);
-
- if (scales_nonzero) {
- page_width *= device_scale_x;
- page_height *= device_scale_y;
- }
+ zathura_device_factors_t device_factors = zathura_document_get_device_factors(document);
+ page_width *= device_factors.x;
+ page_height *= device_factors.y;
#endif
cairo_surface_t* surface = cairo_image_surface_create(CAIRO_FORMAT_RGB24,
@@ -759,21 +753,14 @@ render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* render
if (surface == NULL) {
return false;
}
+#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,14,0)
+ cairo_surface_set_device_scale(surface, device_factors.x, device_factors.y);
+#endif
if (cairo_surface_status(surface) != CAIRO_STATUS_SUCCESS) {
cairo_surface_destroy(surface);
return false;
}
-#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,14,0)
- if (scales_nonzero) {
- cairo_surface_set_device_scale(surface, device_scale_x, device_scale_y);
- if (cairo_surface_status(surface) != CAIRO_STATUS_SUCCESS) {
- cairo_surface_destroy(surface);
- return false;
- }
- }
-#endif
-
cairo_t* cairo = cairo_create(surface);
if (cairo == NULL) {
cairo_surface_destroy(surface);
@@ -782,11 +769,11 @@ render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* render
cairo_save(cairo);
cairo_set_source_rgb(cairo, 1, 1, 1);
- cairo_rectangle(cairo, 0, 0, page_width, page_height);
- cairo_fill(cairo);
+ cairo_paint(cairo);
cairo_restore(cairo);
cairo_save(cairo);
+ /* apply scale (used by e.g. Poppler as pixels per point) */
if (fabs(real_scale - 1.0f) > FLT_EPSILON) {
cairo_scale(cairo, real_scale, real_scale);
}
diff --git a/zathura/types.h b/zathura/types.h
index e0028d7..0cf1f9b 100644
--- a/zathura/types.h
+++ b/zathura/types.h
@@ -271,4 +271,13 @@ void zathura_document_information_entry_free(zathura_document_information_entry_
*/
typedef struct zathura_content_type_context_s zathura_content_type_context_t;
+/**
+ * Device scaling structure.
+ */
+typedef struct zathura_device_factors_s
+{
+ double x;
+ double y;
+} zathura_device_factors_t;
+
#endif // TYPES_H
diff --git a/zathura/zathura.c b/zathura/zathura.c
index 2d9a5d6..a435390 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -960,8 +960,8 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char*
zathura_document_set_viewport_height(zathura->document, view_height);
/* get initial device scale */
- int device_scale = gtk_widget_get_scale_factor(zathura->ui.session->gtk.view);
- zathura_document_set_device_scale(zathura->document, device_scale, device_scale);
+ int device_factor = gtk_widget_get_scale_factor(zathura->ui.session->gtk.view);
+ zathura_document_set_device_factors(zathura->document, device_factor, device_factor);
/* create blank pages */
zathura->pages = calloc(number_of_pages, sizeof(GtkWidget*));
From 9752b8f03baac58a82d5ded704d4046b344bb343 Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Wed, 24 Jan 2018 20:56:18 +0100
Subject: [PATCH 013/126] HiDPI: fix initial-zooming artifact
---
zathura/page-widget.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/zathura/page-widget.c b/zathura/page-widget.c
index 3e5875f..ebb41f5 100644
--- a/zathura/page-widget.c
+++ b/zathura/page-widget.c
@@ -654,8 +654,14 @@ draw_thumbnail_image(cairo_surface_t* surface, size_t max_size)
width = width * scale;
height = height * scale;
+ /* note: this always returns 1 and 1 if Cairo too old for device scale API */
+ zathura_device_factors_t device = get_safe_device_factors(surface);
+ const unsigned int user_width = width / device.x;
+ const unsigned int user_height = height / device.y;
+
+ /* create thumbnail surface, taking width and height as device sizes */
cairo_surface_t *thumbnail;
- thumbnail = cairo_surface_create_similar(surface, CAIRO_CONTENT_COLOR, width, height);
+ thumbnail = cairo_surface_create_similar(surface, CAIRO_CONTENT_COLOR, user_width, user_height);
if (thumbnail == NULL) {
return NULL;
}
From a7f42769c6695d41c131c18a6eeb26250319a230 Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Thu, 25 Jan 2018 08:40:54 +0100
Subject: [PATCH 014/126] Fix GTK+ version in README, other minor fixes
Minor fixes include a rewording of "user size" to "unscaled size": Cairo
has user units, (unscaled) device units and (scaled) device pixels.
---
README | 2 +-
zathura/page-widget.c | 26 +++++++++++++-------------
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/README b/README
index dbeaf27..6f39e02 100644
--- a/README
+++ b/README
@@ -5,7 +5,7 @@ girara user interface library and several document libraries.
Requirements
------------
-gtk3 (>= 3.6)
+gtk3 (>= 3.10)
glib (>= 2.50)
girara (>= 0.2.8)
sqlite3 (optional, >= 3.5.9)
diff --git a/zathura/page-widget.c b/zathura/page-widget.c
index ebb41f5..a0d59ae 100644
--- a/zathura/page-widget.c
+++ b/zathura/page-widget.c
@@ -413,17 +413,17 @@ zathura_page_widget_get_property(GObject* object, guint prop_id, GValue* value,
static zathura_device_factors_t
get_safe_device_factors(cairo_surface_t* surface)
{
- zathura_device_factors_t factors;
- cairo_surface_get_device_scale(surface, &factors.x, &factors.y);
+ zathura_device_factors_t factors;
+ cairo_surface_get_device_scale(surface, &factors.x, &factors.y);
- if (fabs(factors.x) < DBL_EPSILON) {
- factors.x = 1.0;
- }
- if (fabs(factors.y) < DBL_EPSILON) {
- factors.y = 1.0;
- }
+ if (fabs(factors.x) < DBL_EPSILON) {
+ factors.x = 1.0;
+ }
+ if (fabs(factors.y) < DBL_EPSILON) {
+ factors.y = 1.0;
+ }
- return factors;
+ return factors;
}
#else
static zathura_device_factors_t
@@ -656,12 +656,12 @@ draw_thumbnail_image(cairo_surface_t* surface, size_t max_size)
/* note: this always returns 1 and 1 if Cairo too old for device scale API */
zathura_device_factors_t device = get_safe_device_factors(surface);
- const unsigned int user_width = width / device.x;
- const unsigned int user_height = height / device.y;
+ const unsigned int unscaled_width = width / device.x;
+ const unsigned int unscaled_height = height / device.y;
- /* create thumbnail surface, taking width and height as device sizes */
+ /* create thumbnail surface, taking width and height as _unscaled_ device units */
cairo_surface_t *thumbnail;
- thumbnail = cairo_surface_create_similar(surface, CAIRO_CONTENT_COLOR, user_width, user_height);
+ thumbnail = cairo_surface_create_similar(surface, CAIRO_CONTENT_COLOR, unscaled_width, unscaled_height);
if (thumbnail == NULL) {
return NULL;
}
From bab38fc636040b6f85b9799c0b7e18859d09bc0a Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Fri, 26 Jan 2018 14:03:37 +0100
Subject: [PATCH 015/126] Fix setting of link font
---
zathura/page-widget.c | 56 ++++++++++++++++++++++++++++++++++---------
1 file changed, 45 insertions(+), 11 deletions(-)
diff --git a/zathura/page-widget.c b/zathura/page-widget.c
index ebb41f5..8427566 100644
--- a/zathura/page-widget.c
+++ b/zathura/page-widget.c
@@ -297,6 +297,49 @@ zathura_page_widget_finalize(GObject* object)
G_OBJECT_CLASS(zathura_page_widget_parent_class)->finalize(object);
}
+static void
+set_font_from_property(cairo_t* cairo, zathura_t* zathura, cairo_font_weight_t weight)
+{
+ if (zathura == NULL) {
+ return;
+ }
+
+ /* get user font description */
+ char* font = NULL;
+ girara_setting_get(zathura->ui.session, "font", &font);
+ if (font == NULL) {
+ return;
+ }
+
+ /* use pango to extract font family and size */
+ PangoFontDescription* descr = pango_font_description_from_string(font);
+
+ const char* family = pango_font_description_get_family(descr);
+
+ /* get font size: can be points or absolute.
+ * absolute units: value = 10*PANGO_SCALE = 10 (unscaled) device units (logical pixels)
+ * point units: value = 10*PANGO_SCALE = 10 points = 10*(font dpi config / 72) device units */
+ double size = pango_font_description_get_size(descr) / PANGO_SCALE;
+
+ /* convert point size to device units */
+ if (!pango_font_description_get_size_is_absolute(descr)) {
+ double font_dpi = 96.0;
+ if (zathura->ui.session != NULL) {
+ if (gtk_widget_has_screen(zathura->ui.session->gtk.view)) {
+ GdkScreen* screen = gtk_widget_get_screen(zathura->ui.session->gtk.view);
+ font_dpi = gdk_screen_get_resolution(screen);
+ }
+ }
+ size = size * font_dpi / 72;
+ }
+
+ cairo_select_font_face(cairo, family, CAIRO_FONT_SLANT_NORMAL, weight);
+ cairo_set_font_size(cairo, size);
+
+ pango_font_description_free(descr);
+ g_free(font);
+}
+
static void
zathura_page_widget_set_property(GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec)
{
@@ -494,20 +537,12 @@ zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
return FALSE;
}
- /* draw rectangles */
- char* font = NULL;
- girara_setting_get(priv->zathura->ui.session, "font", &font);
+ /* draw links */
+ set_font_from_property(cairo, priv->zathura, CAIRO_FONT_WEIGHT_BOLD);
float transparency = 0.5;
girara_setting_get(priv->zathura->ui.session, "highlight-transparency", &transparency);
- if (font != NULL) {
- cairo_select_font_face(cairo, font, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
- }
-
- g_free(font);
-
- /* draw links */
if (priv->links.draw == true && priv->links.n != 0) {
unsigned int link_counter = 0;
GIRARA_LIST_FOREACH(priv->links.list, zathura_link_t*, iter, link)
@@ -523,7 +558,6 @@ zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
/* draw text */
cairo_set_source_rgba(cairo, 0, 0, 0, 1);
- cairo_set_font_size(cairo, 10);
cairo_move_to(cairo, rectangle.x1 + 1, rectangle.y2 - 1);
char* link_number = g_strdup_printf("%i", priv->links.offset + ++link_counter);
cairo_show_text(cairo, link_number);
From 76e5f7dc7a8d64e04487f5caa798e3c3bb1550a7 Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Fri, 26 Jan 2018 14:05:19 +0100
Subject: [PATCH 016/126] Fix display of link hint
The link hint was truncated when the link rectangle was too small to
contain in. With this commit the link hint area is also redrawn.
---
zathura/page-widget.c | 44 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/zathura/page-widget.c b/zathura/page-widget.c
index 8427566..b56cc3a 100644
--- a/zathura/page-widget.c
+++ b/zathura/page-widget.c
@@ -340,12 +340,47 @@ set_font_from_property(cairo_t* cairo, zathura_t* zathura, cairo_font_weight_t w
g_free(font);
}
+static cairo_text_extents_t
+get_text_extents(const char* string, zathura_t* zathura, cairo_font_weight_t weight) {
+ cairo_text_extents_t text = {0,};
+
+ if (zathura == NULL) {
+ return text;
+ }
+
+ /* make dummy surface to satisfy API requirements */
+ cairo_surface_t* surface = cairo_image_surface_create(CAIRO_FORMAT_RGB24, 0, 0);
+ if (cairo_surface_status(surface) != CAIRO_STATUS_SUCCESS) {
+ return text;
+ }
+
+ cairo_t* cairo = cairo_create(surface);
+ if (cairo_status(cairo) != CAIRO_STATUS_SUCCESS) {
+ cairo_surface_destroy(surface);
+ return text;
+ }
+
+ set_font_from_property(cairo, zathura, weight);
+ cairo_text_extents(cairo, string, &text);
+
+ /* add some margin (for some reason the reported extents can be a bit short) */
+ text.width += 6;
+ text.height += 2;
+
+ cairo_destroy(cairo);
+ cairo_surface_destroy(surface);
+
+ return text;
+}
+
static void
zathura_page_widget_set_property(GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec)
{
ZathuraPage* pageview = ZATHURA_PAGE(object);
zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(pageview);
+ cairo_text_extents_t text;
+
switch (prop_id) {
case PROP_PAGE:
priv->page = g_value_get_pointer(value);
@@ -363,10 +398,19 @@ zathura_page_widget_set_property(GObject* object, guint prop_id, const GValue* v
}
if (priv->links.retrieved == TRUE && priv->links.list != NULL) {
+ /* get size of text that should be large enough for every link hint */
+ text = get_text_extents("888", priv->zathura, CAIRO_FONT_WEIGHT_BOLD);
+
GIRARA_LIST_FOREACH(priv->links.list, zathura_link_t*, iter, link)
if (link != NULL) {
+ /* redraw link area */
zathura_rectangle_t rectangle = recalc_rectangle(priv->page, zathura_link_get_position(link));
redraw_rect(pageview, &rectangle);
+
+ /* also redraw area for link hint */
+ rectangle.x2 = rectangle.x1 + text.width;
+ rectangle.y1 = rectangle.y2 - text.height;
+ redraw_rect(pageview, &rectangle);
}
GIRARA_LIST_FOREACH_END(priv->links.list, zathura_link_t*, iter, link);
}
From 739a18540ac8deff9e82dbb00d6db489c76d0efc Mon Sep 17 00:00:00 2001
From: valoq
Date: Sun, 28 Jan 2018 15:50:00 +0100
Subject: [PATCH 017/126] code cleanup
---
config.mk | 11 ++++----
zathura/libsec.c | 67 ++++++++++--------------------------------------
zathura/libsec.h | 6 ++---
zathura/links.c | 5 ++--
zathura/main.c | 5 ++--
5 files changed, 27 insertions(+), 67 deletions(-)
diff --git a/config.mk b/config.mk
index b7f55d3..43acb9d 100644
--- a/config.mk
+++ b/config.mk
@@ -121,11 +121,12 @@ endif
endif
ifneq (${WITH_SECCOMP},0)
-SECCOMP_INC ?=
-SECCOMP_LIB ?= -lseccomp
-
-INCS += ${SECCOMP_INC}
-LIBS += ${SECCOMP_LIB}
+ifeq (${LIBSECCOMP_INC}-${LIBSECCOMP_LIB},-)
+PKG_CONFIG_LIBS += libseccomp
+else
+INCS += ${LIBSECCOMP_INC}
+LIBS += ${LIBSECCOMP_LIB}
+endif
endif
ifneq (${PKG_CONFIG_LIBS},)
diff --git a/zathura/libsec.c b/zathura/libsec.c
index ed87142..68d14a8 100644
--- a/zathura/libsec.c
+++ b/zathura/libsec.c
@@ -13,12 +13,10 @@
#define DENY_RULE(call) { if (seccomp_rule_add (ctx, SCMP_ACT_KILL, SCMP_SYS(call), 0) < 0) goto out; }
#define ALLOW_RULE(call) { if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(call), 0) < 0) goto out; }
-scmp_filter_ctx ctx;
-
-
-
-int protectedMode(void){
-
+int seccomp_enable_protected_mode(void){
+
+ scmp_filter_ctx ctx;
+
/* prevent child processes from getting more priv e.g. via setuid, capabilities, ... */
if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
perror("prctl SET_NO_NEW_PRIVS");
@@ -37,7 +35,6 @@ int protectedMode(void){
perror("seccomp_init failed");
exit(EXIT_FAILURE);
}
-
DENY_RULE (_sysctl);
DENY_RULE (acct);
@@ -91,7 +88,6 @@ int protectedMode(void){
DENY_RULE (uselib);
DENY_RULE (vmsplice);
-
/* applying filter... */
if (seccomp_load (ctx) >= 0){
/* free ctx after the filter has been loaded into the kernel */
@@ -103,12 +99,13 @@ int protectedMode(void){
/* something went wrong */
seccomp_release(ctx);
return 1;
-
}
-int protectedView(void){
+int seccomp_enable_protected_view(void){
+ scmp_filter_ctx ctx;
+
/* prevent child processes from getting more priv e.g. via setuid, capabilities, ... */
if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
perror("prctl SET_NO_NEW_PRIVS");
@@ -127,7 +124,6 @@ int protectedView(void){
perror("seccomp_init failed");
exit(EXIT_FAILURE);
}
-
ALLOW_RULE (access);
ALLOW_RULE (bind);
@@ -210,22 +206,18 @@ int protectedView(void){
ALLOW_RULE (writev);
ALLOW_RULE (wait4); /* trying to open links should not crash the app */
-
/* allowed for use with container */
ALLOW_RULE (chmod);
ALLOW_RULE (link);
- ALLOW_RULE (rename);
-
-
+ ALLOW_RULE (rename);
/* allowed for debugging: */
/* ALLOW_RULE (prctl); */
/* ALLOW_RULE (ioctl); */
-
-
+
/* incomplete */
/* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
@@ -271,8 +263,6 @@ int protectedView(void){
/* SCMP_CMP(0, SCMP_CMP_EQ, PR_SET_PDEATHSIG)) < 0) */
/* goto out; */
-
-
/* when zathura is run on wayland, with X11 server available but blocked, unset the DISPLAY variable */
/* otherwise it will try to connect to X11 using inet socket protocol */
@@ -288,7 +278,6 @@ int protectedView(void){
goto out;
-
/* TODO: avoid the need for the open syscall to be allowed with write permissions */
/* zathura needs to open files for writing to save current position */
@@ -307,11 +296,7 @@ int protectedView(void){
/* goto out; */
-
-
-
/* ------------ experimental filters --------------- */
-
/* /\* this filter is susceptible to TOCTOU race conditions, providing limited use *\/ */
/* /\* allow opening only specified files identified by their file descriptors*\/ */
@@ -381,12 +366,12 @@ int protectedView(void){
/* something went wrong */
seccomp_release(ctx);
return 1;
-
-
}
-int strictFilter(void){
+int seccomp_enable_strict_filter(void){
+
+ scmp_filter_ctx ctx;
/* prevent child processes from getting more priv e.g. via setuid, capabilities, ... */
if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
@@ -407,7 +392,6 @@ int strictFilter(void){
exit(EXIT_FAILURE);
}
-
ALLOW_RULE (access);
/* ALLOW_RULE (arch_prctl); */
ALLOW_RULE (bind);
@@ -487,7 +471,7 @@ int strictFilter(void){
ALLOW_RULE (writev);
ALLOW_RULE (wait4); /* trying to open links should not crash the app */
-
+
/* Special requirements for ioctl, allowed on stdout/stderr */
if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(ioctl), 1,
SCMP_CMP(0, SCMP_CMP_EQ, 1)) < 0)
@@ -496,8 +480,7 @@ int strictFilter(void){
SCMP_CMP(0, SCMP_CMP_EQ, 2)) < 0)
goto out;
-
-
+
/* needed by gtk??? (does not load content without) */
/* special restrictions for prctl, only allow PR_SET_NAME/PR_SET_PDEATHSIG */
@@ -509,7 +492,6 @@ int strictFilter(void){
SCMP_CMP(0, SCMP_CMP_EQ, PR_SET_PDEATHSIG)) < 0)
goto out;
-
/* allowed for debugging: */
@@ -530,25 +512,4 @@ int strictFilter(void){
return 1;
}
-
-#else /* WITH_SECCOMP */
-
-int protectedMode(void){
-
- perror("No seccomp support compiled-in\n");
- return 1;
-}
-
-int protectedView(void){
-
- perror("No seccomp support compiled-in\n");
- return 1;
-}
-
-int strictFilter(void){
-
- perror("No seccomp support compiled-in\n");
- return 1;
-}
-
#endif /* WITH_SECCOMP */
diff --git a/zathura/libsec.h b/zathura/libsec.h
index 2b604df..6d04fb1 100644
--- a/zathura/libsec.h
+++ b/zathura/libsec.h
@@ -4,16 +4,16 @@
/* basic filter */
/* this mode allows normal use */
/* only dangerous syscalls are blacklisted */
-int protectedMode(void);
+int seccomp_enable_protected_mode(void);
/* secure whitelist filter */
/* whitelist minimal syscalls only */
/* this mode does not allow to open external links or to start applications */
/* network connections are prohibited as well */
-int protectedView(void);
+int seccomp_enable_protected_view(void);
/* strict filter before document parsing */
/* this filter is to be enabled after most of the initialisation of zathura has finished */
-int strictFilter(void);
+int seccomp_enable_strict_filter(void);
#endif
diff --git a/zathura/links.c b/zathura/links.c
index 6eeb0dd..b3303f7 100644
--- a/zathura/links.c
+++ b/zathura/links.c
@@ -207,9 +207,8 @@ zathura_link_evaluate(zathura_t* zathura, zathura_link_t* link)
if (girara_xdg_open(link->target.value) == false) {
girara_notify(zathura->ui.session, GIRARA_ERROR, _("Failed to run xdg-open."));
}
-#endif
-#ifdef WITH_SECCOMP
- girara_notify(zathura->ui.session, GIRARA_ERROR, _("Opening external apps in protectedView Sandbox mode is not permitted"));
+#else
+ girara_notify(zathura->ui.session, GIRARA_ERROR, _("Opening external apps in protectedView Sandbox mode is not permitted"));
#endif
break;
case ZATHURA_LINK_LAUNCH:
diff --git a/zathura/main.c b/zathura/main.c
index 2c8e31a..8a3b859 100644
--- a/zathura/main.c
+++ b/zathura/main.c
@@ -20,7 +20,6 @@
#endif
#ifdef WITH_SECCOMP
-#include
#include "libsec.h"
#endif
@@ -129,7 +128,7 @@ main(int argc, char* argv[])
{
#ifdef WITH_SECCOMP
- protectedView();
+ seccomp_enable_protected_view();
#endif
init_locale();
@@ -300,7 +299,7 @@ main(int argc, char* argv[])
#ifdef WITH_SECCOMP
/* enforce strict syscall filter before parsing the document */
- strictFilter();
+ seccomp_enable_strict_filter();
#endif
/* open document if passed */
From 1dbec870cbb2d178ecafbe79426bfb0eb5dd8433 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Mon, 29 Jan 2018 00:04:00 +0100
Subject: [PATCH 018/126] Rename arguments
Signed-off-by: Sebastian Ramacher
---
zathura/file-monitor.c | 4 ++--
zathura/file-monitor.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/zathura/file-monitor.c b/zathura/file-monitor.c
index 26a1ded..6de9bc4 100644
--- a/zathura/file-monitor.c
+++ b/zathura/file-monitor.c
@@ -111,9 +111,9 @@ zathura_filemonitor_init(ZathuraFileMonitor* file_monitor)
private->file_path = NULL;
}
-const char* zathura_filemonitor_get_filepath(ZathuraFileMonitor* filemonitor)
+const char* zathura_filemonitor_get_filepath(ZathuraFileMonitor* file_monitor)
{
- private_t* private = GET_PRIVATE(filemonitor);
+ private_t* private = GET_PRIVATE(file_monitor);
return private->file_path;
}
diff --git a/zathura/file-monitor.h b/zathura/file-monitor.h
index 76a6672..ba1e73d 100644
--- a/zathura/file-monitor.h
+++ b/zathura/file-monitor.h
@@ -74,6 +74,6 @@ zathura_filemonitor_new(const char* file_path,
*
* @return path of monitored file
*/
-const char* zathura_filemonitor_get_filepath(ZathuraFileMonitor* filemonitor);
+const char* zathura_filemonitor_get_filepath(ZathuraFileMonitor* file_monitor);
#endif
From 8a003fb4cdf1fe71d96cd59a7db1df605d65cba4 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Mon, 29 Jan 2018 00:04:19 +0100
Subject: [PATCH 019/126] Add start and stop functions
---
zathura/file-monitor.c | 10 ++++++++++
zathura/file-monitor.h | 10 ++++++++++
2 files changed, 20 insertions(+)
diff --git a/zathura/file-monitor.c b/zathura/file-monitor.c
index 6de9bc4..4ef9eee 100644
--- a/zathura/file-monitor.c
+++ b/zathura/file-monitor.c
@@ -118,6 +118,16 @@ const char* zathura_filemonitor_get_filepath(ZathuraFileMonitor* file_monitor)
return private->file_path;
}
+void zathura_filemonitor_start(ZathuraFileMonitor* file_monitor)
+{
+ ZATHURA_FILEMONITOR_GET_CLASS(file_monitor)->start(file_monitor);
+}
+
+void zathura_filemonitor_stop(ZathuraFileMonitor* file_monitor)
+{
+ ZATHURA_FILEMONITOR_GET_CLASS(file_monitor)->stop(file_monitor);
+}
+
ZathuraFileMonitor*
zathura_filemonitor_new(const char* file_path,
zathura_filemonitor_type_t filemonitor_type)
diff --git a/zathura/file-monitor.h b/zathura/file-monitor.h
index ba1e73d..1c056bc 100644
--- a/zathura/file-monitor.h
+++ b/zathura/file-monitor.h
@@ -76,4 +76,14 @@ zathura_filemonitor_new(const char* file_path,
*/
const char* zathura_filemonitor_get_filepath(ZathuraFileMonitor* file_monitor);
+/**
+ * Start file monitor.
+ */
+void zathura_filemonitor_start(ZathuraFileMonitor* file_monitor);
+
+/**
+ * Stop file monitor.
+ */
+void zathura_filemonitor_stop(ZathuraFileMonitor* file_monitor);
+
#endif
From 93336db1b5e02153ab4953bff5ccc855d6f63136 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Mon, 29 Jan 2018 00:04:43 +0100
Subject: [PATCH 020/126] Start file monitor explicitly
Signed-off-by: Sebastian Ramacher
---
zathura/file-monitor.c | 6 +-----
zathura/zathura.c | 3 +++
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/zathura/file-monitor.c b/zathura/file-monitor.c
index 4ef9eee..c64c200 100644
--- a/zathura/file-monitor.c
+++ b/zathura/file-monitor.c
@@ -157,10 +157,6 @@ zathura_filemonitor_new(const char* file_path,
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;
+ return ZATHURA_FILEMONITOR(ret);
}
diff --git a/zathura/zathura.c b/zathura/zathura.c
index 2195871..7fd154e 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -898,6 +898,9 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char*
}
g_signal_connect(G_OBJECT(zathura->file_monitor.monitor), "reload-file",
G_CALLBACK(cb_file_monitor), zathura->ui.session);
+
+ girara_debug("starting file monitor");
+ zathura_filemonitor_start(zathura->file_monitor.monitor);
}
if (password != NULL) {
From abd52e45fa53a658b5c3616bd659fdd8f92ee63e Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Mon, 29 Jan 2018 01:16:28 +0100
Subject: [PATCH 021/126] Use new foreach macros
Also fixes some memory leaks.
---
zathura/commands.c | 22 ++---
zathura/completion.c | 54 +++++-----
zathura/database-plain.c | 4 +-
zathura/marks.c | 89 ++++++++---------
zathura/page-widget.c | 117 +++++++++++-----------
zathura/plugin.c | 208 +++++++++++++++++++--------------------
zathura/render.c | 17 ++--
zathura/synctex.c | 4 +-
zathura/utils.c | 8 +-
zathura/zathura.c | 12 +--
10 files changed, 269 insertions(+), 266 deletions(-)
diff --git a/zathura/commands.c b/zathura/commands.c
index 1afb790..42711b5 100644
--- a/zathura/commands.c
+++ b/zathura/commands.c
@@ -108,9 +108,9 @@ cmd_bookmark_open(girara_session_t* session, girara_list_t* argument_list)
if (argc != 1) {
GString* string = g_string_new(NULL);
- GIRARA_LIST_FOREACH(zathura->bookmarks.bookmarks, zathura_bookmark_t*, iter, bookmark)
+ GIRARA_LIST_FOREACH_BODY(zathura->bookmarks.bookmarks, zathura_bookmark_t*, 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);
@@ -190,15 +190,15 @@ cmd_info(girara_session_t* session, girara_list_t* UNUSED(argument_list))
GString* string = g_string_new(NULL);
- GIRARA_LIST_FOREACH(information, zathura_document_information_entry_t*, iter, entry)
- if (entry != NULL) {
- for (unsigned int i = 0; i < LENGTH(meta_fields); i++) {
- if (meta_fields[i].field == entry->type) {
- g_string_append_printf(string, "%s: %s\n", meta_fields[i].name, entry->value);
+ GIRARA_LIST_FOREACH_BODY(information, zathura_document_information_entry_t*, entry,
+ if (entry != NULL) {
+ for (unsigned int i = 0; i < LENGTH(meta_fields); i++) {
+ if (meta_fields[i].field == entry->type) {
+ g_string_append_printf(string, "%s: %s\n", meta_fields[i].name, entry->value);
+ }
}
}
- }
- GIRARA_LIST_FOREACH_END(information, zathura_document_information_entry_t*, iter, entry);
+ );
if (strlen(string->str) > 0) {
g_string_erase(string, strlen(string->str) - 1, 1);
@@ -535,7 +535,7 @@ cmd_exec(girara_session_t* session, girara_list_t* argument_list)
if (zathura->document != NULL) {
const char* path = zathura_document_get_path(zathura->document);
- GIRARA_LIST_FOREACH(argument_list, char*, iter, value)
+ GIRARA_LIST_FOREACH_BODY_WITH_ITER(argument_list, char*, iter, value,
char* r = girara_replace_substring(value, "$FILE", path);
if (r != NULL) {
@@ -546,7 +546,7 @@ cmd_exec(girara_session_t* session, girara_list_t* argument_list)
girara_list_iterator_set(iter, s);
}
}
- GIRARA_LIST_FOREACH_END(argument_list, char*, iter, value);
+ );
}
return girara_exec_with_argument_list(session, argument_list);
diff --git a/zathura/completion.c b/zathura/completion.c
index cf16942..40bebb2 100644
--- a/zathura/completion.c
+++ b/zathura/completion.c
@@ -184,9 +184,9 @@ list_files_for_cc(zathura_t* zathura, const char* input, bool check_file_ext, in
goto error_free;
}
- GIRARA_LIST_FOREACH(names, const char*, iter, file)
- girara_completion_group_add_element(group, file, NULL);
- GIRARA_LIST_FOREACH_END(names, const char*, iter, file);
+ GIRARA_LIST_FOREACH_BODY(names, const char*, file,
+ girara_completion_group_add_element(group, file, NULL);
+ );
girara_list_free(names);
}
@@ -197,10 +197,10 @@ list_files_for_cc(zathura_t* zathura, const char* input, bool check_file_ext, in
}
if (girara_list_size(recent_files) != 0) {
- GIRARA_LIST_FOREACH(recent_files, const char*, iter, file)
+ GIRARA_LIST_FOREACH_BODY(recent_files, const char*, file,
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 {
girara_completion_group_free(history_group);
@@ -278,13 +278,13 @@ cc_bookmarks(girara_session_t* session, const char* input)
}
const size_t input_length = strlen(input);
- GIRARA_LIST_FOREACH(zathura->bookmarks.bookmarks, zathura_bookmark_t*, iter, bookmark)
- if (input_length <= strlen(bookmark->id) && !strncmp(input, bookmark->id, input_length)) {
- gchar* paged = g_strdup_printf(_("Page %d"), bookmark->page);
- girara_completion_group_add_element(group, bookmark->id, paged);
- g_free(paged);
- }
- GIRARA_LIST_FOREACH_END(zathura->bookmarks.bookmarks, zathura_bookmark_t*, iter, bookmark);
+ GIRARA_LIST_FOREACH_BODY(zathura->bookmarks.bookmarks, zathura_bookmark_t*, bookmark,
+ if (input_length <= strlen(bookmark->id) && !strncmp(input, bookmark->id, input_length)) {
+ gchar* paged = g_strdup_printf(_("Page %d"), bookmark->page);
+ girara_completion_group_add_element(group, bookmark->id, paged);
+ g_free(paged);
+ }
+ );
girara_completion_add_group(completion, group);
@@ -334,14 +334,14 @@ cc_export(girara_session_t* session, const char* input)
if (attachments != NULL) {
bool added = false;
- GIRARA_LIST_FOREACH(attachments, const char*, iter, attachment)
- if (input_length <= strlen(attachment) && !strncmp(input, attachment, input_length)) {
- char* attachment_string = g_strdup_printf("attachment-%s", attachment);
- girara_completion_group_add_element(attachment_group, attachment_string, NULL);
- g_free(attachment_string);
- added = true;
- }
- GIRARA_LIST_FOREACH_END(zathura->bookmarks.bookmarks, zathura_bookmark_t*, iter, bookmark);
+ GIRARA_LIST_FOREACH_BODY(attachments, const char*, attachment,
+ if (input_length <= strlen(attachment) && !strncmp(input, attachment, input_length)) {
+ char* attachment_string = g_strdup_printf("attachment-%s", attachment);
+ girara_completion_group_add_element(attachment_group, attachment_string, NULL);
+ g_free(attachment_string);
+ added = true;
+ }
+ );
if (added == true) {
girara_completion_add_group(completion, attachment_group);
@@ -371,14 +371,14 @@ cc_export(girara_session_t* session, const char* input)
girara_list_t* images = zathura_page_images_get(page, NULL);
if (images != NULL) {
unsigned int image_number = 1;
- GIRARA_LIST_FOREACH(images, zathura_image_t*, iter, UNUSED(image))
- char* image_string = g_strdup_printf("image-p%d-%d", page_id + 1, image_number);
- girara_completion_group_add_element(image_group, image_string, NULL);
- g_free(image_string);
+ GIRARA_LIST_FOREACH_BODY(images, zathura_image_t*, UNUSED(image),
+ char* image_string = g_strdup_printf("image-p%d-%d", page_id + 1, image_number);
+ girara_completion_group_add_element(image_group, image_string, NULL);
+ g_free(image_string);
- added = true;
- image_number++;
- GIRARA_LIST_FOREACH_END(images, zathura_image_t*, iter, image);
+ added = true;
+ image_number++;
+ );
girara_list_free(images);
}
}
diff --git a/zathura/database-plain.c b/zathura/database-plain.c
index 6c933fd..17c8438 100644
--- a/zathura/database-plain.c
+++ b/zathura/database-plain.c
@@ -518,7 +518,7 @@ plain_save_jumplist(zathura_database_t* db, const char* file, girara_list_t* jum
GString* str_val = g_string_new(NULL);
- GIRARA_LIST_FOREACH(jumplist, zathura_jump_t*, iter, jump)
+ GIRARA_LIST_FOREACH_BODY(jumplist, zathura_jump_t*, jump,
char buffer[G_ASCII_DTOSTR_BUF_SIZE] = { '\0' };
g_string_append_printf(str_val, "%d ", jump->page);
@@ -526,7 +526,7 @@ plain_save_jumplist(zathura_database_t* db, const char* file, girara_list_t* jum
g_string_append_c(str_val, ' ');
g_string_append(str_val, g_ascii_dtostr(buffer, G_ASCII_DTOSTR_BUF_SIZE, jump->y));
g_string_append_c(str_val, ' ');
- GIRARA_LIST_FOREACH_END(jumplist, zathura_jump_t*, iter, jump);
+ );
zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db);
diff --git a/zathura/marks.c b/zathura/marks.c
index 73c39d2..0433c7f 100644
--- a/zathura/marks.c
+++ b/zathura/marks.c
@@ -158,35 +158,35 @@ cmd_marks_delete(girara_session_t* session, girara_list_t* argument_list)
return false;
}
- GIRARA_LIST_FOREACH(argument_list, char*, iter, key_string)
- if (key_string == NULL) {
- girara_list_iterator_next(iter);
- continue;
- }
-
- for (unsigned int i = 0; i < strlen(key_string); i++) {
- char key = key_string[i];
- if (((key >= 0x41 && key <= 0x5A) || (key >=
- 0x61 && key <= 0x7A)) == false) {
+ GIRARA_LIST_FOREACH_BODY_WITH_ITER(argument_list, char*, iter, key_string,
+ if (key_string == NULL) {
+ girara_list_iterator_next(iter);
continue;
}
- /* search for existing mark */
- girara_list_iterator_t* mark_iter = girara_list_iterator(zathura->global.marks);
- do {
- zathura_mark_t* mark = (zathura_mark_t*) girara_list_iterator_data(mark_iter);
- if (mark == NULL) {
+ for (unsigned int i = 0; i < strlen(key_string); i++) {
+ char key = key_string[i];
+ if (((key >= 0x41 && key <= 0x5A) || (key >=
+ 0x61 && key <= 0x7A)) == false) {
continue;
}
- if (mark->key == key) {
- girara_list_remove(zathura->global.marks, mark);
- continue;
- }
- } while (girara_list_iterator_next(mark_iter) != NULL);
- girara_list_iterator_free(mark_iter);
- }
- GIRARA_LIST_FOREACH_END(argument_list, char*, iter, key_string);
+ /* search for existing mark */
+ girara_list_iterator_t* mark_iter = girara_list_iterator(zathura->global.marks);
+ do {
+ zathura_mark_t* mark = (zathura_mark_t*) girara_list_iterator_data(mark_iter);
+ if (mark == NULL) {
+ continue;
+ }
+
+ if (mark->key == key) {
+ girara_list_remove(zathura->global.marks, mark);
+ continue;
+ }
+ } while (girara_list_iterator_next(mark_iter) != NULL);
+ girara_list_iterator_free(mark_iter);
+ }
+ );
return true;
}
@@ -205,15 +205,16 @@ mark_add(zathura_t* zathura, int key)
double scale = zathura_document_get_scale(zathura->document);
/* search for existing mark */
- GIRARA_LIST_FOREACH(zathura->global.marks, zathura_mark_t*, iter, mark)
- if (mark->key == key) {
- mark->page = page_id;
- mark->position_x = position_x;
- mark->position_y = position_y;
- mark->scale = scale;
- return;
- }
- GIRARA_LIST_FOREACH_END(zathura->global.marks, zathura_mark_t*, iter, mark);
+ GIRARA_LIST_FOREACH_BODY_WITH_ITER(zathura->global.marks, zathura_mark_t*, iter, mark,
+ if (mark->key == key) {
+ mark->page = page_id;
+ mark->position_x = position_x;
+ mark->position_y = position_y;
+ mark->scale = scale;
+ girara_list_iterator_free(iter);
+ return;
+ }
+ );
/* add new mark */
zathura_mark_t* mark = g_try_malloc0(sizeof(zathura_mark_t));
@@ -238,20 +239,20 @@ mark_evaluate(zathura_t* zathura, int key)
}
/* search for existing mark */
- GIRARA_LIST_FOREACH(zathura->global.marks, zathura_mark_t*, iter, mark)
- if (mark != NULL && mark->key == key) {
- zathura_document_set_scale(zathura->document,
- zathura_correct_scale_value(zathura->ui.session, mark->scale));
- render_all(zathura);
+ GIRARA_LIST_FOREACH_BODY(zathura->global.marks, zathura_mark_t*, mark,
+ if (mark != NULL && mark->key == key) {
+ zathura_document_set_scale(zathura->document,
+ zathura_correct_scale_value(zathura->ui.session, mark->scale));
+ render_all(zathura);
- zathura_jumplist_add(zathura);
- page_set(zathura, mark->page);
- position_set(zathura, mark->position_x, mark->position_y);
- zathura_jumplist_add(zathura);
+ zathura_jumplist_add(zathura);
+ page_set(zathura, mark->page);
+ position_set(zathura, mark->position_x, mark->position_y);
+ zathura_jumplist_add(zathura);
- return;
- }
- GIRARA_LIST_FOREACH_END(zathura->global.marks, zathura_mark_t*, iter, mark);
+ break;
+ }
+ );
}
void
diff --git a/zathura/page-widget.c b/zathura/page-widget.c
index 2be205a..606268f 100644
--- a/zathura/page-widget.c
+++ b/zathura/page-widget.c
@@ -401,18 +401,18 @@ zathura_page_widget_set_property(GObject* object, guint prop_id, const GValue* v
/* get size of text that should be large enough for every link hint */
text = get_text_extents("888", priv->zathura, CAIRO_FONT_WEIGHT_BOLD);
- GIRARA_LIST_FOREACH(priv->links.list, zathura_link_t*, iter, link)
- if (link != NULL) {
- /* redraw link area */
- zathura_rectangle_t rectangle = recalc_rectangle(priv->page, zathura_link_get_position(link));
- redraw_rect(pageview, &rectangle);
+ GIRARA_LIST_FOREACH_BODY(priv->links.list, zathura_link_t*, link,
+ if (link != NULL) {
+ /* redraw link area */
+ zathura_rectangle_t rectangle = recalc_rectangle(priv->page, zathura_link_get_position(link));
+ redraw_rect(pageview, &rectangle);
- /* also redraw area for link hint */
- rectangle.x2 = rectangle.x1 + text.width;
- rectangle.y1 = rectangle.y2 - text.height;
- redraw_rect(pageview, &rectangle);
- }
- GIRARA_LIST_FOREACH_END(priv->links.list, zathura_link_t*, iter, link);
+ /* also redraw area for link hint */
+ rectangle.x2 = rectangle.x1 + text.width;
+ rectangle.y1 = rectangle.y2 - text.height;
+ redraw_rect(pageview, &rectangle);
+ }
+ );
}
break;
case PROP_LINKS_OFFSET:
@@ -589,46 +589,46 @@ zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
if (priv->links.draw == true && priv->links.n != 0) {
unsigned int link_counter = 0;
- GIRARA_LIST_FOREACH(priv->links.list, zathura_link_t*, iter, link)
- if (link != NULL) {
- zathura_rectangle_t rectangle = recalc_rectangle(priv->page, zathura_link_get_position(link));
+ GIRARA_LIST_FOREACH_BODY(priv->links.list, zathura_link_t*, link,
+ if (link != NULL) {
+ zathura_rectangle_t rectangle = recalc_rectangle(priv->page, zathura_link_get_position(link));
- /* draw position */
- const GdkRGBA color = priv->zathura->ui.colors.highlight_color;
- cairo_set_source_rgba(cairo, color.red, color.green, color.blue, transparency);
- cairo_rectangle(cairo, rectangle.x1, rectangle.y1,
- (rectangle.x2 - rectangle.x1), (rectangle.y2 - rectangle.y1));
- cairo_fill(cairo);
+ /* draw position */
+ const GdkRGBA color = priv->zathura->ui.colors.highlight_color;
+ cairo_set_source_rgba(cairo, color.red, color.green, color.blue, transparency);
+ cairo_rectangle(cairo, rectangle.x1, rectangle.y1,
+ (rectangle.x2 - rectangle.x1), (rectangle.y2 - rectangle.y1));
+ cairo_fill(cairo);
- /* draw text */
- cairo_set_source_rgba(cairo, 0, 0, 0, 1);
- cairo_move_to(cairo, rectangle.x1 + 1, rectangle.y2 - 1);
- char* link_number = g_strdup_printf("%i", priv->links.offset + ++link_counter);
- cairo_show_text(cairo, link_number);
- g_free(link_number);
- }
- GIRARA_LIST_FOREACH_END(priv->links.list, zathura_link_t*, iter, link);
+ /* draw text */
+ cairo_set_source_rgba(cairo, 0, 0, 0, 1);
+ cairo_move_to(cairo, rectangle.x1 + 1, rectangle.y2 - 1);
+ char* link_number = g_strdup_printf("%i", priv->links.offset + ++link_counter);
+ cairo_show_text(cairo, link_number);
+ g_free(link_number);
+ }
+ );
}
/* draw search results */
if (priv->search.list != NULL && priv->search.draw == true) {
int idx = 0;
- GIRARA_LIST_FOREACH(priv->search.list, zathura_rectangle_t*, iter, rect)
- zathura_rectangle_t rectangle = recalc_rectangle(priv->page, *rect);
+ GIRARA_LIST_FOREACH_BODY(priv->search.list, zathura_rectangle_t*, rect,
+ zathura_rectangle_t rectangle = recalc_rectangle(priv->page, *rect);
- /* draw position */
- if (idx == priv->search.current) {
- const GdkRGBA color = priv->zathura->ui.colors.highlight_color_active;
- cairo_set_source_rgba(cairo, color.red, color.green, color.blue, transparency);
- } else {
- const GdkRGBA color = priv->zathura->ui.colors.highlight_color;
- cairo_set_source_rgba(cairo, color.red, color.green, color.blue, transparency);
- }
- cairo_rectangle(cairo, rectangle.x1, rectangle.y1,
- (rectangle.x2 - rectangle.x1), (rectangle.y2 - rectangle.y1));
- cairo_fill(cairo);
- ++idx;
- GIRARA_LIST_FOREACH_END(priv->search.list, zathura_rectangle_t*, iter, rect);
+ /* draw position */
+ if (idx == priv->search.current) {
+ const GdkRGBA color = priv->zathura->ui.colors.highlight_color_active;
+ cairo_set_source_rgba(cairo, color.red, color.green, color.blue, transparency);
+ } else {
+ const GdkRGBA color = priv->zathura->ui.colors.highlight_color;
+ cairo_set_source_rgba(cairo, color.red, color.green, color.blue, transparency);
+ }
+ cairo_rectangle(cairo, rectangle.x1, rectangle.y1,
+ (rectangle.x2 - rectangle.x1), (rectangle.y2 - rectangle.y1));
+ cairo_fill(cairo);
+ ++idx;
+ );
}
/* draw selection */
if (priv->mouse.selection.y2 != -1 && priv->mouse.selection.x2 != -1) {
@@ -860,10 +860,10 @@ redraw_all_rects(ZathuraPage* widget, girara_list_t* rectangles)
{
zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget);
- GIRARA_LIST_FOREACH(rectangles, zathura_rectangle_t*, iter, rect)
+ GIRARA_LIST_FOREACH_BODY(rectangles, zathura_rectangle_t*, rect,
zathura_rectangle_t rectangle = recalc_rectangle(priv->page, *rect);
redraw_rect(widget, &rectangle);
- GIRARA_LIST_FOREACH_END(rectangles, zathura_recantgle_t*, iter, rect);
+ );
}
zathura_link_t*
@@ -963,13 +963,13 @@ cb_zathura_page_widget_button_release_event(GtkWidget* widget, GdkEventButton* b
}
if (priv->links.list != NULL && priv->links.n > 0) {
- GIRARA_LIST_FOREACH(priv->links.list, zathura_link_t*, iter, link)
- zathura_rectangle_t rect = recalc_rectangle(priv->page, zathura_link_get_position(link));
- if (rect.x1 <= button->x && rect.x2 >= button->x
- && rect.y1 <= button->y && rect.y2 >= button->y) {
- zathura_link_evaluate(priv->zathura, link);
- }
- GIRARA_LIST_FOREACH_END(priv->links.list, zathura_link_t*, iter, link);
+ GIRARA_LIST_FOREACH_BODY(priv->links.list, zathura_link_t*, link,
+ const zathura_rectangle_t rect = recalc_rectangle(priv->page, zathura_link_get_position(link));
+ if (rect.x1 <= button->x && rect.x2 >= button->x
+ && rect.y1 <= button->y && rect.y2 >= button->y) {
+ zathura_link_evaluate(priv->zathura, link);
+ }
+ );
}
} else {
redraw_rect(ZATHURA_PAGE(widget), &priv->mouse.selection);
@@ -1017,12 +1017,13 @@ cb_zathura_page_widget_motion_notify(GtkWidget* widget, GdkEventMotion* event)
if (priv->links.list != NULL && priv->links.n > 0) {
bool over_link = false;
- GIRARA_LIST_FOREACH(priv->links.list, zathura_link_t*, iter, link)
+ GIRARA_LIST_FOREACH_BODY(priv->links.list, zathura_link_t*, link,
zathura_rectangle_t rect = recalc_rectangle(priv->page, zathura_link_get_position(link));
if (rect.x1 <= event->x && rect.x2 >= event->x && rect.y1 <= event->y && rect.y2 >= event->y) {
over_link = true;
+ break;
}
- GIRARA_LIST_FOREACH_END(priv->links.list, zathura_link_t*, iter, link);
+ );
if (priv->mouse.over_link != over_link) {
if (over_link == true) {
@@ -1096,12 +1097,12 @@ zathura_page_widget_popup_menu(GtkWidget* widget, GdkEventButton* event)
/* search for underlaying image */
zathura_image_t* image = NULL;
- GIRARA_LIST_FOREACH(priv->images.list, zathura_image_t*, iter, image_it)
+ GIRARA_LIST_FOREACH_BODY(priv->images.list, zathura_image_t*, image_it,
zathura_rectangle_t rect = recalc_rectangle(priv->page, image_it->position);
if (rect.x1 <= event->x && rect.x2 >= event->x && rect.y1 <= event->y && rect.y2 >= event->y) {
image = image_it;
}
- GIRARA_LIST_FOREACH_END(priv->images.list, zathura_image_t*, iter, image_it);
+ );
if (image == NULL) {
return;
@@ -1184,13 +1185,13 @@ cb_menu_image_save(GtkMenuItem* item, ZathuraPage* page)
unsigned int page_id = zathura_page_get_index(priv->page) + 1;
unsigned int image_id = 1;
- GIRARA_LIST_FOREACH(priv->images.list, zathura_image_t*, iter, image_it)
+ GIRARA_LIST_FOREACH_BODY(priv->images.list, zathura_image_t*, image_it,
if (image_it == priv->images.current) {
break;
}
image_id++;
- GIRARA_LIST_FOREACH_END(priv->images.list, zathura_image_t*, iter, image_it);
+ );
/* set command */
char* export_command = g_strdup_printf(":export image-p%d-%d ", page_id, image_id);
diff --git a/zathura/plugin.c b/zathura/plugin.c
index 076f30c..6d9d0dc 100644
--- a/zathura/plugin.c
+++ b/zathura/plugin.c
@@ -100,104 +100,104 @@ zathura_plugin_manager_load(zathura_plugin_manager_t* plugin_manager)
return;
}
- GIRARA_LIST_FOREACH(plugin_manager->path, char*, iter, plugindir)
- /* read all files in the plugin directory */
- GDir* dir = g_dir_open(plugindir, 0, NULL);
- if (dir == NULL) {
- girara_error("could not open plugin directory: %s", plugindir);
- girara_list_iterator_next(iter);
- continue;
- }
-
- char* name = NULL;
- while ((name = (char*) g_dir_read_name(dir)) != NULL) {
- char* path = g_build_filename(plugindir, name, NULL);
- if (g_file_test(path, G_FILE_TEST_IS_REGULAR) == 0) {
- girara_debug("%s is not a regular file. Skipping.", path);
- g_free(path);
+ GIRARA_LIST_FOREACH_BODY_WITH_ITER(plugin_manager->path, char*, iter, plugindir,
+ /* read all files in the plugin directory */
+ GDir* dir = g_dir_open(plugindir, 0, NULL);
+ if (dir == NULL) {
+ girara_error("could not open plugin directory: %s", plugindir);
+ girara_list_iterator_next(iter);
continue;
}
- if (check_suffix(path) == false) {
- girara_debug("%s is not a plugin file. Skipping.", path);
- g_free(path);
- continue;
- }
+ char* name = NULL;
+ while ((name = (char*) g_dir_read_name(dir)) != NULL) {
+ char* path = g_build_filename(plugindir, name, NULL);
+ if (g_file_test(path, G_FILE_TEST_IS_REGULAR) == 0) {
+ girara_debug("%s is not a regular file. Skipping.", path);
+ g_free(path);
+ continue;
+ }
- zathura_plugin_t* plugin = NULL;
+ if (check_suffix(path) == false) {
+ girara_debug("%s is not a plugin file. Skipping.", path);
+ g_free(path);
+ continue;
+ }
- /* load plugin */
- GModule* handle = g_module_open(path, G_MODULE_BIND_LOCAL);
- if (handle == NULL) {
- girara_error("could not load plugin %s (%s)", path, g_module_error());
- g_free(path);
- continue;
- }
+ zathura_plugin_t* plugin = NULL;
- /* resolve symbols and check API and ABI version*/
- 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;
- }
+ /* load plugin */
+ GModule* handle = g_module_open(path, G_MODULE_BIND_LOCAL);
+ if (handle == NULL) {
+ girara_error("could not load plugin %s (%s)", path, g_module_error());
+ g_free(path);
+ continue;
+ }
- /* check name */
- if (plugin_definition->name == NULL) {
- girara_error("plugin has no name");
- g_free(path);
- g_free(plugin);
- g_module_close(handle);
- continue;
- }
+ /* resolve symbols and check API and ABI version*/
+ 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;
+ }
- /* 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;
- }
+ /* check name */
+ if (plugin_definition->name == NULL) {
+ girara_error("plugin has no name");
+ g_free(path);
+ g_free(plugin);
+ g_module_close(handle);
+ continue;
+ }
- plugin = g_try_malloc0(sizeof(zathura_plugin_t));
- if (plugin == NULL) {
- girara_error("Failed to allocate memory for plugin.");
- g_free(path);
- g_module_close(handle);
- continue;
- }
+ /* 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;
+ }
- plugin->definition = plugin_definition;
- plugin->functions = plugin_definition->functions;
- plugin->content_types = girara_list_new2(g_free);
- plugin->handle = handle;
- plugin->path = path;
+ plugin = g_try_malloc0(sizeof(zathura_plugin_t));
+ if (plugin == NULL) {
+ girara_error("Failed to allocate memory for plugin.");
+ g_free(path);
+ g_module_close(handle);
+ continue;
+ }
- // 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));
- }
+ plugin->definition = plugin_definition;
+ plugin->functions = plugin_definition->functions;
+ plugin->content_types = girara_list_new2(g_free);
+ plugin->handle = handle;
+ plugin->path = path;
- 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 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);
+ // 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 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);
- GIRARA_LIST_FOREACH_END(zathura->plugins.path, char*, iter, plugindir);
+ g_dir_close(dir);
+ );
}
zathura_plugin_t*
@@ -208,12 +208,12 @@ zathura_plugin_manager_get_plugin(zathura_plugin_manager_t* plugin_manager, cons
}
zathura_plugin_t* plugin = NULL;
- GIRARA_LIST_FOREACH(plugin_manager->type_plugin_mapping, zathura_type_plugin_mapping_t*, iter, mapping)
- if (g_content_type_equals(type, mapping->type)) {
- plugin = mapping->plugin;
- break;
- }
- GIRARA_LIST_FOREACH_END(plugin_manager->type_plugin_mapping, zathura_type_plugin_mapping_t*, iter, mapping);
+ GIRARA_LIST_FOREACH_BODY(plugin_manager->type_plugin_mapping, zathura_type_plugin_mapping_t*, mapping,
+ if (g_content_type_equals(type, mapping->type)) {
+ plugin = mapping->plugin;
+ break;
+ }
+ );
return plugin;
}
@@ -262,13 +262,13 @@ register_plugin(zathura_plugin_manager_t* plugin_manager, zathura_plugin_t* plug
}
bool at_least_one = false;
- GIRARA_LIST_FOREACH(plugin->content_types, gchar*, iter, type)
- if (plugin_mapping_new(plugin_manager, type, plugin) == false) {
- girara_error("plugin: already registered for filetype %s\n", type);
- } else {
- at_least_one = true;
- }
- GIRARA_LIST_FOREACH_END(plugin->content_types, gchar*, iter, type);
+ GIRARA_LIST_FOREACH_BODY(plugin->content_types, gchar*, type,
+ if (plugin_mapping_new(plugin_manager, type, plugin) == false) {
+ girara_error("plugin: already registered for filetype %s\n", type);
+ } else {
+ at_least_one = true;
+ }
+ );
if (at_least_one == true) {
girara_list_append(plugin_manager->plugins, plugin);
@@ -284,12 +284,12 @@ plugin_mapping_new(zathura_plugin_manager_t* plugin_manager, const gchar* type,
g_return_val_if_fail(type != NULL, false);
g_return_val_if_fail(plugin != NULL, false);
- GIRARA_LIST_FOREACH(plugin_manager->type_plugin_mapping, zathura_type_plugin_mapping_t*, iter, mapping)
- if (g_content_type_equals(type, mapping->type)) {
- girara_list_iterator_free(iter);
- return false;
- }
- GIRARA_LIST_FOREACH_END(plugin_manager->type_plugin_mapping, zathura_type_plugin_mapping_t*, iter, mapping);
+ GIRARA_LIST_FOREACH_BODY_WITH_ITER(plugin_manager->type_plugin_mapping, zathura_type_plugin_mapping_t*, iter, mapping,
+ if (g_content_type_equals(type, mapping->type)) {
+ girara_list_iterator_free(iter);
+ return false;
+ }
+ );
zathura_type_plugin_mapping_t* mapping = g_try_malloc0(sizeof(zathura_type_plugin_mapping_t));
if (mapping == NULL) {
diff --git a/zathura/render.c b/zathura/render.c
index 7cd3f3e..4199485 100644
--- a/zathura/render.c
+++ b/zathura/render.c
@@ -438,11 +438,12 @@ zathura_render_request(ZathuraRenderRequest* request, gint64 last_view_time)
bool unfinished_jobs = false;
/* check if there are any active jobs left */
- GIRARA_LIST_FOREACH(request_priv->active_jobs, render_job_t*, iter, job)
+ GIRARA_LIST_FOREACH_BODY(request_priv->active_jobs, render_job_t*, job,
if (job->aborted == false) {
unfinished_jobs = true;
+ break;
}
- GIRARA_LIST_FOREACH_END(request_priv->active_jobs, render_job_t*, iter, job);
+ );
/* only add a new job if there are no active ones left */
if (unfinished_jobs == false) {
@@ -471,9 +472,9 @@ zathura_render_request_abort(ZathuraRenderRequest* request)
request_private_t* request_priv = REQUEST_GET_PRIVATE(request);
g_mutex_lock(&request_priv->jobs_mutex);
- GIRARA_LIST_FOREACH(request_priv->active_jobs, render_job_t*, iter, job)
+ GIRARA_LIST_FOREACH_BODY(request_priv->active_jobs, render_job_t*, job,
job->aborted = true;
- GIRARA_LIST_FOREACH_END(request_priv->active_jobs, render_job_t*, iter, job);
+ );
g_mutex_unlock(&request_priv->jobs_mutex);
}
@@ -632,14 +633,14 @@ recolor(private_t* priv, zathura_page_t* page, unsigned int page_width,
if (found_images == true) {
/* Get images bounding boxes */
- GIRARA_LIST_FOREACH(images, zathura_image_t*, iter, image_it)
+ GIRARA_LIST_FOREACH_BODY(images, zathura_image_t*, image_it,
zathura_rectangle_t* rect = g_try_malloc(sizeof(zathura_rectangle_t));
if (rect == NULL) {
break;
}
*rect = recalc_rectangle(page, image_it->position);
girara_list_append(rectangles, rect);
- GIRARA_LIST_FOREACH_END(images, zathura_image_t*, iter, image_it);
+ );
}
}
@@ -650,13 +651,13 @@ recolor(private_t* priv, zathura_page_t* page, unsigned int page_width,
/* Check if the pixel belongs to an image when in reverse video mode*/
if (priv->recolor.reverse_video == true && found_images == true){
bool inside_image = false;
- GIRARA_LIST_FOREACH(rectangles, zathura_rectangle_t*, iter, rect_it)
+ GIRARA_LIST_FOREACH_BODY(rectangles, zathura_rectangle_t*, rect_it,
if (rect_it->x1 <= x && rect_it->x2 >= x &&
rect_it->y1 <= y && rect_it->y2 >= y) {
inside_image = true;
break;
}
- GIRARA_LIST_FOREACH_END(rectangles, zathura_rectangle_t*, iter, rect_it);
+ );
/* If it's inside and image don't recolor */
if (inside_image == true) {
continue;
diff --git a/zathura/synctex.c b/zathura/synctex.c
index 87ae15f..4c4d71a 100644
--- a/zathura/synctex.c
+++ b/zathura/synctex.c
@@ -355,13 +355,13 @@ synctex_view(zathura_t* zathura, const char* input_file,
}
if (secondary_rects != NULL) {
- GIRARA_LIST_FOREACH(secondary_rects, synctex_page_rect_t*, iter, rect)
+ GIRARA_LIST_FOREACH_BODY(secondary_rects, synctex_page_rect_t*, rect,
zathura_rectangle_t* newrect = g_try_malloc0(sizeof(zathura_rectangle_t));
if (newrect != NULL) {
*newrect = rect->rect;
girara_list_append(all_rectangles[rect->page], newrect);
}
- GIRARA_LIST_FOREACH_END(secondary_rects, synctex_page_rect_t*, iter, rect);
+ );
}
synctex_highlight_rects(zathura, page, all_rectangles);
diff --git a/zathura/utils.c b/zathura/utils.c
index b86b48a..90e8268 100644
--- a/zathura/utils.c
+++ b/zathura/utils.c
@@ -69,7 +69,7 @@ document_index_build(GtkTreeModel* model, GtkTreeIter* parent,
{
girara_list_t* list = girara_node_get_children(tree);
- GIRARA_LIST_FOREACH(list, girara_tree_node_t*, iter, node) {
+ GIRARA_LIST_FOREACH_BODY(list, girara_tree_node_t*, node,
zathura_index_element_t* index_element = (zathura_index_element_t*)girara_node_get_data(node);
zathura_link_type_t type = zathura_link_get_type(index_element->link);
@@ -93,7 +93,7 @@ document_index_build(GtkTreeModel* model, GtkTreeIter* parent,
if (girara_node_get_num_children(node) > 0) {
document_index_build(model, &tree_iter, node);
}
- } GIRARA_LIST_FOREACH_END(list, gchar*, iter, name);
+ );
}
zathura_rectangle_t
@@ -201,7 +201,7 @@ zathura_get_version_string(zathura_t* zathura, bool markup)
/* plugin information */
girara_list_t* plugins = zathura_plugin_manager_get_plugins(zathura->plugins.manager);
if (plugins != NULL) {
- GIRARA_LIST_FOREACH(plugins, zathura_plugin_t*, iter, plugin) {
+ GIRARA_LIST_FOREACH_BODY(plugins, zathura_plugin_t*, 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,
@@ -210,7 +210,7 @@ zathura_get_version_string(zathura_t* zathura, bool markup)
version.minor,
version.rev,
zathura_plugin_get_path(plugin));
- } GIRARA_LIST_FOREACH_END(plugins, zathura_plugin_t*, iter, plugin);
+ );
}
char* version = string->str;
diff --git a/zathura/zathura.c b/zathura/zathura.c
index 7fd154e..d61877c 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -506,16 +506,16 @@ zathura_set_plugin_dir(zathura_t* zathura, const char* dir)
if (dir != NULL) {
girara_list_t* paths = girara_split_path_array(dir);
- GIRARA_LIST_FOREACH(paths, char*, iter, path)
- zathura_plugin_manager_add_dir(zathura->plugins.manager, path);
- GIRARA_LIST_FOREACH_END(paths, char*, iter, path);
+ GIRARA_LIST_FOREACH_BODY(paths, char*, path,
+ zathura_plugin_manager_add_dir(zathura->plugins.manager, path);
+ );
girara_list_free(paths);
} else {
#ifdef ZATHURA_PLUGINDIR
girara_list_t* paths = girara_split_path_array(ZATHURA_PLUGINDIR);
- GIRARA_LIST_FOREACH(paths, char*, iter, path)
- zathura_plugin_manager_add_dir(zathura->plugins.manager, path);
- GIRARA_LIST_FOREACH_END(paths, char*, iter, path);
+ GIRARA_LIST_FOREACH_BODY(paths, char*, path,
+ zathura_plugin_manager_add_dir(zathura->plugins.manager, path);
+ );
girara_list_free(paths);
#endif
}
From 658fd4fe3bdbd9018f939245639ab22ac5cc77b9 Mon Sep 17 00:00:00 2001
From: Tarn Burton
Date: Wed, 31 Jan 2018 06:22:24 -0500
Subject: [PATCH 022/126] Pass line and column to Edit signal
---
zathura/dbus-interface.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/zathura/dbus-interface.c b/zathura/dbus-interface.c
index 0948117..5780960 100644
--- a/zathura/dbus-interface.c
+++ b/zathura/dbus-interface.c
@@ -202,7 +202,7 @@ zathura_dbus_edit(ZathuraDbus* edit, unsigned int page, unsigned int x, unsigned
GError* error = NULL;
g_dbus_connection_emit_signal(priv->connection, NULL, DBUS_OBJPATH,
- DBUS_INTERFACE, "Edit", g_variant_new("(suu)", input_file, x, y), &error);
+ DBUS_INTERFACE, "Edit", g_variant_new("(suu)", input_file, line, column), &error);
g_free(input_file);
@@ -575,4 +575,3 @@ zathura_dbus_synctex_position(const char* filename, const char* input_file,
return iterate_instances_call_synctex_view(filename, input_file, line, column, hint);
}
-
From ba113fd21ca40559a57ef0943978cfefeb3a0209 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Fri, 2 Feb 2018 18:45:12 +0100
Subject: [PATCH 023/126] Warn if color cannot be parsed
Signed-off-by: Sebastian Ramacher
---
zathura/config.c | 8 ++++----
zathura/render.c | 10 ++++++----
zathura/utils.c | 10 ++++++++++
zathura/utils.h | 10 ++++++++++
zathura/zathura.c | 2 +-
5 files changed, 31 insertions(+), 9 deletions(-)
diff --git a/zathura/config.c b/zathura/config.c
index d3fe43a..fcbff3f 100644
--- a/zathura/config.c
+++ b/zathura/config.c
@@ -56,9 +56,9 @@ cb_color_change(girara_session_t* session, const char* name,
const char* string_value = (const char*) value;
if (g_strcmp0(name, "highlight-color") == 0) {
- gdk_rgba_parse(&(zathura->ui.colors.highlight_color), string_value);
+ parse_color(&zathura->ui.colors.highlight_color, string_value);
} else if (g_strcmp0(name, "highlight-active-color") == 0) {
- gdk_rgba_parse(&(zathura->ui.colors.highlight_color_active), string_value);
+ parse_color(&zathura->ui.colors.highlight_color_active, string_value);
} else if (g_strcmp0(name, "recolor-darkcolor") == 0) {
if (zathura->sync.render_thread != NULL) {
zathura_renderer_set_recolor_colors_str(zathura->sync.render_thread, NULL, string_value);
@@ -68,9 +68,9 @@ cb_color_change(girara_session_t* session, const char* name,
zathura_renderer_set_recolor_colors_str(zathura->sync.render_thread, string_value, NULL);
}
} else if (g_strcmp0(name, "render-loading-bg") == 0) {
- gdk_rgba_parse(&(zathura->ui.colors.render_loading_bg), string_value);
+ parse_color(&zathura->ui.colors.render_loading_bg, string_value);
} else if (g_strcmp0(name, "render-loading-fg") == 0) {
- gdk_rgba_parse(&(zathura->ui.colors.render_loading_fg), string_value);
+ parse_color(&zathura->ui.colors.render_loading_fg, string_value);
}
render_all(zathura);
diff --git a/zathura/render.c b/zathura/render.c
index 4199485..5953de0 100644
--- a/zathura/render.c
+++ b/zathura/render.c
@@ -375,13 +375,15 @@ zathura_renderer_set_recolor_colors_str(ZathuraRenderer* renderer,
if (dark != NULL) {
GdkRGBA color;
- gdk_rgba_parse(&color, dark);
- zathura_renderer_set_recolor_colors(renderer, NULL, &color);
+ if (parse_color(&color, dark) == true) {
+ zathura_renderer_set_recolor_colors(renderer, NULL, &color);
+ }
}
if (light != NULL) {
GdkRGBA color;
- gdk_rgba_parse(&color, light);
- zathura_renderer_set_recolor_colors(renderer, &color, NULL);
+ if (parse_color(&color, light) == true) {
+ zathura_renderer_set_recolor_colors(renderer, &color, NULL);
+ }
}
}
diff --git a/zathura/utils.c b/zathura/utils.c
index 90e8268..9aeaff3 100644
--- a/zathura/utils.c
+++ b/zathura/utils.c
@@ -280,3 +280,13 @@ find_first_page_column(const char* first_page_column_list,
return first_page_column;
}
+
+bool
+parse_color(GdkRGBA* color, const char* str)
+{
+ if (gdk_rgba_parse(color, str) == FALSE) {
+ girara_warning("Failed to parse color string '%s'.", str);
+ return false;
+ }
+ return true;
+}
diff --git a/zathura/utils.h b/zathura/utils.h
index c30d3f9..135eb2e 100644
--- a/zathura/utils.h
+++ b/zathura/utils.h
@@ -120,4 +120,14 @@ double zathura_correct_scale_value(girara_session_t* session, const double
unsigned int find_first_page_column(const char* first_page_column_list,
const unsigned int pages_per_row);
+/**
+ * Parse color string and print warning if color cannot be parsed.
+ *
+ * @param[out] color The color
+ * @param[in] str Color string
+ *
+ * @return True if color string can be parsed, false otherwise.
+ */
+bool parse_color(GdkRGBA* color, const char* str);
+
#endif // UTILS_H
diff --git a/zathura/zathura.c b/zathura/zathura.c
index d61877c..94609bf 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -245,7 +245,7 @@ init_css(zathura_t* zathura)
GdkRGBA rgba = {0, 0, 0, 0};
girara_setting_get(zathura->ui.session, index_settings[s], &tmp_value);
if (tmp_value != NULL) {
- gdk_rgba_parse(&rgba, tmp_value);
+ parse_color(&rgba, tmp_value);
g_free(tmp_value);
}
From a08150cfc6c2b64ba2902e92887a911d98b19ba6 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Fri, 2 Feb 2018 19:06:30 +0100
Subject: [PATCH 024/126] Fix typo
---
zathura/dbus-interface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zathura/dbus-interface.c b/zathura/dbus-interface.c
index 5780960..7e9544d 100644
--- a/zathura/dbus-interface.c
+++ b/zathura/dbus-interface.c
@@ -417,7 +417,7 @@ handle_method_call(GDBusConnection* UNUSED(connection),
if (handlers[idx].needs_document == true && priv->zathura->document == NULL) {
g_dbus_method_invocation_return_dbus_error(
- invocation, "org.pwmt.zathura.NoOpenDocumen",
+ invocation, "org.pwmt.zathura.NoOpenDocument",
"No document has been opened.");
return;
}
From c4ef771c518d16d011ea9f17f271eb5ef6e3077f Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sat, 3 Feb 2018 12:30:49 +0100
Subject: [PATCH 025/126] Document make doc
Signed-off-by: Sebastian Ramacher
---
README | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/README b/README
index 6f39e02..046596f 100644
--- a/README
+++ b/README
@@ -36,8 +36,10 @@ WITH_MAGIC=0.
If you pass these flags as a command line argument to make, you have to ensure
to pass the same flags when executing the install target.
-If you want to build zathura's documentation, please install all python
-dependencies from the ./doc/requirements.txt file.
+If you want to build zathura's HTML documentation, please install all python
+dependencies from the ./doc/requirements.txt file and run:
+
+ make doc
Installation
------------
From bba265ccfeac1f9b220818adf3287b5f920e90ae Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sat, 3 Feb 2018 13:26:39 +0100
Subject: [PATCH 026/126] Add function to get page labels
Signed-off-by: Sebastian Ramacher
---
zathura/page.c | 31 +++++++++++++++++++++++++++++++
zathura/page.h | 11 +++++++++++
zathura/plugin-api.h | 14 ++++++++++++--
3 files changed, 54 insertions(+), 2 deletions(-)
diff --git a/zathura/page.c b/zathura/page.c
index a40651a..9659227 100644
--- a/zathura/page.c
+++ b/zathura/page.c
@@ -359,3 +359,34 @@ zathura_page_render(zathura_page_t* page, cairo_t* cairo, bool printing)
return functions->page_render_cairo(page, page->data, cairo, printing);
}
+
+char*
+zathura_page_get_label(zathura_page_t* page, zathura_error_t* error)
+{
+ if (page == NULL || page->document == NULL) {
+ if (error) {
+ *error = ZATHURA_ERROR_INVALID_ARGUMENTS;
+ }
+ return NULL;
+ }
+
+ zathura_plugin_t* plugin = zathura_document_get_plugin(page->document);
+ zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
+ if (functions->page_get_label == NULL) {
+ if (error) {
+ *error = ZATHURA_ERROR_NOT_IMPLEMENTED;
+ }
+ return NULL;
+ }
+
+ char* ret = NULL;
+ zathura_error_t e = functions->page_get_label(page, page->data, &ret);
+ if (e != ZATHURA_ERROR_OK) {
+ if (error) {
+ *error = e;
+ }
+ return NULL;
+ }
+
+ return ret;
+}
diff --git a/zathura/page.h b/zathura/page.h
index d8f260e..0db3cfa 100644
--- a/zathura/page.h
+++ b/zathura/page.h
@@ -203,4 +203,15 @@ char* zathura_page_get_text(zathura_page_t* page, zathura_rectangle_t rectangle,
*/
zathura_error_t zathura_page_render(zathura_page_t* page, cairo_t* cairo, bool printing);
+/**
+ * Get page label. Note that the page label might not exist, in this case NULL
+ * is returned.
+ *
+ * @param page Page
+ * @param error Set to an error value (see \ref zathura_Error_t) if an error
+ * occurred.
+ * @return Page label
+ */
+char* zathura_page_get_label(zathura_page_t* page, zathura_error_t* error);
+
#endif // PAGE_H
diff --git a/zathura/plugin-api.h b/zathura/plugin-api.h
index c372756..3af18e5 100644
--- a/zathura/plugin-api.h
+++ b/zathura/plugin-api.h
@@ -91,10 +91,15 @@ typedef char* (*zathura_plugin_page_get_text_t)(zathura_page_t* page, void* data
typedef zathura_image_buffer_t* (*zathura_plugin_page_render_t)(zathura_page_t* page, void* data, zathura_error_t* error);
/**
- * Renders the page
+ * Renders the page to a cairo surface.
*/
typedef zathura_error_t (*zathura_plugin_page_render_cairo_t)(zathura_page_t* page, void* data, cairo_t* cairo, bool printing);
+/**
+ * Get page label.
+ */
+typedef zathura_error_t (*zathura_plugin_page_get_label_t)(zathura_page_t* page, void* data, char** label);
+
struct zathura_plugin_functions_s
{
@@ -179,9 +184,14 @@ struct zathura_plugin_functions_s
zathura_plugin_page_render_t page_render;
/**
- * Renders the page
+ * Renders the page to a cairo surface.
*/
zathura_plugin_page_render_cairo_t page_render_cairo;
+
+ /**
+ * Get page label.
+ */
+ zathura_plugin_page_get_label_t page_get_label;
};
/**
From ad49cfa419b90f64c189589e99ab0311179f4042 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sat, 3 Feb 2018 13:27:18 +0100
Subject: [PATCH 027/126] Display page label
Signed-off-by: Sebastian Ramacher
---
zathura/zathura.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/zathura/zathura.c b/zathura/zathura.c
index 94609bf..55d976f 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -1322,7 +1322,16 @@ statusbar_page_number_update(zathura_t* zathura)
unsigned int current_page_number = zathura_document_get_current_page_number(zathura->document);
if (zathura->document != NULL) {
- char* page_number_text = g_strdup_printf("[%d/%d]", current_page_number + 1, number_of_pages);
+ zathura_page_t* page = zathura_document_get_page(zathura->document, current_page_number);
+ char* page_label = zathura_page_get_label(page, NULL);
+
+ char* page_number_text = NULL;
+ if (page_label != NULL) {
+ page_number_text = g_strdup_printf("[%s (%d/%d)]", page_label, current_page_number + 1, number_of_pages);
+ g_free(page_label);
+ } else {
+ page_number_text = g_strdup_printf("[%d/%d]", current_page_number + 1, number_of_pages);
+ }
girara_statusbar_item_set_text(zathura->ui.session, zathura->ui.statusbar.page_number, page_number_text);
bool page_number_in_window_title = false;
From 53abbdf250e3ddb449f3c00c084efe744ae8b034 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sat, 3 Feb 2018 14:25:14 +0100
Subject: [PATCH 028/126] Update years
Signed-off-by: Sebastian Ramacher
---
LICENSE | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/LICENSE b/LICENSE
index af2dfc0..75d724d 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2009-2017 pwmt.org
+Copyright (c) 2009-2018 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
From cb887221e1f849e62a86c0ead092d833fd7fdb47 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sat, 3 Feb 2018 14:27:29 +0100
Subject: [PATCH 029/126] Drop register function
Do not forget to bump ZATHURA_ABI_VERSION before the next release.
---
zathura/plugin-api.h | 9 ---------
zathura/plugin.c | 4 ----
2 files changed, 13 deletions(-)
diff --git a/zathura/plugin-api.h b/zathura/plugin-api.h
index 3af18e5..b7c9a29 100644
--- a/zathura/plugin-api.h
+++ b/zathura/plugin-api.h
@@ -194,13 +194,6 @@ struct zathura_plugin_functions_s
zathura_plugin_page_get_label_t page_get_label;
};
-/**
- * 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 */
@@ -210,7 +203,6 @@ typedef struct zathura_plugin_version_s {
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;
@@ -259,7 +251,6 @@ typedef struct zathura_plugin_definition_s {
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 \
diff --git a/zathura/plugin.c b/zathura/plugin.c
index 6d9d0dc..2ac9e63 100644
--- a/zathura/plugin.c
+++ b/zathura/plugin.c
@@ -180,10 +180,6 @@ zathura_plugin_manager_load(zathura_plugin_manager_t* plugin_manager)
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) {
From c46fc2a5ba9dd7548a55f0f0a07b504938888792 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 4 Feb 2018 10:47:41 +0100
Subject: [PATCH 030/126] Remove extra new lines
---
zathura/zathura.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/zathura/zathura.c b/zathura/zathura.c
index 55d976f..c134fcb 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -1491,10 +1491,8 @@ adjust_view(zathura_t* zathura)
if (adjust_mode == ZATHURA_ADJUST_WIDTH ||
(adjust_mode == ZATHURA_ADJUST_BESTFIT && page_ratio < view_ratio)) {
newscale *= (double)view_width / (double)document_width;
-
} else if (adjust_mode == ZATHURA_ADJUST_BESTFIT) {
newscale *= (double)view_height / (double)cell_height;
-
} else {
goto error_ret;
}
From b1d9862b0e1d1292cbd30a5647a1e119f1c37c22 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 4 Feb 2018 10:48:02 +0100
Subject: [PATCH 031/126] Run update-po
---
po/ca.po | 91 +++++++++++++++++++++++++++----------------------
po/cs.po | 91 +++++++++++++++++++++++++++----------------------
po/de.po | 98 +++++++++++++++++++++++++++++------------------------
po/el.po | 91 +++++++++++++++++++++++++++----------------------
po/eo.po | 91 +++++++++++++++++++++++++++----------------------
po/es.po | 91 +++++++++++++++++++++++++++----------------------
po/es_CL.po | 91 +++++++++++++++++++++++++++----------------------
po/et.po | 90 ++++++++++++++++++++++++++----------------------
po/fr.po | 91 +++++++++++++++++++++++++++----------------------
po/he.po | 90 ++++++++++++++++++++++++++----------------------
po/hr.po | 90 ++++++++++++++++++++++++++----------------------
po/id_ID.po | 91 +++++++++++++++++++++++++++----------------------
po/it.po | 91 +++++++++++++++++++++++++++----------------------
po/lt.po | 91 +++++++++++++++++++++++++++----------------------
po/no.po | 91 +++++++++++++++++++++++++++----------------------
po/pl.po | 91 +++++++++++++++++++++++++++----------------------
po/pt_BR.po | 91 +++++++++++++++++++++++++++----------------------
po/ru.po | 91 +++++++++++++++++++++++++++----------------------
po/ta_IN.po | 91 +++++++++++++++++++++++++++----------------------
po/tr.po | 91 +++++++++++++++++++++++++++----------------------
po/uk_UA.po | 91 +++++++++++++++++++++++++++----------------------
21 files changed, 1050 insertions(+), 865 deletions(-)
diff --git a/po/ca.po b/po/ca.po
index f7911fb..2f50f31 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: 2017-06-25 21:55+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\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/"
@@ -20,37 +20,41 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr "Entrada invàlida '%s'."
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr "Índex invàlid '%s'."
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr "Nombre d'arguments invàlids."
@@ -84,98 +88,103 @@ msgstr "Esborrat el marcador: %s"
msgid "Failed to remove bookmark: %s"
msgstr "No s'ha pogut esborrar el marcador: %s"
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+#, fuzzy
+msgid "No bookmarks available."
+msgstr "Cap informació disponible."
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Marcador no existent: %s"
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr "Cap informació disponible."
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr "Massa arguments."
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr "Cap argument subministrat."
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr "Document desat."
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr "No s'ha pogut desar el document."
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr "Nombre d'arguments invàlids."
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, 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:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "S'ha escrit el fitxer adjunt '%s' a '%s'."
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "S'ha escrit la imatge '%s' a '%s'."
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "No s'ha pogut escriure la imatge '%s' a '%s'."
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr "Imatge desconeguda '%s'."
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Imatge o fitxer adjunt desconegut '%s'."
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr "L'argument ha de ser un nombre."
@@ -570,15 +579,15 @@ msgstr ""
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr "Carregant..."
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr "Copia la imatge"
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr "Desa imatge com a"
@@ -601,26 +610,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Aquest document no conté cap índex"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr "[Sense nom]"
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:661
+#: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:795
+#: ../zathura/zathura.c:798
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/cs.po b/po/cs.po
index c3583fd..aa62bfa 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2017-06-25 21:55+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\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"
@@ -17,37 +17,41 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr "'%s' nesmí být 0. Nastaveno na 1."
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr "Neplatný vstup: %s"
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr "Neplatný rejstřík: %s"
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr "Vybraný text zkopírován do výběru %s: %s"
+#: ../zathura/callbacks.c:646
+#, fuzzy, c-format
+msgid "Copied selected image to selection %s"
+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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr "Špatný počet argumentů."
@@ -81,98 +85,103 @@ msgstr "Záložka smazána: %s"
msgid "Failed to remove bookmark: %s"
msgstr "Nepodařilo se smazat záložku: %s"
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+#, fuzzy
+msgid "No bookmarks available."
+msgstr "Nejsou dostupné žádné informace."
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Záložka neexistuje: %s"
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr "Název"
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr "Autor"
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr "Předmět"
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr "Klíčová slova"
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr "Tvůrce"
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr "Výrobce"
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr "Datum vytvoření"
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr "Datum změny"
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr "Nejsou dostupné žádné informace."
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr "Příliš mnoho argumentů."
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr "Nezadali jste argumenty."
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr "Dokument uložen."
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr "Nepovedlo se uložit dokument."
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr "Špatný počet argumentů."
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Nepovedlo se zapsat přílohu '%s' do '%s'."
-#: ../zathura/commands.c:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Příloha '%s' zapsána do '%s'."
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Obrázek '%s' zapsán do '%s'."
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Nepovedlo se zapsat obrázek '%s' do '%s'."
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr "Neznámý obrázek '%s'."
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Neznámá příloha nebo obrázek '%s'."
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr "Argumentem musí být číslo."
@@ -567,15 +576,15 @@ msgstr "Zvýraznit zadanou polohu v daném procesu"
msgid "Start in a non-default mode"
msgstr "Spustit v ne-výchozím režimu"
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr "Nahrává se..."
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr "Kopírovat obrázek"
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr "Uložit obrázek jako"
@@ -598,29 +607,29 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Tento dokument neobsahuje žádný rejstřík"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr "[Nepojmenovaný]"
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
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:661
+#: ../zathura/zathura.c:664
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:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr "Zadat heslo:"
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
"Nepodporovaný typ souboru. Nainstalujte, prosím, nezbytný přídavný modul."
-#: ../zathura/zathura.c:795
+#: ../zathura/zathura.c:798
msgid "Document does not contain any pages"
msgstr "Dokument neobsahuje žádné strany"
diff --git a/po/de.po b/po/de.po
index dd6e95b..8cd3b56 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: 2017-06-25 21:55+0200\n"
-"PO-Revision-Date: 2017-09-12 10:46+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"PO-Revision-Date: 2018-02-04 10:51+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: German (http://www.transifex.com/projects/p/zathura/language/"
"de/)\n"
@@ -18,39 +18,43 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 1.8.7.1\n"
+"X-Generator: Poedit 2.0.6\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr "'%s' darf nicht 0 sein. Auf 1 gesetzt."
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr "Ungültige Eingabe '%s' angegeben."
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr "Ungültiger Index '%s' angegeben."
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr "Der gewählte Text wurde in die Zwischenablage %s kopiert: %s"
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+msgstr "Das gewählte Bild wurde in die Zwischenablage %s kopiert"
+
#: ../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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr "Ungültige Anzahl an Argumenten angegeben."
@@ -67,7 +71,7 @@ msgstr "Konnte Lesezeichen nicht erstellen: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
-msgstr "Lesezeichen erfolgreich aktualisiert: %s."
+msgstr "Lesezeichen erfolgreich aktualisiert: %s"
#: ../zathura/commands.c:62
#, c-format
@@ -84,98 +88,102 @@ msgstr "Lesezeichen entfernt: %s"
msgid "Failed to remove bookmark: %s"
msgstr "Konnte Lesezeichen nicht entfernen: %s"
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+msgid "No bookmarks available."
+msgstr "Keine Lesezeichen verfügbar."
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Lesezeichen existiert nicht: %s"
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr "Titel"
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr "Autor"
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr "Betreff"
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr "Schlagwörter"
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr "Ersteller"
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr "Produzent"
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr "Erstellungsdatum"
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr "Modifikationsdatum"
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr "Keine Information verfügbar."
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr "Zu viele Argumente angegeben."
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr "Keine Argumente angegeben."
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr "Dokument gespeichert."
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr "Konnte Dokument nicht speichern."
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr "Ungültige Anzahl an Argumenten."
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben."
-#: ../zathura/commands.c:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Anhang '%s' nach '%s' geschrieben."
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Anhang '%s' nach '%s' geschrieben."
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben."
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr "Unbekanntes Bild '%s'."
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Unbekannter Anhanng oder Bild '%s'."
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr "Das Argument ist keine Zahl."
@@ -573,15 +581,15 @@ msgstr "Gewählte Position im Prozess hervorheben"
msgid "Start in a non-default mode"
msgstr "In einem Nicht-Standardmodus starten"
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr "Lädt..."
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr "Bild kopieren"
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr "Bild speichern als"
@@ -602,28 +610,28 @@ msgstr "Suchausdruck nicht gefunden: %s"
#: ../zathura/shortcuts.c:1135
msgid "This document does not contain any index"
-msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis."
+msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr "[Kein Name]"
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
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:661
+#: ../zathura/zathura.c:664
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:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr "Passwort:"
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Dateityp ist nicht unterstützt. Installiere das benötigete Plugin."
-#: ../zathura/zathura.c:795
+#: ../zathura/zathura.c:798
msgid "Document does not contain any pages"
msgstr "Dieses Dokument beinhaltet keine Seiten"
diff --git a/po/el.po b/po/el.po
index 2b1a493..256154f 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: 2017-06-25 21:55+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\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/"
@@ -20,37 +20,41 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr "Η είσοδος '%s' είναι άκυρη."
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr "Ο δείκτης '%s' είναι άκυρος."
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr "Μη έγκυρος αριθμός παραμέτρων."
@@ -84,98 +88,103 @@ msgstr "Ο σελιδοδείκτης: %s διεγράφει. "
msgid "Failed to remove bookmark: %s"
msgstr "Η διαγραφή του σελιδοδείκτη: %s απέτυχε. "
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+#, fuzzy
+msgid "No bookmarks available."
+msgstr "Δεν υπάρχουν διαθέσιμες πληροφορίες."
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Ο σελιδοδείκτης: %s δεν βρέθηκε. "
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr "Δεν υπάρχουν διαθέσιμες πληροφορίες."
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr "Εισήχθησαν πολλές παράμετροι. "
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr "Δεν εισήχθησαν παράμετροι. "
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr "Το αρχείο αποθηκεύτηκε."
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr "Η αποθήκευση του αρχείου απέτυχε. "
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr "Μη έγκυρος ο αριθμός των παραμέτρων. "
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Μη επιτυχής η εγγραγή της προσάρτησης '%s' στην '%s'."
-#: ../zathura/commands.c:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Επιτυχής η εγγραφή της προσάρτησης '%s' στην '%s'."
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Ενεγράφει η εικόνα '%s' στην '%s'"
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Δεν ενεγράφει η εικόνα '%s' στην '%s'."
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr "Άγνωστη εικόνα '%s'. "
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Άγνωστο προσάρτημα είτε εικόνα '%s'. "
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr "Η παράμετρος πρέπει να είναι αριθμός."
@@ -572,15 +581,15 @@ msgstr ""
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr "Φορτώνει ..."
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr "Αντιγραφή εικόνας"
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr "Αποθήκευση εικόνας ως..."
@@ -603,26 +612,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Το αρχείο δεν περιέχει κανένα δείκτη"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr "[Χωρίς όνομα]"
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:661
+#: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:795
+#: ../zathura/zathura.c:798
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/eo.po b/po/eo.po
index 9dc4e5b..ec1d987 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: 2017-06-25 21:55+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\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/"
@@ -19,37 +19,41 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.5\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr "Nevalida enigo '%s' uzata."
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr "Nevalida indekso '%s' uzata."
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr "Nevalida nombro da argumentoj uzata."
@@ -83,98 +87,103 @@ msgstr "Paĝosigno forigita: %s"
msgid "Failed to remove bookmark: %s"
msgstr "Neeble forigi paĝosignon: %s"
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+#, fuzzy
+msgid "No bookmarks available."
+msgstr "Neniu informacio disponebla."
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Neniu paĝosigno: %s"
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr "Neniu informacio disponebla."
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr "Tro multe da argumentoj."
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr "Neniuj argumentoj uzata."
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr "Dokumento konservita."
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr "Neeble konservi dokumenton."
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr "Nevalida nombro da argumentoj."
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Neeble skribi kunsendaĵon '%s' en '%s'."
-#: ../zathura/commands.c:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Skribis kunsendaĵon '%s' en '%s'."
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Skribis kunsendaĵon '%s' en '%s'."
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Neeble skribi kunsendaĵon '%s' en '%s'."
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr "Nekonata bildo '%s'."
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr "Argumento devas esti nombro."
@@ -569,15 +578,15 @@ msgstr ""
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr "Ŝargado ..."
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr "Kopiu bildon"
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr "Savi bildojn kiel"
@@ -600,26 +609,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Ĉi-tiu dokumento enhavas neniam indekson."
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr "[Neniu nomo]"
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:661
+#: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:795
+#: ../zathura/zathura.c:798
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/es.po b/po/es.po
index 5eaceda..0ed913f 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: 2017-06-25 21:55+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\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/"
@@ -18,37 +18,41 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr "Entrada inválida: '%s'."
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr "Índice invalido: '%s'."
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr "Número de argumentos inválido."
@@ -82,98 +86,103 @@ msgstr "Favorito eliminado: %s"
msgid "Failed to remove bookmark: %s"
msgstr "Error al eliminar el favorito: %s"
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+#, fuzzy
+msgid "No bookmarks available."
+msgstr "No hay información disponible."
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "No existe el favorito: %s"
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr "No hay información disponible."
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr "Demasiados argumentos."
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr "Ningún argumento recibido."
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr "Documento guardado."
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr "Error al guardar el documento."
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr "Número de argumentos inválido."
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
-#: ../zathura/commands.c:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Escrito fichero adjunto '%s' a '%s'."
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Escrito fichero adjunto '%s' a '%s'."
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr "Imagen desconocida '%s'."
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Adjunto o imagen desconocidos '%s'."
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr "El argumento ha de ser un número."
@@ -570,15 +579,15 @@ msgstr ""
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr "Cargando ..."
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr "Copiar imagen"
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr "Salvar imagen como"
@@ -601,26 +610,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Este documento no contiene ningún índice"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr "[Sin nombre]"
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:661
+#: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:795
+#: ../zathura/zathura.c:798
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/es_CL.po b/po/es_CL.po
index 9edf013..aa759c3 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: 2017-06-25 21:55+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\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/"
@@ -19,37 +19,41 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr "Entrada inválida: '%s'."
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr "Índice invalido: '%s'."
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr "Número de argumentos inválido."
@@ -83,98 +87,103 @@ msgstr "Marcador eliminado: %s"
msgid "Failed to remove bookmark: %s"
msgstr "Error al eliminar marcador: %s"
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+#, fuzzy
+msgid "No bookmarks available."
+msgstr "No hay información disponible."
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "No existe marcador: %s"
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr "No hay información disponible."
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr "Demasiados argumentos."
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr "Ningún argumento recibido."
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr "Documento guardado."
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr "Error al guardar el documento."
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr "Número de argumentos inválido."
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
-#: ../zathura/commands.c:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Fichero adjunto escrito '%s' a '%s'."
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Fichero adjunto escrito '%s' a '%s'."
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr "El argumento debe ser un número."
@@ -569,15 +578,15 @@ msgstr ""
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr "Cargando..."
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr "Copiar imagen"
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr ""
@@ -600,26 +609,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Este document no contiene índice"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr "[Sin nombre]"
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:661
+#: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:795
+#: ../zathura/zathura.c:798
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/et.po b/po/et.po
index d22f15f..cd76c7f 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: 2017-06-25 21:55+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\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/"
@@ -19,37 +19,41 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.5\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr ""
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr ""
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr ""
@@ -83,98 +87,102 @@ msgstr ""
msgid "Failed to remove bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+msgid "No bookmarks available."
+msgstr ""
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr ""
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr ""
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr ""
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr ""
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr ""
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr ""
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr ""
@@ -569,15 +577,15 @@ msgstr ""
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr ""
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr "Kopeeri pilt"
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr ""
@@ -600,26 +608,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr ""
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr "[Nime pole]"
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:661
+#: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:795
+#: ../zathura/zathura.c:798
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/fr.po b/po/fr.po
index abfd160..8cddb34 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: 2017-06-25 21:55+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\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/"
@@ -23,37 +23,41 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr "Entrée invalide : '%s'"
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr "Index invalide : '%s'"
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr "Nombre d'arguments invalide."
@@ -87,98 +91,103 @@ msgstr "Marque page supprimé : %s"
msgid "Failed to remove bookmark: %s"
msgstr "Échec lors de la suppression du marque-page : %s"
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+#, fuzzy
+msgid "No bookmarks available."
+msgstr "Aucune information disponible."
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Aucun marque-page correspondant : %s"
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr "Titre"
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr "Auteur"
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr "Sujet"
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr "Mots clé"
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr "Créateur"
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr "Producteur"
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr "Date de création"
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr "Date de modification"
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr "Aucune information disponible."
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr "Trop d'arguments."
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr "Aucun argument passé."
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr "Document enregistré."
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr "Échec lors de l'enregistrement du document."
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr "Nombre d'arguments invalide."
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Impossible d'écrire la pièce jointe '%s' dans '%s'."
-#: ../zathura/commands.c:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Pièce jointe '%s' écrite dans '%s'."
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Image '%s' écrite dans '%s'."
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Impossible d'écrire l'image '%s' dans '%s'."
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr "Image '%s' inconnue."
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Pièce jointe ou image '%s' inconnue."
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr "L'argument doit être un nombre."
@@ -575,15 +584,15 @@ msgstr ""
msgid "Start in a non-default mode"
msgstr "Démarrer dans un mode non-défaut"
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr "Chargement..."
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr "Copier l'image"
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr "Enregistrer l'image sous"
@@ -606,29 +615,29 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Ce document ne contient pas d'index"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr "[Sans nom]"
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
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:661
+#: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
"Type de fichier non supporté. Veuillez installer l'extension nécessaire."
-#: ../zathura/zathura.c:795
+#: ../zathura/zathura.c:798
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 c4493cf..e205123 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: 2017-06-25 21:55+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\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/"
@@ -17,37 +17,41 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr ""
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr ""
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr ""
@@ -81,98 +85,102 @@ msgstr ""
msgid "Failed to remove bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+msgid "No bookmarks available."
+msgstr ""
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr ""
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr ""
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr ""
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr ""
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr ""
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr ""
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr ""
@@ -567,15 +575,15 @@ msgstr ""
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr ""
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr ""
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr ""
@@ -598,26 +606,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr ""
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr ""
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:661
+#: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:795
+#: ../zathura/zathura.c:798
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/hr.po b/po/hr.po
index 66cf465..3bff994 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: 2017-06-25 21:55+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\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/"
@@ -18,37 +18,41 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr ""
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr ""
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr ""
@@ -82,98 +86,102 @@ msgstr ""
msgid "Failed to remove bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+msgid "No bookmarks available."
+msgstr ""
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr ""
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr ""
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr ""
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr ""
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr ""
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr ""
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr ""
@@ -568,15 +576,15 @@ msgstr ""
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr ""
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr ""
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr ""
@@ -599,26 +607,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr ""
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr ""
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:661
+#: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:795
+#: ../zathura/zathura.c:798
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/id_ID.po b/po/id_ID.po
index 4d8c0c7..cc78321 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: 2017-06-25 21:55+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\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/"
@@ -19,37 +19,41 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr "Masukan '%s' tidak valid"
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr "Index '%s' tidak valid"
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr "jumlah argumen yang diberikan tidak valid"
@@ -83,98 +87,103 @@ msgstr "Bookmark %s telah sukses dihapus"
msgid "Failed to remove bookmark: %s"
msgstr "Gagal menghapus bookmark: %s"
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+#, fuzzy
+msgid "No bookmarks available."
+msgstr "Tidak ada informasi tersedia"
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Tidak ada bookmark: %s"
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr "Judul"
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr "Penulis"
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr "Subjek"
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr "Kata kunci"
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr "Pembuat"
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr "Produser"
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr "Tanggal pembuatan"
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr "Tanggal ubahan"
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr "Tidak ada informasi tersedia"
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr "Argumen terlalu banyak"
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr "Tidak ada argumen yang diberikan"
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr "Dokumen telah disimpan"
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr "Gagal menyimpan dokumen"
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr "Jumlah argumen tidak valid"
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Tidak dapat menulis lampiran '%s' ke '%s'"
-#: ../zathura/commands.c:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Tidak dapat menyimpan lampiran '%s' ke '%s'"
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Menulis citra dari '%s' ke '%s'"
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Tidak dapat menulis citra '%s' ke %s'"
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr "Citra tidak diketahui '%s'"
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Lampiran atau gambar tidak diketahui '%s'"
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr "Argumen harus berupa angka."
@@ -569,15 +578,15 @@ msgstr ""
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr "Memuat....."
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr "Salin gambar"
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr "Simpan gambar sebagai"
@@ -600,27 +609,27 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Dokumen ini tidak mempunyai indeks"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr "[Tidak berjudul]"
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
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:661
+#: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Tipe berkas tidak didukung. Silakan memasang plugin yang dibutuhkan."
-#: ../zathura/zathura.c:795
+#: ../zathura/zathura.c:798
msgid "Document does not contain any pages"
msgstr "Dokumen tidak mempunyai laman apapun"
diff --git a/po/it.po b/po/it.po
index 49a4fcc..d0961db 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: 2017-06-25 21:55+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\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/"
@@ -22,37 +22,41 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.5\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr "'%s' non può essere 0. Imposta ad 1."
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr "Input inserito '%s' non valido."
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr "Indice inserito '%s' non valido."
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr "Numero di argomenti errato."
@@ -86,98 +90,103 @@ msgstr "Segnalibro rimosso: %s"
msgid "Failed to remove bookmark: %s"
msgstr "Impossibile rimuovere il segnalibro: %s"
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+#, fuzzy
+msgid "No bookmarks available."
+msgstr "Nessun' informazione disponibile."
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Nessun segnalibro corrispondente: %s"
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr "Titolo"
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr "Autore"
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr "Argomento"
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr "Parole chiave"
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr "Creato da"
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr "Prodotto da"
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr "Data di creazione"
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr "Data di modifica"
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr "Nessun' informazione disponibile."
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr "Numero di argomenti eccessivo."
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr "Nessun argomento specificato."
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr "Documento salvato."
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr "Impossibile salvare il documento."
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr "Numero di argomenti non valido."
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Impossibile salvare l' allegato '%s' in '%s'"
-#: ../zathura/commands.c:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Allegato '%s' salvato in '%s'"
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Immagine '%s' salvata come '%s'"
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Impossibile salvare l' immagine '%s' come '%s'"
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr "Immagine sconosciuta '%s'"
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Immagine o allegato sconosciuti '%s"
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr "L' argomento dev' essere un numero."
@@ -572,15 +581,15 @@ msgstr ""
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr "Caricamento..."
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr "Copia immagine"
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr "Salva immagine come"
@@ -603,28 +612,28 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Questo documento non contiene l' indice"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr "[Nessun nome]"
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
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:661
+#: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
"Tipo di file non supportato. Per favore, installa il plugin necessario."
-#: ../zathura/zathura.c:795
+#: ../zathura/zathura.c:798
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 18dd7e8..4abb567 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: 2017-06-25 21:55+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\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/"
@@ -20,37 +20,41 @@ msgstr ""
"%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 1.8.5\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr "Netinkama įvestis: „%s“."
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr "Duotas netinkamas indeksas: „%s“."
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr "Duotų parametrų skaičius yra neteisingas."
@@ -84,98 +88,103 @@ msgstr "Žymė ištrinta: %s"
msgid "Failed to remove bookmark: %s"
msgstr "Žymė negalėjo būti panaikinta: %s"
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+#, fuzzy
+msgid "No bookmarks available."
+msgstr "Nėra informacijos."
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Nėra tokios žymės: %s"
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr "Pavadinimas"
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr "Autorius"
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr "Raktažodžiai"
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr "Gamintojas"
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr "Sukūrimo data"
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr "Pakeitimo data"
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr "Nėra informacijos."
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr "Per daug parametrų."
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr "Parametrai neduoti."
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr "Dokumentas išsaugotas."
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr "Dokumento išsaugoti nepavyko."
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr "Neteisingas parametrų skaičius."
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Priedas „%s“ negalėjo būti įrašytas į „%s“."
-#: ../zathura/commands.c:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Priedas „%s“ įrašytas į „%s“."
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Atvaizdas „%s“ įrašytas į „%s“."
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Atvaizdas „%s“ negalėjo būti įrašytas į „%s“,"
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr "Nežinomas atvaizdas „%s“."
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Nežinomas priedas ar atvaizdas „%s“."
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr "Parametras turi būti skaičius."
@@ -570,15 +579,15 @@ msgstr ""
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr "Kraunama..."
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr "Kopijuoti atvaizdą"
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr "Irašyti atvaizdą kaip"
@@ -601,26 +610,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Šit dokumentas neturi turinio"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr "[Bevardis]"
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:661
+#: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Bylos tipas nepalaikomas. Įdiekite tam skirtus įskiepius."
-#: ../zathura/zathura.c:795
+#: ../zathura/zathura.c:798
msgid "Document does not contain any pages"
msgstr "Dokumente puslapių nėra"
diff --git a/po/no.po b/po/no.po
index c0487de..c3e658b 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: 2017-06-25 21:55+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\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/"
@@ -19,37 +19,41 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.5\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr "Ugyldig inndata '%s' gitt."
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr "Ugyldig index '%s' gitt."
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr "Ugyldig nummer av argumenter gitt."
@@ -83,98 +87,103 @@ msgstr "Fjernet bokmerke: %s"
msgid "Failed to remove bookmark: %s"
msgstr "Kunne ikke fjerne bokmerke: %s"
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+#, fuzzy
+msgid "No bookmarks available."
+msgstr "Ingen informasjon tilgjengelig."
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Bokmerke eksisterer ikke: %s"
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr "Tittel"
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr "Forfatter"
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr "Subjekt"
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr "Nøkkelord"
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr "Laget av"
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr "Produsent"
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr "Laget dato"
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr "Modifisert dato"
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr "Ingen informasjon tilgjengelig."
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr "For mange argumenter."
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr "Ingen argumenter gitt."
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr "Dokumentet er lagret."
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr "Kunne ikke lagre dokumentet."
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr "Ugyldig nummer av argumenter."
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Kunne ikke skrive vedlegg '%s' til '%s'."
-#: ../zathura/commands.c:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Skrev vedlegg '%s' til '%s'."
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Skrev bilde '%s' til '%s'."
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Kunne ikke skrive bilde '%s' til '%s'."
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr "Ukjent bilde '%s'."
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Ukjent vedlegg eller bilde '%s'."
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr "Argumentet må være et tall."
@@ -569,15 +578,15 @@ msgstr ""
msgid "Start in a non-default mode"
msgstr "Start i ikke-standard modus"
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr "Laster..."
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr "Kopier bilde"
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr "Lagre bilde som"
@@ -600,26 +609,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Dette dokumenetet inneholder ikke noen index"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr "[Inget navn]"
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
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:661
+#: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Usupportert filtype. Vennligst innstaller den nødvendige pluginen."
-#: ../zathura/zathura.c:795
+#: ../zathura/zathura.c:798
msgid "Document does not contain any pages"
msgstr "Dokumentet inneholder ingen sider"
diff --git a/po/pl.po b/po/pl.po
index 6d5753f..7656790 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: 2017-06-25 21:55+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\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/"
@@ -21,37 +21,41 @@ msgstr ""
"|| n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr "Nieprawidłowy argument: %s"
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr "Nieprawidłowy indeks: %s"
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr "Nieprawidłowa liczba parametrów polecenia"
@@ -85,98 +89,103 @@ msgstr "Usunięto zakładkę: %s"
msgid "Failed to remove bookmark: %s"
msgstr "Nie można usunąć zakładki: %s"
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+#, fuzzy
+msgid "No bookmarks available."
+msgstr "Brak informacji o pliku"
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Nie znaleziono zakładki: %s"
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr "Tytuł"
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr "Autor"
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr "Temat"
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr "Słowa kluczowe"
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr "Twórca"
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr "Producent"
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr "Data utworzenia"
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr "Data modyfikacji"
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr "Brak informacji o pliku"
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr "Za dużo parametrów polecenia"
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr "Nie podano parametrów polecenia"
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr "Zapisano dokument"
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr "Błąd zapisu"
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr "Niewłaściwa liczba parametrów polecenia"
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Nie można dodać załącznika %s do pliku %s"
-#: ../zathura/commands.c:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Zapisano załącznik %s do pliku %s"
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Obrazek %s zapisano do pliku %s"
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Nie można dodać obrazka %s do pliku %s"
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr "Nieznany obrazek '%s'."
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Nieznany załącznik lub obrazek '%s'."
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr "Parametr polecenia musi być liczbą"
@@ -571,15 +580,15 @@ msgstr ""
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr "Wczytywanie pliku..."
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr "Skopiuj obrazek"
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr "Zapisz obrazek jako"
@@ -602,26 +611,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Dokument nie zawiera indeksu"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr "[bez nazwy]"
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:661
+#: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Niewspierany rodzaj pliku. Zainstaluj wymagane wtyczki"
-#: ../zathura/zathura.c:795
+#: ../zathura/zathura.c:798
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 7183f93..8ae1c6e 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: 2017-06-25 21:55+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\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/"
@@ -19,37 +19,41 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr "Dados de entrada inválida '%s' ."
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr "Dados de índice invalido '%s'."
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr "Número de argumentos dados inválidos."
@@ -83,98 +87,103 @@ msgstr "Favorito removido: %s"
msgid "Failed to remove bookmark: %s"
msgstr "Falha ao remover favorito: %s"
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+#, fuzzy
+msgid "No bookmarks available."
+msgstr "Nenhuma informação disponível."
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Não há favoritos: %s"
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr "Título"
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr "Autor"
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr "Assunto"
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr "Palavras-chave"
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr "Criador"
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr "Produtor"
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr "Data de criação"
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr "Data de modificação"
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr "Nenhuma informação disponível."
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr "Muitos argumentos."
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr "Nenhum argumento dado."
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr "Documento salvo."
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr "Falha ao salvar o documento."
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr "Número de argumento invalido."
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Não foi possível gravar anexo '%s' para '%s'."
-#: ../zathura/commands.c:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Escreveu anexo '%s' para '%s'."
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Escreveu imagem '%s' para '%s'."
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Não foi possível gravar imagem '%s' para '%s'."
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr "Imagem desconhecida '%s'."
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Anexo desconhecido ou imagem '%s'."
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr "O argumento deve ser um número."
@@ -572,15 +581,15 @@ msgstr "Destacar determinada posição no determinado processo"
msgid "Start in a non-default mode"
msgstr "Começar em um modo não padrão"
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr "Carregando..."
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr "Copiar imagem"
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr "Salvar imagem para"
@@ -603,29 +612,29 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Este documento não contem qualquer índice"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr "[Sem nome]"
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
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:661
+#: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
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:795
+#: ../zathura/zathura.c:798
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 47e78fe..519b3a4 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: 2017-06-25 21:55+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\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/"
@@ -23,37 +23,41 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr "Неправильный ввод: %s."
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr "Получен неверный индекс: %s."
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr "Указано неверное число аргументов."
@@ -87,98 +91,103 @@ msgstr "Закладка %s удалена"
msgid "Failed to remove bookmark: %s"
msgstr "Не удалось удалить закладку %s"
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+#, fuzzy
+msgid "No bookmarks available."
+msgstr "Нет доступной информации."
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Закладки %s не существует"
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr "Заголовок"
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr "Автор"
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr "Тема"
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr "Ключевые слова"
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr "Создатель"
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr "Производитель"
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr "Время создания"
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr "Время изменения"
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr "Нет доступной информации."
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr "Слишком много аргументов."
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr "Отсутствуют аргументы."
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr "Документ сохранён."
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr "Не удалось сохранить документ."
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr "Неверное количество аргументов."
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Не удалось сохранить приложенный файл «%s» в «%s»."
-#: ../zathura/commands.c:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Файл «%s» сохранён в «%s»."
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Изображение «%s» сохранено в «%s»."
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Не удалось записать изображение «%s» в «%s»."
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr "Неизвестное изображение «%s»."
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Неизвестное вложение или изображение «%s»."
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr "Аргумент должен быть числом."
@@ -573,15 +582,15 @@ msgstr "Подсветка заданного положения в заданн
msgid "Start in a non-default mode"
msgstr "Запустить в специальном режиме"
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr "Загрузка..."
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr "Скопировать изображение"
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr "Сохранить изображение как"
@@ -604,28 +613,28 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "В документе нет индекса"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr "[Без названия]"
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
"Не удалось прочитать файл со стандартного входа и записать его во временный "
"файл."
-#: ../zathura/zathura.c:661
+#: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Тип файла не поддерживается. Установите соответствующий плагин."
-#: ../zathura/zathura.c:795
+#: ../zathura/zathura.c:798
msgid "Document does not contain any pages"
msgstr "В документе нет страниц"
diff --git a/po/ta_IN.po b/po/ta_IN.po
index c109e92..e5f4e70 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: 2017-06-25 21:55+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\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/"
@@ -18,37 +18,41 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr "கொடுக்கப்பட்ட உள்ளீடு(input) '%s' தவறு"
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr "கொடுக்கப்பட்ட index '%s' தவறு"
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr "கொடுக்கப்பட்ட arguments-களின் எண்ணிக்கை தவறு"
@@ -82,98 +86,103 @@ msgstr "Bookmark அழிக்கப்பட்டது: %s"
msgid "Failed to remove bookmark: %s"
msgstr "Bookmark-ஐ அழிக்க இயலவில்லை: %s"
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+#, fuzzy
+msgid "No bookmarks available."
+msgstr "எந்தத் தகவலும் இல்லை"
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "அந்தப் பெயரில் எந்த bookmark-ம் இல்லை: %s"
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr "எந்தத் தகவலும் இல்லை"
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr "Argumentகளின் எண்ணிக்கை மிகவும் அதிகம்"
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr "எந்த argument-ம் தரப்படவில்லை"
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr "கோப்பு சேமிக்கப்பட்டது"
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr "ஆவணத்தை சேமிக்க இயலவில்லை"
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr "கொடுக்கப்பட்ட argument-களின் எண்ணிக்கை தவறு"
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr "Argument ஒரு எண்ணாக இருக்க வேண்டும்"
@@ -568,15 +577,15 @@ msgstr ""
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr ""
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr "படத்தை ஒரு பிரதியெடு"
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr ""
@@ -599,26 +608,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "இந்த ஆவணத்தில் எந்த index-ம் இல்லை"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr "பெயரற்ற ஆவணம்"
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:661
+#: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:795
+#: ../zathura/zathura.c:798
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/tr.po b/po/tr.po
index b8c7e6c..4aeda7f 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: 2017-06-25 21:55+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\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/"
@@ -20,37 +20,41 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr "Hatalı girdi '%s'"
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr "Hatalı dizin '%s'"
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr "Yanlış sayıda argüman"
@@ -84,98 +88,103 @@ msgstr "Yer imi silindi: %s"
msgid "Failed to remove bookmark: %s"
msgstr "Yer imi silinemedi: %s"
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+#, fuzzy
+msgid "No bookmarks available."
+msgstr "Bilgi mevcut değil."
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Böyle bir yer imi yok: %s"
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr "Bilgi mevcut değil."
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr "Çok fazla sayıda argüman."
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr "Argüman verilmedi."
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr "Belge kaydedildi."
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr "Belge kaydedilemedi."
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr "Yanlış sayıda argüman."
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazılamadı."
-#: ../zathura/commands.c:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazıldı."
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazıldı."
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazılamadı."
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr "Tanınmayan resim dosyası '%s'"
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Tanınmayan eklenti veya resim dosyası '%s'"
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr "Argüman bir sayı olmalı."
@@ -570,15 +579,15 @@ msgstr ""
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr "Yüklüyor ..."
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr "Resim kopyala"
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr "Resmi farklı kaydet"
@@ -601,26 +610,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Bu belge fihrist içermiyor"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr "[İsimsiz]"
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:661
+#: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:795
+#: ../zathura/zathura.c:798
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/uk_UA.po b/po/uk_UA.po
index 5c7f2b7..604c764 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: 2017-06-25 21:55+0200\n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\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/"
@@ -20,37 +20,41 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:233
+#: ../zathura/callbacks.c:256
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:315
+#: ../zathura/callbacks.c:338
#, c-format
msgid "Invalid input '%s' given."
msgstr "Вказано невірний аргумент: %s."
-#: ../zathura/callbacks.c:351
+#: ../zathura/callbacks.c:374
#, c-format
msgid "Invalid index '%s' given."
msgstr "Вказано невірний індекс: %s"
-#: ../zathura/callbacks.c:590
+#: ../zathura/callbacks.c:613
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+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:424 ../zathura/commands.c:551
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
#: ../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:429
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
msgid "Invalid number of arguments given."
msgstr "Вказана невірна кількість аргументів."
@@ -84,98 +88,103 @@ msgstr "Закладку видалено: %s"
msgid "Failed to remove bookmark: %s"
msgstr "Видалення закладки невдалося: %s"
-#: ../zathura/commands.c:116
+#: ../zathura/commands.c:119
+#, fuzzy
+msgid "No bookmarks available."
+msgstr "Інформація недоступна."
+
+#: ../zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Такої закладки немає: %s"
-#: ../zathura/commands.c:162
+#: ../zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:163
+#: ../zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:164
+#: ../zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:165
+#: ../zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:166
+#: ../zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:167
+#: ../zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:168
+#: ../zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:169
+#: ../zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:174 ../zathura/commands.c:196
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
msgid "No information available."
msgstr "Інформація недоступна."
-#: ../zathura/commands.c:234
+#: ../zathura/commands.c:245
msgid "Too many arguments."
msgstr "Забагато аргументів."
-#: ../zathura/commands.c:245
+#: ../zathura/commands.c:256
msgid "No arguments given."
msgstr "Жодного аргументу не вказано."
-#: ../zathura/commands.c:304 ../zathura/commands.c:330
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
msgid "Document saved."
msgstr "Документ збережено."
-#: ../zathura/commands.c:306 ../zathura/commands.c:332
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
msgid "Failed to save document."
msgstr "Документ не вдалося зберегти."
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
msgid "Invalid number of arguments."
msgstr "Невірна кількість аргументів."
-#: ../zathura/commands.c:448
+#: ../zathura/commands.c:459
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Неможливо записати прикріплення '%s' до '%s'."
-#: ../zathura/commands.c:450
+#: ../zathura/commands.c:461
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Прикріплення записано %s до %s."
-#: ../zathura/commands.c:494
+#: ../zathura/commands.c:505
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:496
+#: ../zathura/commands.c:507
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:503
+#: ../zathura/commands.c:514
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: ../zathura/commands.c:507
+#: ../zathura/commands.c:518
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:564
+#: ../zathura/commands.c:575
msgid "Argument must be a number."
msgstr "Аргумент повинен бути цифрою."
@@ -570,15 +579,15 @@ msgstr ""
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:561
+#: ../zathura/page-widget.c:668
msgid "Loading..."
msgstr ""
-#: ../zathura/page-widget.c:1007
+#: ../zathura/page-widget.c:1122
msgid "Copy image"
msgstr "Копіювати картинку"
-#: ../zathura/page-widget.c:1008
+#: ../zathura/page-widget.c:1123
msgid "Save image as"
msgstr ""
@@ -601,26 +610,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Індекс відсутній в цьому документі"
-#: ../zathura/zathura.c:216 ../zathura/zathura.c:1268
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
msgid "[No name]"
msgstr "[Без назви]"
-#: ../zathura/zathura.c:645
+#: ../zathura/zathura.c:648
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:661
+#: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:750
+#: ../zathura/zathura.c:753
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:785
+#: ../zathura/zathura.c:788
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:795
+#: ../zathura/zathura.c:798
msgid "Document does not contain any pages"
msgstr ""
From 821dc79117146551098ddaf7f616916698d30342 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Thu, 8 Feb 2018 21:14:08 +0100
Subject: [PATCH 032/126] Re-factor plugin loading
Signed-off-by: Sebastian Ramacher
---
zathura/plugin.c | 162 ++++++++++++++++++++++++-----------------------
1 file changed, 82 insertions(+), 80 deletions(-)
diff --git a/zathura/plugin.c b/zathura/plugin.c
index 2ac9e63..f5a5c7a 100644
--- a/zathura/plugin.c
+++ b/zathura/plugin.c
@@ -93,6 +93,87 @@ check_suffix(const char* path)
return false;
}
+static void
+load_plugin(zathura_plugin_manager_t* plugin_manager, const char* plugindir, const char* name)
+{
+ char* path = g_build_filename(plugindir, name, NULL);
+ if (g_file_test(path, G_FILE_TEST_IS_REGULAR) == 0) {
+ girara_debug("%s is not a regular file. Skipping.", path);
+ g_free(path);
+ return;
+ }
+
+ if (check_suffix(path) == false) {
+ girara_debug("%s is not a plugin file. Skipping.", path);
+ g_free(path);
+ return;
+ }
+
+ /* load plugin */
+ GModule* handle = g_module_open(path, G_MODULE_BIND_LOCAL);
+ if (handle == NULL) {
+ girara_error("could not load plugin %s (%s)", path, g_module_error());
+ g_free(path);
+ return;
+ }
+
+ /* resolve symbols and check API and ABI version*/
+ 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);
+ return;
+ }
+
+ /* check name */
+ if (plugin_definition->name == NULL) {
+ girara_error("plugin has no name");
+ g_free(path);
+ g_module_close(handle);
+ return;
+ }
+
+ /* 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_module_close(handle);
+ return;
+ }
+
+ zathura_plugin_t* plugin = g_try_malloc0(sizeof(zathura_plugin_t));
+ if (plugin == NULL) {
+ girara_error("Failed to allocate memory for plugin.");
+ g_free(path);
+ g_module_close(handle);
+ return;
+ }
+
+ plugin->definition = plugin_definition;
+ plugin->functions = plugin_definition->functions;
+ plugin->content_types = girara_list_new2(g_free);
+ plugin->handle = handle;
+ 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]);
+ }
+
+ 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 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);
+ }
+}
+
void
zathura_plugin_manager_load(zathura_plugin_manager_t* plugin_manager)
{
@@ -111,86 +192,7 @@ zathura_plugin_manager_load(zathura_plugin_manager_t* plugin_manager)
char* name = NULL;
while ((name = (char*) g_dir_read_name(dir)) != NULL) {
- char* path = g_build_filename(plugindir, name, NULL);
- if (g_file_test(path, G_FILE_TEST_IS_REGULAR) == 0) {
- girara_debug("%s is not a regular file. Skipping.", path);
- g_free(path);
- continue;
- }
-
- if (check_suffix(path) == false) {
- girara_debug("%s is not a plugin file. Skipping.", path);
- g_free(path);
- continue;
- }
-
- zathura_plugin_t* plugin = NULL;
-
- /* load plugin */
- GModule* handle = g_module_open(path, G_MODULE_BIND_LOCAL);
- if (handle == NULL) {
- girara_error("could not load plugin %s (%s)", path, g_module_error());
- g_free(path);
- continue;
- }
-
- /* resolve symbols and check API and ABI version*/
- 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;
- }
-
- /* check name */
- if (plugin_definition->name == NULL) {
- girara_error("plugin has no name");
- g_free(path);
- g_free(plugin);
- g_module_close(handle);
- continue;
- }
-
- /* 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;
- }
-
- plugin = g_try_malloc0(sizeof(zathura_plugin_t));
- if (plugin == NULL) {
- girara_error("Failed to allocate memory for plugin.");
- g_free(path);
- g_module_close(handle);
- continue;
- }
-
- plugin->definition = plugin_definition;
- plugin->functions = plugin_definition->functions;
- plugin->content_types = girara_list_new2(g_free);
- plugin->handle = handle;
- 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]);
- }
-
- 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 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);
- }
+ load_plugin(plugin_manager, plugindir, name);
}
g_dir_close(dir);
);
From eb5c7079d29e3fe7566ed7cf16ff0b3a528cbc66 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Thu, 8 Feb 2018 21:16:06 +0100
Subject: [PATCH 033/126] Remove useless cast
Signed-off-by: Sebastian Ramacher
---
zathura/plugin.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/zathura/plugin.c b/zathura/plugin.c
index f5a5c7a..dff32e8 100644
--- a/zathura/plugin.c
+++ b/zathura/plugin.c
@@ -190,8 +190,8 @@ zathura_plugin_manager_load(zathura_plugin_manager_t* plugin_manager)
continue;
}
- char* name = NULL;
- while ((name = (char*) g_dir_read_name(dir)) != NULL) {
+ const char* name = NULL;
+ while ((name = g_dir_read_name(dir)) != NULL) {
load_plugin(plugin_manager, plugindir, name);
}
g_dir_close(dir);
From a0a07be99de016ab05f073c276653c9b5b4fa4e6 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Thu, 8 Feb 2018 21:23:47 +0100
Subject: [PATCH 034/126] Avoid explicit iterator
Signed-off-by: Sebastian Ramacher
---
zathura/plugin.c | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/zathura/plugin.c b/zathura/plugin.c
index dff32e8..9094b0c 100644
--- a/zathura/plugin.c
+++ b/zathura/plugin.c
@@ -181,20 +181,18 @@ zathura_plugin_manager_load(zathura_plugin_manager_t* plugin_manager)
return;
}
- GIRARA_LIST_FOREACH_BODY_WITH_ITER(plugin_manager->path, char*, iter, plugindir,
+ GIRARA_LIST_FOREACH_BODY(plugin_manager->path, char*, plugindir,
/* read all files in the plugin directory */
GDir* dir = g_dir_open(plugindir, 0, NULL);
if (dir == NULL) {
girara_error("could not open plugin directory: %s", plugindir);
- girara_list_iterator_next(iter);
- continue;
+ } else {
+ const char* name = NULL;
+ while ((name = g_dir_read_name(dir)) != NULL) {
+ load_plugin(plugin_manager, plugindir, name);
+ }
+ g_dir_close(dir);
}
-
- const char* name = NULL;
- while ((name = g_dir_read_name(dir)) != NULL) {
- load_plugin(plugin_manager, plugindir, name);
- }
- g_dir_close(dir);
);
}
From 49e1bd1b8c5a933538cae6394086150f3bd27cdc Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Thu, 8 Feb 2018 21:36:50 +0100
Subject: [PATCH 035/126] Use consistent debug messages
Signed-off-by: Sebastian Ramacher
---
zathura/plugin.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/zathura/plugin.c b/zathura/plugin.c
index 9094b0c..db6e8a4 100644
--- a/zathura/plugin.c
+++ b/zathura/plugin.c
@@ -98,13 +98,13 @@ load_plugin(zathura_plugin_manager_t* plugin_manager, const char* plugindir, con
{
char* path = g_build_filename(plugindir, name, NULL);
if (g_file_test(path, G_FILE_TEST_IS_REGULAR) == 0) {
- girara_debug("%s is not a regular file. Skipping.", path);
+ girara_debug("'%s' is not a regular file. Skipping.", path);
g_free(path);
return;
}
if (check_suffix(path) == false) {
- girara_debug("%s is not a plugin file. Skipping.", path);
+ girara_debug("'%s' is not a plugin file. Skipping.", path);
g_free(path);
return;
}
@@ -112,7 +112,7 @@ load_plugin(zathura_plugin_manager_t* plugin_manager, const char* plugindir, con
/* load plugin */
GModule* handle = g_module_open(path, G_MODULE_BIND_LOCAL);
if (handle == NULL) {
- girara_error("could not load plugin %s (%s)", path, g_module_error());
+ girara_error("Could not load plugin '%s' (%s).", path, g_module_error());
g_free(path);
return;
}
@@ -121,7 +121,7 @@ load_plugin(zathura_plugin_manager_t* plugin_manager, const char* plugindir, con
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);
+ 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);
return;
@@ -129,7 +129,7 @@ load_plugin(zathura_plugin_manager_t* plugin_manager, const char* plugindir, con
/* check name */
if (plugin_definition->name == NULL) {
- girara_error("plugin has no name");
+ girara_error("Plugin has no name.");
g_free(path);
g_module_close(handle);
return;
@@ -137,7 +137,7 @@ load_plugin(zathura_plugin_manager_t* plugin_manager, const char* plugindir, con
/* check mime type */
if (plugin_definition->mime_types == NULL || plugin_definition->mime_types_size == 0) {
- girara_error("plugin has no mime_types");
+ girara_error("Plugin does not handly any mime types.");
g_free(path);
g_module_close(handle);
return;
@@ -164,10 +164,10 @@ load_plugin(zathura_plugin_manager_t* plugin_manager, const char* plugindir, con
bool ret = register_plugin(plugin_manager, plugin);
if (ret == false) {
- girara_error("could not register plugin %s", path);
+ girara_error("Could not register plugin '%s'.", path);
zathura_plugin_free(plugin);
} else {
- girara_debug("successfully loaded plugin from %s", path);
+ 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);
From 85458ef87e12e1a3fcd8c94639de315178cc9778 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sat, 10 Feb 2018 13:13:06 +0100
Subject: [PATCH 036/126] Convert to meson based build system
---
Makefile | 279 -------------------------------------------
colors.mk | 31 -----
common.mk | 9 --
config.mk | 173 ---------------------------
data/meson.build | 10 ++
doc/Makefile | 55 ---------
doc/config.mk | 8 --
doc/meson.build | 23 ++++
meson.build | 190 +++++++++++++++++++++++++++++
meson_options.txt | 15 +++
po/LINGUAS | 21 ++++
po/Makefile | 58 ---------
po/POTFILES | 30 +++++
po/meson.build | 4 +
tests/Makefile | 132 --------------------
tests/config.mk | 17 ---
tests/meson.build | 24 ++++
zathura.pc.in | 9 --
zathura/version.h.in | 12 +-
19 files changed, 323 insertions(+), 777 deletions(-)
delete mode 100644 Makefile
delete mode 100644 colors.mk
delete mode 100644 common.mk
delete mode 100644 config.mk
create mode 100644 data/meson.build
delete mode 100644 doc/Makefile
delete mode 100644 doc/config.mk
create mode 100644 doc/meson.build
create mode 100644 meson.build
create mode 100644 meson_options.txt
create mode 100644 po/LINGUAS
delete mode 100644 po/Makefile
create mode 100644 po/POTFILES
create mode 100644 po/meson.build
delete mode 100644 tests/Makefile
delete mode 100644 tests/config.mk
create mode 100644 tests/meson.build
delete mode 100644 zathura.pc.in
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 9a22c30..0000000
--- a/Makefile
+++ /dev/null
@@ -1,279 +0,0 @@
-# See LICENSE file for license and copyright information
-
-include config.mk
-include colors.mk
-include common.mk
-
-# source files
-OSOURCE = $(sort $(wildcard ${PROJECT}/*.c) \
- ${PROJECT}/resources.c)
-SOURCE_FILTER =
-
-ifneq (${WITH_SQLITE},0)
-CPPFLAGS += -DWITH_SQLITE
-else
-SOURCE_FILTER += ${PROJECT}/database-sqlite.c
-endif
-
-ifneq ($(WITH_MAGIC),0)
-CPPFLAGS += -DWITH_MAGIC
-endif
-
-ifneq ($(WITH_SYNCTEX),0)
-CPPFLAGS += -DWITH_SYNCTEX
-endif
-
-ifneq ($(wildcard ${VALGRIND_SUPPRESSION_FILE}),)
-VALGRIND_ARGUMENTS += --suppressions=${VALGRIND_SUPPRESSION_FILE}
-endif
-
-ifeq (,$(findstring -DZATHURA_PLUGINDIR,${CPPFLAGS}))
-CPPFLAGS += -DZATHURA_PLUGINDIR=\"${PLUGINDIR}\"
-endif
-ifeq (,$(findstring -DGETTEXT_PACKAGE,${CPPFLAGS}))
-CPPFLAGS += -DGETTEXT_PACKAGE=\"${PROJECT}\"
-endif
-ifeq (,$(findstring -DLOCALEDIR,${CPPFLAGS}))
-CPPFLAGS += -DLOCALEDIR=\"${LOCALEDIR}\"
-endif
-
-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
-
-# pkg-config based version checks
-.version-checks/%: config.mk
- $(QUIET)test $($(*)_VERSION_CHECK) -eq 0 || \
- ${PKG_CONFIG} --atleast-version $($(*)_MIN_VERSION) $($(*)_PKG_CONFIG_NAME) || ( \
- echo "The minimum required version of $(*) is $($(*)_MIN_VERSION)" && \
- false \
- )
- @mkdir -p .version-checks
- $(QUIET)touch $@
-
-options:
- @echo ${PROJECT} build options:
- @echo "CFLAGS = ${CFLAGS}"
- @echo "LIBS = ${LIBS}"
- @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}/' \
- -e 's/ZVREV/${ZATHURA_VERSION_REV}/' \
- -e 's/ZVAPI/${ZATHURA_API_VERSION}/' \
- -e 's/ZVABI/${ZATHURA_ABI_VERSION}/' ${PROJECT}/version.h.in > ${PROJECT}/version.h.tmp
- $(QUIET)mv ${PROJECT}/version.h.tmp ${PROJECT}/version.h
-
-${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
-
-# common dependencies
-
-${OBJECTS} ${OBJECTS_DEBUG} ${OBJECTS_GCOV}: config.mk \
- .version-checks/GIRARA \
- .version-checks/GLIB \
- .version-checks/GTK \
- ${PROJECT}/version.h \
- ${PROJECT}/resources.h
-
-# rlease build
-
-${BUILDDIR_RELEASE}/%.o: %.c
- $(call colorecho,CC,$<)
- @mkdir -p ${DEPENDDIR}/$(dir $@)
- @mkdir -p $(dir $(abspath $@))
- $(QUIET)${CC} -c ${CPPFLAGS} ${CFLAGS} -o $@ $< -MMD -MF ${DEPENDDIR}/$@.dep
-
-${BUILDDIR_RELEASE}/${BINDIR}/${PROJECT}: ${OBJECTS}
- $(call colorecho,CC,$@)
- @mkdir -p ${BUILDDIR_RELEASE}/${BINDIR}
- $(QUIET)${CC} ${SFLAGS} ${LDFLAGS} \
- -o ${BUILDDIR_RELEASE}/${BINDIR}/${PROJECT} ${OBJECTS} ${LIBS}
-
-${PROJECT}: ${BUILDDIR_RELEASE}/${BINDIR}/${PROJECT}
-
-release: ${PROJECT}
-
-run: release
- $(QUIET)./${BUILDDIR_RELEASE}/${BINDIR}/${PROJECT}
-
-# debug build
-
-${BUILDDIR_DEBUG}/%.o: %.c
- $(call colorecho,CC,$<)
- @mkdir -p ${DEPENDDIR}/$(dir $@)
- @mkdir -p $(dir $(abspath $@))
- $(QUIET)${CC} -c ${CPPFLAGS} ${CFLAGS} ${DFLAGS} \
- -o $@ $< -MMD -MF ${DEPENDDIR}/$@.dep
-
-${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}: ${OBJECTS_DEBUG}
- $(call colorecho,CC,$@)
- @mkdir -p ${BUILDDIR_DEBUG}/${BINDIR}
- $(QUIET)${CC} ${LDFLAGS} \
- -o ${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT} ${OBJECTS_DEBUG} ${LIBS}
-
-debug: ${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}
-
-run-debug: debug
- $(QUIET)./${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}
-
-# gcov build
-
-${BUILDDIR_GCOV}/%.o: %.c
- $(call colorecho,CC,$<)
- @mkdir -p ${DEPENDDIR}/$(dir $@)
- @mkdir -p $(dir $(abspath $@))
- $(QUIET)${CC} -c ${CPPFLAGS} ${CFLAGS} ${GCOV_CFLAGS} \
- -o $@ $< -MMD -MF ${DEPENDDIR}/$@.dep
-
-${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}
-
-gcov: options ${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}
- $(QUIET)${MAKE} -C tests run-gcov
- $(call colorecho,LCOV,"Analyse data")
- $(QUIET)${LCOV_EXEC} ${LCOV_FLAGS}
- $(call colorecho,LCOV,"Generate report")
- $(QUIET)${GENHTML_EXEC} ${GENHTML_FLAGS}
-
-run-gcov: ${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}
- $(QUIET)./${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}
-
-# clean
-
-clean:
- $(QUIET)rm -rf \
- ${BUILDDIR} \
- ${DEPENDDIR} \
- ${TARFILE} \
- ${TARDIR} \
- ${PROJECT}.pc \
- ${PROJECT}/version.h \
- ${PROJECT}/version.h.tmp \
- ${PROJECT}/resources.c \
- ${PROJECT}/resources.h \
- $(PROJECT).info \
- gcov \
- .version-checks
- $(QUIET)$(MAKE) -C tests clean
- $(QUIET)$(MAKE) -C po clean
- $(QUIET)$(MAKE) -C doc clean
-
-${PROJECT}.pc: ${PROJECT}.pc.in config.mk
- $(QUIET)echo project=${PROJECT} > ${PROJECT}.pc
- $(QUIET)echo version=${VERSION} >> ${PROJECT}.pc
- $(QUIET)echo apiversion=${ZATHURA_API_VERSION} >> ${PROJECT}.pc
- $(QUIET)echo abiversion=${ZATHURA_ABI_VERSION} >> ${PROJECT}.pc
- $(QUIET)echo includedir=${INCLUDEDIR} >> ${PROJECT}.pc
- $(QUIET)echo plugindir=${PLUGINDIR} >> ${PROJECT}.pc
- $(QUIET)echo GTK_VERSION=3 >> ${PROJECT}.pc
- $(QUIET)cat ${PROJECT}.pc.in >> ${PROJECT}.pc
-
-valgrind: debug
- $(QUIET)G_SLICE=always-malloc G_DEBUG=gc-friendly ${VALGRIND} ${VALGRIND_ARGUMENTS} \
- ${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}
-
-gdb: debug
- $(QUIET)cgdb ${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}
-
-test: ${OBJECTS}
- $(QUIET)$(MAKE) -C tests run
-
-dist: clean build-manpages
- $(QUIET)tar -czf $(TARFILE) --exclude=.gitignore \
- --transform 's,^,zathura-$(VERSION)/,' \
- `git ls-files` \
- doc/_build/$(PROJECT).1 doc/_build/$(PROJECT)rc.5
-
-doc:
- $(QUIET)$(MAKE) -C doc
-
-po:
- $(QUIET)${MAKE} -C po
-
-update-po:
- $(QUIET)${MAKE} -C po update-po
-
-build-manpages:
- $(QUIET)${MAKE} -C doc man
-
-install-manpages: build-manpages
- $(call colorecho,INSTALL,"man pages")
- $(QUIET)mkdir -m 755 -p ${DESTDIR}${MANPREFIX}/man1 ${DESTDIR}${MANPREFIX}/man5
-ifneq "$(wildcard doc/_build/${PROJECT}.1)" ""
- $(QUIET)install -m 644 doc/_build/${PROJECT}.1 ${DESTDIR}${MANPREFIX}/man1
-endif
-ifneq "$(wildcard doc/_build/${PROJECT}rc.5)" ""
- $(QUIET)install -m 644 doc/_build/${PROJECT}rc.5 ${DESTDIR}${MANPREFIX}/man5
-endif
-
-install-headers: ${PROJECT}.pc
- $(call colorecho,INSTALL,"header files")
- $(QUIET)mkdir -m 755 -p ${DESTDIR}${INCLUDEDIR}/${PROJECT}
- $(QUIET)install -m 644 ${HEADERINST} ${DESTDIR}${INCLUDEDIR}/${PROJECT}
-
- $(call colorecho,INSTALL,"pkgconfig file")
- $(QUIET)mkdir -m 755 -p ${DESTDIR}${LIBDIR}/pkgconfig
- $(QUIET)install -m 644 ${PROJECT}.pc ${DESTDIR}${LIBDIR}/pkgconfig
-
-install-dbus:
- $(call colorecho,INSTALL,"D-Bus interface definitions")
- $(QUIET)mkdir -m 755 -p $(DESTDIR)$(DBUSINTERFACEDIR)
- $(QUIET)install -m 644 data/org.pwmt.zathura.xml $(DESTDIR)$(DBUSINTERFACEDIR)
-
-install-appdata:
- $(call colorecho,INSTALL,"AppData file")
- $(QUIET)mkdir -m 755 -p $(DESTDIR)$(APPDATAPREFIX)
- $(QUIET)install -m 644 data/$(PROJECT).appdata.xml $(DESTDIR)$(APPDATAPREFIX)
-
-install: all install-headers install-manpages install-dbus install-appdata
- $(call colorecho,INSTALL,"executeable file")
- $(QUIET)mkdir -m 755 -p ${DESTDIR}${PREFIX}/bin
- $(QUIET)install -m 755 ${BUILDDIR_RELEASE}/${BINDIR}/${PROJECT} ${DESTDIR}${PREFIX}/bin
- $(QUIET)mkdir -m 755 -p ${DESTDIR}${DESKTOPPREFIX}
- $(call colorecho,INSTALL,"desktop file")
- $(QUIET)install -m 644 ${PROJECT}.desktop ${DESTDIR}${DESKTOPPREFIX}
- $(MAKE) -C po install
-
-uninstall-headers:
- $(call colorecho,UNINSTALL,"header files")
- $(QUIET)rm -rf ${DESTDIR}${INCLUDEDIR}/${PROJECT}
- $(call colorecho,UNINSTALL,"pkgconfig file")
- $(QUIET)rm -f ${DESTDIR}${LIBDIR}/pkgconfig/${PROJECT}.pc
-
-uninstall: uninstall-headers
- $(ECHO) removing executable file
- $(call colorecho,UNINSTALL,"executeable")
- $(QUIET)rm -f ${DESTDIR}${PREFIX}/bin/${PROJECT}
- $(call colorecho,UNINSTALL,"man pages")
- $(QUIET)rm -f ${DESTDIR}${MANPREFIX}/man1/${PROJECT}.1
- $(QUIET)rm -f ${DESTDIR}${MANPREFIX}/man5/${PROJECT}rc.5
- $(call colorecho,UNINSTALL,"desktop file")
- $(QUIET)rm -f ${DESTDIR}${DESKTOPPREFIX}/${PROJECT}.desktop
- $(call colorecho,UNINSTALL,"D-Bus interface definitions")
- $(QUIET)rm -f $(DESTDIR)$(DBUSINTERFACEDIR)/org.pwmt.zathura.xml
- $(call colorecho,UNINSTALL,"AppData file")
- $(QUIET)rm -f $(DESTDIR)$(APPDATAPREFIX)/$(PROJECT).appdata.xml
- $(MAKE) -C po uninstall
-
-DEPENDS = ${DEPENDDIRS:^=${DEPENDDIR}/}$(addprefix ${DEPENDDIR}/,${OBJECTS:.o=.o.dep})
--include ${DEPENDS}
-
-.PHONY: all options clean doc debug valgrind gdb dist doc install uninstall \
- test po install-headers uninstall-headers update-po install-manpages \
- build-manpages install-dbus
diff --git a/colors.mk b/colors.mk
deleted file mode 100644
index 774204b..0000000
--- a/colors.mk
+++ /dev/null
@@ -1,31 +0,0 @@
-# See LICENSE file for license and copyright information
-
-ifeq ($(COLOR),1)
-# GCC diagnostics colors
-DIAGNOSTICS_COLOR_AVAILABLE ?= $(shell ($(CC) -fdiagnostics-color=always -E - /dev/null 2>/dev/null && echo 1) || echo 0)
-ifeq ($(DIAGNOSTICS_COLOR_AVAILABLE),1)
-CPPFLAGS += -fdiagnostics-color=always
-endif
-
-# colorful output
-TPUT ?= /usr/bin/tput
-TPUT_AVAILABLE ?= $(shell ${TPUT} -V 2>/dev/null)
-
-ifdef TPUT_AVAILABLE
-COLOR_NORMAL = `$(TPUT) sgr0`
-COLOR_ACTION = `$(TPUT) bold``$(TPUT) setaf 3`
-COLOR_COMMENT = `$(TPUT) bold``$(TPUT) setaf 2`
-COLOR_BRACKET = `$(TPUT) setaf 4`
-define colorecho
- @echo $(COLOR_BRACKET)" ["$(COLOR_ACTION)$1$(COLOR_BRACKET)"] "$(COLOR_COMMENT)$2$(COLOR_BRACKET) $(COLOR_NORMAL)
-endef
-else
-define colorecho
- @echo " [$1]" $2
-endef
-endif
-else
-define colorecho
- @echo " [$1]" $2
-endef
-endif
diff --git a/common.mk b/common.mk
deleted file mode 100644
index eb586f8..0000000
--- a/common.mk
+++ /dev/null
@@ -1,9 +0,0 @@
-# See LICENSE file for license and copyright information
-
-ifeq "$(VERBOSE)" "0"
-ECHO=@echo
-QUIET=@
-else
-ECHO=@\#
-QUIET=
-endif
diff --git a/config.mk b/config.mk
deleted file mode 100644
index d40a334..0000000
--- a/config.mk
+++ /dev/null
@@ -1,173 +0,0 @@
-# See LICENSE file for license and copyright information
-# zathura make config
-
-# project
-PROJECT = zathura
-
-ZATHURA_VERSION_MAJOR = 0
-ZATHURA_VERSION_MINOR = 3
-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 = 3
-VERSION = ${ZATHURA_VERSION_MAJOR}.${ZATHURA_VERSION_MINOR}.${ZATHURA_VERSION_REV}
-
-# version checks
-# If you want to disable any of the checks, set *_VERSION_CHECK to 0.
-
-# girara
-GIRARA_VERSION_CHECK ?= 1
-GIRARA_MIN_VERSION = 0.2.8
-GIRARA_PKG_CONFIG_NAME = girara-gtk3
-# glib
-GLIB_VERSION_CHECK ?= 1
-GLIB_MIN_VERSION = 2.50
-GLIB_PKG_CONFIG_NAME = glib-2.0
-# GTK
-GTK_VERSION_CHECK ?= 1
-GTK_MIN_VERSION = 3.10
-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)
-
-# synctex
-# To disable support for synctex with libsynctex set WITH_SYNCTEX to 0.
-WITH_SYNCTEX ?= $(shell (${PKG_CONFIG} synctex && echo 1) || echo 0)
-
-# mimetype detection
-# To disable support for mimetype detction with libmagic set WITH_MAGIC to 0.
-WITH_MAGIC ?= 1
-
-# paths
-PREFIX ?= /usr
-MANPREFIX ?= ${PREFIX}/share/man
-DESKTOPPREFIX ?= ${PREFIX}/share/applications
-APPDATAPREFIX ?= ${PREFIX}/share/metainfo
-LIBDIR ?= ${PREFIX}/lib
-INCLUDEDIR ?= ${PREFIX}/include
-DBUSINTERFACEDIR ?= ${PREFIX}/share/dbus-1/interfaces
-VIMFTPLUGINDIR ?= ${PREFIX}/share/vim/addons/ftplugin
-DEPENDDIR ?= .depend
-BUILDDIR ?= build
-BUILDDIR_RELEASE ?= ${BUILDDIR}/release
-BUILDDIR_DEBUG ?= ${BUILDDIR}/debug
-BUILDDIR_GCOV ?= ${BUILDDIR}/gcov
-BINDIR ?= bin
-
-# plugin directory
-PLUGINDIR ?= ${LIBDIR}/zathura
-# locale directory
-LOCALEDIR ?= ${PREFIX}/share/locale
-
-# libs
-ifeq (${GTK_INC}-${GTK_LIB},-)
-PKG_CONFIG_LIBS += gtk+-3.0
-else
-INCS += ${GTK_INC}
-LIBS += ${GTK_LIB}
-endif
-
-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
-
-ifeq (${GIRARA_INC}-${GIRARA_LIB},-)
-PKG_CONFIG_LIBS += girara-gtk3
-else
-INCS += ${GIRARA_INC}
-LIBS += ${GIRARA_LIB}
-endif
-
-ifneq (${WITH_SQLITE},0)
-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)
-ifeq (${SYNCTEX_INC}-${SYNCTEX_LIB},-)
-PKG_CONFIG_LIBS += synctex
-else
-INCS += ${SYNCTEX_INC}
-LIBS += ${SYNCTEX_LIB}
-endif
-endif
-
-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
-
-# compiler flags
-CFLAGS += -std=c11 -pedantic -Wall -Wno-format-zero-length -Wextra $(INCS)
-
-# debug
-DFLAGS ?= -g
-
-# linker flags
-LDFLAGS += -rdynamic
-
-# compiler
-CC ?= gcc
-
-# strip
-SFLAGS ?= -s
-
-# msgfmt
-MSGFMT ?= msgfmt
-
-# gcov & lcov
-GCOV_CFLAGS=-fprofile-arcs -ftest-coverage
-GCOV_LDFLAGS=-fprofile-arcs
-LCOV_OUTPUT=gcov
-LCOV_EXEC=lcov
-LCOV_FLAGS=--base-directory . --directory ${BUILDDIR_GCOV} --capture --rc \
- lcov_branch_coverage=1 --output-file ${BUILDDIR_GCOV}/$(PROJECT).info
-GENHTML_EXEC=genhtml
-GENHTML_FLAGS=--rc lcov_branch_coverage=1 --output-directory ${LCOV_OUTPUT} ${BUILDDIR_GCOV}/$(PROJECT).info
-
-# valgrind
-VALGRIND = valgrind
-VALGRIND_ARGUMENTS = --tool=memcheck --leak-check=yes --leak-resolution=high \
- --show-reachable=yes --log-file=zathura-valgrind.log
-VALGRIND_SUPPRESSION_FILE = zathura.suppression
-
-# set to something != 0 if you want verbose build output
-VERBOSE ?= 0
-
-# gettext package name
-GETTEXT_PACKAGE ?= ${PROJECT}
-
-# colors
-COLOR ?= 1
-
-# dist
-TARFILE = ${PROJECT}-${VERSION}.tar.gz
-TARDIR = ${PROJECT}-${VERSION}
diff --git a/data/meson.build b/data/meson.build
new file mode 100644
index 0000000..1e7dc72
--- /dev/null
+++ b/data/meson.build
@@ -0,0 +1,10 @@
+gnome = import('gnome')
+zathura_resources = gnome.compile_resources(
+ 'resources',
+ 'zathura.gresource.xml',
+ c_name: 'zathura_resources',
+ dependencies: files('zathura.css_t', 'org.pwmt.zathura.xml')
+)
+
+install_data('zathura.appdata.xml', install_dir: metainfodir)
+install_data('org.pwmt.zathura.xml', install_dir: dbusinterfacesdir)
diff --git a/doc/Makefile b/doc/Makefile
deleted file mode 100644
index c4151da..0000000
--- a/doc/Makefile
+++ /dev/null
@@ -1,55 +0,0 @@
-# See LICENSE file for license and copyright information
-#
-include ../config.mk
-include ../common.mk
-include ../colors.mk
-include config.mk
-
-MAN_SOURCES=$(wildcard man/*.rst) $(wildcard man/*.txt) man/conf.py
-DOXYGEN_SOURCES=$(wildcard ../zathura/*.h) Doxyfile
-HTML_SOURCES=$(wildcard *.rst api/*.rst configuration/*.rst installation/*.rst usage/*.rst) conf.py
-
-SPHINX_OPTS+=-d $(SPHINX_BUILDDIR)/doctrees
-
-all: man html
-
-clean:
- $(call colorecho,RM,doc/$(SPHINX_BUILDDIR))
- $(QUIET)rm -rf $(SPHINX_BUILDDIR)/
-
-$(SPHINX_BUILDDIR)/html/index.html: $(HTML_SOURCES) $(SPHINX_BUILDDIR)/doxygen/xml/index.xml
- $(QUIET)mkdir -p $(SPHINX_BUILDDIR)/html
- $(call colorecho,DOC,"Build HTML documentation")
- $(QUIET)$(SPHINX_BIN) -b html $(SPHINX_OPTS) . $(SPHINX_BUILDDIR)/html
-
-$(SPHINX_BUILDDIR)/zathura.1: $(MAN_SOURCES)
- $(QUIET)mkdir -p $(SPHINX_BUILDDIR)
- $(call colorecho,DOC,"Build man pages")
- $(QUIET)$(SPHINX_BIN) -b man $(SPHINX_OPTS) man $(SPHINX_BUILDDIR)
-
-$(SPHINX_BUILDDIR)/zathurarc.5: $(SPHINX_BUILDDIR)/zathura.1
- @if test -f $@; then :; else \
- rm -f $(SPHINX_BUILDDIR)/zathura.1; \
- $(MAKE) $(SPHINX_BUILDDIR)/zathura.1; \
- fi
-
-$(SPHINX_BUILDDIR)/doxygen/xml/index.xml: $(DOXYGEN_SOURCES)
- $(QUIET)mkdir -p $(SPHINX_BUILDDIR)/doxygen/xml
- $(call colorecho,DOC,"Run doxygen")
- $(QUIET)$(DOXYGEN_BIN) Doxyfile
-
-ifeq ($(shell which $(SPHINX_BIN) >/dev/null 2>&1; echo $$?), 1)
-man:
-html:
-else
-man: $(SPHINX_BUILDDIR)/zathura.1 $(SPHINX_BUILDDIR)/zathurarc.5
-
-# TODO: Make a better test for breathe and sphinx_rtd_theme
-ifeq ($(shell which $(DOXYGEN_BIN) >/dev/null 2>&1 && $(PYTHON_BIN) -c "import breathe; import sphinx_rtd_theme" >/dev/null 2>&1; echo $$?), 0)
-html: $(SPHINX_BUILDDIR)/html/index.html
-else
-html:
-endif
-endif
-
-.PHONY: clean html man all
diff --git a/doc/config.mk b/doc/config.mk
deleted file mode 100644
index 60e395b..0000000
--- a/doc/config.mk
+++ /dev/null
@@ -1,8 +0,0 @@
-# See LICENSE file for license and copyright information
-
-SPHINX_BIN ?= sphinx-build
-SPHINX_BUILDDIR = _build
-SPHINX_OPTS ?=
-DOXYGEN_BIN ?= doxygen
-# This needs to be the same python interpreter as used by sphinx-build
-PYTHON_BIN ?= python
diff --git a/doc/meson.build b/doc/meson.build
new file mode 100644
index 0000000..4c24352
--- /dev/null
+++ b/doc/meson.build
@@ -0,0 +1,23 @@
+sphinx = find_program('sphinx-build')
+custom_target('man pages',
+ command: [sphinx, '-b', 'man', join_paths(meson.current_source_dir(), 'man'), meson.current_build_dir()],
+ output: ['zathura.1', 'zathurarc.5'],
+ input: [
+ 'man/conf.py',
+ 'man/_bindings.txt',
+ 'man/_commands.txt',
+ 'man/_options.txt',
+ 'man/_synopsis.txt',
+ 'man/zathurarc.5.rst',
+ 'man/_bugs.txt',
+ 'man/_configuration.txt',
+ 'man/_description.txt',
+ 'man/_synctex.txt',
+ 'man/zathura.1.rst'
+ ],
+ build_by_default: true
+)
+install_man(
+ join_paths(meson.current_build_dir(), 'zathura.1'),
+ join_paths(meson.current_build_dir(), 'zathurarc.5')
+)
diff --git a/meson.build b/meson.build
new file mode 100644
index 0000000..4f3ab19
--- /dev/null
+++ b/meson.build
@@ -0,0 +1,190 @@
+project('zathura', 'c',
+ version: '0.3.8',
+ meson_version: '>=0.43',
+ default_options: 'c_std=c11',
+)
+
+version = meson.project_version()
+version_array = version.split('.')
+
+# Rules for so_major and so_minor:
+# Before a release perform the following checks against the last release:
+# * If a function has been removed or the paramaters of a function have changed
+# bump SOMAJOR and set SOMINOR to 0.
+# * If any of the exported datastructures have changed in a incompatible way
+# bump SOMAJOR and set SOMINOR to 0.
+# * If a function has been added bump SOMINOR.
+plugin_api_version = '2'
+plugin_abi_version = '3'
+
+conf_data = configuration_data()
+conf_data.set('ZVMAJOR', version_array[0])
+conf_data.set('ZVMINOR', version_array[1])
+conf_data.set('ZVREV', version_array[2])
+conf_data.set('ZVAPI', plugin_api_version)
+conf_data.set('ZVABI', plugin_abi_version)
+conf_data.set('version', version)
+
+cc = meson.get_compiler('c', required: false)
+
+prefix = get_option('prefix')
+localedir = get_option('localedir')
+datadir = get_option('datadir')
+metainfodir = join_paths(datadir, 'metainfo')
+desktopdir = join_paths(datadir, 'applications')
+dbusinterfacesdir = join_paths(datadir, 'dbus-1', 'interfaces')
+plugindir = join_paths(get_option('libdir'), 'zathura')
+
+# required dependencies
+libm = cc.find_library('libm')
+girara = dependency('girara-gtk3', version: '>=0.2.8')
+glib = dependency('glib-2.0', version: '>=2.50')
+gthread = dependency('gthread-2.0', version: '>=2.50')
+gmodule = dependency('gmodule-no-export-2.0', version: '>=2.50')
+gtk3 = dependency('gtk+-3.0', version: '>=3.10')
+
+build_dependencies = [libm, girara, glib, gthread, gmodule, gtk3]
+
+# defines
+defines = [
+ '-DGETTEXT_PACKAGE="zathura"',
+ '-DLOCALEDIR="@0@"'.format(join_paths(prefix, localedir)),
+ '-DZATHURA_PLUGINDIR="@0@"'.format(join_paths(prefix, plugindir)),
+ '-D_DEFAULT_SOURCE',
+]
+
+# compile flags
+flags = [
+ '-Wall',
+ '-Wextra',
+ '-pedantic',
+ '-Werror=implicit-function-declaration'
+]
+flags = cc.get_supported_arguments(flags)
+
+# linker flags
+linker_flags = [
+ '-rdynamic'
+]
+linker_flags = cc.get_supported_arguments(linker_flags)
+
+# optional dependencies
+additional_sources = []
+sqlite = dependency('sqlite3', version: '>=3.5.9', required: false)
+synctex = dependency('synctex', required: false)
+magic = cc.find_library('magic', required: false)
+
+if get_option('enable-sqlite') and sqlite.found()
+ build_dependencies += sqlite
+ defines += '-DWITH_SQLITE'
+ additional_sources = files('zathura/database-sqlite.c')
+endif
+
+if get_option('enable-synctex') and synctex.found()
+ build_dependencies += synctex
+ defines += '-DWITH_SYNCTEX'
+endif
+
+if get_option('enable-magic') and magic.found()
+ build_dependencies += magic
+ defines += '-DWITH_MAGIC'
+endif
+
+# generate version header file
+version_header = configure_file(
+ input: 'zathura/version.h.in',
+ output: 'version.h',
+ configuration: conf_data
+)
+include_directories = [
+ include_directories('.')
+]
+
+subdir('data')
+subdir('po')
+
+# source files
+sources = files(
+ 'zathura/adjustment.c',
+ 'zathura/bookmarks.c',
+ 'zathura/callbacks.c',
+ 'zathura/checked-integer-arithmetic.c',
+ 'zathura/commands.c',
+ 'zathura/completion.c',
+ 'zathura/config.c',
+ 'zathura/content-type.c',
+ 'zathura/database.c',
+ 'zathura/database-plain.c',
+ 'zathura/dbus-interface.c',
+ 'zathura/document.c',
+ 'zathura/file-monitor.c',
+ 'zathura/file-monitor-glib.c',
+ 'zathura/file-monitor-signal.c',
+ 'zathura/jumplist.c',
+ 'zathura/links.c',
+ 'zathura/marks.c',
+ 'zathura/page.c',
+ 'zathura/page-widget.c',
+ 'zathura/plugin.c',
+ 'zathura/print.c',
+ 'zathura/render.c',
+ 'zathura/shortcuts.c',
+ 'zathura/synctex.c',
+ 'zathura/types.c',
+ 'zathura/utils.c',
+ 'zathura/zathura.c',
+)
+sources += zathura_resources
+sources += additional_sources
+
+# header fiels to install
+headers = files(
+ 'zathura/document.h',
+ 'zathura/links.h',
+ 'zathura/macros.h',
+ 'zathura/page.h',
+ 'zathura/plugin-api.h',
+ 'zathura/types.h',
+)
+headers += version_header
+
+# zathura helper library
+libzathura = static_library('zathura',
+ sources,
+ dependencies: build_dependencies,
+ include_directories: include_directories,
+ c_args: defines + flags
+)
+
+# zathura executable
+zathura = executable(
+ 'zathura',
+ files('zathura/main.c'),
+ dependencies: build_dependencies + [declare_dependency(link_with: libzathura)],
+ install: true,
+ include_directories: include_directories,
+ c_args: defines + flags,
+ link_args: linker_flags, # replace with export_dynamic: true once we have meson >= 0.45
+ gui_app: true
+)
+install_headers(headers, subdir: 'zathura')
+
+# pkg-config file
+pkg = import('pkgconfig')
+pkg.generate(
+ name: 'zathura',
+ description: 'document viewer - plugin API',
+ url: 'https://pwmt.org/projects/zathura',
+ version: version,
+ requires_private: ['girara-gtk3', 'cairo'],
+ variables: [
+ 'apiversion=@0@'.format(plugin_api_version),
+ 'abiversion=@0@'.format(plugin_abi_version),
+ 'plugindir=${libdir}/zathura'
+ ]
+)
+
+install_data('zathura.desktop', install_dir: desktopdir)
+
+subdir('doc')
+subdir('tests')
diff --git a/meson_options.txt b/meson_options.txt
new file mode 100644
index 0000000..6853a9a
--- /dev/null
+++ b/meson_options.txt
@@ -0,0 +1,15 @@
+option('enable-sqlite',
+ type: 'boolean',
+ value: true,
+ description: 'Enable sqlite support if available.'
+)
+option('enable-synctex',
+ type: 'boolean',
+ value: true,
+ description: 'Enable synctex support if available.'
+)
+option('enable-magic',
+ type: 'boolean',
+ value: true,
+ description: 'Enable magic support if available.'
+)
diff --git a/po/LINGUAS b/po/LINGUAS
new file mode 100644
index 0000000..8169b0d
--- /dev/null
+++ b/po/LINGUAS
@@ -0,0 +1,21 @@
+ca
+cs
+de
+el
+eo
+es_CL
+es
+et
+fr
+he
+hr
+id_ID
+it
+lt
+no
+pl
+pt_BR
+ru
+ta_IN
+tr
+uk_UA
diff --git a/po/Makefile b/po/Makefile
deleted file mode 100644
index 2d60065..0000000
--- a/po/Makefile
+++ /dev/null
@@ -1,58 +0,0 @@
-# See LICENSE file for license and copyright information
-
-include ../config.mk
-include ../common.mk
-include ../colors.mk
-
-PROJECT = zathura
-CATALOGS = $(sort $(wildcard *.po))
-LINGUAS ?= $(patsubst %.po, %, $(CATALOGS))
-ifeq ($(LINGUAS),)
-ALINGUAS =
-else
-ALINGUAS = $(shell find $(patsubst %, %.po, $(LINGUAS)) 2>/dev/null)
-endif
-MOS = $(patsubst %, %/LC_MESSAGES/${GETTEXT_PACKAGE}.mo, $(patsubst %.po, %, $(ALINGUAS)))
-
-all: ${MOS}
-
-clean:
- $(QUIET)rm -rf POTFILES.in POTFILES.in.tmp $(patsubst %.po, %, $(CATALOGS)) ${PROJECT}.pot
-
-POTFILES.in: $(sort $(wildcard ../zathura/*.c))
- $(QUIET) set -e && rm -f $@.tmp && touch $@.tmp && \
- for f in $(^F) ; do \
- echo zathura/$$f >> $@.tmp ; \
- done && \
- mv $@.tmp $@
-
-${GETTEXT_PACKAGE}.pot: POTFILES.in
- $(ECHO) regenerate $@
- $(QUIET)intltool-update --pot --gettext-package=${GETTEXT_PACKAGE}
-
-update-po: ${GETTEXT_PACKAGE}.pot
- $(call colorecho,PO,"Updating po files ${CATALOGS}")
- $(QUIET)set -e && for f in ${CATALOGS} ; do \
- intltool-update --dist --gettext-package=${GETTEXT_PACKAGE} `echo $$f | sed 's/\.po//'` ; \
- sed -i 's/Report-Msgid-Bugs-To: \\n/Report-Msgid-Bugs-To: http:\/\/bugs.pwmt.org\\n/' "$$f" ; \
- done
-
-%/LC_MESSAGES/${GETTEXT_PACKAGE}.mo: %.po
- @mkdir -p $(@D)
- $(call colorecho,MSGFMT,$(shell echo $< | sed 's/\.po//'))
- $(QUIET)${MSGFMT} ${MSGFMTFLAGS} -c $< -o $@
-
-install: ${MOS}
- $(call colorecho,INSTALL,"Install translations")
- $(QUIET)set -e && for f in $^ ; do \
- mkdir -p -m 755 $(DESTDIR)$(LOCALEDIR)/`dirname $$f`; \
- install -m 644 $$f $(DESTDIR)$(LOCALEDIR)/`dirname $$f` ; \
- done
-
-uninstall: ${MOS}
- $(call colorecho,UNINSTALL,"Uninstall translations")
- $(QUIET)set -e && for f in $^ ; do \
- rm -f $(LOCALEDIR)/$$f; \
- done
-
-.PHONY: all clean install uninstall update-po
diff --git a/po/POTFILES b/po/POTFILES
new file mode 100644
index 0000000..ec14f8b
--- /dev/null
+++ b/po/POTFILES
@@ -0,0 +1,30 @@
+zathura/adjustment.c
+zathura/bookmarks.c
+zathura/callbacks.c
+zathura/checked-integer-arithmetic.c
+zathura/commands.c
+zathura/completion.c
+zathura/config.c
+zathura/content-type.c
+zathura/database-plain.c
+zathura/database-sqlite.c
+zathura/database.c
+zathura/dbus-interface.c
+zathura/document.c
+zathura/file-monitor-glib.c
+zathura/file-monitor-signal.c
+zathura/file-monitor.c
+zathura/jumplist.c
+zathura/links.c
+zathura/main.c
+zathura/marks.c
+zathura/page-widget.c
+zathura/page.c
+zathura/plugin.c
+zathura/print.c
+zathura/render.c
+zathura/shortcuts.c
+zathura/synctex.c
+zathura/types.c
+zathura/utils.c
+zathura/zathura.c
diff --git a/po/meson.build b/po/meson.build
new file mode 100644
index 0000000..cac1e18
--- /dev/null
+++ b/po/meson.build
@@ -0,0 +1,4 @@
+i18n = import('i18n')
+i18n.gettext('zathura',
+ preset: 'glib'
+)
diff --git a/tests/Makefile b/tests/Makefile
deleted file mode 100644
index 99e8da7..0000000
--- a/tests/Makefile
+++ /dev/null
@@ -1,132 +0,0 @@
-# See LICENSE file for license and copyright information
-
-include ../config.mk
-include ../colors.mk
-include ../common.mk
-
-include config.mk
-
-PROJECT = tests
-SOURCE = tests.c $(wildcard test_*.c)
-OBJECTS = $(addprefix ${BUILDDIR_RELEASE}/,${SOURCE:.c=.o})
-OBJECTS_DEBUG = $(addprefix ${BUILDDIR_DEBUG}/,${SOURCE:.c=.o})
-OBJECTS_GCOV = $(addprefix ${BUILDDIR_GCOV}/,${SOURCE:.c=.o})
-
-FILTER = %/main.o
-
-ifneq (${WITH_SQLITE},0)
-CPPFLAGS += -DWITH_SQLITE
-else
-FILTER += %/database-sqlite.o
-endif
-
-ifneq ($(WITH_MAGIC),0)
-CPPFLAGS += -DWITH_MAGIC
-endif
-
-ifneq ($(WITH_SYNCTEX),0)
-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
-
-all: release
-
-# release
-
-${OBJECTS}: config.mk ../config.mk ../zathura/version.h
-
-${BUILDDIR_RELEASE}/%.o: %.c
- $(call colorecho,CC,$<)
- @mkdir -p ${DEPENDDIR}/$(dir $(abspath $@))
- @mkdir -p $(dir $(abspath $@))
- $(QUIET)${CC} -c ${CPPFLAGS} ${CFLAGS} \
- -o $@ $< -MMD -MF ${DEPENDDIR}/$(abspath $@).dep
-
-${BUILDDIR_RELEASE}/${BINDIR}/${PROJECT}: ${OBJECTS}
- $(QUIET)${MAKE} WITH_LIBFIU=1 -C .. ${BUILDDIR_RELEASE}/${BINDIR}/zathura
- $(call colorecho,CC,$@)
- @mkdir -p ${BUILDDIR_RELEASE}/${BINDIR}
- $(QUIET)${CC} ${SFLAGS} ${LDFLAGS} \
- -o ${BUILDDIR_RELEASE}/${BINDIR}/${PROJECT} \
- ${OBJECTS} ${ZATHURA_OBJECTS} ${LIBS}
-
-release: ${BUILDDIR_RELEASE}/${BINDIR}/${PROJECT}
-
-run: ${BUILDDIR_RELEASE}/${BINDIR}/${PROJECT}
- $(QUIET)${FIU_EXEC} ./${BUILDDIR_RELEASE}/${BINDIR}/${PROJECT}
-
-# debug
-
-${OBJECTS_DEBUG}: config.mk ../config.mk ../zathura/version.h
-
-${BUILDDIR_DEBUG}/%.o: %.c
- @mkdir -p ${DEPENDDIR}/$(dir $(abspath $@))
- @mkdir -p $(dir $(abspath $@))
- $(call colorecho,CC,$<)
- $(QUIET)${CC} -c ${CPPFLAGS} ${CFLAGS} ${DFLAGS} \
- -o $@ $< -MMD -MF ${DEPENDDIR}/$(abspath $@).dep
-
-${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}: ${OBJECTS_DEBUG}
- $(QUIET)${MAKE} WITH_LIBFIU=1 -C .. ${BUILDDIR_DEBUG}/${BINDIR}/zathura
- $(call colorecho,CC,$@)
- @mkdir -p ${BUILDDIR_DEBUG}/${BINDIR}
- $(QUIET)${CC} ${SFLAGS} ${LDFLAGS} \
- -o ${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT} \
- ${OBJECTS} ${ZATHURA_OBJECTS_DEBUG} ${LIBS}
-
-debug: ${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}
-
-run-debug: ${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}
- $(QUIET)${FIU_EXEC} ./${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}
-
-# gcov
-
-${OBJECTS_GCOV}: config.mk ../config.mk ../zathura/version.h
-
-${BUILDDIR_GCOV}/%.o: %.c
- @mkdir -p ${DEPENDDIR}/$(dir $(abspath $@))
- @mkdir -p $(dir $(abspath $@))
- $(call colorecho,CC,$<)
- $(QUIET)${CC} -c ${CPPFLAGS} ${CFLAGS} ${GCOV_CFLAGS} ${DFLAGS} ${GCOV_DFLAGS} \
- -o $@ $< -MMD -MF ${DEPENDDIR}/$(abspath $@).dep
-
-${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}: ${OBJECTS_GCOV}
- $(QUIET)${MAKE} WITH_LIBFIU=1 -C .. ${BUILDDIR_GCOV}/${BINDIR}/zathura
- $(call colorecho,CC,$@)
- @mkdir -p ${BUILDDIR_GCOV}/${BINDIR}
- $(QUIET)${CC} ${SFLAGS} ${LDFLAGS} ${GCOV_CFLAGS} ${GCOV_LDFLAGS} \
- -o ${BUILDDIR_GCOV}/${BINDIR}/${PROJECT} \
- ${OBJECTS} ${ZATHURA_OBJECTS_GCOV} ${LIBS}
-
-gcov: ${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}
-
-run-gcov: gcov
- $(QUIET)${FIU_EXEC} ./${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}
-
-../zathura/version.h:
- $(MAKE) -C .. zathura/version.h
-
-valgrind: ${PROJECT}-debug
- $(QUIET)G_SLICE=always-malloc G_DEBUG=gc-friendly ${FIU_EXEC} ${VALGRIND} ${VALGRIND_ARGUMENTS} ./${PROJECT}-debug
-
-clean:
- $(call colorecho,RM, "Clean test files")
- $(QUIET)rm -rf ${PROJECT}
- $(QUIET)rm -rf ${PROJECT}-debug
- $(QUIET)rm -rf ${PROJECT}-gcov
- $(QUIET)rm -rf ${BUILDDIR}
- $(QUIET)rm -rf ${DEPENDDIR}
-
-.PHONY: all clean debug run
-
--include $(wildcard ${DEPENDDIR}/*.dep)
diff --git a/tests/config.mk b/tests/config.mk
deleted file mode 100644
index d0cf5f7..0000000
--- a/tests/config.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-# See LICENSE file for license and copyright information
-
-CHECK_INC ?= $(shell pkg-config --cflags check)
-CHECK_LIB ?= $(shell pkg-config --libs check)
-
-INCS += ${CHECK_INC} ${FIU_INC} -I../zathura
-LIBS += ${CHECK_LIB} ${FIU_LIB}
-
-ZATHURA_RELEASE=../${BUILDDIR_RELEASE}/${BINDIR}/zathura
-ZATHURA_DEBUG=../${BUILDDIR_DEBUG}/${BINDIR}/zathura
-ZATHURA_GCOV=../${BUILDDIR_GCOV}/${BINDIR}/zathura
-
-# valgrind
-VALGRIND = valgrind
-VALGRIND_ARGUMENTS = --tool=memcheck --leak-check=yes --leak-resolution=high \
- --show-reachable=yes --log-file=zathura-valgrind.log
-VALGRIND_SUPPRESSION_FILE = zathura.suppression
diff --git a/tests/meson.build b/tests/meson.build
new file mode 100644
index 0000000..ccf96e3
--- /dev/null
+++ b/tests/meson.build
@@ -0,0 +1,24 @@
+check = dependency('check', required: false)
+if check.found()
+ test_dependencies = [
+ declare_dependency(link_with: libzathura),
+ check
+ ]
+
+ include_directories += [ include_directories('../zathura') ]
+
+ test_sources = [
+ 'tests.c',
+ 'test_document.c',
+ 'test_session.c',
+ 'test_utils.c'
+ ]
+
+ tests = executable('tests', test_sources,
+ dependencies: build_dependencies + test_dependencies,
+ include_directories: include_directories,
+ c_args: defines + flags
+ )
+
+ test('tests', tests)
+endif
diff --git a/zathura.pc.in b/zathura.pc.in
deleted file mode 100644
index e76b38d..0000000
--- a/zathura.pc.in
+++ /dev/null
@@ -1,9 +0,0 @@
-
-INC_PATH=-I${includedir}
-
-Name: ${project}
-Description: document viewer
-Version: ${version}
-URL: http://pwmt.org/projects/zathura
-Cflags: ${INC_PATH}
-Requires.private: girara-gtk${GTK_VERSION} cairo
diff --git a/zathura/version.h.in b/zathura/version.h.in
index d35d791..186be9f 100644
--- a/zathura/version.h.in
+++ b/zathura/version.h.in
@@ -3,11 +3,11 @@
#ifndef ZATHURA_VERSION_H
#define ZATHURA_VERSION_H
-#define ZATHURA_VERSION_MAJOR ZVMAJOR
-#define ZATHURA_VERSION_MINOR ZVMINOR
-#define ZATHURA_VERSION_REV ZVREV
-#define ZATHURA_VERSION "ZVMAJOR.ZVMINOR.ZVREV"
-#define ZATHURA_API_VERSION ZVAPI
-#define ZATHURA_ABI_VERSION ZVABI
+#define ZATHURA_VERSION_MAJOR @ZVMAJOR@
+#define ZATHURA_VERSION_MINOR @ZVMINOR@
+#define ZATHURA_VERSION_REV @ZVREV@
+#define ZATHURA_VERSION "@version@"
+#define ZATHURA_API_VERSION @ZVAPI@
+#define ZATHURA_ABI_VERSION @ZVABI@
#endif
From b777e8487c266859e485a29b9f6622fa49d704df Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sat, 10 Feb 2018 13:31:06 +0100
Subject: [PATCH 037/126] Remove extra defines
---
zathura/content-type.c | 3 ---
zathura/zathura.c | 3 ---
2 files changed, 6 deletions(-)
diff --git a/zathura/content-type.c b/zathura/content-type.c
index 3440973..825cd79 100644
--- a/zathura/content-type.c
+++ b/zathura/content-type.c
@@ -1,8 +1,5 @@
/* See LICENSE file for license and copyright information */
-#define _DEFAULT_SOURCE
-#define _XOPEN_SOURCE 700
-
#include "content-type.h"
#include "macros.h"
diff --git a/zathura/zathura.c b/zathura/zathura.c
index c134fcb..46aeb24 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -1,8 +1,5 @@
/* See LICENSE file for license and copyright information */
-#define _DEFAULT_SOURCE
-#define _XOPEN_SOURCE 700
-
#include
#include
#include
From 21a9aed96860f942da91ae9025e66afa65b679de Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sat, 10 Feb 2018 13:31:13 +0100
Subject: [PATCH 038/126] Fix return type
---
zathura/content-type.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/zathura/content-type.c b/zathura/content-type.c
index 825cd79..7dc98fd 100644
--- a/zathura/content-type.c
+++ b/zathura/content-type.c
@@ -97,7 +97,7 @@ guess_type_magic(zathura_content_type_context_t* context, const char* path)
girara_debug("magic detected filetype: %s", mime_type);
/* dup so we own the memory */
- return g_strdup(mime_type);;
+ return g_strdup(mime_type);
}
static char*
@@ -106,7 +106,7 @@ guess_type_file(const char* UNUSED(path))
return NULL;
}
#else
-static const char*
+static char*
guess_type_magic(zathura_content_type_context_t* UNUSED(context),
const char* UNUSED(path))
{
From 14a867f08081ea910936db7e673f80a42d0d87e7 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sat, 10 Feb 2018 14:15:57 +0100
Subject: [PATCH 039/126] Fix installign of manpages
---
doc/meson.build | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/doc/meson.build b/doc/meson.build
index 4c24352..32a4f03 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -15,9 +15,10 @@ custom_target('man pages',
'man/_synctex.txt',
'man/zathura.1.rst'
],
- build_by_default: true
-)
-install_man(
- join_paths(meson.current_build_dir(), 'zathura.1'),
- join_paths(meson.current_build_dir(), 'zathurarc.5')
+ build_by_default: true,
+ install: true,
+ install_dir: [
+ join_paths(get_option('mandir'), 'man1'),
+ join_paths(get_option('mandir'), 'man5')
+ ]
)
From 4ea9d46584ee1a45c20e8e8ddcb2599a07ee3c27 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sat, 10 Feb 2018 21:09:22 +0100
Subject: [PATCH 040/126] Convert all MIME types to glib "content" types
On Linux they are the same, but somewhere else they might be different.
---
zathura/content-type.c | 21 ++++++++++++++++++---
zathura/content-type.h | 4 ++--
zathura/plugin.c | 13 +++++++++----
3 files changed, 29 insertions(+), 9 deletions(-)
diff --git a/zathura/content-type.c b/zathura/content-type.c
index 3440973..60bd455 100644
--- a/zathura/content-type.c
+++ b/zathura/content-type.c
@@ -99,8 +99,14 @@ guess_type_magic(zathura_content_type_context_t* context, const char* path)
}
girara_debug("magic detected filetype: %s", mime_type);
- /* dup so we own the memory */
- return g_strdup(mime_type);;
+ char* content_type = g_content_type_from_mime_type(mime_type);
+ if (content_type == NULL) {
+ girara_warning("failed to convert mime type to content type: %s", mime_type);
+ /* dup so we own the memory */
+ return g_strdup(mime_type);
+ }
+
+ return content_type;
}
static char*
@@ -143,7 +149,16 @@ guess_type_file(const char* path)
}
g_strdelimit(out, "\n\r", '\0');
- return out;
+ girara_debug("file detected filetype: %s", out);
+
+ char* content_type = g_content_type_from_mime_type(out);
+ if (content_type == NULL) {
+ girara_warning("failed to convert mime type to content type: %s", out);
+ return out;
+ }
+
+ g_free(out);
+ return content_type;
}
#endif
diff --git a/zathura/content-type.h b/zathura/content-type.h
index 9bd367d..bf65482 100644
--- a/zathura/content-type.h
+++ b/zathura/content-type.h
@@ -6,14 +6,14 @@
#include "types.h"
/**
- * Create new context for MIME type detection.
+ * Create new context for content type detection.
*
* @return new context
*/
zathura_content_type_context_t* zathura_content_type_new(void);
/**
- * Free MIME type detection context.
+ * Free content type detection context.
*
* @param context The context.
*/
diff --git a/zathura/plugin.c b/zathura/plugin.c
index db6e8a4..96cbffe 100644
--- a/zathura/plugin.c
+++ b/zathura/plugin.c
@@ -39,7 +39,7 @@ struct zathura_plugin_manager_s {
girara_list_t* type_plugin_mapping; /**< List of type -> plugin mappings */
};
-static void zathura_plugin_add_mimetype(zathura_plugin_t* plugin, const char* mime_type);
+static void 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);
@@ -159,7 +159,7 @@ load_plugin(zathura_plugin_manager_t* plugin_manager, const char* plugindir, con
// 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]);
+ plugin_add_mimetype(plugin, plugin_definition->mime_types[s]);
}
bool ret = register_plugin(plugin_manager, plugin);
@@ -328,13 +328,18 @@ zathura_plugin_free(zathura_plugin_t* plugin)
}
static void
-zathura_plugin_add_mimetype(zathura_plugin_t* plugin, const char* mime_type)
+plugin_add_mimetype(zathura_plugin_t* plugin, const char* mime_type)
{
if (plugin == NULL || mime_type == NULL) {
return;
}
- girara_list_append(plugin->content_types, g_content_type_from_mime_type(mime_type));
+ char* content_type = g_content_type_from_mime_type(mime_type);
+ if (content_type == NULL) {
+ girara_warning("plugin: unable to convert mime type: %s", mime_type);
+ } else {
+ girara_list_append(plugin->content_types, content_type);
+ }
}
zathura_plugin_functions_t*
From 68ebb6f13938ecd94d3a6cffc79852c50346307b Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sat, 10 Feb 2018 21:13:30 +0100
Subject: [PATCH 041/126] Debug output for content type mapping
Signed-off-by: Sebastian Ramacher
---
zathura/plugin.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/zathura/plugin.c b/zathura/plugin.c
index 96cbffe..e186153 100644
--- a/zathura/plugin.c
+++ b/zathura/plugin.c
@@ -253,15 +253,16 @@ register_plugin(zathura_plugin_manager_t* plugin_manager, zathura_plugin_t* plug
|| plugin->content_types == NULL
|| plugin_manager == NULL
|| plugin_manager->plugins == NULL) {
- girara_error("plugin: could not register\n");
+ girara_error("plugin: could not register");
return false;
}
bool at_least_one = false;
GIRARA_LIST_FOREACH_BODY(plugin->content_types, gchar*, type,
if (plugin_mapping_new(plugin_manager, type, plugin) == false) {
- girara_error("plugin: already registered for filetype %s\n", type);
+ girara_error("plugin: filetype already registered: %s", type);
} else {
+ girara_debug("plugin: filetype mapping addded: %s", type);
at_least_one = true;
}
);
From 531ee53b1a4a4d7a4b18c2e6462c4c81771fe6ad Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sat, 10 Feb 2018 21:39:12 +0100
Subject: [PATCH 042/126] Bump plugin API and ABI version
Signed-off-by: Sebastian Ramacher
---
config.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/config.mk b/config.mk
index d40a334..5f0a99a 100644
--- a/config.mk
+++ b/config.mk
@@ -8,9 +8,9 @@ ZATHURA_VERSION_MAJOR = 0
ZATHURA_VERSION_MINOR = 3
ZATHURA_VERSION_REV = 8
# If the API changes, the API version and the ABI version have to be bumped.
-ZATHURA_API_VERSION = 2
+ZATHURA_API_VERSION = 3
# If the ABI breaks for any reason, this has to be bumped.
-ZATHURA_ABI_VERSION = 3
+ZATHURA_ABI_VERSION = 4
VERSION = ${ZATHURA_VERSION_MAJOR}.${ZATHURA_VERSION_MINOR}.${ZATHURA_VERSION_REV}
# version checks
From 94bf91d8304983bbca53c0302e72a20db6988d70 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sat, 10 Feb 2018 21:39:50 +0100
Subject: [PATCH 043/126] Bump plugin API and ABI version
Signed-off-by: Sebastian Ramacher
---
meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meson.build b/meson.build
index 4f3ab19..1d1634b 100644
--- a/meson.build
+++ b/meson.build
@@ -14,8 +14,8 @@ version_array = version.split('.')
# * If any of the exported datastructures have changed in a incompatible way
# bump SOMAJOR and set SOMINOR to 0.
# * If a function has been added bump SOMINOR.
-plugin_api_version = '2'
-plugin_abi_version = '3'
+plugin_api_version = '3'
+plugin_abi_version = '4'
conf_data = configuration_data()
conf_data.set('ZVMAJOR', version_array[0])
From ff679a310bcb0894eadbf36ce4bcd71fc8b8fe9e Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Sun, 11 Feb 2018 15:00:47 +0100
Subject: [PATCH 044/126] Comment fixes
---
zathura/adjustment.h | 2 +-
zathura/document.c | 4 ++--
zathura/page-widget.c | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/zathura/adjustment.h b/zathura/adjustment.h
index 0ae967c..a1c3da4 100644
--- a/zathura/adjustment.h
+++ b/zathura/adjustment.h
@@ -8,7 +8,7 @@
#include "document.h"
/**
- * Calculate the page size according to the corrent scaling and rotation if
+ * Calculate the page size according to the current scaling and rotation if
* desired.
*
* @param document the document
diff --git a/zathura/document.c b/zathura/document.c
index bf6539d..b33d186 100644
--- a/zathura/document.c
+++ b/zathura/document.c
@@ -33,8 +33,8 @@ struct zathura_document_s {
void* data; /**< Custom data */
zathura_adjust_mode_t adjust_mode; /**< Adjust mode (best-fit, width) */
int page_offset; /**< Page offset */
- double cell_width; /**< width of a page cell in the document (not ransformed by scale and rotation) */
- double cell_height; /**< height of a page cell in the document (not ransformed by scale and rotation) */
+ double cell_width; /**< width of a page cell in the document (not transformed by scale and rotation) */
+ double cell_height; /**< height of a page cell in the document (not transformed by scale and rotation) */
unsigned int view_width; /**< width of current viewport */
unsigned int view_height; /**< height of current viewport */
zathura_device_factors_t device_factors; /**< x and y device scale factors (for e.g. HiDPI) */
diff --git a/zathura/page-widget.c b/zathura/page-widget.c
index 606268f..b933d4a 100644
--- a/zathura/page-widget.c
+++ b/zathura/page-widget.c
@@ -317,8 +317,8 @@ set_font_from_property(cairo_t* cairo, zathura_t* zathura, cairo_font_weight_t w
const char* family = pango_font_description_get_family(descr);
/* get font size: can be points or absolute.
- * absolute units: value = 10*PANGO_SCALE = 10 (unscaled) device units (logical pixels)
- * point units: value = 10*PANGO_SCALE = 10 points = 10*(font dpi config / 72) device units */
+ * absolute units: example: value 10*PANGO_SCALE = 10 (unscaled) device units (logical pixels)
+ * point units: example: value 10*PANGO_SCALE = 10 points = 10*(font dpi config / 72) device units */
double size = pango_font_description_get_size(descr) / PANGO_SCALE;
/* convert point size to device units */
From 553a8ff4283b9a784c6edcb39954a0ac96defd3d Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Sun, 11 Feb 2018 15:03:57 +0100
Subject: [PATCH 045/126] Store monitor DPI in document structure
---
zathura/document.c | 20 +++++++++++++++
zathura/document.h | 18 +++++++++++++
zathura/zathura.c | 63 ++++++++++++++++++++++++++++++++++++++++++++++
zathura/zathura.h | 7 ++++++
4 files changed, 108 insertions(+)
diff --git a/zathura/document.c b/zathura/document.c
index b33d186..d998e0f 100644
--- a/zathura/document.c
+++ b/zathura/document.c
@@ -37,6 +37,7 @@ struct zathura_document_s {
double cell_height; /**< height of a page cell in the document (not transformed by scale and rotation) */
unsigned int view_width; /**< width of current viewport */
unsigned int view_height; /**< height of current viewport */
+ double view_dpi; /**cell_height = 0.0;
document->view_height = 0;
document->view_width = 0;
+ document->view_dpi = 0.0;
document->device_factors.x = 1.0;
document->device_factors.y = 1.0;
document->position_x = 0.0;
@@ -495,6 +497,15 @@ zathura_document_set_viewport_height(zathura_document_t* document, unsigned int
document->view_height = height;
}
+void
+zathura_document_set_viewport_dpi(zathura_document_t* document, double dpi)
+{
+ if (document == NULL) {
+ return;
+ }
+ document->view_dpi = dpi;
+}
+
void
zathura_document_get_viewport_size(zathura_document_t* document,
unsigned int *height, unsigned int* width)
@@ -504,6 +515,15 @@ zathura_document_get_viewport_size(zathura_document_t* document,
*width = document->view_width;
}
+double
+zathura_document_get_viewport_dpi(zathura_document_t* document)
+{
+ if (document == NULL) {
+ return 0.0;
+ }
+ return document->view_dpi;
+}
+
void
zathura_document_set_device_factors(zathura_document_t* document,
double x_factor, double y_factor)
diff --git a/zathura/document.h b/zathura/document.h
index a993411..d3b0b12 100644
--- a/zathura/document.h
+++ b/zathura/document.h
@@ -239,6 +239,15 @@ zathura_document_set_viewport_width(zathura_document_t* document, unsigned int w
void
zathura_document_set_viewport_height(zathura_document_t* document, unsigned int height);
+/**
+ * Sets the viewport DPI (value based on the physical resolution of the monitor).
+ *
+ * @param[in] document The document instance
+ * @param[in] height The viewport DPI
+ */
+void
+zathura_document_set_viewport_dpi(zathura_document_t* document, double dpi);
+
/**
* Return the size of the viewport in pixels.
*
@@ -249,6 +258,15 @@ void
zathura_document_get_viewport_size(zathura_document_t* document,
unsigned int *height, unsigned int* width);
+/**
+ * Return the size of the viewport in pixels.
+ *
+ * @param[in] document The document instance
+ * @return The viewport DPI (value based on the physical resolution of the monitor)
+ */
+double
+zathura_document_get_viewport_dpi(zathura_document_t* document);
+
/**
* Set the device scale factors (e.g. for HiDPI). These are generally integers
* and equal for x and y. These scaling factors are only used when rendering to
diff --git a/zathura/zathura.c b/zathura/zathura.c
index c134fcb..e4c5f45 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -18,6 +18,10 @@
#include
#include
+#ifdef GDK_WINDOWING_WAYLAND
+#include
+#endif
+
#ifdef G_OS_UNIX
#include
#include
@@ -134,6 +138,63 @@ create_directories(zathura_t* zathura)
}
}
+void
+zathura_update_view_dpi(zathura_t* zathura)
+{
+ if (zathura == NULL) {
+ return;
+ }
+
+ /* get view widget GdkMonitor */
+ GdkWindow* window = gtk_widget_get_window (zathura->ui.session->gtk.view); // NULL if not realized
+ if (window == NULL) {
+ return;
+ }
+ GdkDisplay* display = gtk_widget_get_display(zathura->ui.session->gtk.view);
+ if (display == NULL) {
+ return;
+ }
+ GdkMonitor* monitor = gdk_display_get_monitor_at_window(display, window);
+ if (monitor == NULL) {
+ return;
+ }
+
+ /* physical width of monitor */
+ int width_mm = gdk_monitor_get_width_mm(monitor);
+
+ /* size of monitor in pixels */
+ GdkRectangle monitor_geom;
+ gdk_monitor_get_geometry(monitor, &monitor_geom);
+
+ /* calculate dpi, knowing that 1 inch = 25.4 mm */
+ double dpi = 0.0;
+ if (width_mm == 0) {
+ girara_debug("cannot calculate DPI: monitor has zero width");
+ } else {
+ dpi = monitor_geom.width * 25.4 / width_mm;
+ }
+
+#ifdef GDK_WINDOWING_WAYLAND
+ /* work around apparend bug in GDK: on Wayland, monitor geometry doesn't
+ * return values in application pixels as documented, but in device pixels.
+ * */
+ if (GDK_IS_WAYLAND_DISPLAY(display))
+ {
+ girara_debug("on Wayland, correcting DPI for device scale factor");
+ /* not using the cached value for the scale factor here to avoid issues
+ * if this function is called before the cached value is updated */
+ int device_factor = gtk_widget_get_scale_factor(zathura->ui.session->gtk.view);
+ if (device_factor != 0) {
+ dpi /= device_factor;
+ }
+ }
+#endif
+
+ girara_debug("monitor width: %d mm, pixels: %d, dpi: %f", width_mm, monitor_geom.width, dpi);
+
+ zathura_document_set_viewport_dpi(zathura->document, dpi);
+}
+
static bool
init_ui(zathura_t* zathura)
{
@@ -962,6 +1023,8 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char*
const unsigned int view_height = (unsigned int)floor(gtk_adjustment_get_page_size(vadjustment));
zathura_document_set_viewport_height(zathura->document, view_height);
+ zathura_update_view_dpi(zathura);
+
/* get initial device scale */
int device_factor = gtk_widget_get_scale_factor(zathura->ui.session->gtk.view);
zathura_document_set_device_factors(zathura->document, device_factor, device_factor);
diff --git a/zathura/zathura.h b/zathura/zathura.h
index 84e0cb6..03785d0 100644
--- a/zathura/zathura.h
+++ b/zathura/zathura.h
@@ -287,6 +287,13 @@ void zathura_set_plugin_dir(zathura_t* zathura, const char* dir);
*/
void zathura_set_argv(zathura_t* zathura, char** argv);
+/**
+ * Calculate and store the monitor DPI for the view widget
+ *
+ * @param zathura The zathura session
+ */
+void zathura_update_view_dpi(zathura_t* zathura);
+
/**
* Opens a file
*
From fc5a344dc1b3704b95326b60b31fca4e58404157 Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Sun, 11 Feb 2018 15:05:42 +0100
Subject: [PATCH 046/126] Use signals to detect DPI change
---
zathura/callbacks.c | 39 +++++++++++++++++++++++++++++++++++++++
zathura/callbacks.h | 24 ++++++++++++++++++++++++
zathura/zathura.c | 6 ++++++
3 files changed, 69 insertions(+)
diff --git a/zathura/callbacks.c b/zathura/callbacks.c
index c7ba706..bd25819 100644
--- a/zathura/callbacks.c
+++ b/zathura/callbacks.c
@@ -216,6 +216,44 @@ cb_refresh_view(GtkWidget* GIRARA_UNUSED(view), gpointer data)
statusbar_page_number_update(zathura);
}
+void
+cb_monitors_changed(GdkScreen* screen, gpointer data)
+{
+ girara_debug("signal received");
+
+ zathura_t* zathura = data;
+ if (screen == NULL || zathura == NULL) {
+ return;
+ }
+
+ zathura_update_view_dpi(zathura);
+}
+
+void
+cb_widget_screen_changed(GtkWidget* widget, GdkScreen* UNUSED(previous_screen), gpointer data)
+{
+ girara_debug("signal received");
+
+ zathura_t* zathura = data;
+ if (widget == NULL || zathura == NULL) {
+ return;
+ }
+
+ if (gtk_widget_has_screen(widget)) {
+ GdkScreen* screen = gtk_widget_get_screen(widget);
+
+ /* disconnect signal on previous screen */
+ g_signal_handlers_disconnect_matched(screen, G_SIGNAL_MATCH_FUNC, 0, 0,
+ NULL, (gpointer) cb_monitors_changed, zathura);
+
+ /* connect to new screen */
+ g_signal_connect(G_OBJECT(screen),
+ "monitors-changed", G_CALLBACK(cb_monitors_changed), zathura);
+ }
+
+ zathura_update_view_dpi(zathura);
+}
+
void
cb_scale_factor(GObject* object, GParamSpec* UNUSED(pspec), gpointer data)
{
@@ -235,6 +273,7 @@ cb_scale_factor(GObject* object, GParamSpec* UNUSED(pspec), gpointer data)
fabs(new_factor - current.y) >= DBL_EPSILON) {
zathura_document_set_device_factors(zathura->document, new_factor, new_factor);
girara_debug("New device scale factor: %d", new_factor);
+ zathura_update_view_dpi(zathura);
render_all(zathura);
}
}
diff --git a/zathura/callbacks.h b/zathura/callbacks.h
index 95ee0fe..ab0210c 100644
--- a/zathura/callbacks.h
+++ b/zathura/callbacks.h
@@ -79,6 +79,30 @@ void cb_view_vadjustment_changed(GtkAdjustment *adjustment, gpointer data);
*/
void cb_refresh_view(GtkWidget* view, gpointer data);
+/**
+ * This function gets called when the monitors associated with the GdkScreen
+ * change.
+ *
+ * It udpates the stored value for the monitor DPI.
+ *
+ * @param screen The GDK screen
+ * @param gpointer The zathura instance
+ */
+void cb_monitors_changed(GdkScreen* screen, gpointer data);
+
+/**
+ * This function gets called when the screen associated with the view widget
+ * changes.
+ *
+ * It udpates updates the connection on the monitors-changed ignal and the
+ * stored value for the monitor DPI.
+ *
+ * @param widget The view widget
+ * @param previous_screen The widget's previous screen
+ * @param gpointer The zathura instance
+ */
+void cb_widget_screen_changed(GtkWidget* widget, GdkScreen* previous_screen, gpointer data);
+
/**
* This function gets called when the view widget scale factor changes (e.g.
* when moving from a regular to a HiDPI screen).
diff --git a/zathura/zathura.c b/zathura/zathura.c
index e4c5f45..1e7fc67 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -217,6 +217,9 @@ init_ui(zathura_t* zathura)
g_signal_connect(G_OBJECT(zathura->ui.session->gtk.view),
"notify::scale-factor", G_CALLBACK(cb_scale_factor), zathura);
+ g_signal_connect(G_OBJECT(zathura->ui.session->gtk.view),
+ "screen-changed", G_CALLBACK(cb_widget_screen_changed), zathura);
+
/* page view */
zathura->ui.page_widget = gtk_grid_new();
gtk_grid_set_row_homogeneous(GTK_GRID(zathura->ui.page_widget), TRUE);
@@ -1025,6 +1028,9 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char*
zathura_update_view_dpi(zathura);
+ /* call screen-changed callback to connect monitors-changed signal on initial screen */
+ cb_widget_screen_changed(zathura->ui.session->gtk.view, NULL, zathura);
+
/* get initial device scale */
int device_factor = gtk_widget_get_scale_factor(zathura->ui.session->gtk.view);
zathura_document_set_device_factors(zathura->document, device_factor, device_factor);
From 250547cabd9d1ecbd1699f341ee9f7a7396977d8 Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Sun, 11 Feb 2018 15:08:12 +0100
Subject: [PATCH 047/126] Use DPI to scale documents to physical size
---
zathura/adjustment.c | 8 ++++++++
zathura/render.c | 6 +++++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/zathura/adjustment.c b/zathura/adjustment.c
index 9a10da5..4ae7161 100644
--- a/zathura/adjustment.c
+++ b/zathura/adjustment.c
@@ -13,6 +13,14 @@ 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 monitor DPI information is available, use it to match 100% zoom to physical page size */
+ double dpi = zathura_document_get_viewport_dpi(document);
+ if (fabs(dpi) != DBL_EPSILON) {
+ /* real scale = 1 means: 1 point = 1 pixel, and there are 72 points in one inch */
+ scale *= dpi / 72.0;
+ }
+
if (rotate == true && zathura_document_get_rotation(document) % 180 != 0) {
*page_width = round(height * scale);
*page_height = round(width * scale);
diff --git a/zathura/render.c b/zathura/render.c
index 5953de0..e586f3d 100644
--- a/zathura/render.c
+++ b/zathura/render.c
@@ -740,7 +740,11 @@ render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* render
const double height = zathura_page_get_height(page);
const double width = zathura_page_get_width(page);
- /* page size in user pixels base on document zoom: 100% results in 1 pixel per point */
+ /* page size in user pixels based on document zoom: if DPI information is
+ * available, 100% results in 72 documents points per inch of screen (i.e.
+ * document size on screen matching the physical paper size). If DPI
+ * information is unavailable, the page size in pixels will be 1 pixel per
+ * document point. */
const double real_scale = page_calc_height_width(document, height, width,
&page_height, &page_width,
false);
From 9bfefaf905290877e070e9860959614f40225f31 Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Sun, 11 Feb 2018 14:48:04 +0100
Subject: [PATCH 048/126] Check GTK+ version for monitor methods
---
zathura/zathura.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/zathura/zathura.c b/zathura/zathura.c
index 1e7fc67..c73674d 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -154,6 +154,10 @@ zathura_update_view_dpi(zathura_t* zathura)
if (display == NULL) {
return;
}
+
+ double dpi = 0.0;
+
+#if GTK_CHECK_VERSION(3,22,0)
GdkMonitor* monitor = gdk_display_get_monitor_at_window(display, window);
if (monitor == NULL) {
return;
@@ -167,12 +171,12 @@ zathura_update_view_dpi(zathura_t* zathura)
gdk_monitor_get_geometry(monitor, &monitor_geom);
/* calculate dpi, knowing that 1 inch = 25.4 mm */
- double dpi = 0.0;
if (width_mm == 0) {
girara_debug("cannot calculate DPI: monitor has zero width");
} else {
dpi = monitor_geom.width * 25.4 / width_mm;
}
+#endif
#ifdef GDK_WINDOWING_WAYLAND
/* work around apparend bug in GDK: on Wayland, monitor geometry doesn't
From d625c0d9bde6a1da664ff14e203f926240195d8d Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Mon, 12 Feb 2018 10:31:13 +0100
Subject: [PATCH 049/126] Distinguish zoom and scale, always apply DPI
correction on scale
Replace scale with zoom in most cases. Scale means pixels per point, as
before. The zoom is the screen-size / document-size ratio: a zoom of 1
means that the document should have the same size on screen as on paper.
This fixes many issues with the previous DPI changes, e.g. with link and
search rectangles.
---
zathura/adjustment.c | 7 -------
zathura/database-plain.c | 6 +++---
zathura/database-sqlite.c | 10 +++++-----
zathura/database.h | 2 +-
zathura/document.c | 40 ++++++++++++++++++++++++++++-----------
zathura/document.h | 17 +++++++++++++----
zathura/links.c | 6 +++---
zathura/marks.c | 12 ++++++------
zathura/page-widget.c | 12 ++++++------
zathura/shortcuts.c | 26 ++++++++++++-------------
zathura/types.h | 2 +-
zathura/utils.c | 10 +++++-----
zathura/utils.h | 10 +++++-----
zathura/zathura.c | 32 +++++++++++++++----------------
14 files changed, 106 insertions(+), 86 deletions(-)
diff --git a/zathura/adjustment.c b/zathura/adjustment.c
index 4ae7161..b4d70a7 100644
--- a/zathura/adjustment.c
+++ b/zathura/adjustment.c
@@ -14,13 +14,6 @@ page_calc_height_width(zathura_document_t* document, double height,
double scale = zathura_document_get_scale(document);
- /* If monitor DPI information is available, use it to match 100% zoom to physical page size */
- double dpi = zathura_document_get_viewport_dpi(document);
- if (fabs(dpi) != DBL_EPSILON) {
- /* real scale = 1 means: 1 point = 1 pixel, and there are 72 points in one inch */
- scale *= dpi / 72.0;
- }
-
if (rotate == true && zathura_document_get_rotation(document) % 180 != 0) {
*page_width = round(height * scale);
*page_height = round(width * scale);
diff --git a/zathura/database-plain.c b/zathura/database-plain.c
index 17c8438..254a626 100644
--- a/zathura/database-plain.c
+++ b/zathura/database-plain.c
@@ -24,7 +24,7 @@
#define KEY_PAGE "page"
#define KEY_OFFSET "offset"
-#define KEY_SCALE "scale"
+#define KEY_ZOOM "zoom"
#define KEY_ROTATE "rotate"
#define KEY_PAGES_PER_ROW "pages-per-row"
#define KEY_FIRST_PAGE_COLUMN "first-page-column"
@@ -550,7 +550,7 @@ plain_set_fileinfo(zathura_database_t* db, const char* file, zathura_fileinfo_t*
g_key_file_set_integer(priv->history, name, KEY_PAGE, file_info->current_page);
g_key_file_set_integer(priv->history, name, KEY_OFFSET, file_info->page_offset);
- g_key_file_set_double (priv->history, name, KEY_SCALE, file_info->scale);
+ g_key_file_set_double (priv->history, name, KEY_ZOOM, file_info->zoom);
g_key_file_set_integer(priv->history, name, KEY_ROTATE, file_info->rotation);
g_key_file_set_integer(priv->history, name, KEY_PAGES_PER_ROW, file_info->pages_per_row);
g_key_file_set_string(priv->history, name, KEY_FIRST_PAGE_COLUMN, file_info->first_page_column_list);
@@ -586,7 +586,7 @@ plain_get_fileinfo(zathura_database_t* db, const char* file, zathura_fileinfo_t*
file_info->current_page = g_key_file_get_integer(priv->history, name, KEY_PAGE, NULL);
file_info->page_offset = g_key_file_get_integer(priv->history, name, KEY_OFFSET, NULL);
- file_info->scale = g_key_file_get_double (priv->history, name, KEY_SCALE, NULL);
+ file_info->zoom = g_key_file_get_double (priv->history, name, KEY_ZOOM, NULL);
file_info->rotation = g_key_file_get_integer(priv->history, name, KEY_ROTATE, NULL);
/* the following flags got introduced at a later point */
diff --git a/zathura/database-sqlite.c b/zathura/database-sqlite.c
index 4d1b146..c75a575 100644
--- a/zathura/database-sqlite.c
+++ b/zathura/database-sqlite.c
@@ -147,7 +147,7 @@ sqlite_db_init(ZathuraSQLDatabase* db, const char* path)
"file TEXT PRIMARY KEY,"
"page INTEGER,"
"offset INTEGER,"
- "scale FLOAT,"
+ "zoom FLOAT,"
"rotation INTEGER,"
"pages_per_row INTEGER,"
"first_page_column TEXT,"
@@ -640,7 +640,7 @@ sqlite_set_fileinfo(zathura_database_t* db, const char* file,
zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db);
static const char SQL_FILEINFO_SET[] =
- "REPLACE INTO fileinfo (file, page, offset, scale, rotation, pages_per_row, first_page_column, position_x, position_y, time) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, DATETIME('now'));";
+ "REPLACE INTO fileinfo (file, page, offset, zoom, rotation, pages_per_row, first_page_column, position_x, position_y, time) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, DATETIME('now'));";
sqlite3_stmt* stmt = prepare_statement(priv->session, SQL_FILEINFO_SET);
if (stmt == NULL) {
@@ -650,7 +650,7 @@ sqlite_set_fileinfo(zathura_database_t* db, const char* file,
if (sqlite3_bind_text(stmt, 1, file, -1, NULL) != SQLITE_OK ||
sqlite3_bind_int(stmt, 2, file_info->current_page) != SQLITE_OK ||
sqlite3_bind_int(stmt, 3, file_info->page_offset) != SQLITE_OK ||
- sqlite3_bind_double(stmt, 4, file_info->scale) != SQLITE_OK ||
+ sqlite3_bind_double(stmt, 4, file_info->zoom) != SQLITE_OK ||
sqlite3_bind_int(stmt, 5, file_info->rotation) != SQLITE_OK ||
sqlite3_bind_int(stmt, 6, file_info->pages_per_row) != SQLITE_OK ||
sqlite3_bind_text(stmt, 7, file_info->first_page_column_list, -1, NULL)
@@ -679,7 +679,7 @@ sqlite_get_fileinfo(zathura_database_t* db, const char* file,
zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db);
static const char SQL_FILEINFO_GET[] =
- "SELECT page, offset, scale, rotation, pages_per_row, first_page_column, position_x, position_y FROM fileinfo WHERE file = ?;";
+ "SELECT page, offset, zoom, rotation, pages_per_row, first_page_column, position_x, position_y FROM fileinfo WHERE file = ?;";
sqlite3_stmt* stmt = prepare_statement(priv->session, SQL_FILEINFO_GET);
if (stmt == NULL) {
@@ -700,7 +700,7 @@ sqlite_get_fileinfo(zathura_database_t* db, const char* file,
file_info->current_page = sqlite3_column_int(stmt, 0);
file_info->page_offset = sqlite3_column_int(stmt, 1);
- file_info->scale = sqlite3_column_double(stmt, 2);
+ file_info->zoom = sqlite3_column_double(stmt, 2);
file_info->rotation = sqlite3_column_int(stmt, 3);
file_info->pages_per_row = sqlite3_column_int(stmt, 4);
file_info->first_page_column_list = g_strdup((const char*) sqlite3_column_text(stmt, 5));
diff --git a/zathura/database.h b/zathura/database.h
index 7c76407..1211a3d 100644
--- a/zathura/database.h
+++ b/zathura/database.h
@@ -12,7 +12,7 @@
typedef struct zathura_fileinfo_s {
unsigned int current_page;
unsigned int page_offset;
- double scale;
+ double zoom;
unsigned int rotation;
unsigned int pages_per_row;
char* first_page_column_list;
diff --git a/zathura/document.c b/zathura/document.c
index d998e0f..7eca627 100644
--- a/zathura/document.c
+++ b/zathura/document.c
@@ -28,7 +28,7 @@ struct zathura_document_s {
const char* password; /**< Password of the document */
unsigned int current_page_number; /**< Current page number */
unsigned int number_of_pages; /**< Number of pages */
- double scale; /**< Scale value */
+ double zoom; /**< Zoom value */
unsigned int rotate; /**< Rotation */
void* data; /**< Custom data */
zathura_adjust_mode_t adjust_mode; /**< Adjust mode (best-fit, width) */
@@ -128,7 +128,7 @@ zathura_document_open(zathura_t* zathura, const char* path, const char* uri,
g_object_unref(gf);
}
document->password = password;
- document->scale = 1.0;
+ document->zoom = 1.0;
document->plugin = plugin;
document->adjust_mode = ZATHURA_ADJUST_NONE;
document->cell_width = 0.0;
@@ -390,6 +390,26 @@ zathura_document_set_position_y(zathura_document_t* document, double position_y)
document->position_y = position_y;
}
+double
+zathura_document_get_zoom(zathura_document_t* document)
+{
+ if (document == NULL) {
+ return 0;
+ }
+
+ return document->zoom;
+}
+
+void
+zathura_document_set_zoom(zathura_document_t* document, double zoom)
+{
+ if (document == NULL) {
+ return;
+ }
+
+ document->zoom = zoom;
+}
+
double
zathura_document_get_scale(zathura_document_t* document)
{
@@ -397,17 +417,15 @@ zathura_document_get_scale(zathura_document_t* document)
return 0;
}
- return document->scale;
-}
-
-void
-zathura_document_set_scale(zathura_document_t* document, double scale)
-{
- if (document == NULL) {
- return;
+ /* If monitor DPI information is available, use it to match 100% zoom to
+ * physical page size */
+ if (document->view_dpi > DBL_EPSILON) {
+ /* scale 1 means: 1 point = 1 pixel, and there are 72 points in one inch */
+ return document->zoom * document->view_dpi / 72.0;
}
- document->scale = scale;
+ /* No DPI information -> scale == zoom */
+ return document->zoom;
}
unsigned int
diff --git a/zathura/document.h b/zathura/document.h
index d3b0b12..629083d 100644
--- a/zathura/document.h
+++ b/zathura/document.h
@@ -142,7 +142,16 @@ void zathura_document_set_position_x(zathura_document_t* document, double positi
void zathura_document_set_position_y(zathura_document_t* document, double position_y);
/**
- * Returns the current scale value of the document
+ * Returns the current zoom value of the document
+ *
+ * @param document The document
+ * @return The current zoom value
+ */
+double zathura_document_get_zoom(zathura_document_t* document);
+
+/**
+ * Returns the current scale value of the document (based on zoom and screen
+ * DPI)
*
* @param document The document
* @return The current scale value
@@ -150,12 +159,12 @@ void zathura_document_set_position_y(zathura_document_t* document, double positi
double zathura_document_get_scale(zathura_document_t* document);
/**
- * Sets the new scale value of the document
+ * Sets the new zoom value of the document
*
* @param document The document
- * @param scale The new scale value
+ * @param zoom The new zoom value
*/
-void zathura_document_set_scale(zathura_document_t* document, double scale);
+void zathura_document_set_zoom(zathura_document_t* document, double zoom);
/**
* Returns the rotation value of zathura (0..360)
diff --git a/zathura/links.c b/zathura/links.c
index 47030e2..293691c 100644
--- a/zathura/links.c
+++ b/zathura/links.c
@@ -134,9 +134,9 @@ zathura_link_evaluate(zathura_t* zathura, zathura_link_t* link)
switch (link->type) {
case ZATHURA_LINK_GOTO_DEST:
if (link->target.destination_type != ZATHURA_LINK_DESTINATION_UNKNOWN) {
- if (link->target.scale >= DBL_EPSILON && link_zoom) {
- zathura_document_set_scale(zathura->document,
- zathura_correct_scale_value(zathura->ui.session, link->target.scale));
+ if (link->target.zoom >= DBL_EPSILON && link_zoom) {
+ zathura_document_set_zoom(zathura->document,
+ zathura_correct_zoom_value(zathura->ui.session, link->target.zoom));
render_all(zathura);
}
diff --git a/zathura/marks.c b/zathura/marks.c
index 0433c7f..12eee4f 100644
--- a/zathura/marks.c
+++ b/zathura/marks.c
@@ -24,7 +24,7 @@ struct zathura_mark_s {
double position_x; /**> Horizontal adjustment */
double position_y; /**> Vertical adjustment */
unsigned int page; /**> Page number */
- double scale; /**> Zoom level */
+ double zoom; /**> Zoom level */
};
bool
@@ -202,7 +202,7 @@ mark_add(zathura_t* zathura, int key)
double position_x = zathura_document_get_position_x(zathura->document);
double position_y = zathura_document_get_position_y(zathura->document);
- double scale = zathura_document_get_scale(zathura->document);
+ double zoom = zathura_document_get_zoom(zathura->document);
/* search for existing mark */
GIRARA_LIST_FOREACH_BODY_WITH_ITER(zathura->global.marks, zathura_mark_t*, iter, mark,
@@ -210,7 +210,7 @@ mark_add(zathura_t* zathura, int key)
mark->page = page_id;
mark->position_x = position_x;
mark->position_y = position_y;
- mark->scale = scale;
+ mark->zoom = zoom;
girara_list_iterator_free(iter);
return;
}
@@ -226,7 +226,7 @@ mark_add(zathura_t* zathura, int key)
mark->page = page_id;
mark->position_x = position_x;
mark->position_y = position_y;
- mark->scale = scale;
+ mark->zoom = zoom;
girara_list_append(zathura->global.marks, mark);
}
@@ -241,8 +241,8 @@ mark_evaluate(zathura_t* zathura, int key)
/* search for existing mark */
GIRARA_LIST_FOREACH_BODY(zathura->global.marks, zathura_mark_t*, mark,
if (mark != NULL && mark->key == key) {
- zathura_document_set_scale(zathura->document,
- zathura_correct_scale_value(zathura->ui.session, mark->scale));
+ zathura_document_set_zoom(zathura->document,
+ zathura_correct_zoom_value(zathura->ui.session, mark->zoom));
render_all(zathura);
zathura_jumplist_add(zathura);
diff --git a/zathura/page-widget.c b/zathura/page-widget.c
index b933d4a..5c1fc4b 100644
--- a/zathura/page-widget.c
+++ b/zathura/page-widget.c
@@ -690,9 +690,9 @@ zathura_page_widget_redraw_canvas(ZathuraPage* pageview)
}
/* smaller than max to be replaced by actual renders */
-#define THUMBNAIL_INITIAL_SCALE 0.5
+#define THUMBNAIL_INITIAL_ZOOM 0.5
/* small enough to make bilinear downscaling fast */
-#define THUMBNAIL_MAX_SCALE 0.5
+#define THUMBNAIL_MAX_ZOOM 0.5
static bool
surface_small_enough(cairo_surface_t* surface, size_t max_size, cairo_surface_t* old)
@@ -712,7 +712,7 @@ surface_small_enough(cairo_surface_t* surface, size_t max_size, cairo_surface_t*
const unsigned int width_old = cairo_image_surface_get_width(old);
const unsigned int height_old = cairo_image_surface_get_height(old);
const size_t old_size = width_old * height_old;
- if (new_size < old_size && new_size >= old_size * THUMBNAIL_MAX_SCALE * THUMBNAIL_MAX_SCALE) {
+ if (new_size < old_size && new_size >= old_size * THUMBNAIL_MAX_ZOOM * THUMBNAIL_MAX_ZOOM) {
return false;
}
}
@@ -725,9 +725,9 @@ draw_thumbnail_image(cairo_surface_t* surface, size_t max_size)
{
unsigned int width = cairo_image_surface_get_width(surface);
unsigned int height = cairo_image_surface_get_height(surface);
- double scale = sqrt((double)max_size / (width * height)) * THUMBNAIL_INITIAL_SCALE;
- if (scale > THUMBNAIL_MAX_SCALE) {
- scale = THUMBNAIL_MAX_SCALE;
+ double scale = sqrt((double)max_size / (width * height)) * THUMBNAIL_INITIAL_ZOOM;
+ if (scale > THUMBNAIL_MAX_ZOOM) {
+ scale = THUMBNAIL_MAX_ZOOM;
}
width = width * scale;
height = height * scale;
diff --git a/zathura/shortcuts.c b/zathura/shortcuts.c
index ae3a469..58e4fcb 100644
--- a/zathura/shortcuts.c
+++ b/zathura/shortcuts.c
@@ -1304,8 +1304,8 @@ sc_toggle_presentation(girara_session_t* session, girara_argument_t*
/* set full screen */
gtk_window_unfullscreen(GTK_WINDOW(session->gtk.window));
- /* reset scale */
- zathura_document_set_scale(zathura->document, zathura->shortcut.toggle_presentation_mode.zoom);
+ /* reset zoom */
+ zathura_document_set_zoom(zathura->document, zathura->shortcut.toggle_presentation_mode.zoom);
render_all(zathura);
refresh_view(zathura);
@@ -1326,7 +1326,7 @@ sc_toggle_presentation(girara_session_t* session, girara_argument_t*
girara_setting_set(session, "pages-per-row", &int_value);
/* back up zoom */
- zathura->shortcut.toggle_presentation_mode.zoom = zathura_document_get_scale(zathura->document);
+ zathura->shortcut.toggle_presentation_mode.zoom = zathura_document_get_zoom(zathura->document);
/* adjust window */
girara_argument_t argument = { ZATHURA_ADJUST_BESTFIT, NULL };
@@ -1379,37 +1379,37 @@ sc_zoom(girara_session_t* session, girara_argument_t* argument, girara_event_t*
const int nt = (t == 0) ? 1 : t;
const double zoom_step = 1.0 + value / 100.0 * nt;
- const double old_zoom = zathura_document_get_scale(zathura->document);
+ const double old_zoom = zathura_document_get_zoom(zathura->document);
/* 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);
+ zathura_document_set_zoom(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);
+ zathura_document_set_zoom(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);
+ zathura_document_set_zoom(zathura->document, 1.0);
} else {
girara_debug("Setting zoom to %f.", t / 100.0);
- zathura_document_set_scale(zathura->document, t / 100.0);
+ zathura_document_set_zoom(zathura->document, t / 100.0);
}
} else if (argument->n == ZOOM_SMOOTH) {
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);
+ zathura_document_set_zoom(zathura->document, old_zoom + zoom_step * dy);
} else {
girara_debug("Setting zoom to 1.");
- zathura_document_set_scale(zathura->document, 1.0);
+ zathura_document_set_zoom(zathura->document, 1.0);
}
/* zoom limitations */
- const double scale = zathura_document_get_scale(zathura->document);
- zathura_document_set_scale(zathura->document, zathura_correct_scale_value(session, scale));
+ const double zoom = zathura_document_get_zoom(zathura->document);
+ zathura_document_set_zoom(zathura->document, zathura_correct_zoom_value(session, zoom));
- const double new_zoom = zathura_document_get_scale(zathura->document);
+ const double new_zoom = zathura_document_get_zoom(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;
diff --git a/zathura/types.h b/zathura/types.h
index 0cf1f9b..bf9b2b1 100644
--- a/zathura/types.h
+++ b/zathura/types.h
@@ -179,7 +179,7 @@ typedef struct zathura_link_target_s
double right; /**< Right coordinate */
double top; /**< Top coordinate */
double bottom; /**< Bottom coordinate */
- double scale; /**< Scale */
+ double zoom; /**< Scale */
} zathura_link_target_t;
/**
diff --git a/zathura/utils.c b/zathura/utils.c
index 9aeaff3..f9b1e57 100644
--- a/zathura/utils.c
+++ b/zathura/utils.c
@@ -21,10 +21,10 @@
#include "content-type.h"
double
-zathura_correct_scale_value(girara_session_t* session, const double scale)
+zathura_correct_zoom_value(girara_session_t* session, const double zoom)
{
if (session == NULL) {
- return scale;
+ return zoom;
}
/* zoom limitations */
@@ -36,12 +36,12 @@ zathura_correct_scale_value(girara_session_t* session, const double scale)
const double zoom_min = zoom_min_int * 0.01;
const double zoom_max = zoom_max_int * 0.01;
- if (scale < zoom_min) {
+ if (zoom < zoom_min) {
return zoom_min;
- } else if (scale > zoom_max) {
+ } else if (zoom > zoom_max) {
return zoom_max;
} else {
- return scale;
+ return zoom;
}
}
diff --git a/zathura/utils.h b/zathura/utils.h
index 135eb2e..088b214 100644
--- a/zathura/utils.h
+++ b/zathura/utils.h
@@ -96,16 +96,16 @@ char* zathura_get_version_string(zathura_t* zathura, bool markup);
GdkAtom* get_selection(zathura_t* zathura);
/**
- * Returns the valid scale value which needs to lie in the interval of zoom_min
+ * Returns the valid zoom value which needs to lie in the interval of zoom_min
* and zoom_max specified in the girara session
*
* @param[in] session The session
- * @param[in] scale The proposed scale value
+ * @param[in] zoom The proposed zoom value
*
- * @return The corrected scale value
+ * @return The corrected zoom value
*/
-double zathura_correct_scale_value(girara_session_t* session, const double
- scale);
+double zathura_correct_zoom_value(girara_session_t* session, const double
+ zoom);
/**
diff --git a/zathura/zathura.c b/zathura/zathura.c
index c73674d..8439714 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -873,7 +873,7 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char*
zathura_fileinfo_t file_info = {
.current_page = 0,
.page_offset = 0,
- .scale = 1,
+ .zoom = 1,
.rotation = 0,
.pages_per_row = 0,
.first_page_column_list = NULL,
@@ -888,12 +888,12 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char*
/* set page offset */
zathura_document_set_page_offset(document, file_info.page_offset);
- /* check for valid scale value */
- if (file_info.scale <= DBL_EPSILON) {
- file_info.scale = 1;
+ /* check for valid zoom value */
+ if (file_info.zoom <= DBL_EPSILON) {
+ file_info.zoom = 1;
}
- zathura_document_set_scale(document,
- zathura_correct_scale_value(zathura->ui.session, file_info.scale));
+ zathura_document_set_zoom(document,
+ zathura_correct_zoom_value(zathura->ui.session, file_info.zoom));
/* check current page number */
/* if it wasn't specified on the command-line, get it from file_info */
@@ -1264,7 +1264,7 @@ save_fileinfo_to_db(zathura_t* zathura)
zathura_fileinfo_t file_info = {
.current_page = zathura_document_get_current_page_number(zathura->document),
.page_offset = zathura_document_get_page_offset(zathura->document),
- .scale = zathura_document_get_scale(zathura->document),
+ .zoom = zathura_document_get_zoom(zathura->document),
.rotation = zathura_document_get_rotation(zathura->document),
.pages_per_row = 1,
.first_page_column_list = "1:2",
@@ -1558,31 +1558,31 @@ adjust_view(zathura_t* zathura)
double page_ratio = (double)cell_height / (double)document_width;
double view_ratio = (double)view_height / (double)view_width;
- double scale = zathura_document_get_scale(zathura->document);
- double newscale = scale;
+ double zoom = zathura_document_get_zoom(zathura->document);
+ double newzoom = zoom;
if (adjust_mode == ZATHURA_ADJUST_WIDTH ||
(adjust_mode == ZATHURA_ADJUST_BESTFIT && page_ratio < view_ratio)) {
- newscale *= (double)view_width / (double)document_width;
+ newzoom *= (double)view_width / (double)document_width;
} else if (adjust_mode == ZATHURA_ADJUST_BESTFIT) {
- newscale *= (double)view_height / (double)cell_height;
+ newzoom *= (double)view_height / (double)cell_height;
} else {
goto error_ret;
}
- /* save new scale and recompute cell size */
- zathura_document_set_scale(zathura->document, newscale);
+ /* save new zoom and recompute cell size */
+ zathura_document_set_zoom(zathura->document, newzoom);
unsigned int new_cell_height = 0, new_cell_width = 0;
zathura_document_get_cell_size(zathura->document, &new_cell_height, &new_cell_width);
- /* if the change in scale changes page cell dimensions by at least one pixel, render */
+ /* if the change in zoom changes page cell dimensions by at least one pixel, render */
if (abs((int)new_cell_width - (int)cell_width) > 1 ||
abs((int)new_cell_height - (int)cell_height) > 1) {
render_all(zathura);
refresh_view(zathura);
} else {
- /* otherwise set the old scale and leave */
- zathura_document_set_scale(zathura->document, scale);
+ /* otherwise set the old zoom and leave */
+ zathura_document_set_zoom(zathura->document, zoom);
}
error_ret:
From b4eca29d3ac2956016032d02e2cc8933171f844d Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Mon, 12 Feb 2018 10:55:05 +0100
Subject: [PATCH 050/126] Replace monitor "dpi" with "ppi"
This should avoid some confusion with the font DPI
---
zathura/callbacks.c | 6 +++---
zathura/callbacks.h | 4 ++--
zathura/document.c | 22 +++++++++++-----------
zathura/document.h | 28 +++++++++++++++-------------
zathura/render.c | 6 +++---
zathura/zathura.c | 20 ++++++++++----------
zathura/zathura.h | 4 ++--
7 files changed, 46 insertions(+), 44 deletions(-)
diff --git a/zathura/callbacks.c b/zathura/callbacks.c
index bd25819..04106c1 100644
--- a/zathura/callbacks.c
+++ b/zathura/callbacks.c
@@ -226,7 +226,7 @@ cb_monitors_changed(GdkScreen* screen, gpointer data)
return;
}
- zathura_update_view_dpi(zathura);
+ zathura_update_view_ppi(zathura);
}
void
@@ -251,7 +251,7 @@ cb_widget_screen_changed(GtkWidget* widget, GdkScreen* UNUSED(previous_screen),
"monitors-changed", G_CALLBACK(cb_monitors_changed), zathura);
}
- zathura_update_view_dpi(zathura);
+ zathura_update_view_ppi(zathura);
}
void
@@ -273,7 +273,7 @@ cb_scale_factor(GObject* object, GParamSpec* UNUSED(pspec), gpointer data)
fabs(new_factor - current.y) >= DBL_EPSILON) {
zathura_document_set_device_factors(zathura->document, new_factor, new_factor);
girara_debug("New device scale factor: %d", new_factor);
- zathura_update_view_dpi(zathura);
+ zathura_update_view_ppi(zathura);
render_all(zathura);
}
}
diff --git a/zathura/callbacks.h b/zathura/callbacks.h
index ab0210c..ba49f9d 100644
--- a/zathura/callbacks.h
+++ b/zathura/callbacks.h
@@ -83,7 +83,7 @@ void cb_refresh_view(GtkWidget* view, gpointer data);
* This function gets called when the monitors associated with the GdkScreen
* change.
*
- * It udpates the stored value for the monitor DPI.
+ * It udpates the stored value for the monitor PPI.
*
* @param screen The GDK screen
* @param gpointer The zathura instance
@@ -95,7 +95,7 @@ void cb_monitors_changed(GdkScreen* screen, gpointer data);
* changes.
*
* It udpates updates the connection on the monitors-changed ignal and the
- * stored value for the monitor DPI.
+ * stored value for the monitor PPI.
*
* @param widget The view widget
* @param previous_screen The widget's previous screen
diff --git a/zathura/document.c b/zathura/document.c
index 7eca627..d315273 100644
--- a/zathura/document.c
+++ b/zathura/document.c
@@ -37,7 +37,7 @@ struct zathura_document_s {
double cell_height; /**< height of a page cell in the document (not transformed by scale and rotation) */
unsigned int view_width; /**< width of current viewport */
unsigned int view_height; /**< height of current viewport */
- double view_dpi; /**cell_height = 0.0;
document->view_height = 0;
document->view_width = 0;
- document->view_dpi = 0.0;
+ document->view_ppi = 0.0;
document->device_factors.x = 1.0;
document->device_factors.y = 1.0;
document->position_x = 0.0;
@@ -417,14 +417,14 @@ zathura_document_get_scale(zathura_document_t* document)
return 0;
}
- /* If monitor DPI information is available, use it to match 100% zoom to
+ /* If monitor PPI information is available, use it to match 100% zoom to
* physical page size */
- if (document->view_dpi > DBL_EPSILON) {
- /* scale 1 means: 1 point = 1 pixel, and there are 72 points in one inch */
- return document->zoom * document->view_dpi / 72.0;
+ if (document->view_ppi > DBL_EPSILON) {
+ /* scale = pixels per point, and there are 72 points in one inch */
+ return document->zoom * document->view_ppi / 72.0;
}
- /* No DPI information -> scale == zoom */
+ /* No PPI information -> scale == zoom */
return document->zoom;
}
@@ -516,12 +516,12 @@ zathura_document_set_viewport_height(zathura_document_t* document, unsigned int
}
void
-zathura_document_set_viewport_dpi(zathura_document_t* document, double dpi)
+zathura_document_set_viewport_ppi(zathura_document_t* document, double ppi)
{
if (document == NULL) {
return;
}
- document->view_dpi = dpi;
+ document->view_ppi = ppi;
}
void
@@ -534,12 +534,12 @@ zathura_document_get_viewport_size(zathura_document_t* document,
}
double
-zathura_document_get_viewport_dpi(zathura_document_t* document)
+zathura_document_get_viewport_ppi(zathura_document_t* document)
{
if (document == NULL) {
return 0.0;
}
- return document->view_dpi;
+ return document->view_ppi;
}
void
diff --git a/zathura/document.h b/zathura/document.h
index 629083d..a4a66dd 100644
--- a/zathura/document.h
+++ b/zathura/document.h
@@ -151,7 +151,7 @@ double zathura_document_get_zoom(zathura_document_t* document);
/**
* Returns the current scale value of the document (based on zoom and screen
- * DPI)
+ * PPI)
*
* @param document The document
* @return The current scale value
@@ -248,15 +248,6 @@ zathura_document_set_viewport_width(zathura_document_t* document, unsigned int w
void
zathura_document_set_viewport_height(zathura_document_t* document, unsigned int height);
-/**
- * Sets the viewport DPI (value based on the physical resolution of the monitor).
- *
- * @param[in] document The document instance
- * @param[in] height The viewport DPI
- */
-void
-zathura_document_set_viewport_dpi(zathura_document_t* document, double dpi);
-
/**
* Return the size of the viewport in pixels.
*
@@ -268,13 +259,24 @@ zathura_document_get_viewport_size(zathura_document_t* document,
unsigned int *height, unsigned int* width);
/**
- * Return the size of the viewport in pixels.
+ Sets the viewport PPI (pixels per inch: the resolution of the monitor, after
+ scaling with the device factor).
*
* @param[in] document The document instance
- * @return The viewport DPI (value based on the physical resolution of the monitor)
+ * @param[in] height The viewport PPI
+ */
+void
+zathura_document_set_viewport_ppi(zathura_document_t* document, double ppi);
+
+/**
+ * Return the viewport PPI (pixels per inch: the resolution of the monitor,
+ * after scaling with the device factor).
+ *
+ * @param[in] document The document instance
+ * @return The viewport PPI
*/
double
-zathura_document_get_viewport_dpi(zathura_document_t* document);
+zathura_document_get_viewport_ppi(zathura_document_t* document);
/**
* Set the device scale factors (e.g. for HiDPI). These are generally integers
diff --git a/zathura/render.c b/zathura/render.c
index e586f3d..a250efc 100644
--- a/zathura/render.c
+++ b/zathura/render.c
@@ -740,9 +740,9 @@ render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* render
const double height = zathura_page_get_height(page);
const double width = zathura_page_get_width(page);
- /* page size in user pixels based on document zoom: if DPI information is
- * available, 100% results in 72 documents points per inch of screen (i.e.
- * document size on screen matching the physical paper size). If DPI
+ /* page size in user pixels based on document zoom: if PPI information is
+ * available, 100% zoom results in 72 documents points per inch of screen
+ * (i.e. document size on screen matching the physical paper size). If PPI
* information is unavailable, the page size in pixels will be 1 pixel per
* document point. */
const double real_scale = page_calc_height_width(document, height, width,
diff --git a/zathura/zathura.c b/zathura/zathura.c
index 8439714..d24a95d 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -139,7 +139,7 @@ create_directories(zathura_t* zathura)
}
void
-zathura_update_view_dpi(zathura_t* zathura)
+zathura_update_view_ppi(zathura_t* zathura)
{
if (zathura == NULL) {
return;
@@ -155,7 +155,7 @@ zathura_update_view_dpi(zathura_t* zathura)
return;
}
- double dpi = 0.0;
+ double ppi = 0.0;
#if GTK_CHECK_VERSION(3,22,0)
GdkMonitor* monitor = gdk_display_get_monitor_at_window(display, window);
@@ -170,11 +170,11 @@ zathura_update_view_dpi(zathura_t* zathura)
GdkRectangle monitor_geom;
gdk_monitor_get_geometry(monitor, &monitor_geom);
- /* calculate dpi, knowing that 1 inch = 25.4 mm */
+ /* calculate ppi, knowing that 1 inch = 25.4 mm */
if (width_mm == 0) {
- girara_debug("cannot calculate DPI: monitor has zero width");
+ girara_debug("cannot calculate PPI: monitor has zero width");
} else {
- dpi = monitor_geom.width * 25.4 / width_mm;
+ ppi = monitor_geom.width * 25.4 / width_mm;
}
#endif
@@ -184,19 +184,19 @@ zathura_update_view_dpi(zathura_t* zathura)
* */
if (GDK_IS_WAYLAND_DISPLAY(display))
{
- girara_debug("on Wayland, correcting DPI for device scale factor");
+ girara_debug("on Wayland, correcting PPI for device scale factor");
/* not using the cached value for the scale factor here to avoid issues
* if this function is called before the cached value is updated */
int device_factor = gtk_widget_get_scale_factor(zathura->ui.session->gtk.view);
if (device_factor != 0) {
- dpi /= device_factor;
+ ppi /= device_factor;
}
}
#endif
- girara_debug("monitor width: %d mm, pixels: %d, dpi: %f", width_mm, monitor_geom.width, dpi);
+ girara_debug("monitor width: %d mm, pixels: %d, ppi: %f", width_mm, monitor_geom.width, ppi);
- zathura_document_set_viewport_dpi(zathura->document, dpi);
+ zathura_document_set_viewport_ppi(zathura->document, ppi);
}
static bool
@@ -1030,7 +1030,7 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char*
const unsigned int view_height = (unsigned int)floor(gtk_adjustment_get_page_size(vadjustment));
zathura_document_set_viewport_height(zathura->document, view_height);
- zathura_update_view_dpi(zathura);
+ zathura_update_view_ppi(zathura);
/* call screen-changed callback to connect monitors-changed signal on initial screen */
cb_widget_screen_changed(zathura->ui.session->gtk.view, NULL, zathura);
diff --git a/zathura/zathura.h b/zathura/zathura.h
index 03785d0..e05be81 100644
--- a/zathura/zathura.h
+++ b/zathura/zathura.h
@@ -288,11 +288,11 @@ void zathura_set_plugin_dir(zathura_t* zathura, const char* dir);
void zathura_set_argv(zathura_t* zathura, char** argv);
/**
- * Calculate and store the monitor DPI for the view widget
+ * Calculate and store the monitor PPI for the view widget
*
* @param zathura The zathura session
*/
-void zathura_update_view_dpi(zathura_t* zathura);
+void zathura_update_view_ppi(zathura_t* zathura);
/**
* Opens a file
From 55055758facab7d5abff680ffc78d0a39bae003c Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Mon, 12 Feb 2018 11:05:23 +0100
Subject: [PATCH 051/126] Assume PPI=100 (typical value) if info unavailable
---
zathura/document.c | 13 ++++++-------
zathura/document.h | 2 +-
zathura/render.c | 6 ++----
3 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/zathura/document.c b/zathura/document.c
index d315273..7023d2d 100644
--- a/zathura/document.c
+++ b/zathura/document.c
@@ -417,15 +417,14 @@ zathura_document_get_scale(zathura_document_t* document)
return 0;
}
- /* If monitor PPI information is available, use it to match 100% zoom to
- * physical page size */
- if (document->view_ppi > DBL_EPSILON) {
- /* scale = pixels per point, and there are 72 points in one inch */
- return document->zoom * document->view_ppi / 72.0;
+ double ppi = document->view_ppi;
+ if (ppi < DBL_EPSILON) {
+ /* No PPI information -> use a typical value */
+ ppi = 100;
}
- /* No PPI information -> scale == zoom */
- return document->zoom;
+ /* scale = pixels per point, and there are 72 points in one inch */
+ return document->zoom * ppi / 72.0;
}
unsigned int
diff --git a/zathura/document.h b/zathura/document.h
index a4a66dd..42d7e77 100644
--- a/zathura/document.h
+++ b/zathura/document.h
@@ -154,7 +154,7 @@ double zathura_document_get_zoom(zathura_document_t* document);
* PPI)
*
* @param document The document
- * @return The current scale value
+ * @return The current scale value, in pixels per point
*/
double zathura_document_get_scale(zathura_document_t* document);
diff --git a/zathura/render.c b/zathura/render.c
index a250efc..0a85f45 100644
--- a/zathura/render.c
+++ b/zathura/render.c
@@ -741,10 +741,8 @@ render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* render
const double width = zathura_page_get_width(page);
/* page size in user pixels based on document zoom: if PPI information is
- * available, 100% zoom results in 72 documents points per inch of screen
- * (i.e. document size on screen matching the physical paper size). If PPI
- * information is unavailable, the page size in pixels will be 1 pixel per
- * document point. */
+ * correct, 100% zoom will result in 72 documents points per inch of screen
+ * (i.e. document size on screen matching the physical paper size). */
const double real_scale = page_calc_height_width(document, height, width,
&page_height, &page_width,
false);
From f6dd3682a8b369687138cd430be157d11c9f28ba Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Mon, 12 Feb 2018 11:05:46 +0100
Subject: [PATCH 052/126] Fix compilation for GTK+ < 3.22
---
zathura/zathura.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zathura/zathura.c b/zathura/zathura.c
index d24a95d..3afb68b 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -176,7 +176,6 @@ zathura_update_view_ppi(zathura_t* zathura)
} else {
ppi = monitor_geom.width * 25.4 / width_mm;
}
-#endif
#ifdef GDK_WINDOWING_WAYLAND
/* work around apparend bug in GDK: on Wayland, monitor geometry doesn't
@@ -195,6 +194,7 @@ zathura_update_view_ppi(zathura_t* zathura)
#endif
girara_debug("monitor width: %d mm, pixels: %d, ppi: %f", width_mm, monitor_geom.width, ppi);
+#endif
zathura_document_set_viewport_ppi(zathura->document, ppi);
}
From 1a12214a8c2ddd4e785918e4b19d282fa2ba0357 Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Mon, 12 Feb 2018 14:50:14 +0100
Subject: [PATCH 053/126] Bump GTK+ to 3.22
---
README | 2 +-
config.mk | 2 +-
zathura/zathura.c | 2 --
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/README b/README
index 046596f..87e16d4 100644
--- a/README
+++ b/README
@@ -5,7 +5,7 @@ girara user interface library and several document libraries.
Requirements
------------
-gtk3 (>= 3.10)
+gtk3 (>= 3.22)
glib (>= 2.50)
girara (>= 0.2.8)
sqlite3 (optional, >= 3.5.9)
diff --git a/config.mk b/config.mk
index 5f0a99a..e7d174c 100644
--- a/config.mk
+++ b/config.mk
@@ -26,7 +26,7 @@ GLIB_MIN_VERSION = 2.50
GLIB_PKG_CONFIG_NAME = glib-2.0
# GTK
GTK_VERSION_CHECK ?= 1
-GTK_MIN_VERSION = 3.10
+GTK_MIN_VERSION = 3.22
GTK_PKG_CONFIG_NAME = gtk+-3.0
# pkg-config binary
diff --git a/zathura/zathura.c b/zathura/zathura.c
index 3afb68b..299b5bd 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -157,7 +157,6 @@ zathura_update_view_ppi(zathura_t* zathura)
double ppi = 0.0;
-#if GTK_CHECK_VERSION(3,22,0)
GdkMonitor* monitor = gdk_display_get_monitor_at_window(display, window);
if (monitor == NULL) {
return;
@@ -194,7 +193,6 @@ zathura_update_view_ppi(zathura_t* zathura)
#endif
girara_debug("monitor width: %d mm, pixels: %d, ppi: %f", width_mm, monitor_geom.width, ppi);
-#endif
zathura_document_set_viewport_ppi(zathura->document, ppi);
}
From 4f3837c372c73dac31ab7995c59aa0f3069c15b4 Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Mon, 12 Feb 2018 15:18:18 +0100
Subject: [PATCH 054/126] Remove Cairo 1.14 version checks
They're no longer needed since GTK+ 3.22 depends on Cairo >= 1.14
---
zathura/page-widget.c | 8 --------
zathura/render.c | 6 ++----
2 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/zathura/page-widget.c b/zathura/page-widget.c
index 5c1fc4b..0f95d2e 100644
--- a/zathura/page-widget.c
+++ b/zathura/page-widget.c
@@ -496,7 +496,6 @@ zathura_page_widget_get_property(GObject* object, guint prop_id, GValue* value,
}
}
-#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,14,0)
static zathura_device_factors_t
get_safe_device_factors(cairo_surface_t* surface)
{
@@ -512,13 +511,6 @@ get_safe_device_factors(cairo_surface_t* surface)
return factors;
}
-#else
-static zathura_device_factors_t
-get_safe_device_factors(cairo_surface_t* UNUSED(surface))
-{
- return (zathura_device_factors_t){1.0, 1.0};
-}
-#endif
static gboolean
zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
diff --git a/zathura/render.c b/zathura/render.c
index 0a85f45..1d7636c 100644
--- a/zathura/render.c
+++ b/zathura/render.c
@@ -747,20 +747,18 @@ render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* render
&page_height, &page_width,
false);
-#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,14,0)
zathura_device_factors_t device_factors = zathura_document_get_device_factors(document);
page_width *= device_factors.x;
page_height *= device_factors.y;
-#endif
cairo_surface_t* surface = cairo_image_surface_create(CAIRO_FORMAT_RGB24,
page_width, page_height);
if (surface == NULL) {
return false;
}
-#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,14,0)
+
cairo_surface_set_device_scale(surface, device_factors.x, device_factors.y);
-#endif
+
if (cairo_surface_status(surface) != CAIRO_STATUS_SUCCESS) {
cairo_surface_destroy(surface);
return false;
From 09d8a37c8e661c299c6aa8af63c6e69d27b5f02d Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Tue, 13 Feb 2018 20:00:56 +0100
Subject: [PATCH 055/126] Add zoom column to sqlite database if missing
---
zathura/database-sqlite.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/zathura/database-sqlite.c b/zathura/database-sqlite.c
index c75a575..b744f72 100644
--- a/zathura/database-sqlite.c
+++ b/zathura/database-sqlite.c
@@ -184,6 +184,10 @@ sqlite_db_init(ZathuraSQLDatabase* db, const char* path)
static const char SQL_FILEINFO_ALTER3[] =
"ALTER TABLE fileinfo ADD COLUMN time TIMESTAMP;";
+ /* update fileinfo table (part 4) */
+ static const char SQL_FILEINFO_ALTER4[] =
+ "ALTER TABLE fileinfo ADD COLUMN zoom FLOAT;";
+
/* update bookmark table */
static const char SQL_BOOKMARK_ALTER[] =
"ALTER TABLE bookmarks ADD COLUMN hadj_ratio FLOAT;"
@@ -234,6 +238,15 @@ sqlite_db_init(ZathuraSQLDatabase* db, const char* path)
}
}
+ ret1 = check_column(session, "fileinfo", "zoom", &res1);
+
+ if (ret1 == true && res1 == false) {
+ girara_debug("old database table layout detected; updating ...");
+ if (sqlite3_exec(session, SQL_FILEINFO_ALTER4, NULL, 0, NULL) != SQLITE_OK) {
+ girara_warning("failed to update database table layout");
+ }
+ }
+
ret1 = check_column(session, "bookmarks", "hadj_ratio", &res1);
ret2 = check_column(session, "bookmarks", "vadj_ratio", &res2);
From 324d88100de8f76f976e0e0f64cc7f6c6623ac65 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Thu, 8 Feb 2018 22:07:34 +0100
Subject: [PATCH 056/126] Mark functions as const
---
zathura/document.c | 14 +++++++-------
zathura/page.c | 20 ++++++++++----------
zathura/plugin.c | 4 ++--
zathura/plugin.h | 2 +-
4 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/zathura/document.c b/zathura/document.c
index bf6539d..f463187 100644
--- a/zathura/document.c
+++ b/zathura/document.c
@@ -144,7 +144,7 @@ zathura_document_open(zathura_t* zathura, const char* path, const char* uri,
file = NULL;
/* open document */
- zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
+ const zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
if (functions->document_open == NULL) {
girara_error("plugin has no open function\n");
goto error_free;
@@ -221,7 +221,7 @@ zathura_document_free(zathura_document_t* document)
/* free document */
zathura_error_t error = ZATHURA_ERROR_OK;
- zathura_plugin_functions_t* functions = zathura_plugin_get_functions(document->plugin);
+ const zathura_plugin_functions_t* functions = zathura_plugin_get_functions(document->plugin);
if (functions->document_free == NULL) {
error = ZATHURA_ERROR_NOT_IMPLEMENTED;
} else {
@@ -619,7 +619,7 @@ zathura_document_save_as(zathura_document_t* document, const char* path)
return ZATHURA_ERROR_UNKNOWN;
}
- zathura_plugin_functions_t* functions = zathura_plugin_get_functions(document->plugin);
+ const zathura_plugin_functions_t* functions = zathura_plugin_get_functions(document->plugin);
if (functions->document_save_as == NULL) {
return ZATHURA_ERROR_NOT_IMPLEMENTED;
}
@@ -635,7 +635,7 @@ zathura_document_index_generate(zathura_document_t* document, zathura_error_t* e
return NULL;
}
- zathura_plugin_functions_t* functions = zathura_plugin_get_functions(document->plugin);
+ const zathura_plugin_functions_t* functions = zathura_plugin_get_functions(document->plugin);
if (functions->document_index_generate == NULL) {
check_set_error(error, ZATHURA_ERROR_NOT_IMPLEMENTED);
return NULL;
@@ -652,7 +652,7 @@ zathura_document_attachments_get(zathura_document_t* document, zathura_error_t*
return NULL;
}
- zathura_plugin_functions_t* functions = zathura_plugin_get_functions(document->plugin);
+ const zathura_plugin_functions_t* functions = zathura_plugin_get_functions(document->plugin);
if (functions->document_attachments_get == NULL) {
check_set_error(error, ZATHURA_ERROR_NOT_IMPLEMENTED);
return NULL;
@@ -668,7 +668,7 @@ zathura_document_attachment_save(zathura_document_t* document, const char* attac
return ZATHURA_ERROR_INVALID_ARGUMENTS;
}
- zathura_plugin_functions_t* functions = zathura_plugin_get_functions(document->plugin);
+ const zathura_plugin_functions_t* functions = zathura_plugin_get_functions(document->plugin);
if (functions->document_attachment_save == NULL) {
return ZATHURA_ERROR_NOT_IMPLEMENTED;
}
@@ -684,7 +684,7 @@ zathura_document_get_information(zathura_document_t* document, zathura_error_t*
return NULL;
}
- zathura_plugin_functions_t* functions = zathura_plugin_get_functions(document->plugin);
+ const zathura_plugin_functions_t* functions = zathura_plugin_get_functions(document->plugin);
if (functions->document_get_information == NULL) {
check_set_error(error, ZATHURA_ERROR_NOT_IMPLEMENTED);
return NULL;
diff --git a/zathura/page.c b/zathura/page.c
index 9659227..799cc27 100644
--- a/zathura/page.c
+++ b/zathura/page.c
@@ -45,7 +45,7 @@ zathura_page_new(zathura_document_t* document, unsigned int index, zathura_error
/* init plugin */
zathura_plugin_t* plugin = zathura_document_get_plugin(document);
- zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
+ const zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
if (functions->page_init == NULL) {
if (error != NULL) {
@@ -88,7 +88,7 @@ zathura_page_free(zathura_page_t* page)
}
zathura_plugin_t* plugin = zathura_document_get_plugin(page->document);
- zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
+ const zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
if (functions->page_clear == NULL) {
return ZATHURA_ERROR_NOT_IMPLEMENTED;
}
@@ -211,7 +211,7 @@ zathura_page_search_text(zathura_page_t* page, const char* text, zathura_error_t
}
zathura_plugin_t* plugin = zathura_document_get_plugin(page->document);
- zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
+ const zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
if (functions->page_search_text == NULL) {
if (error != NULL) {
*error = ZATHURA_ERROR_NOT_IMPLEMENTED;
@@ -233,7 +233,7 @@ zathura_page_links_get(zathura_page_t* page, zathura_error_t* error)
}
zathura_plugin_t* plugin = zathura_document_get_plugin(page->document);
- zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
+ const zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
if (functions->page_links_get == NULL) {
if (error != NULL) {
*error = ZATHURA_ERROR_NOT_IMPLEMENTED;
@@ -261,7 +261,7 @@ zathura_page_form_fields_get(zathura_page_t* page, zathura_error_t* error)
}
zathura_plugin_t* plugin = zathura_document_get_plugin(page->document);
- zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
+ const zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
if (functions->page_form_fields_get == NULL) {
if (error != NULL) {
*error = ZATHURA_ERROR_NOT_IMPLEMENTED;
@@ -289,7 +289,7 @@ zathura_page_images_get(zathura_page_t* page, zathura_error_t* error)
}
zathura_plugin_t* plugin = zathura_document_get_plugin(page->document);
- zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
+ const zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
if (functions->page_images_get == NULL) {
if (error != NULL) {
*error = ZATHURA_ERROR_NOT_IMPLEMENTED;
@@ -311,7 +311,7 @@ zathura_page_image_get_cairo(zathura_page_t* page, zathura_image_t* image, zathu
}
zathura_plugin_t* plugin = zathura_document_get_plugin(page->document);
- zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
+ const zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
if (functions->page_image_get_cairo == NULL) {
if (error != NULL) {
*error = ZATHURA_ERROR_NOT_IMPLEMENTED;
@@ -333,7 +333,7 @@ zathura_page_get_text(zathura_page_t* page, zathura_rectangle_t rectangle, zathu
}
zathura_plugin_t* plugin = zathura_document_get_plugin(page->document);
- zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
+ const zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
if (functions->page_get_text == NULL) {
if (error) {
*error = ZATHURA_ERROR_NOT_IMPLEMENTED;
@@ -352,7 +352,7 @@ zathura_page_render(zathura_page_t* page, cairo_t* cairo, bool printing)
}
zathura_plugin_t* plugin = zathura_document_get_plugin(page->document);
- zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
+ const zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
if (functions->page_render_cairo == NULL) {
return ZATHURA_ERROR_NOT_IMPLEMENTED;
}
@@ -371,7 +371,7 @@ zathura_page_get_label(zathura_page_t* page, zathura_error_t* error)
}
zathura_plugin_t* plugin = zathura_document_get_plugin(page->document);
- zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
+ const zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
if (functions->page_get_label == NULL) {
if (error) {
*error = ZATHURA_ERROR_NOT_IMPLEMENTED;
diff --git a/zathura/plugin.c b/zathura/plugin.c
index e186153..69fa7d4 100644
--- a/zathura/plugin.c
+++ b/zathura/plugin.c
@@ -343,11 +343,11 @@ plugin_add_mimetype(zathura_plugin_t* plugin, const char* mime_type)
}
}
-zathura_plugin_functions_t*
+const zathura_plugin_functions_t*
zathura_plugin_get_functions(zathura_plugin_t* plugin)
{
if (plugin != NULL) {
- return &(plugin->functions);
+ return &plugin->functions;
} else {
return NULL;
}
diff --git a/zathura/plugin.h b/zathura/plugin.h
index d69745e..e0a8c22 100644
--- a/zathura/plugin.h
+++ b/zathura/plugin.h
@@ -63,7 +63,7 @@ girara_list_t* zathura_plugin_manager_get_plugins(zathura_plugin_manager_t* plug
* @param plugin The plugin
* @return The plugin functions
*/
-zathura_plugin_functions_t* zathura_plugin_get_functions(zathura_plugin_t* plugin);
+const zathura_plugin_functions_t* zathura_plugin_get_functions(zathura_plugin_t* plugin);
/**
* Returns the name of the plugin
From bfdd4be4b263a5e1deaeac52519a301ce28cdaf1 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Thu, 8 Feb 2018 22:07:47 +0100
Subject: [PATCH 057/126] Avoid explicit iterator
Signed-off-by: Sebastian Ramacher
---
zathura/database-sqlite.c | 18 ++----------------
zathura/plugin.c | 11 ++++++++---
2 files changed, 10 insertions(+), 19 deletions(-)
diff --git a/zathura/database-sqlite.c b/zathura/database-sqlite.c
index 4d1b146..34a48c1 100644
--- a/zathura/database-sqlite.c
+++ b/zathura/database-sqlite.c
@@ -529,14 +529,9 @@ sqlite_save_jumplist(zathura_database_t* db, const char* file, girara_list_t* ju
return true;
}
- girara_list_iterator_t* cur = girara_list_iterator(jumplist);
bool status = true;
-
- while (true) {
- zathura_jump_t* jump = girara_list_iterator_data(cur);
-
+ GIRARA_LIST_FOREACH_BODY(jumplist, zathura_jump_t*, jump,
stmt = prepare_statement(priv->session, SQL_INSERT_JUMP);
-
if (stmt == NULL) {
status = false;
break;
@@ -546,7 +541,6 @@ sqlite_save_jumplist(zathura_database_t* db, const char* file, girara_list_t* ju
sqlite3_bind_int(stmt, 2, jump->page) != SQLITE_OK ||
sqlite3_bind_double(stmt, 3, jump->x) != SQLITE_OK ||
sqlite3_bind_double(stmt, 4, jump->y) != SQLITE_OK) {
-
sqlite3_finalize(stmt);
girara_error("Failed to bind arguments.");
status = false;
@@ -560,15 +554,7 @@ sqlite_save_jumplist(zathura_database_t* db, const char* file, girara_list_t* ju
status = false;
break;
}
-
- if (girara_list_iterator_has_next(cur) == true) {
- girara_list_iterator_next(cur);
- } else {
- break;
- }
- }
-
- girara_list_iterator_free(cur);
+ );
if (status == false) {
sqlite3_exec(priv->session, "ROLLBACK;", NULL, 0, NULL);
diff --git a/zathura/plugin.c b/zathura/plugin.c
index 69fa7d4..0fe9449 100644
--- a/zathura/plugin.c
+++ b/zathura/plugin.c
@@ -281,13 +281,18 @@ plugin_mapping_new(zathura_plugin_manager_t* plugin_manager, const gchar* type,
g_return_val_if_fail(type != NULL, false);
g_return_val_if_fail(plugin != NULL, false);
- GIRARA_LIST_FOREACH_BODY_WITH_ITER(plugin_manager->type_plugin_mapping, zathura_type_plugin_mapping_t*, iter, mapping,
+ bool already_registered = false;
+ GIRARA_LIST_FOREACH_BODY(plugin_manager->type_plugin_mapping, zathura_type_plugin_mapping_t*, mapping,
if (g_content_type_equals(type, mapping->type)) {
- girara_list_iterator_free(iter);
- return false;
+ already_registered = true;
+ break;
}
);
+ if (already_registered == true) {
+ return false;
+ }
+
zathura_type_plugin_mapping_t* mapping = g_try_malloc0(sizeof(zathura_type_plugin_mapping_t));
if (mapping == NULL) {
return false;
From a230bcced0165228f366ecc814be6441f35c939b Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Thu, 15 Feb 2018 12:08:56 +0100
Subject: [PATCH 058/126] Remove empty line
Signed-off-by: Sebastian Ramacher
---
zathura/database-sqlite.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/zathura/database-sqlite.c b/zathura/database-sqlite.c
index 34a48c1..7e01f57 100644
--- a/zathura/database-sqlite.c
+++ b/zathura/database-sqlite.c
@@ -401,7 +401,6 @@ sqlite_add_bookmark(zathura_database_t* db, const char* file,
sqlite3_bind_int(stmt, 3, bookmark->page) != SQLITE_OK ||
sqlite3_bind_double(stmt, 4, bookmark->x) != SQLITE_OK ||
sqlite3_bind_double(stmt, 5, bookmark->y) != SQLITE_OK) {
-
sqlite3_finalize(stmt);
girara_error("Failed to bind arguments.");
return false;
From 8b93be947168b5c7a16b921b2c2c65e2395d94de Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Thu, 15 Feb 2018 18:07:20 +0100
Subject: [PATCH 059/126] Add scale/zoom union in link target
scale is now deprecated and plugins should use zoom instead
---
zathura/links.c | 2 +-
zathura/types.h | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/zathura/links.c b/zathura/links.c
index 293691c..47c6c38 100644
--- a/zathura/links.c
+++ b/zathura/links.c
@@ -114,7 +114,7 @@ zathura_link_target_t
zathura_link_get_target(zathura_link_t* link)
{
if (link == NULL) {
- zathura_link_target_t target = { 0, NULL, 0, 0, 0, 0, 0, 0 };
+ zathura_link_target_t target = { 0, NULL, 0, 0, 0, 0, 0, { 0 } };
return target;
}
diff --git a/zathura/types.h b/zathura/types.h
index bf9b2b1..006890b 100644
--- a/zathura/types.h
+++ b/zathura/types.h
@@ -179,7 +179,10 @@ typedef struct zathura_link_target_s
double right; /**< Right coordinate */
double top; /**< Top coordinate */
double bottom; /**< Bottom coordinate */
- double zoom; /**< Scale */
+ union {
+ double scale; /**< @deprecated Scale */
+ double zoom; /**< Zoom */
+ };
} zathura_link_target_t;
/**
From af90d4050d1148e4f9d039b5dfef464e28bda37f Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Fri, 16 Feb 2018 16:42:33 +0100
Subject: [PATCH 060/126] Store monitors-changed handler for disconnection
---
zathura/callbacks.c | 16 +++++++++-------
zathura/zathura.c | 3 +++
zathura/zathura.h | 2 ++
3 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/zathura/callbacks.c b/zathura/callbacks.c
index 04106c1..4499cdb 100644
--- a/zathura/callbacks.c
+++ b/zathura/callbacks.c
@@ -230,24 +230,26 @@ cb_monitors_changed(GdkScreen* screen, gpointer data)
}
void
-cb_widget_screen_changed(GtkWidget* widget, GdkScreen* UNUSED(previous_screen), gpointer data)
+cb_widget_screen_changed(GtkWidget* widget, GdkScreen* previous_screen, gpointer data)
{
- girara_debug("signal received");
+ girara_debug("called");
zathura_t* zathura = data;
if (widget == NULL || zathura == NULL) {
return;
}
+ /* disconnect previous screen handler if present */
+ if (previous_screen != NULL && zathura->signals.monitors_changed_handler > 0) {
+ g_signal_handler_disconnect(previous_screen, zathura->signals.monitors_changed_handler);
+ zathura->signals.monitors_changed_handler = 0;
+ }
+
if (gtk_widget_has_screen(widget)) {
GdkScreen* screen = gtk_widget_get_screen(widget);
- /* disconnect signal on previous screen */
- g_signal_handlers_disconnect_matched(screen, G_SIGNAL_MATCH_FUNC, 0, 0,
- NULL, (gpointer) cb_monitors_changed, zathura);
-
/* connect to new screen */
- g_signal_connect(G_OBJECT(screen),
+ zathura->signals.monitors_changed_handler = g_signal_connect(G_OBJECT(screen),
"monitors-changed", G_CALLBACK(cb_monitors_changed), zathura);
}
diff --git a/zathura/zathura.c b/zathura/zathura.c
index 299b5bd..d2e2442 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -222,6 +222,9 @@ init_ui(zathura_t* zathura)
g_signal_connect(G_OBJECT(zathura->ui.session->gtk.view),
"screen-changed", G_CALLBACK(cb_widget_screen_changed), zathura);
+ /* initialize the screen-changed handler to 0 (i.e. invalid) */
+ zathura->signals.monitors_changed_handler = 0;
+
/* page view */
zathura->ui.page_widget = gtk_grid_new();
gtk_grid_set_row_homogeneous(GTK_GRID(zathura->ui.page_widget), TRUE);
diff --git a/zathura/zathura.h b/zathura/zathura.h
index e05be81..22077cc 100644
--- a/zathura/zathura.h
+++ b/zathura/zathura.h
@@ -163,6 +163,8 @@ struct zathura_s
#ifdef G_OS_UNIX
guint sigterm;
#endif
+
+ gulong monitors_changed_handler; /**< Signal handler for monitors-changed */
} signals;
struct
From c0bdd416303e75322d1689adfbfd7b66e5d6cdc8 Mon Sep 17 00:00:00 2001
From: valoq
Date: Tue, 20 Feb 2018 12:19:07 +0100
Subject: [PATCH 061/126] fixed read only mode
---
zathura/libsec.c | 35 +++++++++++++++++++++++++++++++----
1 file changed, 31 insertions(+), 4 deletions(-)
diff --git a/zathura/libsec.c b/zathura/libsec.c
index 68d14a8..47b1a13 100644
--- a/zathura/libsec.c
+++ b/zathura/libsec.c
@@ -397,7 +397,7 @@ int seccomp_enable_strict_filter(void){
ALLOW_RULE (bind);
ALLOW_RULE (brk);
ALLOW_RULE (clock_getres);
- ALLOW_RULE (clone);
+ ALLOW_RULE (clone); /* TODO: investigate */
ALLOW_RULE (close);
/* ALLOW_RULE (connect); */
ALLOW_RULE (eventfd2);
@@ -435,8 +435,8 @@ int seccomp_enable_strict_filter(void){
ALLOW_RULE (mprotect);
ALLOW_RULE (mremap);
ALLOW_RULE (munmap);
- ALLOW_RULE (open); /* (zathura needs to open for writing) TODO: avoid needing this somehow */
- ALLOW_RULE (openat);
+ //ALLOW_RULE (open); /* (zathura needs to open for writing) TODO: avoid needing this somehow */
+ //ALLOW_RULE (openat);
ALLOW_RULE (pipe);
ALLOW_RULE (poll);
ALLOW_RULE (pwrite64); /* TODO: build detailed filter */
@@ -492,7 +492,34 @@ int seccomp_enable_strict_filter(void){
SCMP_CMP(0, SCMP_CMP_EQ, PR_SET_PDEATHSIG)) < 0)
goto out;
-
+
+ /* special restrictions for open, prevent opening files for writing */
+ if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(open), 1,
+ SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_WRONLY | O_RDWR, 0)) < 0)
+ goto out;
+
+ if (seccomp_rule_add (ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(open), 1,
+ SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_WRONLY, O_WRONLY)) < 0)
+ goto out;
+
+ if (seccomp_rule_add (ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(open), 1,
+ SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_RDWR, O_RDWR)) < 0)
+ goto out;
+
+ /* special restrictions for openat, prevent opening files for writing */
+ if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(openat), 1,
+ SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_WRONLY | O_RDWR, 0)) < 0)
+ goto out;
+
+ if (seccomp_rule_add (ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(openat), 1,
+ SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_WRONLY, O_WRONLY)) < 0)
+ goto out;
+
+ if (seccomp_rule_add (ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(openat), 1,
+ SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_RDWR, O_RDWR)) < 0)
+ goto out;
+
+
/* allowed for debugging: */
/* ALLOW_RULE (prctl); */
From 102325a41ee074022a33fe910a6a84baf2717b07 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Tue, 20 Feb 2018 21:42:43 +0100
Subject: [PATCH 062/126] Generate version.h as zathura-version.h
This avoid confusions between girara's and zathura's version.h.
Signed-off-by: Sebastian Ramacher
---
meson.build | 2 +-
zathura/plugin-api.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meson.build b/meson.build
index 1d1634b..3a381cc 100644
--- a/meson.build
+++ b/meson.build
@@ -93,7 +93,7 @@ endif
# generate version header file
version_header = configure_file(
input: 'zathura/version.h.in',
- output: 'version.h',
+ output: 'zathura-version.h',
configuration: conf_data
)
include_directories = [
diff --git a/zathura/plugin-api.h b/zathura/plugin-api.h
index b7c9a29..4a61364 100644
--- a/zathura/plugin-api.h
+++ b/zathura/plugin-api.h
@@ -6,7 +6,7 @@
#include "page.h"
#include "document.h"
#include "links.h"
-#include "version.h"
+#include "zathura-version.h"
typedef struct zathura_plugin_functions_s zathura_plugin_functions_t;
From 38d36089088a811e6187de388d63b5affeb94c56 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Tue, 20 Feb 2018 21:43:31 +0100
Subject: [PATCH 063/126] Clean up
---
.gitignore | 6 ------
1 file changed, 6 deletions(-)
diff --git a/.gitignore b/.gitignore
index fbf5275..fbdc92c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,15 +21,9 @@ zathura-*.tar.gz
*.patch
# build dirs
-.depend
.tx
build/
gcov/
-doc/_build
-
-# version file
-version.h
-.version-checks/
# development files
.clang_complete
From 1348a466333579b42a6cfea9d5c5a2dc6cbf801a Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Tue, 20 Feb 2018 22:41:53 +0100
Subject: [PATCH 064/126] Update build instructions
Signed-off-by: Sebastian Ramacher
---
README | 35 ++++++++++++-----------------------
1 file changed, 12 insertions(+), 23 deletions(-)
diff --git a/README b/README
index 046596f..0588c69 100644
--- a/README
+++ b/README
@@ -1,15 +1,18 @@
zathura - a document viewer
===========================
+
zathura is a highly customizable and functional document viewer based on the
girara user interface library and several document libraries.
Requirements
------------
+
+meson (>= 0.43)
gtk3 (>= 3.10)
glib (>= 2.50)
girara (>= 0.2.8)
sqlite3 (optional, >= 3.5.9)
-check (for tests)
+check (optional, for tests)
intltool
libmagic from file(1) (optional, for mime-type detection)
libsynctex from TeXLive (optional, for SyncTeX support)
@@ -18,42 +21,28 @@ doxygen (optional, for HTML documentation)
breathe (optional, for HTML documentation)
sphinx_rtd_theme (optional, for HTML documentation)
-Please note that you need to have a working pkg-config installation and that the
-Makefile is only compatible with GNU make. If you don't have a working
-pkg-config installation please set the GTK_INC, GTK_LIB, GIRARA_INC, GIRARA_LIB,
-SQLITE_INC and SQLITE_LIB variables accordingly.
-
Also note that Sphinx is needed to build the manpages. If it is not
installed, the man pages won't be built. For the HTML documentation, doxygen,
breathe and sphinx_rtd_theme are needed in addition to Sphinx.
If you don't want to build with support for sqlite databases, you can set
-WITH_SQLITE=0 and sqlite support won't be available.
+enable-sqlite=off and sqlite support won't be available.
The use of magic to detect mime types is optional and can be disabled by setting
-WITH_MAGIC=0.
-
-If you pass these flags as a command line argument to make, you have to ensure
-to pass the same flags when executing the install target.
-
-If you want to build zathura's HTML documentation, please install all python
-dependencies from the ./doc/requirements.txt file and run:
-
- make doc
+enable-magic=off.
Installation
------------
+
To build and install zathura:
- make install
-
-Uninstall
----------
-To delete zathura from your system, just type:
-
- make uninstall
+ meson build
+ cd build
+ ninja
+ ninja install
Bugs
----
+
Please report bugs at http://bugs.pwmt.org or contact us on our mailing list at
zathura@lists.pwmt.org.
From d3e06883f167ca2956ef8ef624b0268cffaac659 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Tue, 20 Feb 2018 23:18:30 +0100
Subject: [PATCH 065/126] Include girara build and runtime version
Signed-off-by: Sebastian Ramacher
---
zathura/utils.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/zathura/utils.c b/zathura/utils.c
index 9aeaff3..bd19131 100644
--- a/zathura/utils.c
+++ b/zathura/utils.c
@@ -194,7 +194,8 @@ zathura_get_version_string(zathura_t* zathura, bool markup)
GString* string = g_string_new(NULL);
/* zathura version */
- g_string_append_printf(string, "zathura %d.%d.%d", ZATHURA_VERSION_MAJOR, ZATHURA_VERSION_MINOR, ZATHURA_VERSION_REV);
+ g_string_append(string, "zathura " ZATHURA_VERSION);
+ g_string_append_printf(string, "\ngirara " GIRARA_VERSION " (runtime: %s)", girara_version());
const char* format = (markup == true) ? "\n(plugin) %s (%d.%d.%d) (%s)" : "\n(plugin) %s (%d.%d.%d) (%s)";
From 9dde3d9d619adbb521055e853fa99020574f8d25 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Tue, 20 Feb 2018 23:26:28 +0100
Subject: [PATCH 066/126] Implement nohlsearch shortcut
Signed-off-by: Sebastian Ramacher
---
zathura/commands.c | 7 +------
zathura/shortcuts.c | 13 +++++++++++++
zathura/shortcuts.h | 12 ++++++++++++
3 files changed, 26 insertions(+), 6 deletions(-)
diff --git a/zathura/commands.c b/zathura/commands.c
index 42711b5..e259b22 100644
--- a/zathura/commands.c
+++ b/zathura/commands.c
@@ -288,12 +288,7 @@ cmd_print(girara_session_t* session, girara_list_t* UNUSED(argument_list))
bool
cmd_nohlsearch(girara_session_t* session, girara_list_t* UNUSED(argument_list))
{
- g_return_val_if_fail(session != NULL, false);
- g_return_val_if_fail(session->global.data != NULL, false);
- zathura_t* zathura = session->global.data;
-
- document_draw_search_results(zathura, false);
- render_all(zathura);
+ sc_nohlsearch(session, NULL, NULL, 0);
return true;
}
diff --git a/zathura/shortcuts.c b/zathura/shortcuts.c
index ae3a469..11ca04e 100644
--- a/zathura/shortcuts.c
+++ b/zathura/shortcuts.c
@@ -1458,3 +1458,16 @@ sc_exec(girara_session_t* session, girara_argument_t* argument, girara_event_t*
return girara_sc_exec(session, argument, event, t);
}
+
+bool
+sc_nohlsearch(girara_session_t* session, girara_argument_t* UNUSED(argument), girara_event_t* UNUSED(event), unsigned int UNUSED(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;
+
+ document_draw_search_results(zathura, false);
+ render_all(zathura);
+
+ return false;
+}
diff --git a/zathura/shortcuts.h b/zathura/shortcuts.h
index 195554a..c1b19ad 100644
--- a/zathura/shortcuts.h
+++ b/zathura/shortcuts.h
@@ -292,4 +292,16 @@ bool sc_zoom(girara_session_t* session, girara_argument_t* argument, girara_even
*/
bool sc_exec(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t);
+/**
+ * Remove search highlights.
+ *
+ * @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_nohlsearch(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t);
+
+
#endif // SHORTCUTS_H
From 278eeb20774f5de8c17cb12c99e957db814b2788 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Tue, 20 Feb 2018 23:26:53 +0100
Subject: [PATCH 067/126] Make nohlsearch shortcut available
Signed-off-by: Sebastian Ramacher
---
zathura/config.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/zathura/config.c b/zathura/config.c
index fcbff3f..ecc6026 100644
--- a/zathura/config.c
+++ b/zathura/config.c
@@ -476,6 +476,7 @@ config_load_default(zathura_t* zathura)
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, "nohlsearch", sc_nohlsearch);
girara_shortcut_mapping_add(gsession, "print", sc_print);
girara_shortcut_mapping_add(gsession, "quit", sc_quit);
girara_shortcut_mapping_add(gsession, "recolor", sc_recolor);
From dfc31a3fe177726561f02c64813259bdf52d04bd Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Wed, 21 Feb 2018 11:34:37 +0100
Subject: [PATCH 068/126] Use zathura-version.h (fixes #708)
Signed-off-by: Sebastian Ramacher
---
zathura/plugin.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zathura/plugin.h b/zathura/plugin.h
index e0a8c22..21c7af3 100644
--- a/zathura/plugin.h
+++ b/zathura/plugin.h
@@ -8,7 +8,7 @@
#include "types.h"
#include "plugin-api.h"
-#include "version.h"
+#include "zathura-version.h"
#include "zathura.h"
/**
From 3f983e7ae248caf35a71651527c7649adb3ffa79 Mon Sep 17 00:00:00 2001
From: valoq
Date: Thu, 22 Feb 2018 14:28:22 +0100
Subject: [PATCH 069/126] added sandbox options to zathurarc
---
README | 4 +
config.mk | 6 +-
zathura/config.c | 2 +
zathura/libsec.c | 370 +++++++++++++----------------------------------
zathura/libsec.h | 8 +-
zathura/links.c | 16 +-
zathura/main.c | 20 ++-
7 files changed, 136 insertions(+), 290 deletions(-)
diff --git a/README b/README
index dbeaf27..d60e181 100644
--- a/README
+++ b/README
@@ -13,6 +13,7 @@ check (for tests)
intltool
libmagic from file(1) (optional, for mime-type detection)
libsynctex from TeXLive (optional, for SyncTeX support)
+libseccomp (optional, for sandbox support)
Sphinx (optional, for manpages and HTML documentation)
doxygen (optional, for HTML documentation)
breathe (optional, for HTML documentation)
@@ -33,6 +34,9 @@ WITH_SQLITE=0 and sqlite support won't be available.
The use of magic to detect mime types is optional and can be disabled by setting
WITH_MAGIC=0.
+The use of seccomp to create a sandboxed environment is optional and can be disabled by setting
+WITH_SECCOMP=0.
+
If you pass these flags as a command line argument to make, you have to ensure
to pass the same flags when executing the install target.
diff --git a/config.mk b/config.mk
index 43acb9d..74a83fb 100644
--- a/config.mk
+++ b/config.mk
@@ -47,9 +47,9 @@ WITH_SYNCTEX ?= $(shell (${PKG_CONFIG} synctex && echo 1) || echo 0)
# To disable support for mimetype detction with libmagic set WITH_MAGIC to 0.
WITH_MAGIC ?= 1
-# seccomp
-# To enable support for seccomp filter set WITH_SECCOMP to 1.
-WITH_SECCOMP ?= 0
+# seccomp sandbox
+# To disable support for seccomp filter set WITH_SECCOMP to 0.
+WITH_SECCOMP ?= 1
# paths
PREFIX ?= /usr
diff --git a/zathura/config.c b/zathura/config.c
index d3fe43a..e0e06d2 100644
--- a/zathura/config.c
+++ b/zathura/config.c
@@ -185,6 +185,8 @@ config_load_default(zathura_t* zathura)
girara_setting_add(gsession, "index-active-fg", "#232323", STRING, true, _("Index mode foreground color (active element)"), NULL, NULL);
girara_setting_add(gsession, "index-active-bg", "#9FBC00", STRING, true, _("Index mode background color (active element)"), NULL, NULL);
+ girara_setting_add(gsession, "sandbox", "normal", STRING, true, _("Sandbox level"), NULL, NULL);
+
bool_value = false;
girara_setting_add(gsession, "recolor", &bool_value, BOOLEAN, false, _("Recolor pages"), cb_setting_recolor_change, NULL);
bool_value = false;
diff --git a/zathura/libsec.c b/zathura/libsec.c
index 47b1a13..8bb212d 100644
--- a/zathura/libsec.c
+++ b/zathura/libsec.c
@@ -13,7 +13,7 @@
#define DENY_RULE(call) { if (seccomp_rule_add (ctx, SCMP_ACT_KILL, SCMP_SYS(call), 0) < 0) goto out; }
#define ALLOW_RULE(call) { if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(call), 0) < 0) goto out; }
-int seccomp_enable_protected_mode(void){
+int seccomp_enable_basic_filter(void){
scmp_filter_ctx ctx;
@@ -87,274 +87,10 @@ int seccomp_enable_protected_mode(void){
DENY_RULE (umount2);
DENY_RULE (uselib);
DENY_RULE (vmsplice);
-
- /* applying filter... */
- if (seccomp_load (ctx) >= 0){
- /* free ctx after the filter has been loaded into the kernel */
- seccomp_release(ctx);
- return 0;
- }
- out:
- /* something went wrong */
- seccomp_release(ctx);
- return 1;
-}
-
-
-int seccomp_enable_protected_view(void){
-
- scmp_filter_ctx ctx;
-
- /* prevent child processes from getting more priv e.g. via setuid, capabilities, ... */
- if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
- perror("prctl SET_NO_NEW_PRIVS");
- exit(EXIT_FAILURE);
- }
-
- /* prevent escape via ptrace */
- if(prctl (PR_SET_DUMPABLE, 0, 0, 0, 0)){
- perror("prctl PR_SET_DUMPABLE");
- exit(EXIT_FAILURE);
- }
-
- /* initialize the filter */
- ctx = seccomp_init(SCMP_ACT_KILL);
- if (ctx == NULL){
- perror("seccomp_init failed");
- exit(EXIT_FAILURE);
- }
-
- ALLOW_RULE (access);
- ALLOW_RULE (bind);
- ALLOW_RULE (brk);
- ALLOW_RULE (clock_getres);
- ALLOW_RULE (clone);
- ALLOW_RULE (close);
- ALLOW_RULE (connect);
- ALLOW_RULE (eventfd2);
- ALLOW_RULE (exit);
- ALLOW_RULE (exit_group);
- ALLOW_RULE (fadvise64);
- ALLOW_RULE (fallocate);
- ALLOW_RULE (fcntl); /* TODO: build detailed filter */
- ALLOW_RULE (fstat);
- ALLOW_RULE (fstatfs);
- ALLOW_RULE (ftruncate);
- ALLOW_RULE (futex);
- ALLOW_RULE (getdents);
- ALLOW_RULE (getegid);
- ALLOW_RULE (geteuid);
- ALLOW_RULE (getgid);
- ALLOW_RULE (getuid);
- ALLOW_RULE (getpid);
- ALLOW_RULE (getppid);
- ALLOW_RULE (getpgrp);
- ALLOW_RULE (getpeername);
- ALLOW_RULE (getrandom);
- ALLOW_RULE (getresgid);
- ALLOW_RULE (getresuid);
- ALLOW_RULE (getrlimit);
- ALLOW_RULE (getsockname);
- ALLOW_RULE (getsockopt); /* needed for access to x11 socket in network namespace (without abstract sockets) */
- ALLOW_RULE (inotify_add_watch);
- ALLOW_RULE (inotify_init1);
- ALLOW_RULE (inotify_rm_watch);
- /* ALLOW_RULE (ioctl); specified below */
- ALLOW_RULE (lseek);
- ALLOW_RULE (lstat);
- ALLOW_RULE (madvise);
- ALLOW_RULE (memfd_create);
- ALLOW_RULE (mkdir); /* needed for first run only */
- ALLOW_RULE (mmap);
- ALLOW_RULE (mprotect);
- ALLOW_RULE (mremap);
- ALLOW_RULE (munmap);
- ALLOW_RULE (open); /* (zathura needs to open for writing) TODO: avoid needing this somehow */
- ALLOW_RULE (openat);
- ALLOW_RULE (pipe);
- ALLOW_RULE (poll);
- ALLOW_RULE (pwrite64); /* TODO: build detailed filter */
- ALLOW_RULE (pread64);
- ALLOW_RULE (prlimit64);
- ALLOW_RULE (prctl); /* NOT specified below */
- ALLOW_RULE (read);
- ALLOW_RULE (readlink);
- ALLOW_RULE (recvfrom);
- ALLOW_RULE (recvmsg);
- ALLOW_RULE (restart_syscall);
- ALLOW_RULE (rt_sigaction);
- ALLOW_RULE (rt_sigprocmask);
- ALLOW_RULE (seccomp);
- ALLOW_RULE (sendmsg);
- ALLOW_RULE (sendto);
- ALLOW_RULE (select);
- ALLOW_RULE (set_robust_list);
- ALLOW_RULE (setsockopt);
- ALLOW_RULE (shmat);
- ALLOW_RULE (shmctl);
- ALLOW_RULE (shmdt);
- ALLOW_RULE (shmget);
- ALLOW_RULE (shutdown);
- ALLOW_RULE (stat);
- ALLOW_RULE (statfs);
- /* ALLOW_RULE (socket); specified below */
- ALLOW_RULE (sysinfo);
- ALLOW_RULE (uname);
- ALLOW_RULE (unlink);
- ALLOW_RULE (write); /* specified below (zathura needs to write files)*/
- ALLOW_RULE (writev);
- ALLOW_RULE (wait4); /* trying to open links should not crash the app */
-
- /* allowed for use with container */
-
- ALLOW_RULE (chmod);
- ALLOW_RULE (link);
- ALLOW_RULE (rename);
-
- /* allowed for debugging: */
-
- /* ALLOW_RULE (prctl); */
- /* ALLOW_RULE (ioctl); */
-
-
- /* incomplete */
-
- /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, F_GETFL)) < 0) */
- /* goto out; */
-
- /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, F_SETFL)) < 0) */
- /* goto out; */
-
- /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, F_SETFD)) < 0) */
- /* goto out; */
-
- /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, F_GETFD)) < 0) */
- /* goto out; */
-
- /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, F_SETLK)) < 0) */
- /* goto out; */
-
-
- /* Special requirements for ioctl, allowed on stdout/stderr */
- if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(ioctl), 1,
- SCMP_CMP(0, SCMP_CMP_EQ, 1)) < 0)
- goto out;
- if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(ioctl), 1,
- SCMP_CMP(0, SCMP_CMP_EQ, 2)) < 0)
- goto out;
-
-
-
- /* TODO: build detailed filter for prctl */
- /* needed by gtk??? (does not load content without) */
-
- /* /\* special restrictions for prctl, only allow PR_SET_NAME/PR_SET_PDEATHSIG *\/ */
- /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(prctl), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, PR_SET_NAME)) < 0) */
- /* goto out; */
-
- /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(prctl), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, PR_SET_PDEATHSIG)) < 0) */
- /* goto out; */
-
-
- /* when zathura is run on wayland, with X11 server available but blocked, unset the DISPLAY variable */
- /* otherwise it will try to connect to X11 using inet socket protocol */
-
- /* required changes in links.c (at girara_xdg_open) */
- /* special restrictions for socket, only allow AF_UNIX/AF_LOCAL */
- if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(socket), 1,
- SCMP_CMP(0, SCMP_CMP_EQ, AF_UNIX)) < 0)
- goto out;
-
- if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(socket), 1,
- SCMP_CMP(0, SCMP_CMP_EQ, AF_LOCAL)) < 0)
- goto out;
-
-
- /* TODO: avoid the need for the open syscall to be allowed with write permissions */
-
- /* zathura needs to open files for writing to save current position */
-
- /* /\* special restrictions for open, prevent opening files for writing *\/ */
- /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(open), 1, */
- /* SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_WRONLY | O_RDWR, 0)) < 0) */
- /* goto out; */
-
- /* if (seccomp_rule_add (ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(open), 1, */
- /* SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_WRONLY, O_WRONLY)) < 0) */
- /* goto out; */
-
- /* if (seccomp_rule_add (ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(open), 1, */
- /* SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_RDWR, O_RDWR)) < 0) */
- /* goto out; */
-
-
- /* ------------ experimental filters --------------- */
-
- /* /\* this filter is susceptible to TOCTOU race conditions, providing limited use *\/ */
- /* /\* allow opening only specified files identified by their file descriptors*\/ */
-
- /* this requires either a list of all files to open (A LOT!!!) */
- /* or needs to be applied only after initialisation, right before parsing */
- /* if(seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(read), 1, */
- /* SCMP_CMP(SCMP_CMP_EQ, fd)) < 0) /\* or < 1 ??? *\/ */
- /* goto out; */
-
-
- /* /\* restricting write access *\/ */
-
- /* /\* allow stdin *\/ */
- /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(write), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, 0)) < 0 ) */
- /* goto out; */
-
- /* /\* allow stdout *\/ */
- /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(write), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, 1)) < 0 ) */
- /* goto out; */
-
-
- /* /\* allow stderr *\/ */
- /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(write), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, 2)) < 0 ) */
- /* goto out; */
-
-
- /* /\* restrict writev (write a vector) access *\/ */
- /* this does not seem reliable but it surprisingly is. investigate more */
- /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(writev), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, 3)) < 0 ) */
- /* goto out; */
-
- /* test if repeating this after some time or denying it works */
-
-
- /* first attempt to filter poll requests */
- /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(poll), 1, */
- /* SCMP_CMP(0, SCMP_CMP_MASKED_EQ, POLLIN | POLL, 0)) < 0) */
- /* goto out; */
-
-
- /* /\* restrict fcntl calls *\/ */
- /* this syscall sets the file descriptor to read write */
- /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, 3)) < 0 ) */
- /* goto out; */
- /* fcntl(3, F_GETFL) = 0x2 (flags O_RDWR) */
- /* fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 */
- /* fcntl(3, F_SETFD, FD_CLOEXEC) = 0 */
-
-
- /* ------------------ end of experimental filters ------------------ */
-
-
+ /* TODO: check for additional syscalls to blacklist */
+ /* DENY_RULE (execve); */
+
/* applying filter... */
if (seccomp_load (ctx) >= 0){
/* free ctx after the filter has been loaded into the kernel */
@@ -526,6 +262,104 @@ int seccomp_enable_strict_filter(void){
/* ALLOW_RULE (ioctl); */
+ /* TODO: test fcntl rules */
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, F_GETFL)) < 0) */
+ /* goto out; */
+
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, F_SETFL)) < 0) */
+ /* goto out; */
+
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, F_SETFD)) < 0) */
+ /* goto out; */
+
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, F_GETFD)) < 0) */
+ /* goto out; */
+
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, F_SETLK)) < 0) */
+ /* goto out; */
+
+
+ /* TODO: build detailed filter for prctl */
+ /* needed by gtk??? (does not load content without) */
+
+ /* /\* special restrictions for prctl, only allow PR_SET_NAME/PR_SET_PDEATHSIG *\/ */
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(prctl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, PR_SET_NAME)) < 0) */
+ /* goto out; */
+
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(prctl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, PR_SET_PDEATHSIG)) < 0) */
+ /* goto out; */
+
+
+ /* when zathura is run on wayland, with X11 server available but blocked, unset the DISPLAY variable */
+ /* otherwise it will try to connect to X11 using inet socket protocol */
+
+
+ /* ------------ experimental filters --------------- */
+
+ /* /\* this filter is susceptible to TOCTOU race conditions, providing limited use *\/ */
+ /* /\* allow opening only specified files identified by their file descriptors*\/ */
+
+ /* this requires either a list of all files to open (A LOT!!!) */
+ /* or needs to be applied only after initialisation, right before parsing */
+ /* if(seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(read), 1, */
+ /* SCMP_CMP(SCMP_CMP_EQ, fd)) < 0) /\* or < 1 ??? *\/ */
+ /* goto out; */
+
+
+ /* /\* restricting write access *\/ */
+
+ /* /\* allow stdin *\/ */
+ /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(write), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, 0)) < 0 ) */
+ /* goto out; */
+
+ /* /\* allow stdout *\/ */
+ /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(write), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, 1)) < 0 ) */
+ /* goto out; */
+
+
+ /* /\* allow stderr *\/ */
+ /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(write), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, 2)) < 0 ) */
+ /* goto out; */
+
+
+ /* /\* restrict writev (write a vector) access *\/ */
+ /* this does not seem reliable but it surprisingly is. investigate more */
+ /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(writev), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, 3)) < 0 ) */
+ /* goto out; */
+
+ /* test if repeating this after some time or denying it works */
+
+
+ /* first attempt to filter poll requests */
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(poll), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_MASKED_EQ, POLLIN | POLL, 0)) < 0) */
+ /* goto out; */
+
+
+ /* /\* restrict fcntl calls *\/ */
+ /* this syscall sets the file descriptor to read write */
+ /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, 3)) < 0 ) */
+ /* goto out; */
+ /* fcntl(3, F_GETFL) = 0x2 (flags O_RDWR) */
+ /* fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 */
+ /* fcntl(3, F_SETFD, FD_CLOEXEC) = 0 */
+
+
+ /* ------------------ end of experimental filters ------------------ */
+
+
/* applying filter... */
if (seccomp_load (ctx) >= 0){
/* free ctx after the filter has been loaded into the kernel */
diff --git a/zathura/libsec.h b/zathura/libsec.h
index 6d04fb1..3b1af19 100644
--- a/zathura/libsec.h
+++ b/zathura/libsec.h
@@ -4,13 +4,7 @@
/* basic filter */
/* this mode allows normal use */
/* only dangerous syscalls are blacklisted */
-int seccomp_enable_protected_mode(void);
-
-/* secure whitelist filter */
-/* whitelist minimal syscalls only */
-/* this mode does not allow to open external links or to start applications */
-/* network connections are prohibited as well */
-int seccomp_enable_protected_view(void);
+int seccomp_enable_basic_filter(void);
/* strict filter before document parsing */
/* this filter is to be enabled after most of the initialisation of zathura has finished */
diff --git a/zathura/links.c b/zathura/links.c
index b3303f7..4b1e1c3 100644
--- a/zathura/links.c
+++ b/zathura/links.c
@@ -135,6 +135,10 @@ zathura_link_evaluate(zathura_t* zathura, zathura_link_t* link)
bool link_zoom = true;
girara_setting_get(zathura->ui.session, "link-zoom", &link_zoom);
+ /* required below to prevent opening hyperlinks in strict sandbox mode */
+ char* sandbox = NULL;
+ girara_setting_get(zathura->ui.session, "sandbox", &sandbox);
+
switch (link->type) {
case ZATHURA_LINK_GOTO_DEST:
if (link->target.destination_type != ZATHURA_LINK_DESTINATION_UNKNOWN) {
@@ -203,13 +207,13 @@ zathura_link_evaluate(zathura_t* zathura, zathura_link_t* link)
link_remote(zathura, link->target.value);
break;
case ZATHURA_LINK_URI:
-#ifndef WITH_SECCOMP
- if (girara_xdg_open(link->target.value) == false) {
- girara_notify(zathura->ui.session, GIRARA_ERROR, _("Failed to run xdg-open."));
+ if (g_strcmp0(sandbox, "strict") == 0) {
+ girara_notify(zathura->ui.session, GIRARA_ERROR, _("Opening external applications in strict sandbox mode is not permitted"));
+ } else {
+ if (girara_xdg_open(link->target.value) == false) {
+ girara_notify(zathura->ui.session, GIRARA_ERROR, _("Failed to run xdg-open."));
+ }
}
-#else
- girara_notify(zathura->ui.session, GIRARA_ERROR, _("Opening external apps in protectedView Sandbox mode is not permitted"));
-#endif
break;
case ZATHURA_LINK_LAUNCH:
link_launch(zathura, link);
diff --git a/zathura/main.c b/zathura/main.c
index 8a3b859..4668365 100644
--- a/zathura/main.c
+++ b/zathura/main.c
@@ -127,10 +127,6 @@ int
main(int argc, char* argv[])
{
-#ifdef WITH_SECCOMP
- seccomp_enable_protected_view();
-#endif
-
init_locale();
/* parse command line arguments */
@@ -298,8 +294,20 @@ main(int argc, char* argv[])
}
#ifdef WITH_SECCOMP
- /* enforce strict syscall filter before parsing the document */
- seccomp_enable_strict_filter();
+
+ char* sandbox = NULL;
+ girara_setting_get(zathura->ui.session, "sandbox", &sandbox);
+
+ if (g_strcmp0(sandbox, "none") == 0) {
+ girara_debug("Sandbox deactivated.");
+ } else if (g_strcmp0(sandbox, "normal") == 0) {
+ girara_debug("Basic sandbox allowing normal operation.");
+ seccomp_enable_basic_filter();
+ } else if (g_strcmp0(sandbox, "strict") == 0) {
+ girara_debug("Strict sandbox preventing write and network access.");
+ seccomp_enable_strict_filter();
+ }
+
#endif
/* open document if passed */
From 1e170f0cab55ae2217d236aaf64b92e9b59cfaf4 Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Fri, 23 Feb 2018 15:02:06 +0100
Subject: [PATCH 070/126] Indentation fix
---
zathura/zathura.c | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/zathura/zathura.c b/zathura/zathura.c
index d2e2442..d67eabe 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -177,19 +177,19 @@ zathura_update_view_ppi(zathura_t* zathura)
}
#ifdef GDK_WINDOWING_WAYLAND
- /* work around apparend bug in GDK: on Wayland, monitor geometry doesn't
- * return values in application pixels as documented, but in device pixels.
- * */
- if (GDK_IS_WAYLAND_DISPLAY(display))
- {
- girara_debug("on Wayland, correcting PPI for device scale factor");
- /* not using the cached value for the scale factor here to avoid issues
- * if this function is called before the cached value is updated */
- int device_factor = gtk_widget_get_scale_factor(zathura->ui.session->gtk.view);
- if (device_factor != 0) {
- ppi /= device_factor;
- }
+ /* work around apparent bug in GDK: on Wayland, monitor geometry doesn't
+ * return values in application pixels as documented, but in device pixels.
+ * */
+ if (GDK_IS_WAYLAND_DISPLAY(display))
+ {
+ /* not using the cached value for the scale factor here to avoid issues
+ * if this function is called before the cached value is updated */
+ int device_factor = gtk_widget_get_scale_factor(zathura->ui.session->gtk.view);
+ girara_debug("on Wayland, correcting PPI for device scale factor = %d", device_factor);
+ if (device_factor != 0) {
+ ppi /= device_factor;
}
+ }
#endif
girara_debug("monitor width: %d mm, pixels: %d, ppi: %f", width_mm, monitor_geom.width, ppi);
From 8e3f05612112fd78df0aaeabb67214bc84549a6c Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Fri, 23 Feb 2018 15:26:43 +0100
Subject: [PATCH 071/126] If new PPI is significantly different, yes render and
refresh
---
zathura/zathura.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/zathura/zathura.c b/zathura/zathura.c
index d67eabe..1e5fe9d 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -192,9 +192,13 @@ zathura_update_view_ppi(zathura_t* zathura)
}
#endif
- girara_debug("monitor width: %d mm, pixels: %d, ppi: %f", width_mm, monitor_geom.width, ppi);
-
- zathura_document_set_viewport_ppi(zathura->document, ppi);
+ double current_ppi = zathura_document_get_viewport_ppi(zathura->document);
+ if (fabs(ppi - current_ppi) > DBL_EPSILON) {
+ girara_debug("monitor width: %d mm, pixels: %d, ppi: %f", width_mm, monitor_geom.width, ppi);
+ zathura_document_set_viewport_ppi(zathura->document, ppi);
+ render_all(zathura);
+ refresh_view(zathura);
+ }
}
static bool
From 063b234a2a7b23c0cdad151324abfeeae1ae5751 Mon Sep 17 00:00:00 2001
From: Jeremie Knuesel
Date: Fri, 23 Feb 2018 15:28:22 +0100
Subject: [PATCH 072/126] Listen on configure event for PPI changes
This allows detection of a PPI change due to the window moving to
another monitor
---
zathura/callbacks.c | 11 +++++++++++
zathura/callbacks.h | 22 +++++++++++++++++++---
zathura/render.c | 6 ++++--
zathura/zathura.c | 3 +++
4 files changed, 37 insertions(+), 5 deletions(-)
diff --git a/zathura/callbacks.c b/zathura/callbacks.c
index 4499cdb..63024da 100644
--- a/zathura/callbacks.c
+++ b/zathura/callbacks.c
@@ -256,6 +256,17 @@ cb_widget_screen_changed(GtkWidget* widget, GdkScreen* previous_screen, gpointer
zathura_update_view_ppi(zathura);
}
+void
+cb_widget_configured(GtkWidget* UNUSED(widget), GdkEvent* UNUSED(event), gpointer data)
+{
+ zathura_t* zathura = data;
+ if (zathura == NULL) {
+ return;
+ }
+
+ zathura_update_view_ppi(zathura);
+}
+
void
cb_scale_factor(GObject* object, GParamSpec* UNUSED(pspec), gpointer data)
{
diff --git a/zathura/callbacks.h b/zathura/callbacks.h
index ba49f9d..bee54e0 100644
--- a/zathura/callbacks.h
+++ b/zathura/callbacks.h
@@ -83,7 +83,8 @@ void cb_refresh_view(GtkWidget* view, gpointer data);
* This function gets called when the monitors associated with the GdkScreen
* change.
*
- * It udpates the stored value for the monitor PPI.
+ * It checks for a change of monitor PPI, storing the new value and triggering
+ * a refresh if appropriate.
*
* @param screen The GDK screen
* @param gpointer The zathura instance
@@ -94,8 +95,9 @@ void cb_monitors_changed(GdkScreen* screen, gpointer data);
* This function gets called when the screen associated with the view widget
* changes.
*
- * It udpates updates the connection on the monitors-changed ignal and the
- * stored value for the monitor PPI.
+ * It updates the connection on the monitors-changed signal and checks for a
+ * change of monitor PPI, storing the new value and triggering a refresh if
+ * appropriate.
*
* @param widget The view widget
* @param previous_screen The widget's previous screen
@@ -103,6 +105,20 @@ void cb_monitors_changed(GdkScreen* screen, gpointer data);
*/
void cb_widget_screen_changed(GtkWidget* widget, GdkScreen* previous_screen, gpointer data);
+/**
+ * This function gets called when the main window's size, position or stacking
+ * changes.
+ *
+ * It checks for a change of monitor PPI (due to the window moving between
+ * different monitors), storing the new value and triggering a refresh if
+ * appropriate.
+ *
+ * @param widget The main window widget
+ * @param event The configure event
+ * @param gpointer The zathura instance
+ */
+void cb_widget_configured(GtkWidget* widget, GdkEvent* event, gpointer data);
+
/**
* This function gets called when the view widget scale factor changes (e.g.
* when moving from a regular to a HiDPI screen).
diff --git a/zathura/render.c b/zathura/render.c
index 1d7636c..e7ddc6c 100644
--- a/zathura/render.c
+++ b/zathura/render.c
@@ -868,8 +868,10 @@ render_all(zathura_t* zathura)
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);
+ if (widget != NULL) {
+ gtk_widget_set_size_request(widget, page_width, page_height);
+ gtk_widget_queue_resize(widget);
+ }
}
}
diff --git a/zathura/zathura.c b/zathura/zathura.c
index 1e5fe9d..4516dfe 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -226,6 +226,9 @@ init_ui(zathura_t* zathura)
g_signal_connect(G_OBJECT(zathura->ui.session->gtk.view),
"screen-changed", G_CALLBACK(cb_widget_screen_changed), zathura);
+ g_signal_connect(G_OBJECT(zathura->ui.session->gtk.window),
+ "configure-event", G_CALLBACK(cb_widget_configured), zathura);
+
/* initialize the screen-changed handler to 0 (i.e. invalid) */
zathura->signals.monitors_changed_handler = 0;
From f82162a5ca57ed3558f03aacc1daf2c82ac516af Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Fri, 23 Feb 2018 16:34:05 +0100
Subject: [PATCH 073/126] Mark scale as deprecated
Signed-off-by: Sebastian Ramacher
---
zathura/types.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zathura/types.h b/zathura/types.h
index 006890b..e11afbe 100644
--- a/zathura/types.h
+++ b/zathura/types.h
@@ -180,7 +180,7 @@ typedef struct zathura_link_target_s
double top; /**< Top coordinate */
double bottom; /**< Bottom coordinate */
union {
- double scale; /**< @deprecated Scale */
+ double DEPRECATED(scale); /**< @deprecated Scale */
double zoom; /**< Zoom */
};
} zathura_link_target_t;
From 2106afb93391423b6e583833516e7b6fd98595f5 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 25 Feb 2018 10:48:09 +0100
Subject: [PATCH 074/126] Extend building instructions
Signed-off-by: Sebastian Ramacher
---
README | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/README b/README
index 52115a0..dcb3e75 100644
--- a/README
+++ b/README
@@ -34,13 +34,16 @@ enable-magic=off.
Installation
------------
-To build and install zathura:
+To build and install zathura using meson's ninja backend:
meson build
cd build
ninja
ninja install
+Note that the default backend for meson might vary based on the platform. Please
+refer to the meson documentation for platform specific dependencies.
+
Bugs
----
From 96d3561fc96d9e0f9cf932d3f5fff75550be637d Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 25 Feb 2018 11:10:22 +0100
Subject: [PATCH 075/126] Remove deprecated scale
All plugins have been fixed.
Signed-off-by: Sebastian Ramacher
---
zathura/links.c | 2 +-
zathura/types.h | 5 +----
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/zathura/links.c b/zathura/links.c
index 47c6c38..293691c 100644
--- a/zathura/links.c
+++ b/zathura/links.c
@@ -114,7 +114,7 @@ zathura_link_target_t
zathura_link_get_target(zathura_link_t* link)
{
if (link == NULL) {
- zathura_link_target_t target = { 0, NULL, 0, 0, 0, 0, 0, { 0 } };
+ zathura_link_target_t target = { 0, NULL, 0, 0, 0, 0, 0, 0 };
return target;
}
diff --git a/zathura/types.h b/zathura/types.h
index e11afbe..a4542e4 100644
--- a/zathura/types.h
+++ b/zathura/types.h
@@ -179,10 +179,7 @@ typedef struct zathura_link_target_s
double right; /**< Right coordinate */
double top; /**< Top coordinate */
double bottom; /**< Bottom coordinate */
- union {
- double DEPRECATED(scale); /**< @deprecated Scale */
- double zoom; /**< Zoom */
- };
+ double zoom; /**< Zoom */
} zathura_link_target_t;
/**
From d5fb34dc978474b6b5b655a6be35d5cc9607efb2 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 25 Feb 2018 17:56:48 +0100
Subject: [PATCH 076/126] Add translations for nl
---
po/LINGUAS | 3 +-
po/nl.po | 632 +++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 634 insertions(+), 1 deletion(-)
create mode 100644 po/nl.po
diff --git a/po/LINGUAS b/po/LINGUAS
index 8169b0d..e6bb80a 100644
--- a/po/LINGUAS
+++ b/po/LINGUAS
@@ -3,8 +3,8 @@ cs
de
el
eo
-es_CL
es
+es_CL
et
fr
he
@@ -12,6 +12,7 @@ hr
id_ID
it
lt
+nl
no
pl
pt_BR
diff --git a/po/nl.po b/po/nl.po
new file mode 100644
index 0000000..2bef1a4
--- /dev/null
+++ b/po/nl.po
@@ -0,0 +1,632 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Translators:
+# Heimen Stoffels , 2017-2018
+msgid ""
+msgstr ""
+"Project-Id-Version: zathura\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"PO-Revision-Date: 2018-02-04 11:02+0000\n"
+"Last-Translator: Heimen Stoffels \n"
+"Language-Team: Dutch (http://www.transifex.com/pwmt/zathura/language/nl/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Language: nl\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: ../zathura/callbacks.c:256
+#, c-format
+msgid "'%s' must not be 0. Set to 1."
+msgstr "'%s' mag niet op 0 worden ingesteld. Stel in op 1."
+
+#: ../zathura/callbacks.c:338
+#, c-format
+msgid "Invalid input '%s' given."
+msgstr "Ongeldige invoer, '%s', opgegeven."
+
+#: ../zathura/callbacks.c:374
+#, c-format
+msgid "Invalid index '%s' given."
+msgstr "Ongeldige index, '%s', opgegeven."
+
+#: ../zathura/callbacks.c:613
+#, c-format
+msgid "Copied selected text to selection %s: %s"
+msgstr "Tekst gekopieerd naar selectie %s: %s"
+
+#: ../zathura/callbacks.c:646
+#, c-format
+msgid "Copied selected image to selection %s"
+msgstr "Afbeelding gekopieerd naar selectie %s"
+
+#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
+#: ../zathura/commands.c:165 ../zathura/commands.c:279
+#: ../zathura/commands.c:309 ../zathura/commands.c:335
+#: ../zathura/commands.c:435 ../zathura/commands.c:562
+#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
+#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+msgid "No document opened."
+msgstr "Geen geopend document."
+
+#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
+msgid "Invalid number of arguments given."
+msgstr "Ongeldig aantal argumenten opgegeven."
+
+#: ../zathura/commands.c:53
+#, c-format
+msgid "Could not update bookmark: %s"
+msgstr "Bladwijzer kan niet worden bijgewerkt: %s"
+
+#: ../zathura/commands.c:55
+#, c-format
+msgid "Could not create bookmark: %s"
+msgstr "Bladwijzer kan niet worden gecreëerd: %s"
+
+#: ../zathura/commands.c:60
+#, c-format
+msgid "Bookmark successfully updated: %s"
+msgstr "Bladwijzer succesvol bijgewerkt: %s"
+
+#: ../zathura/commands.c:62
+#, c-format
+msgid "Bookmark successfully created: %s"
+msgstr "Bladwijzer succesvol gecreëerd: %s"
+
+#: ../zathura/commands.c:88
+#, c-format
+msgid "Removed bookmark: %s"
+msgstr "Bladwijzer verwijderd: %s"
+
+#: ../zathura/commands.c:90
+#, c-format
+msgid "Failed to remove bookmark: %s"
+msgstr "Bladwijzer verwijderen mislukt: %s"
+
+#: ../zathura/commands.c:119
+msgid "No bookmarks available."
+msgstr "Geen bladwijzers beschikbaar."
+
+#: ../zathura/commands.c:129
+#, c-format
+msgid "No such bookmark: %s"
+msgstr "Geen bladwijzer: %s"
+
+#: ../zathura/commands.c:175
+msgid "Title"
+msgstr "Titel"
+
+#: ../zathura/commands.c:176
+msgid "Author"
+msgstr "Auteur"
+
+#: ../zathura/commands.c:177
+msgid "Subject"
+msgstr "Onderwerp"
+
+#: ../zathura/commands.c:178
+msgid "Keywords"
+msgstr "Sleutelwoorden"
+
+#: ../zathura/commands.c:179
+msgid "Creator"
+msgstr "Maker"
+
+#: ../zathura/commands.c:180
+msgid "Producer"
+msgstr "Producent"
+
+#: ../zathura/commands.c:181
+msgid "Creation date"
+msgstr "Creatiedatum"
+
+#: ../zathura/commands.c:182
+msgid "Modification date"
+msgstr "Bijwerkdatum"
+
+#: ../zathura/commands.c:187 ../zathura/commands.c:207
+msgid "No information available."
+msgstr "Geen informatie beschikbaar."
+
+#: ../zathura/commands.c:245
+msgid "Too many arguments."
+msgstr "Teveel argumenten."
+
+#: ../zathura/commands.c:256
+msgid "No arguments given."
+msgstr "Geen argumenten opgegeven."
+
+#: ../zathura/commands.c:315 ../zathura/commands.c:341
+msgid "Document saved."
+msgstr "Document opgeslagen."
+
+#: ../zathura/commands.c:317 ../zathura/commands.c:343
+msgid "Failed to save document."
+msgstr "Document opslaan mislukt."
+
+#: ../zathura/commands.c:320 ../zathura/commands.c:346
+msgid "Invalid number of arguments."
+msgstr "Ongeldig aantal argumenten."
+
+#: ../zathura/commands.c:459
+#, c-format
+msgid "Couldn't write attachment '%s' to '%s'."
+msgstr "Bijlage '%s' kan niet worden weggeschreven naar '%s'."
+
+#: ../zathura/commands.c:461
+#, c-format
+msgid "Wrote attachment '%s' to '%s'."
+msgstr "Bijlage '%s' weggeschreven naar '%s'."
+
+#: ../zathura/commands.c:505
+#, c-format
+msgid "Wrote image '%s' to '%s'."
+msgstr "Afbeelding '%s' weggeschreven naar '%s'."
+
+#: ../zathura/commands.c:507
+#, c-format
+msgid "Couldn't write image '%s' to '%s'."
+msgstr "Afbeelding '%s' kan niet worden weggeschreven naar '%s'."
+
+#: ../zathura/commands.c:514
+#, c-format
+msgid "Unknown image '%s'."
+msgstr "Onbekende afbeelding '%s'."
+
+#: ../zathura/commands.c:518
+#, c-format
+msgid "Unknown attachment or image '%s'."
+msgstr "Onbekende bijlage of afbeelding '%s'."
+
+#: ../zathura/commands.c:575
+msgid "Argument must be a number."
+msgstr "Argument moeten een getal zijn."
+
+#: ../zathura/completion.c:283
+#, c-format
+msgid "Page %d"
+msgstr "Pagina %d"
+
+#: ../zathura/completion.c:326
+msgid "Attachments"
+msgstr "Bijlagen"
+
+#. add images
+#: ../zathura/completion.c:357
+msgid "Images"
+msgstr "Afbeeldingen"
+
+#. zathura settings
+#: ../zathura/config.c:145
+msgid "Database backend"
+msgstr "Database-backend"
+
+#: ../zathura/config.c:146
+msgid "File monitor backend"
+msgstr "Bestandsmonitor-backend"
+
+#: ../zathura/config.c:148
+msgid "Zoom step"
+msgstr "Zoomschaal"
+
+#: ../zathura/config.c:150
+msgid "Padding between pages"
+msgstr "Opvulling tussen pagina's"
+
+#: ../zathura/config.c:152
+msgid "Number of pages per row"
+msgstr "Aantal pagina's per rij"
+
+#: ../zathura/config.c:154
+msgid "Column of the first page"
+msgstr "Kolom van de eerste pagina"
+
+#: ../zathura/config.c:156
+msgid "Scroll step"
+msgstr "Scrollschaal"
+
+#: ../zathura/config.c:158
+msgid "Horizontal scroll step"
+msgstr "Horizontale scrollschaal"
+
+#: ../zathura/config.c:160
+msgid "Full page scroll overlap"
+msgstr "Scrolloverlapping op volledige pagina"
+
+#: ../zathura/config.c:162
+msgid "Zoom minimum"
+msgstr "Minimale zoom"
+
+#: ../zathura/config.c:164
+msgid "Zoom maximum"
+msgstr "Maximale zoom"
+
+#: ../zathura/config.c:166
+msgid "Maximum number of pages to keep in the cache"
+msgstr "Maximaal aantal pagina's dat moet worden bewaard in de cache"
+
+#: ../zathura/config.c:168
+msgid "Maximum size in pixels of thumbnails to keep in the cache"
+msgstr "Maximaal aantal in pixels van voorbeeldweergaven die moeten worden bewaard in de cache"
+
+#: ../zathura/config.c:170
+msgid "Number of positions to remember in the jumplist"
+msgstr "Aantal posities dat moet worden onthouden in de jumplist"
+
+#: ../zathura/config.c:172
+msgid "Recoloring (dark color)"
+msgstr "Herkleuren (donkere kleur)"
+
+#: ../zathura/config.c:173
+msgid "Recoloring (light color)"
+msgstr "Herkleuren (lichte kleur)"
+
+#: ../zathura/config.c:174
+msgid "Color for highlighting"
+msgstr "Markeerkleur"
+
+#: ../zathura/config.c:176
+msgid "Color for highlighting (active)"
+msgstr "Markeerkleur (actief)"
+
+#: ../zathura/config.c:178
+msgid "'Loading ...' background color"
+msgstr "'Bezig met laden ...'-achtergrondkleur"
+
+#: ../zathura/config.c:180
+msgid "'Loading ...' foreground color"
+msgstr "'Bezig met laden ...'-voorgrondkleur"
+
+#: ../zathura/config.c:183
+msgid "Index mode foreground color"
+msgstr "Indexmodus-voorgrondkleur"
+
+#: ../zathura/config.c:184
+msgid "Index mode background color"
+msgstr "Indexmodus-achtergrondkleur"
+
+#: ../zathura/config.c:185
+msgid "Index mode foreground color (active element)"
+msgstr "Indexmodus-voorgrondkleur (actief element)"
+
+#: ../zathura/config.c:186
+msgid "Index mode background color (active element)"
+msgstr "Indexmodus-achtergrondkleur (actief element)"
+
+#: ../zathura/config.c:189
+msgid "Recolor pages"
+msgstr "Pagina's herkleuren"
+
+#: ../zathura/config.c:191
+msgid "When recoloring keep original hue and adjust lightness only"
+msgstr "Behoudt tijdens het herkleuren de originele tint en pas alleen de belichting aan"
+
+#: ../zathura/config.c:193
+msgid "When recoloring keep original image colors"
+msgstr "Behoudt tijdens het herkleuren de originele afbeeldingskleuren"
+
+#: ../zathura/config.c:195
+msgid "Wrap scrolling"
+msgstr "Scrollen omslaan"
+
+#: ../zathura/config.c:197
+msgid "Page aware scrolling"
+msgstr "Paginabewust scrollen"
+
+#: ../zathura/config.c:199
+msgid "Advance number of pages per row"
+msgstr "Aantal vooruit-pagina's per rij"
+
+#: ../zathura/config.c:201
+msgid "Horizontally centered zoom"
+msgstr "Horizontaal-gecentreerde zoom"
+
+#: ../zathura/config.c:203
+msgid "Vertically center pages"
+msgstr "Pagina's verticaal centreren"
+
+#: ../zathura/config.c:205
+msgid "Align link target to the left"
+msgstr "Linkdoel uitlijnen naar links"
+
+#: ../zathura/config.c:207
+msgid "Let zoom be changed when following links"
+msgstr "Zoom wijzigen bij volgen van links"
+
+#: ../zathura/config.c:209
+msgid "Center result horizontally"
+msgstr "Resultaat horizontaal centreren"
+
+#: ../zathura/config.c:211
+msgid "Transparency for highlighting"
+msgstr "Doorzichtigheid bij markeren"
+
+#: ../zathura/config.c:213
+msgid "Render 'Loading ...'"
+msgstr "'Bezig met laden...' renderen"
+
+#: ../zathura/config.c:214
+msgid "Adjust to when opening file"
+msgstr "Aanpassen aan bij openen van bestand"
+
+#: ../zathura/config.c:216
+msgid "Show hidden files and directories"
+msgstr "Verborgen bestanden en mappen weergeven"
+
+#: ../zathura/config.c:218
+msgid "Show directories"
+msgstr "Mappen weergeven"
+
+#: ../zathura/config.c:220
+msgid "Show recent files"
+msgstr "Recente bestanden weergeven"
+
+#: ../zathura/config.c:222
+msgid "Always open on first page"
+msgstr "Altijd openen op eerste pagina"
+
+#: ../zathura/config.c:224
+msgid "Highlight search results"
+msgstr "Zoekresultaten markeren"
+
+#: ../zathura/config.c:227
+msgid "Enable incremental search"
+msgstr "Stapsgewijs zoeken inschakelen"
+
+#: ../zathura/config.c:229
+msgid "Clear search results on abort"
+msgstr "Zoekresultaten wissen na afbreken"
+
+#: ../zathura/config.c:231
+msgid "Use basename of the file in the window title"
+msgstr "Basisnaam van bestand gebruiken in de venstertitel"
+
+#: ../zathura/config.c:233
+msgid "Use ~ instead of $HOME in the filename in the window title"
+msgstr "~ gebruiken i.p.v. $HOME in de bestandsnaam in de venstertitel"
+
+#: ../zathura/config.c:235
+msgid "Display the page number in the window title"
+msgstr "Paginanummer weergeven in de venstertitel"
+
+#: ../zathura/config.c:237
+msgid "Use basename of the file in the statusbar"
+msgstr "Basisnaam van bestand gebruiken in de statusbalk"
+
+#: ../zathura/config.c:239
+msgid "Use ~ instead of $HOME in the filename in the statusbar"
+msgstr "~ gebruiken i.p.v. $HOME in de bestandsnaam in de statusbalk"
+
+#: ../zathura/config.c:241
+msgid "Enable synctex support"
+msgstr "Synctex-ondersteuning inschakelen"
+
+#: ../zathura/config.c:243
+msgid "Synctex editor command"
+msgstr "Synctex-bewerkeropdracht"
+
+#: ../zathura/config.c:245
+msgid "Enable D-Bus service"
+msgstr "D-Bus-dienst inschakelen"
+
+#: ../zathura/config.c:247
+msgid "Save history at each page change"
+msgstr "Geschiedenis opslaan bij elke paginawijziging"
+
+#: ../zathura/config.c:249
+msgid "The clipboard into which mouse-selected data will be written"
+msgstr "Het klembord waarnaar met de muis geselecteerde gegevens moet worden weggeschreven"
+
+#: ../zathura/config.c:251
+msgid "Enable notification after selecting text"
+msgstr "Melding inschakelen na selecteren van tekst"
+
+#. define default inputbar commands
+#: ../zathura/config.c:440
+msgid "Add a bookmark"
+msgstr "Bladwijzer toevoegen"
+
+#: ../zathura/config.c:441
+msgid "Delete a bookmark"
+msgstr "Bladwijzer verwijderen"
+
+#: ../zathura/config.c:442
+msgid "List all bookmarks"
+msgstr "Alle bladwijzers weergeven"
+
+#: ../zathura/config.c:443
+msgid "Close current file"
+msgstr "Huidig bestand sluiten"
+
+#: ../zathura/config.c:444
+msgid "Show file information"
+msgstr "Bestandsinformatie weergeven"
+
+#: ../zathura/config.c:445 ../zathura/config.c:446
+msgid "Execute a command"
+msgstr "Opdracht uitvoeren"
+
+#. like vim
+#: ../zathura/config.c:447
+msgid "Show help"
+msgstr "Hulp weergeven"
+
+#: ../zathura/config.c:448
+msgid "Open document"
+msgstr "Document openen"
+
+#: ../zathura/config.c:449
+msgid "Close zathura"
+msgstr "Zathura sluiten"
+
+#: ../zathura/config.c:450
+msgid "Print document"
+msgstr "Document afdrukken"
+
+#: ../zathura/config.c:451
+msgid "Save document"
+msgstr "Document opslaan"
+
+#: ../zathura/config.c:452
+msgid "Save document (and force overwriting)"
+msgstr "Document opslaan (en overschrijven forceren)"
+
+#: ../zathura/config.c:453
+msgid "Save attachments"
+msgstr "Bijlagen opslaan"
+
+#: ../zathura/config.c:454
+msgid "Set page offset"
+msgstr "Pagina-afwijking instellen"
+
+#: ../zathura/config.c:455
+msgid "Mark current location within the document"
+msgstr "Huidige locatie in document markeren"
+
+#: ../zathura/config.c:456
+msgid "Delete the specified marks"
+msgstr "Opgegeven markeringen verwijderen"
+
+#: ../zathura/config.c:457
+msgid "Don't highlight current search results"
+msgstr "Huidige zoekresultaten niet markeren"
+
+#: ../zathura/config.c:458
+msgid "Highlight current search results"
+msgstr "Huidige zoekresultaten markeren"
+
+#: ../zathura/config.c:459
+msgid "Show version information"
+msgstr "Versie-informatie weergeven"
+
+#: ../zathura/links.c:203 ../zathura/links.c:282
+msgid "Failed to run xdg-open."
+msgstr "Uitvoeren van xdg-open mislukt."
+
+#: ../zathura/links.c:221
+#, c-format
+msgid "Link: page %d"
+msgstr "Link: pagina %d"
+
+#: ../zathura/links.c:228
+#, c-format
+msgid "Link: %s"
+msgstr "Link: %s"
+
+#: ../zathura/links.c:232
+msgid "Link: Invalid"
+msgstr "Link: ongeldig"
+
+#: ../zathura/main.c:146
+msgid "Reparents to window specified by xid (X11)"
+msgstr "Wordt bij bovenliggend, door xid (X11) opgegeven venster gevoegd"
+
+#: ../zathura/main.c:147
+msgid "Path to the config directory"
+msgstr "Pad naar de configuratiemap"
+
+#: ../zathura/main.c:148
+msgid "Path to the data directory"
+msgstr "Pad naar de gegevensmap"
+
+#: ../zathura/main.c:149
+msgid "Path to the cache directory"
+msgstr "Pad naar de cachemap"
+
+#: ../zathura/main.c:150
+msgid "Path to the directories containing plugins"
+msgstr "Pad naar de mappen die plug-ins bevatten"
+
+#: ../zathura/main.c:151
+msgid "Fork into the background"
+msgstr "Naar achtergrond verplaatsen"
+
+#: ../zathura/main.c:152
+msgid "Document password"
+msgstr "Documentwachtwoord"
+
+#: ../zathura/main.c:153
+msgid "Page number to go to"
+msgstr "Paginanummer om naartoe te gaan"
+
+#: ../zathura/main.c:154
+msgid "Log level (debug, info, warning, error)"
+msgstr "Logniveau (foutopsporing, informatie, waarschuwing, fout)"
+
+#: ../zathura/main.c:155
+msgid "Print version information"
+msgstr "Versie-informatie afdrukken"
+
+#: ../zathura/main.c:157
+msgid "Synctex editor (forwarded to the synctex command)"
+msgstr "Synctex-bewerker (wordt doorgestuurd naar de synctex-opdracht)"
+
+#: ../zathura/main.c:158
+msgid "Move to given synctex position"
+msgstr "Verplaatsen naar opgegeven synctex-positie"
+
+#: ../zathura/main.c:159
+msgid "Highlight given position in the given process"
+msgstr "Opgegeven positie markeren in het opgegeven proces"
+
+#: ../zathura/main.c:161
+msgid "Start in a non-default mode"
+msgstr "Starten in een niet-standaardmodus"
+
+#: ../zathura/page-widget.c:668
+msgid "Loading..."
+msgstr "Bezig met laden..."
+
+#: ../zathura/page-widget.c:1122
+msgid "Copy image"
+msgstr "Afbeelding kopiëren"
+
+#: ../zathura/page-widget.c:1123
+msgid "Save image as"
+msgstr "Afbeelding opslaan als"
+
+#: ../zathura/print.c:64 ../zathura/print.c:227
+#, c-format
+msgid "Printing failed: %s"
+msgstr "Afdrukken mislukt: %s"
+
+#: ../zathura/shortcuts.c:105
+#, c-format
+msgid "Invalid adjust mode: %d"
+msgstr "Ongeldige aanpassingsmodus: %d"
+
+#: ../zathura/shortcuts.c:977
+#, c-format
+msgid "Pattern not found: %s"
+msgstr "Patroon niet gevonden: %s"
+
+#: ../zathura/shortcuts.c:1135
+msgid "This document does not contain any index"
+msgstr "Dit document bevat geen index"
+
+#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+msgid "[No name]"
+msgstr "[Naamloos]"
+
+#: ../zathura/zathura.c:648
+msgid "Could not read file from stdin and write it to a temporary file."
+msgstr "Bestand kan niet worden gelezen uit stdin en worden weggeschreven naar een tijdelijk bestand."
+
+#: ../zathura/zathura.c:664
+msgid "Could not read file from GIO and copy it to a temporary file."
+msgstr "Bestand kan niet worden gelezen uit GIO en worden gekopieerd naar een tijdelijk bestand."
+
+#: ../zathura/zathura.c:753
+msgid "Enter password:"
+msgstr "Wachtwoord invoeren:"
+
+#: ../zathura/zathura.c:788
+msgid "Unsupported file type. Please install the necessary plugin."
+msgstr "Niet-ondersteund bestandstype. Installeer de benodigde plug-in."
+
+#: ../zathura/zathura.c:798
+msgid "Document does not contain any pages"
+msgstr "Document bevat geen pagina's"
From 354dfc35a6bc0a9b77716cb21299bcb4c4f2c3bd Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 25 Feb 2018 17:57:05 +0100
Subject: [PATCH 077/126] Run update-po
Signed-off-by: Sebastian Ramacher
---
po/ca.po | 303 ++++++++++++++++++++++++------------------------
po/cs.po | 303 ++++++++++++++++++++++++------------------------
po/de.po | 303 ++++++++++++++++++++++++------------------------
po/el.po | 303 ++++++++++++++++++++++++------------------------
po/eo.po | 303 ++++++++++++++++++++++++------------------------
po/es.po | 303 ++++++++++++++++++++++++------------------------
po/es_CL.po | 303 ++++++++++++++++++++++++------------------------
po/et.po | 303 ++++++++++++++++++++++++------------------------
po/fr.po | 303 ++++++++++++++++++++++++------------------------
po/he.po | 303 ++++++++++++++++++++++++------------------------
po/hr.po | 303 ++++++++++++++++++++++++------------------------
po/id_ID.po | 303 ++++++++++++++++++++++++------------------------
po/it.po | 303 ++++++++++++++++++++++++------------------------
po/lt.po | 303 ++++++++++++++++++++++++------------------------
po/nl.po | 325 +++++++++++++++++++++++++++-------------------------
po/no.po | 303 ++++++++++++++++++++++++------------------------
po/pl.po | 303 ++++++++++++++++++++++++------------------------
po/pt_BR.po | 303 ++++++++++++++++++++++++------------------------
po/ru.po | 303 ++++++++++++++++++++++++------------------------
po/ta_IN.po | 303 ++++++++++++++++++++++++------------------------
po/tr.po | 303 ++++++++++++++++++++++++------------------------
po/uk_UA.po | 303 ++++++++++++++++++++++++------------------------
22 files changed, 3338 insertions(+), 3350 deletions(-)
diff --git a/po/ca.po b/po/ca.po
index 2f50f31..a68a51a 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -7,8 +7,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\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/"
@@ -20,616 +20,615 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr "Entrada invàlida '%s'."
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr "Índex invàlid '%s'."
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr ""
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr "Nombre d'arguments invàlids."
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "No s'ha pogut crear el marcador: %s"
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "No s'ha pogut crear el marcador: %s"
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Marcador actualitzat correctament: %s"
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Marcador creat correctament: %s"
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Esborrat el marcador: %s"
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "No s'ha pogut esborrar el marcador: %s"
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
#, fuzzy
msgid "No bookmarks available."
msgstr "Cap informació disponible."
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Marcador no existent: %s"
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr "Cap informació disponible."
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr "Massa arguments."
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr "Cap argument subministrat."
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr "Document desat."
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr "No s'ha pogut desar el document."
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr "Nombre d'arguments invàlids."
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, 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:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "S'ha escrit el fitxer adjunt '%s' a '%s'."
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "S'ha escrit la imatge '%s' a '%s'."
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "No s'ha pogut escriure la imatge '%s' a '%s'."
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr "Imatge desconeguda '%s'."
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Imatge o fitxer adjunt desconegut '%s'."
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr "L'argument ha de ser un nombre."
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Pàgina %d"
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr "Fitxers adjunts"
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr "Imatges"
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr "Base de dades de rerefons"
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr ""
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr "Pas d'ampliació"
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr "Separació entre pàgines"
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr "Nombre de pàgines per fila"
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr "Columna de la primera pàgina"
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr "Pas de desplaçament"
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Pas de desplaçament horitzontal"
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr "Superposició de pàgines completes de desplaçament"
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr "Zoom mínim"
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr "Zoom màxim"
-#: ../zathura/config.c:166
+#: zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:170
+#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr "Nombre de posicions per recordar al jumplist"
-#: ../zathura/config.c:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Recolorejant (color fosc)"
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Recolorejant (color clar)"
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr "Color de realçament"
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Color de realçament (activat)"
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr "Recolorejant les pàgines"
-#: ../zathura/config.c:191
+#: 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:193
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Desplaçament recollit"
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr "Desplaçament recollit"
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Avançar nombre de pàgines per fila"
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Zoom centrat horitzontalment"
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr ""
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr ""
-#: ../zathura/config.c:207
+#: zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr ""
-#: ../zathura/config.c:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr "Centra el resultat horitzontalment"
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Transparència del realçat"
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Renderitza 'Carregant ...'"
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Ajustar al fitxer quan s'obri"
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Mostra els directoris i fitxers ocults"
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr "Mostra els directoris"
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr "Obrir sempre la primera pàgina"
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr "Realça els resultats de recerca"
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr "Habilita la cerca incremental"
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Esborra els resultats de recerca a l'interrompre"
-#: ../zathura/config.c:231
+#: 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:233
+#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:235
+#: zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:237
+#: zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:239
+#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr "Habilitar la compatibilitat amb synctex"
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr ""
-#: ../zathura/config.c:249
+#: zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:251
+#: zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr "Afegir un marcador"
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Esborrar un marcador"
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr "Llista tots els marcadors"
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr "Tancar el fitxer actual"
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr "Mostra informació sobre el fitxer"
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr "Executar una comanda"
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr "Mostrar l'ajuda"
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr "Obrir document"
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr "Tancar Zathura"
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr "Imprimir document"
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr "Desar document"
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Desar document (i forçar la sobreescritura)"
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr "Desa els fitxers adjunts"
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr "Assigna el desplaçament de pàgina"
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Marca la posició actual dins el document"
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Esborrar les marques especificades"
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "No realcis els resultats de la recerca actual"
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr "Realça els resultats de recerca actual"
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr "Mostra informació sobre la versió"
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr "No s'ha pogut executar xdg-open."
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr "Enllaçar: pàgina %d"
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr "Enllaç: %s"
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr "Enllaç: Invàlid"
-#: ../zathura/main.c:146
+#: zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Reassigna a la finestra especificada per xid (X11)"
-#: ../zathura/main.c:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr "Ruta al directori de configuració"
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr "Camí al directori de dades"
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Camí al directori que conté els plugins"
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr "Bifurca en segon pla"
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr "Contrasenya del document"
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Nivell de registre (depuració, informació, advertiments, errors)"
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr "Imprimeix informació sobre la versió"
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor synctex (reenviat a l'ordre synctex)"
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr "Carregant..."
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr "Copia la imatge"
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr "Desa imatge com a"
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Aquest document no conté cap índex"
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr "[Sense nom]"
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: zathura/zathura.c:737
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: zathura/zathura.c:826
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/cs.po b/po/cs.po
index aa62bfa..c60affe 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -6,8 +6,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\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"
@@ -17,619 +17,618 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr "'%s' nesmí být 0. Nastaveno na 1."
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr "Neplatný vstup: %s"
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr "Neplatný rejstřík: %s"
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr "Vybraný text zkopírován do výběru %s: %s"
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, fuzzy, c-format
msgid "Copied selected image to selection %s"
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:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr "Špatný počet argumentů."
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Nepodařilo se vytvořit záložku: %s"
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Nepodařilo se vytvořit záložku: %s"
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Záložka úspěšně aktualizována: %s"
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Záložka úspěšně vytvořena: %s"
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Záložka smazána: %s"
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Nepodařilo se smazat záložku: %s"
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
#, fuzzy
msgid "No bookmarks available."
msgstr "Nejsou dostupné žádné informace."
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Záložka neexistuje: %s"
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr "Název"
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr "Autor"
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr "Předmět"
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr "Klíčová slova"
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr "Tvůrce"
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr "Výrobce"
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr "Datum vytvoření"
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr "Datum změny"
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr "Nejsou dostupné žádné informace."
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr "Příliš mnoho argumentů."
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr "Nezadali jste argumenty."
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr "Dokument uložen."
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr "Nepovedlo se uložit dokument."
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr "Špatný počet argumentů."
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Nepovedlo se zapsat přílohu '%s' do '%s'."
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Příloha '%s' zapsána do '%s'."
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Obrázek '%s' zapsán do '%s'."
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Nepovedlo se zapsat obrázek '%s' do '%s'."
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr "Neznámý obrázek '%s'."
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Neznámá příloha nebo obrázek '%s'."
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr "Argumentem musí být číslo."
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Strana %d"
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr "Přílohy"
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr "Obrázky"
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr "Databázová vrstva"
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr ""
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr "Velikost kroku zvětšení"
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr "Mezery mezi stránkami"
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr "Počet stran na řádek"
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr "Sloupec první strany"
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr "Velikost kroku posunu"
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Velikost kroku vodorovného posunu"
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr "Překrývání při posunování celých stran"
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr "Nejmenší stupeň zvětšení"
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr "Největší stupeň zvětšení"
-#: ../zathura/config.c:166
+#: zathura/config.c:166
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
+#: zathura/config.c:168
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
+#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr "Počet poloh k uchování v seznamu"
-#: ../zathura/config.c:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Přebarvuje se do tmava"
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Přebarvuje se do světla"
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr "Barva zvýrazňovače"
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Barva zvýrazňovače (činná)"
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr "Nahrává se barva pozadí..."
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr "Nahrává se barva popředí..."
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr "Barva popředí režimu rejstříku"
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr "Barva pozadí režimu rejstříku"
-#: ../zathura/config.c:185
+#: 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
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr "Barva pozadí režimu rejstříku (činný prvek)"
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr "Přebarvit stránky"
-#: ../zathura/config.c:191
+#: zathura/config.c:191
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
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr "Při přebarvování zachovat původní barvy obrázku"
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Posunovat přes konce"
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr "Posunovat s ohledem na strany"
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Pokračovat v počtu stran v jednom řádku"
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Vodorovně vystředěné přiblížení"
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr ""
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr "Zarovnat cíl odkazu nalevo"
-#: ../zathura/config.c:207
+#: 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
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr "Vystředit výsledky vodorovně"
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Průhlednost při zvýrazňování"
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Vypisovat Nahrává se..."
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Přiblížení po otevření souboru"
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Zobrazovat skryté soubory"
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr "Ukázat adresáře"
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr "Ukázat nedávné soubory"
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr "Vždy otevírat na první straně"
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr "Zvýrazňovat výsledky hledání"
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr "Povolit přírůstkové hledání"
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Při přerušení smazat výsledky hledání"
-#: ../zathura/config.c:231
+#: zathura/config.c:231
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
+#: zathura/config.c:233
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
+#: zathura/config.c:235
msgid "Display the page number in the window title"
msgstr "Zobrazit číslo strany v názvu okna"
-#: ../zathura/config.c:237
+#: zathura/config.c:237
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
+#: zathura/config.c:239
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
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr "Povolit podporu pro synctex"
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr "Příkaz pro editor Synctex"
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr "Povolit službu D-Bus"
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr ""
-#: ../zathura/config.c:249
+#: 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
+#: 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:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr "Přidat záložku"
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Smazat záložku"
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr "Vypsat všechny záložky"
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr "Zavřít nynější soubor"
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr "Ukázat informace o souboru"
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr "Spustit příkaz"
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr "Ukázat nápovědu"
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr "Otevřít dokument"
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr "Zavřít zathuru"
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr "Vytisknout dokument"
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr "Uložit dokument"
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Uložit dokument a vynutit jeho přepsání"
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr "Uložit přílohy"
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr "Nastavit posun strany"
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Označit současnou polohu v dokumentu"
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Smazat vybrané značky"
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Nezvýrazňovat výsledky tohoto hledání"
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr "Zvýrazňovat výsledky tohoto hledání"
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr "Ukázat údaj o verzi"
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr "Nepodařilo se spustit xdg-open."
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr "Odkaz: strana %d"
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr "Odkaz: %s"
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr "Odkaz: Neplatný"
-#: ../zathura/main.c:146
+#: zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Propojí s oknem udaným xid (X11)"
-#: ../zathura/main.c:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr "Cesta k adresáři se souborem s nastavením"
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr "Cesta k adresáři s daty"
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr "Cesta k adresáři s vyrovnávací pamětí"
-#: ../zathura/main.c:150
+#: 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
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr "Forknout se na pozadí"
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr "Heslo k dokumentu"
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr "Číslo strany, na kterou jít"
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Úroveň logování (debug, info, warning, error)"
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr "Zobrazit údaje o verzi"
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor Synctex (předáno příkazu synctex)"
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr "Přesunout se na udanou polohu synctex"
-#: ../zathura/main.c:159
+#: 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
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr "Spustit v ne-výchozím režimu"
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr "Nahrává se..."
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr "Kopírovat obrázek"
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr "Uložit obrázek jako"
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr "Nepodařilo se vytisknout: %s"
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Tento dokument neobsahuje žádný rejstřík"
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr "[Nepojmenovaný]"
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
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:737
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:826
msgid "Enter password:"
msgstr "Zadat heslo:"
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
"Nepodporovaný typ souboru. Nainstalujte, prosím, nezbytný přídavný modul."
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
msgid "Document does not contain any pages"
msgstr "Dokument neobsahuje žádné strany"
diff --git a/po/de.po b/po/de.po
index 8cd3b56..91b0360 100644
--- a/po/de.po
+++ b/po/de.po
@@ -7,8 +7,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\n"
"PO-Revision-Date: 2018-02-04 10:51+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: German (http://www.transifex.com/projects/p/zathura/language/"
@@ -20,618 +20,617 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.6\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr "'%s' darf nicht 0 sein. Auf 1 gesetzt."
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr "Ungültige Eingabe '%s' angegeben."
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr "Ungültiger Index '%s' angegeben."
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr "Der gewählte Text wurde in die Zwischenablage %s kopiert: %s"
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr "Das gewählte Bild wurde in die Zwischenablage %s kopiert"
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr "Ungültige Anzahl an Argumenten angegeben."
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Konnte Lesezeichen nicht aktualisieren: %s"
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Konnte Lesezeichen nicht erstellen: %s"
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Lesezeichen erfolgreich aktualisiert: %s"
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Lesezeichen erfolgreich erstellt: %s"
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Lesezeichen entfernt: %s"
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Konnte Lesezeichen nicht entfernen: %s"
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
msgid "No bookmarks available."
msgstr "Keine Lesezeichen verfügbar."
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Lesezeichen existiert nicht: %s"
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr "Titel"
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr "Autor"
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr "Betreff"
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr "Schlagwörter"
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr "Ersteller"
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr "Produzent"
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr "Erstellungsdatum"
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr "Modifikationsdatum"
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr "Keine Information verfügbar."
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr "Zu viele Argumente angegeben."
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr "Keine Argumente angegeben."
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr "Dokument gespeichert."
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr "Konnte Dokument nicht speichern."
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr "Ungültige Anzahl an Argumenten."
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben."
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Anhang '%s' nach '%s' geschrieben."
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Anhang '%s' nach '%s' geschrieben."
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben."
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr "Unbekanntes Bild '%s'."
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Unbekannter Anhanng oder Bild '%s'."
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr "Das Argument ist keine Zahl."
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Seite %d"
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr "Speichere Anhänge"
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr "Bilder"
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr "Datenbank Backend"
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr "Dateiwächter Backend"
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr "Vergrößerungsstufe"
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr "Abstand zwischen den Seiten"
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr "Anzahl der Seiten in einer Reihe"
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr "Spalte der ersten Seite"
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr "Schrittgröße beim Scrollen"
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Horizontale Schrittgröße beim Scrollen"
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr "Überlappung beim Scrollen von ganzen Seiten"
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr "Minimale Vergrößerungsstufe"
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr "Maximale Vergrößerungsstufe"
-#: ../zathura/config.c:166
+#: zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr "Maximale Seitenzahl im Zwischenspeicher"
-#: ../zathura/config.c:168
+#: 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:170
+#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr "Anzahl der Liste zu behaltenden Positionen"
-#: ../zathura/config.c:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Neufärben (Dunkle Farbe)"
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Neufärben (Helle Farbe)"
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr "Farbe für eine Markierung"
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Farbe für die aktuelle Markierung"
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr "Hintergrundfarbe von 'Lädt...'"
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr "Vordergrundfarbe von 'Lädt...'"
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr "Vordergrundfarbe des Indexmodus"
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr "Hintergrundfarbe des Indexmodus"
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr "Vordergrundfarbe des Indexmodus (aktives Element)"
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr "Hintergrundfarbe des Indexmodus (aktives Element)"
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr "Färbe die Seiten ein"
-#: ../zathura/config.c:191
+#: 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:193
+#: 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:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Scroll-Umbruch"
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr "Seiten beim Scrollen beachten"
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Gehe Anzahl der Seiten in einer Reihe weiter"
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Horizontal zentrierter Zoom"
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr "Zentriere Seiten vertikal"
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr "Linkziel links ausrichten"
-#: ../zathura/config.c:207
+#: zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr "Erlaube Zoom-Änderungen beim Folgen von Links"
-#: ../zathura/config.c:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr "Zentriere Ergebnis horizontal"
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Transparenz für Markierungen"
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Zeige 'Lädt...'-Text beim Zeichnen einer Seite"
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Seite einpassen"
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Zeige versteckte Dateien und Ordner an"
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr "Zeige Ordner an"
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr "Zeige zuletzt geöffnete Dateien an"
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr "Öffne Dokument immer auf der ersten Seite"
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr "Hebe Suchergebnisse hervor"
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr "Aktiviere inkrementelle Suche"
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Lösche Suchergebnisse bei Abbruch"
-#: ../zathura/config.c:231
+#: 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:233
+#: 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:235
+#: zathura/config.c:235
msgid "Display the page number in the window title"
msgstr "Verwende die Seitenzal im Fenstertitel"
-#: ../zathura/config.c:237
+#: 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:239
+#: 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:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr "Aktiviere SyncTeX-Unterstützung"
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr "Synctex Editor Befehl"
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr "D-Bus-Dienst aktivieren"
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr "Speichere Verlauf bei jedem Seitenwechsel"
-#: ../zathura/config.c:249
+#: 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:251
+#: zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr "Benachrichtigung nach Text-Selektion"
#. define default inputbar commands
-#: ../zathura/config.c:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr "Füge Lesezeichen hinzu"
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Lösche ein Lesezeichen"
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr "Liste all Lesezeichen auf"
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr "Schließe das aktuelle Dokument"
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr "Zeige Dokumentinformationen an"
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr "Führe einen Befehl aus"
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr "Zeige Hilfe an"
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr "Öffne Dokument"
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr "Beende zathura"
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr "Drucke Dokument"
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr "Speichere Dokument"
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Speichere Dokument (und überschreibe bestehende)"
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr "Speichere Anhänge"
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr "Setze den Seitenabstand"
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Markiere aktuelle Position im Doukument"
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Lösche angegebene Markierung"
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Hebe aktuelle Suchergebnisse nicht hervor"
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr "Hebe aktuelle Suchergebnisse hervor"
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr "Zeige Versionsinformationen an"
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr "Konnte xdg-open nicht ausführen."
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr "Verknüpfung: Seite %d"
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr "Verknüpfung: %s"
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr "Verknüpfung: ungültig"
-#: ../zathura/main.c:146
+#: 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:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr "Pfad zum Konfigurationsverzeichnis"
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr "Pfad zum Datenverzeichnis"
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr "Pfad zum Cacheverzeichnis"
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Pfad zum Pluginverzeichnis"
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr "Forkt den Prozess in den Hintergrund"
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr "Dokument Passwort"
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr "Zur Seite springen"
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Log-Stufe (debug, info, warning, error)"
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr "Zeige Versionsinformationen an"
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex Editor (wird an synctex weitergeleitet)"
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr "Zur gewählten SyncTeX-Position springen"
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr "Gewählte Position im Prozess hervorheben"
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr "In einem Nicht-Standardmodus starten"
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr "Lädt..."
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr "Bild kopieren"
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr "Bild speichern als"
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr "Drucken fehlgeschlagen: %s"
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr "Ungültiger Anpassungsmodus: %d"
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr "Suchausdruck nicht gefunden: %s"
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis"
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr "[Kein Name]"
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
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:737
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:826
msgid "Enter password:"
msgstr "Passwort:"
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Dateityp ist nicht unterstützt. Installiere das benötigete Plugin."
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
msgid "Document does not contain any pages"
msgstr "Dieses Dokument beinhaltet keine Seiten"
diff --git a/po/el.po b/po/el.po
index 256154f..8586c6b 100644
--- a/po/el.po
+++ b/po/el.po
@@ -7,8 +7,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\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/"
@@ -20,618 +20,617 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr "Η είσοδος '%s' είναι άκυρη."
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr "Ο δείκτης '%s' είναι άκυρος."
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr ""
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr "Μη έγκυρος αριθμός παραμέτρων."
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Η δημιουργία του σελιδοδείκτη: %s δεν ήταν δυνατή."
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Η δημιουργία του σελιδοδείκτη: %s δεν ήταν δυνατή."
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Η ενημέρωση του σελιδοδείκτη: %s ήταν επιτυχής. "
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Η δημιουργία του σελιδοδείκτη: %s ήταν επιτυχής."
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Ο σελιδοδείκτης: %s διεγράφει. "
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Η διαγραφή του σελιδοδείκτη: %s απέτυχε. "
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
#, fuzzy
msgid "No bookmarks available."
msgstr "Δεν υπάρχουν διαθέσιμες πληροφορίες."
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Ο σελιδοδείκτης: %s δεν βρέθηκε. "
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr "Δεν υπάρχουν διαθέσιμες πληροφορίες."
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr "Εισήχθησαν πολλές παράμετροι. "
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr "Δεν εισήχθησαν παράμετροι. "
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr "Το αρχείο αποθηκεύτηκε."
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr "Η αποθήκευση του αρχείου απέτυχε. "
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr "Μη έγκυρος ο αριθμός των παραμέτρων. "
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Μη επιτυχής η εγγραγή της προσάρτησης '%s' στην '%s'."
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Επιτυχής η εγγραφή της προσάρτησης '%s' στην '%s'."
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Ενεγράφει η εικόνα '%s' στην '%s'"
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Δεν ενεγράφει η εικόνα '%s' στην '%s'."
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr "Άγνωστη εικόνα '%s'. "
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Άγνωστο προσάρτημα είτε εικόνα '%s'. "
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr "Η παράμετρος πρέπει να είναι αριθμός."
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Σελίδα %d"
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr "Προσαρτήσεις"
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr "Εικόνες"
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr "Το βασικό εργαλείο της βάσης δεδομένων"
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr ""
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr "Βήμα μεγέθυνσης"
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr "Διάκενο μεταξύ σελίδων"
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr "Αριθμός σελίδων ανά γραμμή"
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr "Στήλη της πρώτης σελίδας"
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr "Βήμα κύλισης"
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Βήμα οριζόντιας κύλησης"
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr "Ελάχιστη μεγέθυνση"
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr "Μέγιστη μεγέθυνση"
-#: ../zathura/config.c:166
+#: zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:170
+#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr ""
-#: ../zathura/config.c:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Επαναχρωματισμός (σκούρο χρώμα)"
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Επαναχρωματισμός (ανοικτό χρώμα)"
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr "Χρώμα τονισμού"
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Χρώμα τονισμού (ενεργό)"
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr "Επαναχρωματισμός σελίδων"
-#: ../zathura/config.c:191
+#: zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
"Κατά τον επαναχρωματισμό της σελιδάς διατήρηση της αρχικής απόχρωσης και "
"αλλαγή μόνο της φωτεινότητας"
-#: ../zathura/config.c:193
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Κυκλική κύληση"
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Προώθηση σε αριθμό σελίδων ανά γραμμή"
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Μεγένθηση οριζοντίως κεντραρισμένη"
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr ""
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr ""
-#: ../zathura/config.c:207
+#: zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr ""
-#: ../zathura/config.c:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr "Οριζόντιο κεντράρισμα αποτελεσμάτων"
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Διαφάνεια για τονισμό"
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Εμφάνιση της ένδειξης 'Φορτώνει ...'"
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Προσαρμογή κατά το άνοιγμα του αρχείου"
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Εμφάνιση κρυφών αρχείων και φακέλων"
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr "Εμφάνιση καταλόγων"
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr "Άνοιγμα πάντα στην πρώτη σελίδα"
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr "Τονισμός αποτελεσμάτων αναζήτησης"
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr ""
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Εκκαθάριση των απολεσμάτων αναζήτησης κατά την διακοπή"
-#: ../zathura/config.c:231
+#: zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr "Χρήση του ονόματος του αρχείο στο τίτλο του παραθύρου"
-#: ../zathura/config.c:233
+#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:235
+#: zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:237
+#: zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:239
+#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr "Ενεργοποίηση υποστήριξης synctex"
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr ""
-#: ../zathura/config.c:249
+#: zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:251
+#: zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr "Προσθήκη σελιδοδείκτη"
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Διαγραφή σελιδοδείκτη"
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr "Εμφάνιση όλων των σελιδοδεικτών"
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr "Κλείσιμο αρχείου"
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr "Προβολή πληροφοριών αρχείου"
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr "Εκτέλεση εντολής"
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr "Εμφάνιση βοήθειας"
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr "Άνοιγμα αρχείου"
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr "Κλείσιμο"
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr "Εκτύπωση αρχείου"
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr "Αποθήκευση αρχείου"
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Αποθήκευση αρχείου (και αντικατάσταση)"
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr "Αποθήκευση προσαρτήσεων. "
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr "Ρύθμιση αντιστάθμισης σελίδας"
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Επισήμανση τρέχουσας θέσης στο κείμενο"
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Διαγραφή επιλεγμένων σημείων"
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Χωρίς τονισμό τα τρέχοντα αποτελέσματα της αναζήτησης"
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr "Τονισμός στα τρέχοντα αποτελέσματα της αναζήτησης"
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr "Εμφάνιση πληροφοριών έκδοσης"
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr "Απέτυχε η εκτέλεση του xdg-open. "
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr ""
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr ""
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr ""
-#: ../zathura/main.c:146
+#: zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: ../zathura/main.c:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr "Διαδρομή του αρχείου ρυθμίσεων"
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr "Διαδρομή του φακέλου δεδομένων"
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Διαδρομή φακέλου που περιέχει τα πρόσθετα"
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr "Διακλάδωση στο παρασκήνιο"
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr "Κωδικός αρχείου"
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Επίπεδο καταγραφής (debug, info, warning, error)"
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr "Εκτύπωση πληροφοριών έκδοσης"
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex editor (Προώθηση στην εντολή synctex)"
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr "Φορτώνει ..."
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr "Αντιγραφή εικόνας"
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr "Αποθήκευση εικόνας ως..."
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Το αρχείο δεν περιέχει κανένα δείκτη"
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr "[Χωρίς όνομα]"
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: zathura/zathura.c:737
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: zathura/zathura.c:826
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/eo.po b/po/eo.po
index ec1d987..008410b 100644
--- a/po/eo.po
+++ b/po/eo.po
@@ -6,8 +6,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\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/"
@@ -19,616 +19,615 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.5\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr "Nevalida enigo '%s' uzata."
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr "Nevalida indekso '%s' uzata."
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr ""
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr "Nevalida nombro da argumentoj uzata."
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Neeble krei paĝosignon: %s"
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Neeble krei paĝosignon: %s"
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Paĝosigno sukcese aktualigita: %s"
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Paĝosigno sukcese kreita: %s"
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Paĝosigno forigita: %s"
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Neeble forigi paĝosignon: %s"
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
#, fuzzy
msgid "No bookmarks available."
msgstr "Neniu informacio disponebla."
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Neniu paĝosigno: %s"
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr "Neniu informacio disponebla."
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr "Tro multe da argumentoj."
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr "Neniuj argumentoj uzata."
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr "Dokumento konservita."
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr "Neeble konservi dokumenton."
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr "Nevalida nombro da argumentoj."
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Neeble skribi kunsendaĵon '%s' en '%s'."
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Skribis kunsendaĵon '%s' en '%s'."
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Skribis kunsendaĵon '%s' en '%s'."
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Neeble skribi kunsendaĵon '%s' en '%s'."
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr "Nekonata bildo '%s'."
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr "Argumento devas esti nombro."
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Paĝo %d"
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr "Konservu kunsendaĵojn"
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr "Bildoj"
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr ""
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr ""
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr "Zompaŝo"
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr "Interpaĝa plenigo"
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr "Nombro da paĝoj po vico"
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr ""
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr "Rulumpaŝo"
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr ""
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr "Mimimuma zomo"
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr "Maksimuma zomo"
-#: ../zathura/config.c:166
+#: zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:170
+#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr ""
-#: ../zathura/config.c:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Rekolorigo (malhela koloro)"
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Rekolorigo (hela koloro)"
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr "Koloro por fonlumo"
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Koloro por fonlumo (aktiva)"
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr "Rekoloru paĝojn"
-#: ../zathura/config.c:191
+#: zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
-#: ../zathura/config.c:193
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Ĉirkaŭflua rulumado"
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr ""
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr ""
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr ""
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr ""
-#: ../zathura/config.c:207
+#: zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr ""
-#: ../zathura/config.c:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr ""
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Travidebleco por fonlumo"
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Bildigu 'Ŝargado ...'"
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Adaptaĵo ĉe malfermo de dosiero"
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Montru kaŝitajn dosierojn kaj -ujojn"
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr "Montru dosierujojn"
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr "Ĉiam malfermu ĉe unua paĝo"
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr ""
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr ""
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr ""
-#: ../zathura/config.c:231
+#: zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:235
+#: zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:237
+#: zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:239
+#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr ""
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr ""
-#: ../zathura/config.c:249
+#: zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:251
+#: zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr "Aldonu paĝosignon"
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Forigu paĝosignon"
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr "Listigu ĉiujn paĝosignojn"
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr "Fermu nunan dosieron"
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr "Montru dosiera informacio"
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr ""
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr "Montru helpon"
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr "Malfermu dokumenton"
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr "Fermu zathura"
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr "Presu dokumenton"
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr "Konservu dokumenton"
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Konservu dokumenton (deviga anstataŭo)"
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr "Konservu kunsendaĵojn"
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr "Agordu paĝdelokado"
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr ""
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr ""
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr ""
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr ""
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr ""
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr "Fiaskis iro de xdg-open"
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr ""
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr ""
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr ""
-#: ../zathura/main.c:146
+#: zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: ../zathura/main.c:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr "Vojo al la agorda dosierujo"
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr "Vojo al la datuma dosierujo"
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Vojoj al dosierujoj enhavantaj kromaĵojn"
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr ""
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr ""
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Nivelo de ĵurnalo (debug, info, warning, error)"
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr "Montru dosiera informacio"
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr "Ŝargado ..."
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr "Kopiu bildon"
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr "Savi bildojn kiel"
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Ĉi-tiu dokumento enhavas neniam indekson."
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr "[Neniu nomo]"
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: zathura/zathura.c:737
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: zathura/zathura.c:826
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/es.po b/po/es.po
index 0ed913f..66f878e 100644
--- a/po/es.po
+++ b/po/es.po
@@ -5,8 +5,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\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/"
@@ -18,618 +18,617 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr "Entrada inválida: '%s'."
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr "Índice invalido: '%s'."
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr ""
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr "Número de argumentos inválido."
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Error al crear favorito: %s"
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Error al crear favorito: %s"
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Favorito actualizado con éxitosamente: %s"
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Favorito creado con éxitosamente: %s"
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Favorito eliminado: %s"
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Error al eliminar el favorito: %s"
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
#, fuzzy
msgid "No bookmarks available."
msgstr "No hay información disponible."
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "No existe el favorito: %s"
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr "No hay información disponible."
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr "Demasiados argumentos."
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr "Ningún argumento recibido."
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr "Documento guardado."
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr "Error al guardar el documento."
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr "Número de argumentos inválido."
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Escrito fichero adjunto '%s' a '%s'."
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Escrito fichero adjunto '%s' a '%s'."
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr "Imagen desconocida '%s'."
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Adjunto o imagen desconocidos '%s'."
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr "El argumento ha de ser un número."
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Página %d"
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr "Guardar ficheros adjuntos"
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr "Imágenes"
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr "Base de datos"
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr ""
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr "Unidad de zoom"
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr "Separación entre páginas"
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr "Número de páginas por fila"
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr "Columna de la primera página"
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr "Paso de desplazamiento"
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Paso de desplazamiento horizontal"
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr "Solapamiento del desplazamiento de página"
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr "Zoom mínimo"
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr "Zoom máximo"
-#: ../zathura/config.c:166
+#: zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:170
+#: 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:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Recoloreado (color oscuro)"
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Recoloreado (color claro)"
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr "Color para destacar"
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Color para destacar (activo)"
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr "Recolorear páginas"
-#: ../zathura/config.c:191
+#: 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:193
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Navegación/Scroll cíclica/o"
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr ""
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Zoom centrado horizontalmente"
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr ""
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr ""
-#: ../zathura/config.c:207
+#: zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr ""
-#: ../zathura/config.c:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr "Centrar el resultado horizontalmente"
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Transparencia para el destacado"
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Renderizado 'Cargando ...'"
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Ajustarse al abrir un fichero"
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Mostrar directorios y ficheros ocultos"
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr "Mostrar directorios"
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr "Abrir siempre la primera página"
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr "Destacar los resultados de búsqueda"
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr "Habilitar la búsqueda incremental"
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Borrar resultados de búsqueda al abortar"
-#: ../zathura/config.c:231
+#: 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:233
+#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:235
+#: zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:237
+#: zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:239
+#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr "Habilitar soporte synctex"
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr ""
-#: ../zathura/config.c:249
+#: zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:251
+#: zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr "Añadir Favorito"
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Eliminar Favorito"
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr "Listar favoritos"
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr "Cerrar fichero actual"
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr "Mostrar información del fichero"
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr "Ejecutar un comando"
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr "Mostrar ayuda"
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr "Abrir documento"
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr "Salir de zathura"
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr "Imprimir documento"
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr "Guardar documento"
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Guardar documento (y sobreescribir)"
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr "Guardar ficheros adjuntos"
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr "Asignar el desplazamiento de página"
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Marcar la posición actual en el documento"
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Borrar las marcas especificadas"
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "No destacar los resultados de la búsqueda actual"
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr "Destacar los resultados de la búsqueda actual"
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr "Mostrar versión"
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr "Error al tratar de ejecutar xdg-open"
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr ""
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr ""
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr ""
-#: ../zathura/main.c:146
+#: zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Reasignar a la ventana especificada por xid (X11)"
-#: ../zathura/main.c:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr "Ruta al directorio de configuración"
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr "Ruta para el directorio de datos"
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Ruta a los directorios que contienen los plugins"
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr "Fork, ejecutándose en background"
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr "Contraseña del documento"
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Nivel de log (debug, info, warning, error)"
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr "Mostrar información del fichero"
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor de Synctex (reenvíado al commando synctex)"
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr "Cargando ..."
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr "Copiar imagen"
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr "Salvar imagen como"
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Este documento no contiene ningún índice"
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr "[Sin nombre]"
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: zathura/zathura.c:737
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: zathura/zathura.c:826
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/es_CL.po b/po/es_CL.po
index aa759c3..198aecb 100644
--- a/po/es_CL.po
+++ b/po/es_CL.po
@@ -6,8 +6,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\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/"
@@ -19,616 +19,615 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr "Entrada inválida: '%s'."
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr "Índice invalido: '%s'."
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr ""
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr "Número de argumentos inválido."
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "No se pudo crear marcador: %s"
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "No se pudo crear marcador: %s"
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Marcador actualizado exitosamente: %s"
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Marcador creado exitosamente: %s"
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Marcador eliminado: %s"
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Error al eliminar marcador: %s"
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
#, fuzzy
msgid "No bookmarks available."
msgstr "No hay información disponible."
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "No existe marcador: %s"
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr "No hay información disponible."
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr "Demasiados argumentos."
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr "Ningún argumento recibido."
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr "Documento guardado."
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr "Error al guardar el documento."
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr "Número de argumentos inválido."
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Fichero adjunto escrito '%s' a '%s'."
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Fichero adjunto escrito '%s' a '%s'."
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr "El argumento debe ser un número."
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr ""
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr "Guardar archivos adjuntos"
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr ""
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr "Fin de la base de datos."
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr ""
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr "Unidad de zoom"
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr "Separación entre páginas"
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr "Numero de páginas por fila"
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr ""
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr "Unidad de desplazamiento"
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr ""
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr "Zoom mínimo"
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr "Zoom máximo"
-#: ../zathura/config.c:166
+#: zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:170
+#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr ""
-#: ../zathura/config.c:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Recolorando (color oscuro)"
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Recolorando (color claro)"
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr "Color para destacar"
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Color para destacar (activo)"
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr "Recolorar páginas"
-#: ../zathura/config.c:191
+#: zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
-#: ../zathura/config.c:193
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Scroll cíclico"
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr ""
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr ""
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr ""
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr ""
-#: ../zathura/config.c:207
+#: zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr ""
-#: ../zathura/config.c:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr ""
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Transparencia para lo destacado"
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Renderizando 'Cargando...'"
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Ajustar al abrirse un archivo"
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Mostrar archivos ocultos y directorios"
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr "Mostrar directorios"
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr "Siempre abrir en primera página"
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr ""
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr ""
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr ""
-#: ../zathura/config.c:231
+#: zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:235
+#: zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:237
+#: zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:239
+#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr ""
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr ""
-#: ../zathura/config.c:249
+#: zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:251
+#: zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr "Agregar un marcador"
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Eliminar un marcador"
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr "Listar todos los marcadores"
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr "Cerrar archivo actual"
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr "Mostrar información del archivo"
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr ""
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr "Mostrar ayuda"
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr "Abrir documento"
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr "Cerrar zathura"
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr "Imprimir documento"
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr "Guardar documento"
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Guardar documento (y forzar sobreescritura)"
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr "Guardar archivos adjuntos"
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr "Asignar desplazamiento de la página"
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr ""
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr ""
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr ""
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr ""
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr ""
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr "Error al ejecutar xdg-open."
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr ""
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr ""
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr ""
-#: ../zathura/main.c:146
+#: zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Reasignar a la ventana especificada por xid (X11)"
-#: ../zathura/main.c:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr "Ruta al directorio de configuración"
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr "Ruta al directorio de datos"
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Ruta al directorio que contiene plugins"
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr "Ejecución en background"
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr ""
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Nivel de log (debug, info, warning, error)"
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr "Mostrar información del archivo"
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr "Cargando..."
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr "Copiar imagen"
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr ""
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Este document no contiene índice"
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr "[Sin nombre]"
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: zathura/zathura.c:737
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: zathura/zathura.c:826
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/et.po b/po/et.po
index cd76c7f..a8bc61a 100644
--- a/po/et.po
+++ b/po/et.po
@@ -6,8 +6,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\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/"
@@ -19,615 +19,614 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.5\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr ""
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr ""
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr ""
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr ""
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr ""
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr ""
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
msgid "No bookmarks available."
msgstr ""
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr ""
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr ""
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr ""
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr ""
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr ""
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr ""
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr ""
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr ""
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr "Salvesta manused"
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr ""
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr ""
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr ""
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr ""
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr ""
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr ""
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr ""
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr ""
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr ""
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr ""
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr ""
-#: ../zathura/config.c:166
+#: zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:170
+#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr ""
-#: ../zathura/config.c:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr ""
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr ""
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr "Esiletõstmise värv"
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Esiletõstmise värv (aktiivne)"
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr ""
-#: ../zathura/config.c:191
+#: zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
-#: ../zathura/config.c:193
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr ""
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr ""
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr ""
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr ""
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr ""
-#: ../zathura/config.c:207
+#: zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr ""
-#: ../zathura/config.c:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr ""
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr ""
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr ""
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr ""
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr ""
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr "Näita kaustasid"
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr "Ava alati esimene leht"
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr ""
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr ""
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr ""
-#: ../zathura/config.c:231
+#: zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:235
+#: zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:237
+#: zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:239
+#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr ""
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr ""
-#: ../zathura/config.c:249
+#: zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:251
+#: zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr "Lisa järjehoidja"
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Kustuta järjehoidja"
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr "Näita kõiki järjehoidjaid"
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr "Sulge praegune fail"
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr "Näita faili infot"
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr ""
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr "Näita abiinfot"
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr "Ava dokument"
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr "Sule zathura"
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr "Prindi dokument"
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr "Salvesta dokument"
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr ""
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr "Salvesta manused"
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr ""
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr ""
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr ""
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr ""
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr ""
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr ""
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr ""
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr ""
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr ""
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr ""
-#: ../zathura/main.c:146
+#: zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: ../zathura/main.c:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr ""
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr ""
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr ""
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr ""
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr ""
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr ""
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr "Näita faili infot"
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr ""
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr "Kopeeri pilt"
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr ""
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr ""
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr "[Nime pole]"
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: zathura/zathura.c:737
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: zathura/zathura.c:826
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/fr.po b/po/fr.po
index 8cddb34..b4fa5c3 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -10,8 +10,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\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/"
@@ -23,621 +23,620 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr "Entrée invalide : '%s'"
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr "Index invalide : '%s'"
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr ""
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr "Nombre d'arguments invalide."
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Impossible de créer le marque-page : %s"
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Impossible de créer le marque-page : %s"
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Marque page mis à jour avec succès : %s"
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Marque page créé avec succès : %s"
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Marque page supprimé : %s"
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Échec lors de la suppression du marque-page : %s"
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
#, fuzzy
msgid "No bookmarks available."
msgstr "Aucune information disponible."
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Aucun marque-page correspondant : %s"
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr "Titre"
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr "Auteur"
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr "Sujet"
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr "Mots clé"
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr "Créateur"
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr "Producteur"
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr "Date de création"
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr "Date de modification"
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr "Aucune information disponible."
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr "Trop d'arguments."
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr "Aucun argument passé."
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr "Document enregistré."
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr "Échec lors de l'enregistrement du document."
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr "Nombre d'arguments invalide."
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Impossible d'écrire la pièce jointe '%s' dans '%s'."
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Pièce jointe '%s' écrite dans '%s'."
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Image '%s' écrite dans '%s'."
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Impossible d'écrire l'image '%s' dans '%s'."
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr "Image '%s' inconnue."
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Pièce jointe ou image '%s' inconnue."
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr "L'argument doit être un nombre."
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Page %d"
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr "Pièces jointes"
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr "Images"
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr "Gestionnaire de base de données"
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr ""
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr "Incrément de zoom"
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr "Espacement entre les pages"
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr "Nombre de page par rangée"
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr "Colonne de la première page"
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr "Incrément de défilement"
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Incrément de défilement horizontal"
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr "Recouvrement lors du défilement par page entière"
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr "Zoom minimum"
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr "Zoom maximum"
-#: ../zathura/config.c:166
+#: 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:168
+#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:170
+#: 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:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Recoloration (couleur sombre)"
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Recoloration (couleur claire)"
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr "Couleur de surbrillance"
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Couleur de surbrillance (active)"
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr "Couleur d'arrière-plan de 'Chargement...'"
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr "Couleur de 'Chargement...'"
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr "Recoloriser les pages"
-#: ../zathura/config.c:191
+#: 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:193
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Défiler en boucle"
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr "Défilement tenant compte des limites de page"
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Augmenter le nombre de pages par rangée"
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Zoom centré horizontalement"
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr ""
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr "Aligner la cible du lien à gauche"
-#: ../zathura/config.c:207
+#: 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:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr "Centrer le résultat horizontalement"
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Transparence de la surbrillance"
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Afficher 'Chargement...'"
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Ajuster à l'ouverture du fichier"
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Montrer les fichiers et dossiers cachés"
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr "Montrer les dossiers"
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr "Toujours ouvrir à la première page"
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr "Surligner les résultats de la recherche"
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr "Activer la recherche incrémentale"
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Effacer les résultats de recherche en cas d'annulation"
-#: ../zathura/config.c:231
+#: 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:233
+#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:235
+#: 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:237
+#: 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:239
+#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr "Activer la prise en charge de synctex"
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr "Activer le service D-Bus"
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr ""
-#: ../zathura/config.c:249
+#: 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:251
+#: zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr "Ajouter un marque-page"
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Supprimer un marque-page"
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr "Lister tous les marque-pages"
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr "Fermer le fichier actuel"
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr "Montrer les informations sur le fichier"
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr "Exécuter une commande"
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr "Afficher l'aide"
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr "Ouvrir un document"
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr "Quitter zathura"
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr "Imprimer le document"
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr "Sauver le document"
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Sauver le document (et forcer l'écrasement)"
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr "Enregistrer les pièces jointes"
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr "Définir le décalage de page"
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Marquer l'emplacement actuel dans le document"
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Supprimer les marques indiquées"
-#: ../zathura/config.c:457
+#: 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:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr "Surligner les résultats de la recherche en cours"
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr "Afficher les informations de version"
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr "Échec lors du lancement de xdg-open."
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr "Lien : page %d"
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr "Lien : %s"
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr "Lien : Invalide"
-#: ../zathura/main.c:146
+#: 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:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr "Chemin vers le dossier de configuration"
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr "Chemin vers le dossier de données"
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Chemin vers le dossier de plugins"
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr "Détacher en arrière-plan"
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr "Mot de passe du document"
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr "Numéro de page où aller"
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Niveau de journalisation (debug, info, warning, error)"
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr "Afficher les informations de version"
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Éditeur synctex (transféré à la commande synctex)"
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr "Démarrer dans un mode non-défaut"
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr "Chargement..."
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr "Copier l'image"
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr "Enregistrer l'image sous"
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr "Echec d'impression : %s"
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Ce document ne contient pas d'index"
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr "[Sans nom]"
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
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:737
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: zathura/zathura.c:826
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
"Type de fichier non supporté. Veuillez installer l'extension nécessaire."
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
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 e205123..52e5a23 100644
--- a/po/he.po
+++ b/po/he.po
@@ -5,8 +5,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\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/"
@@ -17,615 +17,614 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr ""
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr ""
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr ""
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr ""
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr ""
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr ""
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
msgid "No bookmarks available."
msgstr ""
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr ""
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr ""
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr ""
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr ""
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr ""
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr ""
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr ""
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr ""
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr ""
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr ""
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr ""
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr ""
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr ""
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr ""
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr ""
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr ""
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr ""
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr ""
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr ""
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr ""
-#: ../zathura/config.c:166
+#: zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:170
+#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr ""
-#: ../zathura/config.c:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr ""
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr ""
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr ""
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr ""
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr ""
-#: ../zathura/config.c:191
+#: zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
-#: ../zathura/config.c:193
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr ""
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr ""
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr ""
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr ""
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr ""
-#: ../zathura/config.c:207
+#: zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr ""
-#: ../zathura/config.c:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr ""
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr ""
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr ""
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr ""
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr ""
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr ""
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr ""
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr ""
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr ""
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr ""
-#: ../zathura/config.c:231
+#: zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:235
+#: zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:237
+#: zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:239
+#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr ""
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr ""
-#: ../zathura/config.c:249
+#: zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:251
+#: zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr ""
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr ""
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr ""
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr ""
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr ""
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr ""
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr ""
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr ""
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr ""
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr ""
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr ""
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr ""
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr ""
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr ""
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr ""
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr ""
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr ""
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr ""
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr ""
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr ""
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr ""
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr ""
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr ""
-#: ../zathura/main.c:146
+#: zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: ../zathura/main.c:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr ""
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr ""
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr ""
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr ""
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr ""
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr ""
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr ""
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr ""
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr ""
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr ""
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr ""
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr ""
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: zathura/zathura.c:737
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: zathura/zathura.c:826
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/hr.po b/po/hr.po
index 3bff994..a22bd87 100644
--- a/po/hr.po
+++ b/po/hr.po
@@ -5,8 +5,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\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/"
@@ -18,615 +18,614 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr ""
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr ""
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr ""
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr ""
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr ""
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr ""
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
msgid "No bookmarks available."
msgstr ""
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr ""
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr ""
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr ""
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr ""
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr ""
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr ""
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr ""
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr ""
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr ""
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr ""
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr ""
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr ""
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr ""
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr ""
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr ""
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr ""
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr ""
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr ""
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr ""
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr ""
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr ""
-#: ../zathura/config.c:166
+#: zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:170
+#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr ""
-#: ../zathura/config.c:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr ""
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr ""
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr ""
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr ""
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr ""
-#: ../zathura/config.c:191
+#: zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
-#: ../zathura/config.c:193
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr ""
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr ""
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr ""
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr ""
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr ""
-#: ../zathura/config.c:207
+#: zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr ""
-#: ../zathura/config.c:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr ""
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr ""
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr ""
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr ""
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr ""
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr ""
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr ""
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr ""
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr ""
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr ""
-#: ../zathura/config.c:231
+#: zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:235
+#: zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:237
+#: zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:239
+#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr ""
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr ""
-#: ../zathura/config.c:249
+#: zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:251
+#: zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr ""
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr ""
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr ""
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr ""
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr ""
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr ""
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr ""
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr ""
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr ""
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr ""
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr ""
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr ""
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr ""
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr ""
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr ""
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr ""
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr ""
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr ""
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr ""
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr ""
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr ""
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr ""
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr ""
-#: ../zathura/main.c:146
+#: zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: ../zathura/main.c:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr ""
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr ""
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr ""
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr ""
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr ""
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr ""
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr ""
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr ""
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr ""
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr ""
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr ""
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr ""
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: zathura/zathura.c:737
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: zathura/zathura.c:826
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/id_ID.po b/po/id_ID.po
index cc78321..c6d6369 100644
--- a/po/id_ID.po
+++ b/po/id_ID.po
@@ -6,8 +6,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\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/"
@@ -19,617 +19,616 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr "Masukan '%s' tidak valid"
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr "Index '%s' tidak valid"
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr ""
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr "jumlah argumen yang diberikan tidak valid"
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Tidak dapat membuat bookmark: %s"
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Tidak dapat membuat bookmark: %s"
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "bookmark yang sukses terupdate : %s"
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Bookmark yang sukses dibuat: %s"
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Bookmark %s telah sukses dihapus"
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Gagal menghapus bookmark: %s"
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
#, fuzzy
msgid "No bookmarks available."
msgstr "Tidak ada informasi tersedia"
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Tidak ada bookmark: %s"
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr "Judul"
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr "Penulis"
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr "Subjek"
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr "Kata kunci"
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr "Pembuat"
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr "Produser"
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr "Tanggal pembuatan"
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr "Tanggal ubahan"
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr "Tidak ada informasi tersedia"
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr "Argumen terlalu banyak"
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr "Tidak ada argumen yang diberikan"
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr "Dokumen telah disimpan"
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr "Gagal menyimpan dokumen"
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr "Jumlah argumen tidak valid"
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Tidak dapat menulis lampiran '%s' ke '%s'"
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Tidak dapat menyimpan lampiran '%s' ke '%s'"
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Menulis citra dari '%s' ke '%s'"
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Tidak dapat menulis citra '%s' ke %s'"
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr "Citra tidak diketahui '%s'"
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Lampiran atau gambar tidak diketahui '%s'"
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr "Argumen harus berupa angka."
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Halaman %d"
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr "Lampiran"
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr "Citra"
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr "backend database"
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr ""
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr "Tingkat pembesaran"
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr "Selisih antar halaman"
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr "Jumlah halaman tiap kolom"
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr "Kolom pada halaman pertama"
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr "Tingkat menggulung"
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Tingkat penggulungan horisontal"
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr "Pembesaran minimum"
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr "Pembesaran maksimal"
-#: ../zathura/config.c:166
+#: zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr "Jumlah laman yang disimpan pada cache"
-#: ../zathura/config.c:168
+#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:170
+#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr "Jumlah posisi yang diingat pada jumplist"
-#: ../zathura/config.c:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Mewarnai ulang (warna gelap)"
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Mewarnai ulang (warna cerah)"
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr "Warna sorotan"
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Warna sorotan (aktif)"
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr "'Memuat ...; warna latar"
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr "'Memuat ...' warna depan"
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr "Mewarnai ulang halaman"
-#: ../zathura/config.c:191
+#: 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:193
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr ""
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr "Penggulungan sadar halaman"
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Jumlah halaman per baris \"lanjutan\""
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Pembesaran horisontal tengah"
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr ""
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr "Ratakan tautan ke kiri"
-#: ../zathura/config.c:207
+#: zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr "Biarkan pembesaran berubah saat mengikuti pranala"
-#: ../zathura/config.c:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr "Tengah-horisontalkan hasil"
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Transparansi sorotan"
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Memuat Render..."
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Menyesuaikan ketika membuka file"
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Perlihatkan file dan direktori tersembunyi"
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr "Perlihatkan direktori"
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr "Selalu buka halaman pertama"
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr "Sorot hasil pencarian"
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr "Fungsikan pencarian berkelanjutan"
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Hapus hasil pencarian ketika batal mencari"
-#: ../zathura/config.c:231
+#: 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:233
+#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:235
+#: zathura/config.c:235
msgid "Display the page number in the window title"
msgstr "Tampilkan nomor laman pada jendela judul"
-#: ../zathura/config.c:237
+#: zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr "Gunakan nama dasar berkas pada statusbar"
-#: ../zathura/config.c:239
+#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr "Support synctex"
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr ""
-#: ../zathura/config.c:249
+#: 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:251
+#: zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr "Tambahkan pada bookmark"
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Hapus bookmark"
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr "Perlihatkan semua bookmark"
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr "Tutup file ini"
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr "Informasi file"
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr "Jalankan perintah"
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr "Bantuan"
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr "Buka dokumen"
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr "Tutup zathura"
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr "Cetak dokumen"
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr "Simpan dokumen"
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Simpan dokumen (dan menimpa berkas)"
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr "Simpan lampiran"
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr "Set offset halaman"
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Tandai lokasi sekarang dalam dokumen"
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Hapus tanda terpilih"
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Jangan menyorot hasil cari sekarang"
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr "Sorot hasil pencarian sekarang"
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr "Tunjukan informasi versi"
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr "Gagal menjalankan program xdg-open"
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr "Link: halaman %d"
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr "Link: %s"
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr "Link: Tidak valid"
-#: ../zathura/main.c:146
+#: zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Mengembalikan jendela sesuai dengan xid yang ditentukan (X11)"
-#: ../zathura/main.c:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr "Path ke direktori konfigurasi"
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr "Path ke direktori data"
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Path ke direktori plugin"
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr "Jalankan pada latar"
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr "Kata sandi dokumen"
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr "Nomor halaman tujuan"
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Tingkat log (debug, info, peringatan, error)"
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr "Cetak informasi versi"
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex editor (diteruskan ke perintah synctex)"
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr "Memuat....."
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr "Salin gambar"
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr "Simpan gambar sebagai"
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Dokumen ini tidak mempunyai indeks"
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr "[Tidak berjudul]"
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
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:737
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: zathura/zathura.c:826
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Tipe berkas tidak didukung. Silakan memasang plugin yang dibutuhkan."
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
msgid "Document does not contain any pages"
msgstr "Dokumen tidak mempunyai laman apapun"
diff --git a/po/it.po b/po/it.po
index d0961db..a5aee1a 100644
--- a/po/it.po
+++ b/po/it.po
@@ -9,8 +9,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\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/"
@@ -22,618 +22,617 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.5\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr "'%s' non può essere 0. Imposta ad 1."
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr "Input inserito '%s' non valido."
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr "Indice inserito '%s' non valido."
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr ""
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr "Numero di argomenti errato."
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Impossibile creare il segnalibro: %s"
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Impossibile creare il segnalibro: %s"
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Segnalibro aggiornato con successo: %s"
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Segnalibro creato con successo: %s"
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Segnalibro rimosso: %s"
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Impossibile rimuovere il segnalibro: %s"
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
#, fuzzy
msgid "No bookmarks available."
msgstr "Nessun' informazione disponibile."
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Nessun segnalibro corrispondente: %s"
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr "Titolo"
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr "Autore"
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr "Argomento"
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr "Parole chiave"
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr "Creato da"
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr "Prodotto da"
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr "Data di creazione"
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr "Data di modifica"
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr "Nessun' informazione disponibile."
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr "Numero di argomenti eccessivo."
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr "Nessun argomento specificato."
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr "Documento salvato."
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr "Impossibile salvare il documento."
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr "Numero di argomenti non valido."
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Impossibile salvare l' allegato '%s' in '%s'"
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Allegato '%s' salvato in '%s'"
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Immagine '%s' salvata come '%s'"
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Impossibile salvare l' immagine '%s' come '%s'"
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr "Immagine sconosciuta '%s'"
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Immagine o allegato sconosciuti '%s"
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr "L' argomento dev' essere un numero."
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Pagina %d"
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr "Allegati"
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr "Immagini"
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr "Backend del database"
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr ""
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr ""
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr "Spaziatura tra le pagine"
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr "Numero di pagine per riga"
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr ""
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr ""
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr ""
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr "Zoom minimo"
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr "Zoom massimo"
-#: ../zathura/config.c:166
+#: 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:168
+#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:170
+#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr "Numero di posizioni da mantenere nella jumplist"
-#: ../zathura/config.c:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr ""
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr ""
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr ""
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr ""
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr "Ricolora le pagine"
-#: ../zathura/config.c:191
+#: zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
-#: ../zathura/config.c:193
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Scrolling continuo"
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr ""
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr ""
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr ""
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr ""
-#: ../zathura/config.c:207
+#: zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr ""
-#: ../zathura/config.c:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr "Centra orizzontalmente i risultati"
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr ""
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr ""
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr ""
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Mostra file e cartelle nascosti"
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr "Mostra cartelle"
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr "Apri sempre alla prima pagina"
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr "Evidenzia i risultati della ricerca"
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr "Abilita la ricerca incrementale"
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr ""
-#: ../zathura/config.c:231
+#: zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:235
+#: 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:237
+#: zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:239
+#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr "Abilita il supporto per synctex"
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr "Abilita il servizio D-Bus"
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr ""
-#: ../zathura/config.c:249
+#: zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:251
+#: 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:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr "Aggiungi un segnalibro"
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Elimina un segnalibro"
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr "Mostra i segnalibri"
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr "Chiudi il file corrente"
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr "Mostra le informazioni sul file"
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr "Esegui un comando"
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr "Mostra l' aiuto"
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr "Apri un documento"
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr "Chiudi zathura"
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr "Stampa il documento"
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr "Salva il documento"
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Salva il documento (e sovrascrivi)"
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr "Salva allegati"
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr "Imposta l' offset della pagina"
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Segna la posizione attuale all'interno del documento"
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr ""
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Non evidenziare i risultati della ricerca in corso"
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr "Evidenzia i risultati della ricerca in corso"
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr "Mostra informazioni sulla versione"
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr "Impossibile eseguire xdg-open."
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr "Link: pagina %d"
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr "Link: %s"
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr "Link: non valido"
-#: ../zathura/main.c:146
+#: zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: ../zathura/main.c:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr "Percorso della directory della configurazione"
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr "Percorso della directory dei dati"
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr "Percorso della cartella di cache"
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Percorso della directory contenente i plugin"
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr "Crea un processo separato"
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr "Password del documento"
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Livello di log (debug, info, warning, error)"
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr "Mostra le informazioni sul file"
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr "Caricamento..."
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr "Copia immagine"
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr "Salva immagine come"
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr "Impossibile stampare: %s"
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Questo documento non contiene l' indice"
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr "[Nessun nome]"
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
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:737
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: zathura/zathura.c:826
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
"Tipo di file non supportato. Per favore, installa il plugin necessario."
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
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 4abb567..76b4b37 100644
--- a/po/lt.po
+++ b/po/lt.po
@@ -6,8 +6,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\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/"
@@ -20,616 +20,615 @@ msgstr ""
"%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 1.8.5\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr "Netinkama įvestis: „%s“."
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr "Duotas netinkamas indeksas: „%s“."
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr ""
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr "Duotų parametrų skaičius yra neteisingas."
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Žymė negalėjo būti atnaujinta: %s"
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Žymė negalėjo būti sukurta: %s"
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Žymė sėkmingai atnaujinta: %s"
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Žymė sėkmingai sukurta: %s"
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Žymė ištrinta: %s"
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Žymė negalėjo būti panaikinta: %s"
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
#, fuzzy
msgid "No bookmarks available."
msgstr "Nėra informacijos."
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Nėra tokios žymės: %s"
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr "Pavadinimas"
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr "Autorius"
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr "Raktažodžiai"
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr "Gamintojas"
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr "Sukūrimo data"
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr "Pakeitimo data"
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr "Nėra informacijos."
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr "Per daug parametrų."
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr "Parametrai neduoti."
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr "Dokumentas išsaugotas."
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr "Dokumento išsaugoti nepavyko."
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr "Neteisingas parametrų skaičius."
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Priedas „%s“ negalėjo būti įrašytas į „%s“."
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Priedas „%s“ įrašytas į „%s“."
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Atvaizdas „%s“ įrašytas į „%s“."
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Atvaizdas „%s“ negalėjo būti įrašytas į „%s“,"
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr "Nežinomas atvaizdas „%s“."
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Nežinomas priedas ar atvaizdas „%s“."
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr "Parametras turi būti skaičius."
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "%d puslapis"
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr "Priedai"
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr "Atvaizdai"
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr "Duomenų bazės posistemė"
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr ""
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr "Priartinimo žingsnis"
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr "Užpildymas tarp puslapių"
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr "Puslapių skaičius eilutėje"
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr "Pirmo puslapio stulpelis"
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr "Slinkties žingsnis"
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Horizontalios slinksties žingsnis"
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr "Mažiausias priartinimas"
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr "Didžiausias priartinimas"
-#: ../zathura/config.c:166
+#: zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr "Puslapių limitas spartinančioje atmintinėje"
-#: ../zathura/config.c:168
+#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:170
+#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr ""
-#: ../zathura/config.c:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Spalvų keitimas (tamsi spalva)"
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Spalvų keitimas (šviesi spalva)"
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr "Žymos spalva"
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Žymos spalva (aktyvi)"
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr "„Kraunama ...“ fono spalva"
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr "„Kraunama ...“ pagrindinė spalva"
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr "Pakeisti spalvas"
-#: ../zathura/config.c:191
+#: zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
-#: ../zathura/config.c:193
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr ""
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr "Puslapių ribas atpažįstanti slinktis"
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Padidinti puslapių skaičių eilutėje"
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr ""
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr ""
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr ""
-#: ../zathura/config.c:207
+#: zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr ""
-#: ../zathura/config.c:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr ""
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Žymų skaidrumas"
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Atvaizduoti „Kraunama ...“"
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Prisitaikyti atidarant bylą"
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Rodyti paslėptus failus ir katalogus"
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr "Rodyti katalogų sąrašą"
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr "Visada atverti pirmą puslapį"
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr "Pažymėti paieškos rezultatus"
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr "Įjungti prieauginę paiešką"
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Išvalyti paieškos rezultatus nutraukiant"
-#: ../zathura/config.c:231
+#: zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:235
+#: zathura/config.c:235
msgid "Display the page number in the window title"
msgstr "Rodyti puslapio skaičių lango pavadinime"
-#: ../zathura/config.c:237
+#: zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr "Naudoti bylos vardą būsenos juostoje"
-#: ../zathura/config.c:239
+#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr "Įjungti synctex palaikymą"
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr ""
-#: ../zathura/config.c:249
+#: zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:251
+#: zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr "Pridėti žymę"
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Ištrinti žymę"
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr "Žymių sąrašas"
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr "Uždaryti dabartinę bylą"
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr "Rodyti bylos informaciją"
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr ""
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr "Rodyti pagalbą"
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr "Atidryti dokumentą"
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr "Uždaryti zathura"
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr "Atspausdinti dokumentą"
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr "Išsaugoti dokumentą"
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Išsaugoti dokumentą (ir priverstinai perašyti)"
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr "Išsaugoti priedus"
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr "Nustatyti puslapio poslinkį"
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Pažymėti dabartinę dokumento vietą"
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Ištrinti šias žymes"
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Nežymėti dabartinės paieškos rezultatų"
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr "Pažymėti dabartinės paieškos rezultatus"
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr "Rodyti versijos informaciją"
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr "Klaida xdg-open paleidime."
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr "Nuoroda: %d puslapis"
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr "Nuoroda: %s"
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr "Neteisinga nuoroda"
-#: ../zathura/main.c:146
+#: zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: ../zathura/main.c:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr "Konfigūracinių failų aplanko adresas"
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr "Duomenų aplanko adresas"
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Įskiepių aplanko adresas"
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr ""
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr "Dokumento slaptažodis"
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr "Pereiti į puslapį"
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Registravimo lygis (derinimas, informacija, įspėjimai, klaidos)"
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr "Spausdinti versijos informaciją"
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex redaktorius (naudojama synctex komandoje)"
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr "Kraunama..."
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr "Kopijuoti atvaizdą"
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr "Irašyti atvaizdą kaip"
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Šit dokumentas neturi turinio"
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr "[Bevardis]"
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: zathura/zathura.c:737
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: zathura/zathura.c:826
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Bylos tipas nepalaikomas. Įdiekite tam skirtus įskiepius."
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
msgid "Document does not contain any pages"
msgstr "Dokumente puslapių nėra"
diff --git a/po/nl.po b/po/nl.po
index 2bef1a4..b5add2d 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -1,632 +1,641 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
-#
+#
# Translators:
# Heimen Stoffels , 2017-2018
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\n"
"PO-Revision-Date: 2018-02-04 11:02+0000\n"
"Last-Translator: Heimen Stoffels \n"
"Language-Team: Dutch (http://www.transifex.com/pwmt/zathura/language/nl/)\n"
+"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Language: nl\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr "'%s' mag niet op 0 worden ingesteld. Stel in op 1."
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr "Ongeldige invoer, '%s', opgegeven."
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr "Ongeldige index, '%s', opgegeven."
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr "Tekst gekopieerd naar selectie %s: %s"
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr "Afbeelding gekopieerd naar selectie %s"
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260
+#: zathura/shortcuts.c:1287
msgid "No document opened."
msgstr "Geen geopend document."
-#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr "Ongeldig aantal argumenten opgegeven."
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Bladwijzer kan niet worden bijgewerkt: %s"
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Bladwijzer kan niet worden gecreëerd: %s"
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Bladwijzer succesvol bijgewerkt: %s"
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Bladwijzer succesvol gecreëerd: %s"
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Bladwijzer verwijderd: %s"
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Bladwijzer verwijderen mislukt: %s"
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
msgid "No bookmarks available."
msgstr "Geen bladwijzers beschikbaar."
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Geen bladwijzer: %s"
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr "Titel"
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr "Auteur"
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr "Onderwerp"
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr "Sleutelwoorden"
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr "Maker"
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr "Producent"
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr "Creatiedatum"
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr "Bijwerkdatum"
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr "Geen informatie beschikbaar."
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr "Teveel argumenten."
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr "Geen argumenten opgegeven."
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr "Document opgeslagen."
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr "Document opslaan mislukt."
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr "Ongeldig aantal argumenten."
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Bijlage '%s' kan niet worden weggeschreven naar '%s'."
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Bijlage '%s' weggeschreven naar '%s'."
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Afbeelding '%s' weggeschreven naar '%s'."
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Afbeelding '%s' kan niet worden weggeschreven naar '%s'."
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr "Onbekende afbeelding '%s'."
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Onbekende bijlage of afbeelding '%s'."
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr "Argument moeten een getal zijn."
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Pagina %d"
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr "Bijlagen"
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr "Afbeeldingen"
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr "Database-backend"
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr "Bestandsmonitor-backend"
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr "Zoomschaal"
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr "Opvulling tussen pagina's"
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr "Aantal pagina's per rij"
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr "Kolom van de eerste pagina"
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr "Scrollschaal"
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Horizontale scrollschaal"
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr "Scrolloverlapping op volledige pagina"
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr "Minimale zoom"
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr "Maximale zoom"
-#: ../zathura/config.c:166
+#: zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr "Maximaal aantal pagina's dat moet worden bewaard in de cache"
-#: ../zathura/config.c:168
+#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
-msgstr "Maximaal aantal in pixels van voorbeeldweergaven die moeten worden bewaard in de cache"
+msgstr ""
+"Maximaal aantal in pixels van voorbeeldweergaven die moeten worden bewaard "
+"in de cache"
-#: ../zathura/config.c:170
+#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr "Aantal posities dat moet worden onthouden in de jumplist"
-#: ../zathura/config.c:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Herkleuren (donkere kleur)"
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Herkleuren (lichte kleur)"
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr "Markeerkleur"
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Markeerkleur (actief)"
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr "'Bezig met laden ...'-achtergrondkleur"
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr "'Bezig met laden ...'-voorgrondkleur"
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr "Indexmodus-voorgrondkleur"
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr "Indexmodus-achtergrondkleur"
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr "Indexmodus-voorgrondkleur (actief element)"
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr "Indexmodus-achtergrondkleur (actief element)"
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr "Pagina's herkleuren"
-#: ../zathura/config.c:191
+#: zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
-msgstr "Behoudt tijdens het herkleuren de originele tint en pas alleen de belichting aan"
+msgstr ""
+"Behoudt tijdens het herkleuren de originele tint en pas alleen de belichting "
+"aan"
-#: ../zathura/config.c:193
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr "Behoudt tijdens het herkleuren de originele afbeeldingskleuren"
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Scrollen omslaan"
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr "Paginabewust scrollen"
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Aantal vooruit-pagina's per rij"
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Horizontaal-gecentreerde zoom"
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr "Pagina's verticaal centreren"
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr "Linkdoel uitlijnen naar links"
-#: ../zathura/config.c:207
+#: zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr "Zoom wijzigen bij volgen van links"
-#: ../zathura/config.c:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr "Resultaat horizontaal centreren"
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Doorzichtigheid bij markeren"
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "'Bezig met laden...' renderen"
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Aanpassen aan bij openen van bestand"
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Verborgen bestanden en mappen weergeven"
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr "Mappen weergeven"
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr "Recente bestanden weergeven"
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr "Altijd openen op eerste pagina"
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr "Zoekresultaten markeren"
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr "Stapsgewijs zoeken inschakelen"
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Zoekresultaten wissen na afbreken"
-#: ../zathura/config.c:231
+#: zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr "Basisnaam van bestand gebruiken in de venstertitel"
-#: ../zathura/config.c:233
+#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr "~ gebruiken i.p.v. $HOME in de bestandsnaam in de venstertitel"
-#: ../zathura/config.c:235
+#: zathura/config.c:235
msgid "Display the page number in the window title"
msgstr "Paginanummer weergeven in de venstertitel"
-#: ../zathura/config.c:237
+#: zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr "Basisnaam van bestand gebruiken in de statusbalk"
-#: ../zathura/config.c:239
+#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr "~ gebruiken i.p.v. $HOME in de bestandsnaam in de statusbalk"
-#: ../zathura/config.c:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr "Synctex-ondersteuning inschakelen"
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr "Synctex-bewerkeropdracht"
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr "D-Bus-dienst inschakelen"
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr "Geschiedenis opslaan bij elke paginawijziging"
-#: ../zathura/config.c:249
+#: zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
-msgstr "Het klembord waarnaar met de muis geselecteerde gegevens moet worden weggeschreven"
+msgstr ""
+"Het klembord waarnaar met de muis geselecteerde gegevens moet worden "
+"weggeschreven"
-#: ../zathura/config.c:251
+#: zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr "Melding inschakelen na selecteren van tekst"
#. define default inputbar commands
-#: ../zathura/config.c:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr "Bladwijzer toevoegen"
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Bladwijzer verwijderen"
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr "Alle bladwijzers weergeven"
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr "Huidig bestand sluiten"
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr "Bestandsinformatie weergeven"
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr "Opdracht uitvoeren"
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr "Hulp weergeven"
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr "Document openen"
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr "Zathura sluiten"
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr "Document afdrukken"
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr "Document opslaan"
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Document opslaan (en overschrijven forceren)"
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr "Bijlagen opslaan"
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr "Pagina-afwijking instellen"
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Huidige locatie in document markeren"
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Opgegeven markeringen verwijderen"
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Huidige zoekresultaten niet markeren"
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr "Huidige zoekresultaten markeren"
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr "Versie-informatie weergeven"
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr "Uitvoeren van xdg-open mislukt."
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr "Link: pagina %d"
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr "Link: %s"
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr "Link: ongeldig"
-#: ../zathura/main.c:146
+#: zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Wordt bij bovenliggend, door xid (X11) opgegeven venster gevoegd"
-#: ../zathura/main.c:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr "Pad naar de configuratiemap"
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr "Pad naar de gegevensmap"
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr "Pad naar de cachemap"
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Pad naar de mappen die plug-ins bevatten"
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr "Naar achtergrond verplaatsen"
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr "Documentwachtwoord"
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr "Paginanummer om naartoe te gaan"
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Logniveau (foutopsporing, informatie, waarschuwing, fout)"
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr "Versie-informatie afdrukken"
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex-bewerker (wordt doorgestuurd naar de synctex-opdracht)"
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr "Verplaatsen naar opgegeven synctex-positie"
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr "Opgegeven positie markeren in het opgegeven proces"
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr "Starten in een niet-standaardmodus"
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr "Bezig met laden..."
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr "Afbeelding kopiëren"
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr "Afbeelding opslaan als"
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr "Afdrukken mislukt: %s"
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr "Ongeldige aanpassingsmodus: %d"
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr "Patroon niet gevonden: %s"
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Dit document bevat geen index"
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr "[Naamloos]"
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
msgid "Could not read file from stdin and write it to a temporary file."
-msgstr "Bestand kan niet worden gelezen uit stdin en worden weggeschreven naar een tijdelijk bestand."
+msgstr ""
+"Bestand kan niet worden gelezen uit stdin en worden weggeschreven naar een "
+"tijdelijk bestand."
-#: ../zathura/zathura.c:664
+#: zathura/zathura.c:737
msgid "Could not read file from GIO and copy it to a temporary file."
-msgstr "Bestand kan niet worden gelezen uit GIO en worden gekopieerd naar een tijdelijk bestand."
+msgstr ""
+"Bestand kan niet worden gelezen uit GIO en worden gekopieerd naar een "
+"tijdelijk bestand."
-#: ../zathura/zathura.c:753
+#: zathura/zathura.c:826
msgid "Enter password:"
msgstr "Wachtwoord invoeren:"
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Niet-ondersteund bestandstype. Installeer de benodigde plug-in."
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
msgid "Document does not contain any pages"
msgstr "Document bevat geen pagina's"
diff --git a/po/no.po b/po/no.po
index c3e658b..aa45d14 100644
--- a/po/no.po
+++ b/po/no.po
@@ -6,8 +6,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\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/"
@@ -19,616 +19,615 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.5\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr "Ugyldig inndata '%s' gitt."
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr "Ugyldig index '%s' gitt."
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr ""
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr "Ugyldig nummer av argumenter gitt."
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Kunne ikke oppdatere bokmerke: %s"
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Kunne ikke lage bokmerke: %s"
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Bokmerke er oppdatert: %s"
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Bokmerket er laget: %s"
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Fjernet bokmerke: %s"
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Kunne ikke fjerne bokmerke: %s"
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
#, fuzzy
msgid "No bookmarks available."
msgstr "Ingen informasjon tilgjengelig."
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Bokmerke eksisterer ikke: %s"
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr "Tittel"
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr "Forfatter"
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr "Subjekt"
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr "Nøkkelord"
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr "Laget av"
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr "Produsent"
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr "Laget dato"
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr "Modifisert dato"
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr "Ingen informasjon tilgjengelig."
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr "For mange argumenter."
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr "Ingen argumenter gitt."
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr "Dokumentet er lagret."
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr "Kunne ikke lagre dokumentet."
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr "Ugyldig nummer av argumenter."
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Kunne ikke skrive vedlegg '%s' til '%s'."
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Skrev vedlegg '%s' til '%s'."
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Skrev bilde '%s' til '%s'."
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Kunne ikke skrive bilde '%s' til '%s'."
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr "Ukjent bilde '%s'."
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Ukjent vedlegg eller bilde '%s'."
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr "Argumentet må være et tall."
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Side %d"
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr "Vedlegg"
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr "Bilder"
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr "Database backend"
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr ""
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr "Zoom nivå"
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr "Avstand mellom sider"
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr "Nummer av sider per rad"
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr ""
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr "Skrolle nivå"
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr ""
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr "Zoom minimum"
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr "Zoom maximum"
-#: ../zathura/config.c:166
+#: zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr "Maksimum antall sider å holde i mellomlagringen"
-#: ../zathura/config.c:168
+#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:170
+#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr "Antall posisjoner å huske i hopp-til-listen"
-#: ../zathura/config.c:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Om-farger (mørk farge)"
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Om-farge (lys farge)"
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr "Farge for utheving"
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Farge for utheving (aktiv)"
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr "'Laster ...' bakgrunnsfarge"
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr "'Laster ...' forgrunnsfarge"
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr "Om-farge sider"
-#: ../zathura/config.c:191
+#: zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
-#: ../zathura/config.c:193
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr ""
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr ""
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Horisontalsentrert zoom"
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr ""
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr ""
-#: ../zathura/config.c:207
+#: 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:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr "Sentrer resultatene horisontalt"
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Klarhet for utheving"
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Render 'Laster ...'"
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Juster til når du åpner filen"
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Vis skjulte filer og mapper"
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr "Vis mapper"
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr "Alltid åpne på første side"
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr "Uthev søkeresultater"
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr ""
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Stryk ut søkeresulteter ved avbrytelse"
-#: ../zathura/config.c:231
+#: zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:235
+#: zathura/config.c:235
msgid "Display the page number in the window title"
msgstr "Vis nummer av sider i vinduestittelen"
-#: ../zathura/config.c:237
+#: zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:239
+#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr ""
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr "Aktiv D-Bus servicen"
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr ""
-#: ../zathura/config.c:249
+#: zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:251
+#: zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr "Legg til bokmerke"
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Slett bokmerke"
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr "List alle bokmerker"
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr "Lukk den gjeldende filen"
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr "Vis filinformasjon"
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr "Kjør en kommando"
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr "Vis hjelp"
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr "Åpne dokument"
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr "Lukk zathura"
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr "Skriv ut dokument"
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr "Lagre dokument"
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Lagre dokument (og tving til å skrive over)"
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr "Lagre vedlegg"
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr ""
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Marker nåværende lokalasjon i dokumentet"
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Slett spesifiserte merker"
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Ikke uthev gjeldende søkeresultater"
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr "Uthev følgende søkeresultater"
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr "Vis versjonsinformasjon"
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr "Klarte ikke å kjøre xdg-open."
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr "Link: side %d"
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr ""
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr "Link: Ugyldig"
-#: ../zathura/main.c:146
+#: zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: ../zathura/main.c:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr "Sti til konfigureringsmappe"
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr "Sti til data-mappe"
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Sti til mapper som inneholder plugins"
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr ""
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr "Dokument passord"
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr "Sidetall å gå til"
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Logg nivå (diagnostisering, info, advarsler, feil)"
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr "Skriv ut versjonsinformasjon"
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr "Start i ikke-standard modus"
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr "Laster..."
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr "Kopier bilde"
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr "Lagre bilde som"
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr "Utskrift feilet: %s"
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Dette dokumenetet inneholder ikke noen index"
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr "[Inget navn]"
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
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:737
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: zathura/zathura.c:826
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Usupportert filtype. Vennligst innstaller den nødvendige pluginen."
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
msgid "Document does not contain any pages"
msgstr "Dokumentet inneholder ingen sider"
diff --git a/po/pl.po b/po/pl.po
index 7656790..6d71b4e 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -7,8 +7,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\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/"
@@ -21,616 +21,615 @@ msgstr ""
"|| n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr "Nieprawidłowy argument: %s"
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr "Nieprawidłowy indeks: %s"
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr ""
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr "Nieprawidłowa liczba parametrów polecenia"
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Nie można stworzyć zakładki: %s"
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Nie można stworzyć zakładki: %s"
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Zaktualizowano zakładkę: %s"
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Utworzono zakładkę: %s"
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Usunięto zakładkę: %s"
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Nie można usunąć zakładki: %s"
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
#, fuzzy
msgid "No bookmarks available."
msgstr "Brak informacji o pliku"
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Nie znaleziono zakładki: %s"
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr "Tytuł"
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr "Autor"
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr "Temat"
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr "Słowa kluczowe"
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr "Twórca"
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr "Producent"
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr "Data utworzenia"
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr "Data modyfikacji"
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr "Brak informacji o pliku"
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr "Za dużo parametrów polecenia"
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr "Nie podano parametrów polecenia"
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr "Zapisano dokument"
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr "Błąd zapisu"
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr "Niewłaściwa liczba parametrów polecenia"
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Nie można dodać załącznika %s do pliku %s"
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Zapisano załącznik %s do pliku %s"
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Obrazek %s zapisano do pliku %s"
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Nie można dodać obrazka %s do pliku %s"
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr "Nieznany obrazek '%s'."
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Nieznany załącznik lub obrazek '%s'."
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr "Parametr polecenia musi być liczbą"
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Strona %d"
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr "Załączniki"
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr "Obrazki"
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr "Baza danych"
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr ""
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr "Skok powiększenia"
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr "Odstęp pomiędzy stronami"
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr "Liczba stron w wierszu"
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr ""
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr "Skok przewijania"
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Skok przewijania poziomego"
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr "Minimalne powiększenie"
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr "Maksymalne powiększenie"
-#: ../zathura/config.c:166
+#: 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:168
+#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:170
+#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr ""
-#: ../zathura/config.c:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Ciemny kolor negatywu"
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Jasny kolor negatywu"
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr "Kolor wyróżnienia"
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Kolor wyróżnienia bieżącego elementu"
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr "Kolor tła komunikatu „Wczytywanie pliku...”"
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr "Kolor komunikatu „Wczytywanie pliku...”"
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr "Negatyw"
-#: ../zathura/config.c:191
+#: 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:193
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Zawijanie dokumentu"
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Zwiększ liczbę stron w wierszu"
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Powiększenie względem środka"
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr ""
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr ""
-#: ../zathura/config.c:207
+#: zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr ""
-#: ../zathura/config.c:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr "Poziome wyśrodkowanie wyniku"
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Przezroczystość wyróżnienia"
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Wyświetlaj: „Wczytywanie pliku...”"
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Dopasowanie widoku pliku"
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Wyświetl ukryte pliki i katalogi"
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr "Wyświetl katalogi"
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr "Zawsze otwieraj na pierwszej stronie"
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr "Podświetl wyniki wyszukiwania"
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr "Włącz wyszukiwanie przyrostowe"
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Wyczyść wyniki wyszukiwania po przerwaniu"
-#: ../zathura/config.c:231
+#: 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:233
+#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:235
+#: 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:237
+#: zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr "Nazwa pliku w pasku stanu"
-#: ../zathura/config.c:239
+#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr "Włącz synctex"
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr "Uruchom serwis D-Bus"
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr ""
-#: ../zathura/config.c:249
+#: zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:251
+#: zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr "Dodaj zakładkę"
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Usuń zakładkę"
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr "Wyświetl zakładki"
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr "Zamknij plik"
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr "Wyświetl informacje o pliku"
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr "Wykonaj polecenie"
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr "Wyświetl pomoc"
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr "Otwórz plik"
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr "Zakończ"
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr "Wydrukuj"
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr "Zapisz"
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Zapisz (nadpisując istniejący plik)"
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr "Zapisz załączniki"
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr "Ustaw przesunięcie numerów stron"
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Zaznacz aktualną pozycję w dokumencie"
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Skasuj określone zakładki"
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Nie podświetlaj aktualnych wyników wyszukiwania "
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr "Podświetl aktualne wyniki wyszukiwania"
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr "Wyświetl informacje o wersji"
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr "Wystąpił problem z uruchomieniem xdg-open"
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr "Link: strona %d"
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr "Link: %s"
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr "Nieprawidłowy link"
-#: ../zathura/main.c:146
+#: zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Przypisz proces do rodzica o danym xid (X11)"
-#: ../zathura/main.c:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr "Położenie katalogu konfiguracyjnego"
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr "Położenie katalogu danych"
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Położenie katalogu wtyczek"
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr "Forkuj w tle"
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr "Hasło dokumentu"
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Szczegółowość komunikatów (debug, info, warning, error)"
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr "Wyświetl informacje o wersji"
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Edytor synctex (przekierowanie do komendy synctex)"
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr "Wczytywanie pliku..."
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr "Skopiuj obrazek"
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr "Zapisz obrazek jako"
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr "Nie można wydrukować: %s"
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Dokument nie zawiera indeksu"
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr "[bez nazwy]"
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: zathura/zathura.c:737
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: zathura/zathura.c:826
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Niewspierany rodzaj pliku. Zainstaluj wymagane wtyczki"
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
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 8ae1c6e..ab0b26e 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -6,8 +6,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\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/"
@@ -19,622 +19,621 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr "Dados de entrada inválida '%s' ."
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr "Dados de índice invalido '%s'."
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr ""
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr "Número de argumentos dados inválidos."
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Não foi possível criar favorito: %s"
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Não foi possível criar favorito: %s"
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Favorito atualizado com sucesso: %s"
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Favorito criado com sucesso: %s"
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Favorito removido: %s"
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Falha ao remover favorito: %s"
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
#, fuzzy
msgid "No bookmarks available."
msgstr "Nenhuma informação disponível."
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Não há favoritos: %s"
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr "Título"
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr "Autor"
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr "Assunto"
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr "Palavras-chave"
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr "Criador"
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr "Produtor"
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr "Data de criação"
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr "Data de modificação"
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr "Nenhuma informação disponível."
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr "Muitos argumentos."
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr "Nenhum argumento dado."
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr "Documento salvo."
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr "Falha ao salvar o documento."
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr "Número de argumento invalido."
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Não foi possível gravar anexo '%s' para '%s'."
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Escreveu anexo '%s' para '%s'."
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Escreveu imagem '%s' para '%s'."
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Não foi possível gravar imagem '%s' para '%s'."
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr "Imagem desconhecida '%s'."
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Anexo desconhecido ou imagem '%s'."
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr "O argumento deve ser um número."
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Página %d"
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr "Anexos"
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr "Imagens"
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr "Fim da base de dados"
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr ""
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr "Grau de Zoom"
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr "Preenchimento entre páginas"
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr "Número de paginas por linha"
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr "Coluna da primeira página"
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr "Fase de Rolagem"
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Etapa de rolagem horizontal"
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr "Sobreposição de rolagem de página inteira"
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr "Zoom minimo"
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr "Zoom máximo"
-#: ../zathura/config.c:166
+#: 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:168
+#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:170
+#: 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:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Recolorindo (cor escura)"
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Recolorindo (cor clara)"
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr "Cor para destacar"
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Cor para destacar (ativo)"
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr "'Carregando ...' cor de fundo"
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr "'Carregando ...' cor de primeiro plano"
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr "Recolorir páginas"
-#: ../zathura/config.c:191
+#: 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:193
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Rolagem envoltório"
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr "Rolagem de página consciente"
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Numero de avanço de paginas por linha"
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Zoom centrado horizontalmente"
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr ""
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr "Alinhe destino do link à esquerda"
-#: ../zathura/config.c:207
+#: zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr "Zoom será mudado quando seguir os links"
-#: ../zathura/config.c:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr "Resultado centrado horizontalmente"
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Transparência para destacar"
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Renderizando 'Carregando...'"
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Ajuste para quando abrir o arquivo"
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Mostrar arquivos ocultos e diretórios"
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr "Mostrar diretórios"
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr "Sempre abrir na primeira página"
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr "Destaque resultados de busca"
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr "Ativar pesquisa incremental"
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Limpar resultados de busca ou abortar"
-#: ../zathura/config.c:231
+#: 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:233
+#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:235
+#: 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:237
+#: 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:239
+#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr "Ativar suporte synctex"
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr "Habilitar serviço D-Bus"
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr ""
-#: ../zathura/config.c:249
+#: 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:251
+#: zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr "Adicionar um favorito"
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Deletar um favorito"
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr "Listar todos favoritos"
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr "Fechar arquivo atual"
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr "Mostrar informações do arquivo"
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr "Executar um comando"
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr "Mostrar ajuda"
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr "Abrir documento"
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr "Fechar zathura"
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr "Imprimir documento"
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr "Salvar documento"
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Salvar documento (e forçar sobrescrever)"
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr "Salvar anexos"
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr "Definir deslocamento da página"
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Marcar localização atual no documento"
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Apagar as marcas especificadas"
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Não destacar resultados de busca atual"
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr "Destacar resultado de busca atual"
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr "Mostrar informações sobre a versão"
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr "Falha ao executar xdg-open."
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr "Link: página %d"
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr "Link: %s"
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr "Link: Inválido"
-#: ../zathura/main.c:146
+#: zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Reparar a janela especificada por xid (X11)"
-#: ../zathura/main.c:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr "Caminho de diretório para configuração"
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr "Caminho para diretório de dados"
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Caminho de diretório que contenham plugins"
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr "Deslocar no fundo"
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr "Senha do documento"
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr "Número da página para ir"
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Nível de log (depurar, informação, aviso, erro)"
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr "Imprimir informações sobre a versão"
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor synctex (encaminhado para o comando synctex)"
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr "Mover para determinada posição synctex"
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr "Destacar determinada posição no determinado processo"
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr "Começar em um modo não padrão"
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr "Carregando..."
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr "Copiar imagem"
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr "Salvar imagem para"
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr "Impressão falhou: %s"
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Este documento não contem qualquer índice"
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr "[Sem nome]"
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
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:737
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: zathura/zathura.c:826
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
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:798
+#: zathura/zathura.c:871
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 519b3a4..e54f445 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -9,8 +9,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\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/"
@@ -23,618 +23,617 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr "Неправильный ввод: %s."
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr "Получен неверный индекс: %s."
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr ""
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr "Указано неверное число аргументов."
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Не могу создать закладку %s"
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Не удалось создать закладку %s"
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Закладка %s успешно обновлена"
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Закладка %s успешно создана"
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Закладка %s удалена"
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Не удалось удалить закладку %s"
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
#, fuzzy
msgid "No bookmarks available."
msgstr "Нет доступной информации."
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Закладки %s не существует"
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr "Заголовок"
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr "Автор"
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr "Тема"
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr "Ключевые слова"
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr "Создатель"
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr "Производитель"
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr "Время создания"
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr "Время изменения"
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr "Нет доступной информации."
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr "Слишком много аргументов."
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr "Отсутствуют аргументы."
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr "Документ сохранён."
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr "Не удалось сохранить документ."
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr "Неверное количество аргументов."
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Не удалось сохранить приложенный файл «%s» в «%s»."
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Файл «%s» сохранён в «%s»."
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Изображение «%s» сохранено в «%s»."
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Не удалось записать изображение «%s» в «%s»."
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr "Неизвестное изображение «%s»."
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Неизвестное вложение или изображение «%s»."
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr "Аргумент должен быть числом."
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Страница %d"
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr "Прикреплённые файлы"
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr "Изображения"
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr "Бэкэнд базы данных"
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr ""
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr "Шаг увеличения"
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr "Разрыв между страницами"
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr "Количество страниц в ряд"
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr "Столбец первой страницы"
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr "Шаг прокрутки"
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Шаг горизонтальной прокрутки"
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr "Перекрытие страниц при прокрутке"
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr "Минимальное увеличение"
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr "Максимальное увеличение"
-#: ../zathura/config.c:166
+#: zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr "Максимальное количество страниц хранимых в кэше"
-#: ../zathura/config.c:168
+#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:170
+#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr "Длина истории переходов"
-#: ../zathura/config.c:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Перекрашивание (тёмные тона)"
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Перекрашивание (светлые тона)"
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr "Цвет для подсветки"
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Цвет для подсветки (активной)"
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr "Цвет фона загрузочной заставки"
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr "Цвет загрузочной заставки"
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr "Перекрасить страницы"
-#: ../zathura/config.c:191
+#: zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr "При перекраске сохранять оттенок и изменять только осветление"
-#: ../zathura/config.c:193
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Плавная прокрутка"
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr "Постраничная прокрутка"
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Увеличить количество страниц в ряду"
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Центрировать увеличение по горизонтали"
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr ""
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr "Выровнять цель ссылки по левому краю"
-#: ../zathura/config.c:207
+#: zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr "Разрешить изменять размер при следовании по ссылкам"
-#: ../zathura/config.c:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr "Центрировать результат по горизонтали"
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Прозрачность подсветки"
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Рендер «Загружается ...»"
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Подогнать размеры при открытии документа"
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Показывать скрытые файлы и каталоги"
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr "Показывать каталоги"
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr "Всегда открывать на первой странице"
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr "Подсветить результаты поиска"
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr "Включить инкрементальный поиск"
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Сбросить результаты при отмене поиска"
-#: ../zathura/config.c:231
+#: zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr "Использовать базовое имя файла в заголовке"
-#: ../zathura/config.c:233
+#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:235
+#: zathura/config.c:235
msgid "Display the page number in the window title"
msgstr "Показывать номер страницы в заголовке"
-#: ../zathura/config.c:237
+#: zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr "Использовать базовое имя файла в строке состояния"
-#: ../zathura/config.c:239
+#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr "Включить поддержку synctex"
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr "Включить сервис D-Bus"
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr ""
-#: ../zathura/config.c:249
+#: zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr "Буфер для записи данных из области выделенных мышкой"
-#: ../zathura/config.c:251
+#: zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr "Добавить закладку"
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Удалить закладку"
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr "Показать все закладки"
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr "Закрыть текущий файл"
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr "Показать информацию о файле"
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr "Выполнить команду"
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr "Помощь"
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr "Открыть документ"
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr "Выход"
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr "Печать"
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr "Сохранить документ"
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Сохранить документ (с перезаписью)"
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr "Сохранить прикреплённые файлы"
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr "Сохранить смещение страницы"
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Пометить текущую позицию в документе"
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Удалить указанные пометки"
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Не подсвечивать результаты текущего поиска"
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr "Подсветить результаты текущего поиска"
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr "Показать информацию о версии файла"
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr "Не удалось запустить xdg-open"
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr "Ссылка: страница %d"
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr "Ссылка: %s"
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr "Ссылка: неправильная"
-#: ../zathura/main.c:146
+#: zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Сменить материнское окно на окно, указанное в xid (X11)"
-#: ../zathura/main.c:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr "Путь к каталогу с настройкой"
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr "Путь к каталогу с данными"
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Путь к каталогу с плагинами"
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr "Запустить в фоне"
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr "Пароль документа"
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr "Перейти к странице номер"
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Уровень журналирования (debug, info, warning, error)"
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr "Показать информацию о файле"
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Редактор для synctex (передаётся далее программе synctex)"
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr "Перейти к указанному положению synctex"
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr "Подсветка заданного положения в заданном процессе"
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr "Запустить в специальном режиме"
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr "Загрузка..."
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr "Скопировать изображение"
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr "Сохранить изображение как"
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr "Не удалось напечатать %s"
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "В документе нет индекса"
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr "[Без названия]"
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
"Не удалось прочитать файл со стандартного входа и записать его во временный "
"файл."
-#: ../zathura/zathura.c:664
+#: zathura/zathura.c:737
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: zathura/zathura.c:826
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Тип файла не поддерживается. Установите соответствующий плагин."
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
msgid "Document does not contain any pages"
msgstr "В документе нет страниц"
diff --git a/po/ta_IN.po b/po/ta_IN.po
index e5f4e70..4f59bda 100644
--- a/po/ta_IN.po
+++ b/po/ta_IN.po
@@ -6,8 +6,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\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/"
@@ -18,616 +18,615 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr "கொடுக்கப்பட்ட உள்ளீடு(input) '%s' தவறு"
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr "கொடுக்கப்பட்ட index '%s' தவறு"
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr ""
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr "கொடுக்கப்பட்ட arguments-களின் எண்ணிக்கை தவறு"
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Bookmark-ஐ உருவாக்க முடியவில்லை: %s"
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Bookmark-ஐ உருவாக்க முடியவில்லை: %s"
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Bookmark வெற்றிகரமாக நிகழ்நிலை(update) படுத்தப்பட்டது: %s"
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Bookmark வெற்றிகரமாக உருவாக்கப்பட்டது: %s"
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Bookmark அழிக்கப்பட்டது: %s"
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Bookmark-ஐ அழிக்க இயலவில்லை: %s"
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
#, fuzzy
msgid "No bookmarks available."
msgstr "எந்தத் தகவலும் இல்லை"
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "அந்தப் பெயரில் எந்த bookmark-ம் இல்லை: %s"
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr "எந்தத் தகவலும் இல்லை"
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr "Argumentகளின் எண்ணிக்கை மிகவும் அதிகம்"
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr "எந்த argument-ம் தரப்படவில்லை"
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr "கோப்பு சேமிக்கப்பட்டது"
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr "ஆவணத்தை சேமிக்க இயலவில்லை"
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr "கொடுக்கப்பட்ட argument-களின் எண்ணிக்கை தவறு"
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr "Argument ஒரு எண்ணாக இருக்க வேண்டும்"
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr ""
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr "இணைப்புகளைச் சேமிக்கவும்"
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr ""
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr ""
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr ""
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr "Zoom அமைப்பு"
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr "இரு பக்கங்களுக்கிடையில் உள்ள நிரப்பல்(padding)"
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr "ஒரு வரிசையில் எத்தனை பக்கங்களைக் காட்ட வேண்டும்"
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr ""
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr "திரை உருளல்(scroll) அளவு"
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr ""
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr "முடிந்தவரை சிறியதாகக் காட்டு"
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr "முடிந்தவரை பெரிதாகக் காட்டு"
-#: ../zathura/config.c:166
+#: zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:170
+#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr ""
-#: ../zathura/config.c:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr ""
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr ""
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr ""
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr ""
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr ""
-#: ../zathura/config.c:191
+#: zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
-#: ../zathura/config.c:193
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr ""
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr ""
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr ""
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr ""
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr ""
-#: ../zathura/config.c:207
+#: zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr ""
-#: ../zathura/config.c:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr ""
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr ""
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr ""
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr ""
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr ""
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr ""
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr ""
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr ""
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr ""
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr ""
-#: ../zathura/config.c:231
+#: zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:235
+#: zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:237
+#: zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:239
+#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr ""
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr ""
-#: ../zathura/config.c:249
+#: zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:251
+#: zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr "புதிய bookmark உருவாக்கு"
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Bookmark-ஐ அழித்துவிடு"
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr "அனைத்து bookmark-களையும் பட்டியலிடு"
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr ""
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு"
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr ""
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr "உதவியைக் காட்டு"
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr "ஒரு ஆவணத்தைத் திற"
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr "zathura-வை விட்டு வெளியேறு"
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr "ஆவணத்தை அச்சிடு"
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr "ஆவணத்தை சேமிக்கவும்"
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr ""
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr "இணைப்புகளைச் சேமிக்கவும்"
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr ""
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr ""
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr ""
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr ""
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr ""
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr ""
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr "xdg-open-ஐ இயக்க முடியவில்லை"
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr ""
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr ""
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr ""
-#: ../zathura/main.c:146
+#: zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: ../zathura/main.c:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr ""
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr ""
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr ""
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr ""
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr ""
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr ""
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு"
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr ""
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr "படத்தை ஒரு பிரதியெடு"
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr ""
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "இந்த ஆவணத்தில் எந்த index-ம் இல்லை"
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr "பெயரற்ற ஆவணம்"
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: zathura/zathura.c:737
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: zathura/zathura.c:826
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/tr.po b/po/tr.po
index 4aeda7f..1b933ab 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -7,8 +7,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\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/"
@@ -20,616 +20,615 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr "Hatalı girdi '%s'"
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr "Hatalı dizin '%s'"
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr ""
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr "Yanlış sayıda argüman"
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Yer imi yaratılamadı: %s"
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Yer imi yaratılamadı: %s"
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Yer imi başarıyla güncellendi: %s"
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Yer imi yaratıldı: %s"
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Yer imi silindi: %s"
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Yer imi silinemedi: %s"
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
#, fuzzy
msgid "No bookmarks available."
msgstr "Bilgi mevcut değil."
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Böyle bir yer imi yok: %s"
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr "Bilgi mevcut değil."
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr "Çok fazla sayıda argüman."
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr "Argüman verilmedi."
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr "Belge kaydedildi."
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr "Belge kaydedilemedi."
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr "Yanlış sayıda argüman."
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazılamadı."
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazıldı."
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazıldı."
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazılamadı."
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr "Tanınmayan resim dosyası '%s'"
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Tanınmayan eklenti veya resim dosyası '%s'"
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr "Argüman bir sayı olmalı."
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr "Sayfa %d"
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr "Ekleri kaydet"
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr "Resimler"
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr "Veritabanı arkayüzü"
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr ""
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr "Yakınlaşma/uzaklaşma aralığı"
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr "Sayfalar arasındaki boşluk"
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr "Satır başına sayfa sayısı"
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr "İlk sayfanın sütunu"
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr "Kaydırma aralığı"
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr "Yatay kaydırma adımı"
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr "Tam ekran kaydırma kaplaması"
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr "En fazla uzaklaşma"
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr "En fazla yakınlaşma"
-#: ../zathura/config.c:166
+#: zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:170
+#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr "Atlama listesinde hatırlanacak pozisyon sayısı"
-#: ../zathura/config.c:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Renk değişimi (koyu renk)"
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Renk değişimi (açık renk)"
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr "İşaretleme rengi"
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "İşaretleme rengi (etkin)"
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr "Sayga rengini değiştir"
-#: ../zathura/config.c:191
+#: 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:193
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Kaydırmayı sarmala"
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr "Satır başına sayfa sayısı"
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr "Yatay olarak ortalanmış büyütme"
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr ""
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr ""
-#: ../zathura/config.c:207
+#: zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr ""
-#: ../zathura/config.c:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr ""
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Ön plana çıkarmak için saydamlaştır"
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "'Yüklüyor ...' yazısını göster"
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Dosya açarken ayarla"
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Gizli dosyaları ve dizinleri göster"
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr "Dizinleri göster"
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr "Her zaman ilk sayfayı aç"
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr "Arama sonuçlarını vurgula"
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr "Artımlı aramayı etkinleştir"
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr "Kapatınca arama sonuçlarını temizle"
-#: ../zathura/config.c:231
+#: 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:233
+#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:235
+#: zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:237
+#: zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:239
+#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr ""
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr ""
-#: ../zathura/config.c:249
+#: zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:251
+#: zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr "Yer imi ekle"
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Yer imi sil"
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr "Yer imlerini listele"
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr "Geçerli dosyayı kapat"
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr "Dosya bilgisi göster"
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr "Bir komut çalıştır"
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr "Yardım bilgisi göster"
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr "Belge aç"
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr "Zathura'yı kapat"
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr "Belge yazdır"
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr "Belgeyi kaydet"
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Belgeyi kaydet (ve sormadan üzerine yaz)"
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr "Ekleri kaydet"
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr "Sayfa derinliğini ayarla"
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr "Bu belgede bu konumu işaretle"
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr "Seçilen işaretlemeleri sil"
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr "Şuanki arama sonuçlarını vurgulama"
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr "Şuanki arama sonuçlarını vurgula"
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr "Versiyon bilgisi göster"
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr "xdg-open çalıştırılamadı"
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr ""
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr ""
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr ""
-#: ../zathura/main.c:146
+#: 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:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr "Ayar dizini adresi"
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr "Veri dizini adresi"
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Eklentileri içeren dizinin adresi"
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr "Arka planda işlemden çocuk oluştur"
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr "Belge şifresi"
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Kayıt seviyesi (hata ayıklama, bilgi, uyarı, hata)"
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr "Dosya bilgisi göster"
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr "Yüklüyor ..."
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr "Resim kopyala"
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr "Resmi farklı kaydet"
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Bu belge fihrist içermiyor"
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr "[İsimsiz]"
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: zathura/zathura.c:737
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: zathura/zathura.c:826
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/uk_UA.po b/po/uk_UA.po
index 604c764..946c305 100644
--- a/po/uk_UA.po
+++ b/po/uk_UA.po
@@ -6,8 +6,8 @@
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
-"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
-"POT-Creation-Date: 2018-02-04 10:47+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-25 17:56+0100\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/"
@@ -20,616 +20,615 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: ../zathura/callbacks.c:256
+#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
msgstr ""
-#: ../zathura/callbacks.c:338
+#: zathura/callbacks.c:390
#, c-format
msgid "Invalid input '%s' given."
msgstr "Вказано невірний аргумент: %s."
-#: ../zathura/callbacks.c:374
+#: zathura/callbacks.c:426
#, c-format
msgid "Invalid index '%s' given."
msgstr "Вказано невірний індекс: %s"
-#: ../zathura/callbacks.c:613
+#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
msgstr ""
-#: ../zathura/callbacks.c:646
+#: zathura/callbacks.c:698
#, c-format
msgid "Copied selected image to selection %s"
msgstr ""
-#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
-#: ../zathura/commands.c:165 ../zathura/commands.c:279
-#: ../zathura/commands.c:309 ../zathura/commands.c:335
-#: ../zathura/commands.c:435 ../zathura/commands.c:562
-#: ../zathura/shortcuts.c:413 ../zathura/shortcuts.c:1225
-#: ../zathura/shortcuts.c:1260 ../zathura/shortcuts.c:1287
+#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
+#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: 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:440
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
msgid "Invalid number of arguments given."
msgstr "Вказана невірна кількість аргументів."
-#: ../zathura/commands.c:53
+#: zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Не можу створити закладку: %s"
-#: ../zathura/commands.c:55
+#: zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Не можу створити закладку: %s"
-#: ../zathura/commands.c:60
+#: zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Закладку вдало поновлено: %s"
-#: ../zathura/commands.c:62
+#: zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Закладку створено вдало: %s"
-#: ../zathura/commands.c:88
+#: zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Закладку видалено: %s"
-#: ../zathura/commands.c:90
+#: zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Видалення закладки невдалося: %s"
-#: ../zathura/commands.c:119
+#: zathura/commands.c:119
#, fuzzy
msgid "No bookmarks available."
msgstr "Інформація недоступна."
-#: ../zathura/commands.c:129
+#: zathura/commands.c:129
#, c-format
msgid "No such bookmark: %s"
msgstr "Такої закладки немає: %s"
-#: ../zathura/commands.c:175
+#: zathura/commands.c:175
msgid "Title"
msgstr ""
-#: ../zathura/commands.c:176
+#: zathura/commands.c:176
msgid "Author"
msgstr ""
-#: ../zathura/commands.c:177
+#: zathura/commands.c:177
msgid "Subject"
msgstr ""
-#: ../zathura/commands.c:178
+#: zathura/commands.c:178
msgid "Keywords"
msgstr ""
-#: ../zathura/commands.c:179
+#: zathura/commands.c:179
msgid "Creator"
msgstr ""
-#: ../zathura/commands.c:180
+#: zathura/commands.c:180
msgid "Producer"
msgstr ""
-#: ../zathura/commands.c:181
+#: zathura/commands.c:181
msgid "Creation date"
msgstr ""
-#: ../zathura/commands.c:182
+#: zathura/commands.c:182
msgid "Modification date"
msgstr ""
-#: ../zathura/commands.c:187 ../zathura/commands.c:207
+#: zathura/commands.c:187 zathura/commands.c:207
msgid "No information available."
msgstr "Інформація недоступна."
-#: ../zathura/commands.c:245
+#: zathura/commands.c:245
msgid "Too many arguments."
msgstr "Забагато аргументів."
-#: ../zathura/commands.c:256
+#: zathura/commands.c:256
msgid "No arguments given."
msgstr "Жодного аргументу не вказано."
-#: ../zathura/commands.c:315 ../zathura/commands.c:341
+#: zathura/commands.c:310 zathura/commands.c:336
msgid "Document saved."
msgstr "Документ збережено."
-#: ../zathura/commands.c:317 ../zathura/commands.c:343
+#: zathura/commands.c:312 zathura/commands.c:338
msgid "Failed to save document."
msgstr "Документ не вдалося зберегти."
-#: ../zathura/commands.c:320 ../zathura/commands.c:346
+#: zathura/commands.c:315 zathura/commands.c:341
msgid "Invalid number of arguments."
msgstr "Невірна кількість аргументів."
-#: ../zathura/commands.c:459
+#: zathura/commands.c:454
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Неможливо записати прикріплення '%s' до '%s'."
-#: ../zathura/commands.c:461
+#: zathura/commands.c:456
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Прикріплення записано %s до %s."
-#: ../zathura/commands.c:505
+#: zathura/commands.c:500
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:507
+#: zathura/commands.c:502
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
-#: ../zathura/commands.c:514
+#: zathura/commands.c:509
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: ../zathura/commands.c:518
+#: zathura/commands.c:513
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: ../zathura/commands.c:575
+#: zathura/commands.c:570
msgid "Argument must be a number."
msgstr "Аргумент повинен бути цифрою."
-#: ../zathura/completion.c:283
+#: zathura/completion.c:283
#, c-format
msgid "Page %d"
msgstr ""
-#: ../zathura/completion.c:326
+#: zathura/completion.c:326
msgid "Attachments"
msgstr ""
#. add images
-#: ../zathura/completion.c:357
+#: zathura/completion.c:357
msgid "Images"
msgstr ""
#. zathura settings
-#: ../zathura/config.c:145
+#: zathura/config.c:145
msgid "Database backend"
msgstr "Буфер бази"
-#: ../zathura/config.c:146
+#: zathura/config.c:146
msgid "File monitor backend"
msgstr ""
-#: ../zathura/config.c:148
+#: zathura/config.c:148
msgid "Zoom step"
msgstr "Збільшення"
-#: ../zathura/config.c:150
+#: zathura/config.c:150
msgid "Padding between pages"
msgstr "Заповнення між сторінками"
-#: ../zathura/config.c:152
+#: zathura/config.c:152
msgid "Number of pages per row"
msgstr "Кількість сторінок в одному рядку"
-#: ../zathura/config.c:154
+#: zathura/config.c:154
msgid "Column of the first page"
msgstr ""
-#: ../zathura/config.c:156
+#: zathura/config.c:156
msgid "Scroll step"
msgstr "Прокручування"
-#: ../zathura/config.c:158
+#: zathura/config.c:158
msgid "Horizontal scroll step"
msgstr ""
-#: ../zathura/config.c:160
+#: zathura/config.c:160
msgid "Full page scroll overlap"
msgstr ""
-#: ../zathura/config.c:162
+#: zathura/config.c:162
msgid "Zoom minimum"
msgstr "Максимальне зменшення"
-#: ../zathura/config.c:164
+#: zathura/config.c:164
msgid "Zoom maximum"
msgstr "Максимальне збільшення"
-#: ../zathura/config.c:166
+#: zathura/config.c:166
msgid "Maximum number of pages to keep in the cache"
msgstr ""
-#: ../zathura/config.c:168
+#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
-#: ../zathura/config.c:170
+#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
msgstr ""
-#: ../zathura/config.c:172
+#: zathura/config.c:172
msgid "Recoloring (dark color)"
msgstr "Перефарбування (темний колір)"
-#: ../zathura/config.c:173
+#: zathura/config.c:173
msgid "Recoloring (light color)"
msgstr "Перефарбування (світлий колір)"
-#: ../zathura/config.c:174
+#: zathura/config.c:174
msgid "Color for highlighting"
msgstr "Колір для виділення"
-#: ../zathura/config.c:176
+#: zathura/config.c:176
msgid "Color for highlighting (active)"
msgstr "Колір для виділення (активний)"
-#: ../zathura/config.c:178
+#: zathura/config.c:178
msgid "'Loading ...' background color"
msgstr ""
-#: ../zathura/config.c:180
+#: zathura/config.c:180
msgid "'Loading ...' foreground color"
msgstr ""
-#: ../zathura/config.c:183
+#: zathura/config.c:183
msgid "Index mode foreground color"
msgstr ""
-#: ../zathura/config.c:184
+#: zathura/config.c:184
msgid "Index mode background color"
msgstr ""
-#: ../zathura/config.c:185
+#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
msgstr ""
-#: ../zathura/config.c:186
+#: zathura/config.c:186
msgid "Index mode background color (active element)"
msgstr ""
-#: ../zathura/config.c:189
+#: zathura/config.c:189
msgid "Recolor pages"
msgstr "Змінити кольори"
-#: ../zathura/config.c:191
+#: zathura/config.c:191
msgid "When recoloring keep original hue and adjust lightness only"
msgstr ""
-#: ../zathura/config.c:193
+#: zathura/config.c:193
msgid "When recoloring keep original image colors"
msgstr ""
-#: ../zathura/config.c:195
+#: zathura/config.c:195
msgid "Wrap scrolling"
msgstr "Плавне прокручування"
-#: ../zathura/config.c:197
+#: zathura/config.c:197
msgid "Page aware scrolling"
msgstr ""
-#: ../zathura/config.c:199
+#: zathura/config.c:199
msgid "Advance number of pages per row"
msgstr ""
-#: ../zathura/config.c:201
+#: zathura/config.c:201
msgid "Horizontally centered zoom"
msgstr ""
-#: ../zathura/config.c:203
+#: zathura/config.c:203
msgid "Vertically center pages"
msgstr ""
-#: ../zathura/config.c:205
+#: zathura/config.c:205
msgid "Align link target to the left"
msgstr ""
-#: ../zathura/config.c:207
+#: zathura/config.c:207
msgid "Let zoom be changed when following links"
msgstr ""
-#: ../zathura/config.c:209
+#: zathura/config.c:209
msgid "Center result horizontally"
msgstr ""
-#: ../zathura/config.c:211
+#: zathura/config.c:211
msgid "Transparency for highlighting"
msgstr "Прозорість для виділення"
-#: ../zathura/config.c:213
+#: zathura/config.c:213
msgid "Render 'Loading ...'"
msgstr "Рендер 'Завантажується ...'"
-#: ../zathura/config.c:214
+#: zathura/config.c:214
msgid "Adjust to when opening file"
msgstr "Підлаштовутись при відкритті файлу"
-#: ../zathura/config.c:216
+#: zathura/config.c:216
msgid "Show hidden files and directories"
msgstr "Показати приховані файли та директорії"
-#: ../zathura/config.c:218
+#: zathura/config.c:218
msgid "Show directories"
msgstr "Показати диреторії"
-#: ../zathura/config.c:220
+#: zathura/config.c:220
msgid "Show recent files"
msgstr ""
-#: ../zathura/config.c:222
+#: zathura/config.c:222
msgid "Always open on first page"
msgstr "Завжди відкривати на першій сторінці"
-#: ../zathura/config.c:224
+#: zathura/config.c:224
msgid "Highlight search results"
msgstr ""
-#: ../zathura/config.c:227
+#: zathura/config.c:227
msgid "Enable incremental search"
msgstr ""
-#: ../zathura/config.c:229
+#: zathura/config.c:229
msgid "Clear search results on abort"
msgstr ""
-#: ../zathura/config.c:231
+#: zathura/config.c:231
msgid "Use basename of the file in the window title"
msgstr ""
-#: ../zathura/config.c:233
+#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
-#: ../zathura/config.c:235
+#: zathura/config.c:235
msgid "Display the page number in the window title"
msgstr ""
-#: ../zathura/config.c:237
+#: zathura/config.c:237
msgid "Use basename of the file in the statusbar"
msgstr ""
-#: ../zathura/config.c:239
+#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
-#: ../zathura/config.c:241
+#: zathura/config.c:241
msgid "Enable synctex support"
msgstr ""
-#: ../zathura/config.c:243
+#: zathura/config.c:243
msgid "Synctex editor command"
msgstr ""
-#: ../zathura/config.c:245
+#: zathura/config.c:245
msgid "Enable D-Bus service"
msgstr ""
-#: ../zathura/config.c:247
+#: zathura/config.c:247
msgid "Save history at each page change"
msgstr ""
-#: ../zathura/config.c:249
+#: zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
-#: ../zathura/config.c:251
+#: zathura/config.c:251
msgid "Enable notification after selecting text"
msgstr ""
#. define default inputbar commands
-#: ../zathura/config.c:440
+#: zathura/config.c:440
msgid "Add a bookmark"
msgstr "Додати закладку"
-#: ../zathura/config.c:441
+#: zathura/config.c:441
msgid "Delete a bookmark"
msgstr "Вилучити закладку"
-#: ../zathura/config.c:442
+#: zathura/config.c:442
msgid "List all bookmarks"
msgstr "Дивитись усі закладки"
-#: ../zathura/config.c:443
+#: zathura/config.c:443
msgid "Close current file"
msgstr "Закрити документ"
-#: ../zathura/config.c:444
+#: zathura/config.c:444
msgid "Show file information"
msgstr "Показати інформацію файлу"
-#: ../zathura/config.c:445 ../zathura/config.c:446
+#: zathura/config.c:445 zathura/config.c:446
msgid "Execute a command"
msgstr ""
#. like vim
-#: ../zathura/config.c:447
+#: zathura/config.c:447
msgid "Show help"
msgstr "Показати довідку"
-#: ../zathura/config.c:448
+#: zathura/config.c:448
msgid "Open document"
msgstr "Відкрити документ"
-#: ../zathura/config.c:449
+#: zathura/config.c:449
msgid "Close zathura"
msgstr "Вийти із zathura"
-#: ../zathura/config.c:450
+#: zathura/config.c:450
msgid "Print document"
msgstr "Друкувати документ"
-#: ../zathura/config.c:451
+#: zathura/config.c:451
msgid "Save document"
msgstr "Зберегти документ"
-#: ../zathura/config.c:452
+#: zathura/config.c:452
msgid "Save document (and force overwriting)"
msgstr "Зберегти документ (форсувати перезапис)"
-#: ../zathura/config.c:453
+#: zathura/config.c:453
msgid "Save attachments"
msgstr "Зберегти прикріплення"
-#: ../zathura/config.c:454
+#: zathura/config.c:454
msgid "Set page offset"
msgstr "Встановити зміщення сторінки"
-#: ../zathura/config.c:455
+#: zathura/config.c:455
msgid "Mark current location within the document"
msgstr ""
-#: ../zathura/config.c:456
+#: zathura/config.c:456
msgid "Delete the specified marks"
msgstr ""
-#: ../zathura/config.c:457
+#: zathura/config.c:457
msgid "Don't highlight current search results"
msgstr ""
-#: ../zathura/config.c:458
+#: zathura/config.c:458
msgid "Highlight current search results"
msgstr ""
-#: ../zathura/config.c:459
+#: zathura/config.c:459
msgid "Show version information"
msgstr ""
-#: ../zathura/links.c:203 ../zathura/links.c:282
+#: zathura/links.c:203 zathura/links.c:282
msgid "Failed to run xdg-open."
msgstr "Запуск xdg-open не вдався."
-#: ../zathura/links.c:221
+#: zathura/links.c:221
#, c-format
msgid "Link: page %d"
msgstr ""
-#: ../zathura/links.c:228
+#: zathura/links.c:228
#, c-format
msgid "Link: %s"
msgstr ""
-#: ../zathura/links.c:232
+#: zathura/links.c:232
msgid "Link: Invalid"
msgstr ""
-#: ../zathura/main.c:146
+#: zathura/main.c:146
msgid "Reparents to window specified by xid (X11)"
msgstr "Вертатися до вікна, вказаного xid (X11)"
-#: ../zathura/main.c:147
+#: zathura/main.c:147
msgid "Path to the config directory"
msgstr "Шлях до теки конфігурації"
-#: ../zathura/main.c:148
+#: zathura/main.c:148
msgid "Path to the data directory"
msgstr "Шлях до теки з даними"
-#: ../zathura/main.c:149
+#: zathura/main.c:149
msgid "Path to the cache directory"
msgstr ""
-#: ../zathura/main.c:150
+#: zathura/main.c:150
msgid "Path to the directories containing plugins"
msgstr "Шлях до теки з плаґінами"
-#: ../zathura/main.c:151
+#: zathura/main.c:151
msgid "Fork into the background"
msgstr "Працювати у фоні"
-#: ../zathura/main.c:152
+#: zathura/main.c:152
msgid "Document password"
msgstr ""
-#: ../zathura/main.c:153
+#: zathura/main.c:153
msgid "Page number to go to"
msgstr ""
-#: ../zathura/main.c:154
+#: zathura/main.c:154
msgid "Log level (debug, info, warning, error)"
msgstr "Рівень логування (налагодження, інфо, застереження, помилка)"
-#: ../zathura/main.c:155
+#: zathura/main.c:155
msgid "Print version information"
msgstr "Показати інформацію файлу"
-#: ../zathura/main.c:157
+#: zathura/main.c:157
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: ../zathura/main.c:158
+#: zathura/main.c:158
msgid "Move to given synctex position"
msgstr ""
-#: ../zathura/main.c:159
+#: zathura/main.c:159
msgid "Highlight given position in the given process"
msgstr ""
-#: ../zathura/main.c:161
+#: zathura/main.c:161
msgid "Start in a non-default mode"
msgstr ""
-#: ../zathura/page-widget.c:668
+#: zathura/page-widget.c:660
msgid "Loading..."
msgstr ""
-#: ../zathura/page-widget.c:1122
+#: zathura/page-widget.c:1114
msgid "Copy image"
msgstr "Копіювати картинку"
-#: ../zathura/page-widget.c:1123
+#: zathura/page-widget.c:1115
msgid "Save image as"
msgstr ""
-#: ../zathura/print.c:64 ../zathura/print.c:227
+#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
msgstr ""
-#: ../zathura/shortcuts.c:105
+#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
msgstr ""
-#: ../zathura/shortcuts.c:977
+#: zathura/shortcuts.c:977
#, c-format
msgid "Pattern not found: %s"
msgstr ""
-#: ../zathura/shortcuts.c:1135
+#: zathura/shortcuts.c:1135
msgid "This document does not contain any index"
msgstr "Індекс відсутній в цьому документі"
-#: ../zathura/zathura.c:219 ../zathura/zathura.c:1278
+#: zathura/zathura.c:292 zathura/zathura.c:1356
msgid "[No name]"
msgstr "[Без назви]"
-#: ../zathura/zathura.c:648
+#: zathura/zathura.c:721
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:664
+#: zathura/zathura.c:737
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: ../zathura/zathura.c:753
+#: zathura/zathura.c:826
msgid "Enter password:"
msgstr ""
-#: ../zathura/zathura.c:788
+#: zathura/zathura.c:861
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: ../zathura/zathura.c:798
+#: zathura/zathura.c:871
msgid "Document does not contain any pages"
msgstr ""
From 2f98ecde0d8fd3a6f823079c589e18959ebd3898 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 25 Feb 2018 18:39:03 +0100
Subject: [PATCH 078/126] Translate desktop file via i18n infrastructure
---
data/meson.build | 10 ++++++++++
data/zathura.desktop.in | 11 +++++++++++
meson.build | 2 --
po/POTFILES | 1 +
po/ca.po | 23 ++++++++++++++++++-----
po/cs.po | 21 ++++++++++++++++++---
po/de.po | 18 ++++++++++++++++--
po/el.po | 23 ++++++++++++++++++-----
po/eo.po | 20 +++++++++++++++++---
po/es.po | 18 ++++++++++++++++--
po/es_CL.po | 20 +++++++++++++++++---
po/et.po | 17 ++++++++++++++++-
po/fr.po | 20 +++++++++++++++++---
po/he.po | 19 +++++++++++++++++--
po/hr.po | 16 +++++++++++++++-
po/id_ID.po | 20 +++++++++++++++++---
po/it.po | 20 +++++++++++++++++---
po/lt.po | 20 +++++++++++++++++---
po/nl.po | 21 ++++++++++++++++++---
po/no.po | 20 +++++++++++++++++---
po/pl.po | 20 +++++++++++++++++---
po/pt_BR.po | 20 +++++++++++++++++---
po/ru.po | 20 +++++++++++++++++---
po/ta_IN.po | 23 +++++++++++++++++++----
po/tr.po | 20 +++++++++++++++++---
po/uk_UA.po | 20 +++++++++++++++++---
zathura.desktop | 26 --------------------------
27 files changed, 397 insertions(+), 92 deletions(-)
create mode 100644 data/zathura.desktop.in
delete mode 100644 zathura.desktop
diff --git a/data/meson.build b/data/meson.build
index 1e7dc72..a5df866 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -8,3 +8,13 @@ zathura_resources = gnome.compile_resources(
install_data('zathura.appdata.xml', install_dir: metainfodir)
install_data('org.pwmt.zathura.xml', install_dir: dbusinterfacesdir)
+
+i18n = import('i18n')
+i18n.merge_file('desktop',
+ input: 'zathura.desktop.in',
+ output: 'zathura.desktop',
+ install: true,
+ install_dir: desktopdir,
+ po_dir: join_paths(meson.source_root(), 'po'),
+ type: 'desktop'
+)
diff --git a/data/zathura.desktop.in b/data/zathura.desktop.in
new file mode 100644
index 0000000..527bf11
--- /dev/null
+++ b/data/zathura.desktop.in
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Zathura
+Comment=A minimalistic document viewer
+Exec=zathura %U
+Terminal=false
+Categories=Office;Viewer;
+# Translators: Search terms to find this application. Do not translate or
+# localize the semicolons. The list must also end with a semicolon.
+Keywords=PDF;PS;PostScript;DjVU;document;presentation;viewer;
diff --git a/meson.build b/meson.build
index 7566810..69440c1 100644
--- a/meson.build
+++ b/meson.build
@@ -184,7 +184,5 @@ pkg.generate(
]
)
-install_data('zathura.desktop', install_dir: desktopdir)
-
subdir('doc')
subdir('tests')
diff --git a/po/POTFILES b/po/POTFILES
index ec14f8b..d56a7b5 100644
--- a/po/POTFILES
+++ b/po/POTFILES
@@ -1,3 +1,4 @@
+data/zathura.desktop.in
zathura/adjustment.c
zathura/bookmarks.c
zathura/callbacks.c
diff --git a/po/ca.po b/po/ca.po
index a68a51a..3e3ec28 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
-"PO-Revision-Date: 2016-04-18 21:11+0200\n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"PO-Revision-Date: 2018-02-25 18:24+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Catalan (http://www.transifex.com/projects/p/zathura/language/"
"ca/)\n"
@@ -18,7 +18,21 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 1.8.7.1\n"
+"X-Generator: Poedit 2.0.6\n"
+
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr ""
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr "Un visualitzador de documents minimalista"
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
#: zathura/callbacks.c:308
#, c-format
@@ -88,9 +102,8 @@ msgid "Failed to remove bookmark: %s"
msgstr "No s'ha pogut esborrar el marcador: %s"
#: zathura/commands.c:119
-#, fuzzy
msgid "No bookmarks available."
-msgstr "Cap informació disponible."
+msgstr ""
#: zathura/commands.c:129
#, c-format
diff --git a/po/cs.po b/po/cs.po
index c60affe..62a2f5d 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -7,15 +7,30 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
-"PO-Revision-Date: 2017-01-04 20:39+0100\n"
-"Last-Translator: fri\n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"PO-Revision-Date: 2018-02-25 18:25+0100\n"
+"Last-Translator: Sebastian Ramacher \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-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+"X-Generator: Poedit 2.0.6\n"
+
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr ""
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr "Jednoduchý prohlížeč dokumentů"
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
#: zathura/callbacks.c:308
#, c-format
diff --git a/po/de.po b/po/de.po
index 91b0360..42c64a0 100644
--- a/po/de.po
+++ b/po/de.po
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
-"PO-Revision-Date: 2018-02-04 10:51+0100\n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"PO-Revision-Date: 2018-02-25 18:19+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: German (http://www.transifex.com/projects/p/zathura/language/"
"de/)\n"
@@ -20,6 +20,20 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.6\n"
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr "Zathura"
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr "Ein minimalistischer Dokumenten-Betrachter"
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr "PDF;Ps;PostScript;DjVU;Dokumente;Presentation;Betrachter;"
+
#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
diff --git a/po/el.po b/po/el.po
index 8586c6b..11b5480 100644
--- a/po/el.po
+++ b/po/el.po
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
-"PO-Revision-Date: 2016-04-18 21:10+0200\n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"PO-Revision-Date: 2018-02-25 18:26+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Greek (http://www.transifex.com/projects/p/zathura/language/"
"el/)\n"
@@ -18,7 +18,21 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 1.8.7.1\n"
+"X-Generator: Poedit 2.0.6\n"
+
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr ""
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr "Ένας ελαφρύς προβολέας κειμένων"
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
#: zathura/callbacks.c:308
#, c-format
@@ -88,9 +102,8 @@ msgid "Failed to remove bookmark: %s"
msgstr "Η διαγραφή του σελιδοδείκτη: %s απέτυχε. "
#: zathura/commands.c:119
-#, fuzzy
msgid "No bookmarks available."
-msgstr "Δεν υπάρχουν διαθέσιμες πληροφορίες."
+msgstr ""
#: zathura/commands.c:129
#, c-format
diff --git a/po/eo.po b/po/eo.po
index 008410b..4943bce 100644
--- a/po/eo.po
+++ b/po/eo.po
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
-"PO-Revision-Date: 2015-10-15 23:07+0200\n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"PO-Revision-Date: 2018-02-25 18:26+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Esperanto (http://www.transifex.com/projects/p/zathura/"
"language/eo/)\n"
@@ -17,7 +17,21 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 1.8.5\n"
+"X-Generator: Poedit 2.0.6\n"
+
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr ""
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr "Malpeza dokumento spektanto"
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
#: zathura/callbacks.c:308
#, c-format
diff --git a/po/es.po b/po/es.po
index 66f878e..d3c86ef 100644
--- a/po/es.po
+++ b/po/es.po
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
-"PO-Revision-Date: 2016-04-18 21:10+0200\n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"PO-Revision-Date: 2018-02-25 18:34+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Spanish (Castilian) (http://www.transifex.net/projects/p/"
"zathura/language/es/)\n"
@@ -18,6 +18,20 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.7.1\n"
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr "Zathura"
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr ""
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
+
#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
diff --git a/po/es_CL.po b/po/es_CL.po
index 198aecb..f600edc 100644
--- a/po/es_CL.po
+++ b/po/es_CL.po
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
-"PO-Revision-Date: 2016-04-18 21:10+0200\n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"PO-Revision-Date: 2018-02-25 18:27+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Spanish (Chile) (http://www.transifex.net/projects/p/zathura/"
"language/es_CL/)\n"
@@ -17,7 +17,21 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 1.8.7.1\n"
+"X-Generator: Poedit 2.0.6\n"
+
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr "Zathura"
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr "Un visor de documentos minimalista"
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
#: zathura/callbacks.c:308
#, c-format
diff --git a/po/et.po b/po/et.po
index a8bc61a..dbf01eb 100644
--- a/po/et.po
+++ b/po/et.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\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/"
@@ -19,6 +19,21 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.5\n"
+#: data/zathura.desktop.in:5
+#, fuzzy
+msgid "Zathura"
+msgstr "Sule zathura"
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr ""
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
+
#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
diff --git a/po/fr.po b/po/fr.po
index b4fa5c3..5a97b9e 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -11,8 +11,8 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
-"PO-Revision-Date: 2016-04-18 21:10+0200\n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"PO-Revision-Date: 2018-02-25 18:27+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: French (http://www.transifex.com/projects/p/zathura/language/"
"fr/)\n"
@@ -21,7 +21,21 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
-"X-Generator: Poedit 1.8.7.1\n"
+"X-Generator: Poedit 2.0.6\n"
+
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr "Zathura"
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr "Un visionneur de document minimaliste"
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
#: zathura/callbacks.c:308
#, c-format
diff --git a/po/he.po b/po/he.po
index 52e5a23..07ba2b8 100644
--- a/po/he.po
+++ b/po/he.po
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
-"PO-Revision-Date: 2014-01-31 09:37+0000\n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"PO-Revision-Date: 2018-02-25 18:28+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Hebrew (http://www.transifex.com/projects/p/zathura/language/"
"he/)\n"
@@ -16,6 +16,21 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Poedit 2.0.6\n"
+
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr "Zathura"
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr "מציג מסמכים מינימליסטי"
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
#: zathura/callbacks.c:308
#, c-format
diff --git a/po/hr.po b/po/hr.po
index a22bd87..f788ee7 100644
--- a/po/hr.po
+++ b/po/hr.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\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/"
@@ -18,6 +18,20 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr ""
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr ""
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
+
#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
diff --git a/po/id_ID.po b/po/id_ID.po
index c6d6369..d5c9364 100644
--- a/po/id_ID.po
+++ b/po/id_ID.po
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
-"PO-Revision-Date: 2016-04-18 21:10+0200\n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"PO-Revision-Date: 2018-02-25 18:28+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Indonesian (Indonesia) (http://www.transifex.com/projects/p/"
"zathura/language/id_ID/)\n"
@@ -17,7 +17,21 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
-"X-Generator: Poedit 1.8.7.1\n"
+"X-Generator: Poedit 2.0.6\n"
+
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr "Zathura"
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr "Pembaca dokumen minimalis"
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
#: zathura/callbacks.c:308
#, c-format
diff --git a/po/it.po b/po/it.po
index a5aee1a..bbeb80f 100644
--- a/po/it.po
+++ b/po/it.po
@@ -10,8 +10,8 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
-"PO-Revision-Date: 2015-10-15 23:06+0200\n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"PO-Revision-Date: 2018-02-25 18:29+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Italian (http://www.transifex.com/projects/p/zathura/language/"
"it/)\n"
@@ -20,7 +20,21 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 1.8.5\n"
+"X-Generator: Poedit 2.0.6\n"
+
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr "Zathura"
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr "Un visualizzatore di documenti minimalista"
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
#: zathura/callbacks.c:308
#, c-format
diff --git a/po/lt.po b/po/lt.po
index 76b4b37..1367bf8 100644
--- a/po/lt.po
+++ b/po/lt.po
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
-"PO-Revision-Date: 2015-10-15 23:06+0200\n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"PO-Revision-Date: 2018-02-25 18:29+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Lithuanian (http://www.transifex.com/projects/p/zathura/"
"language/lt/)\n"
@@ -18,7 +18,21 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n"
"%100<10 || n%100>=20) ? 1 : 2);\n"
-"X-Generator: Poedit 1.8.5\n"
+"X-Generator: Poedit 2.0.6\n"
+
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr "Zathura"
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr "Paprasta dokumentų skaitytuvė"
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
#: zathura/callbacks.c:308
#, c-format
diff --git a/po/nl.po b/po/nl.po
index b5add2d..1d0e639 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -8,15 +8,30 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
-"PO-Revision-Date: 2018-02-04 11:02+0000\n"
-"Last-Translator: Heimen Stoffels \n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"PO-Revision-Date: 2018-02-25 18:33+0100\n"
+"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Dutch (http://www.transifex.com/pwmt/zathura/language/nl/)\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Poedit 2.0.6\n"
+
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr "Zathura"
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr "Een minimalistische documentweergave-applicatie"
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
#: zathura/callbacks.c:308
#, c-format
diff --git a/po/no.po b/po/no.po
index aa45d14..dae208a 100644
--- a/po/no.po
+++ b/po/no.po
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
-"PO-Revision-Date: 2015-10-15 23:06+0200\n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"PO-Revision-Date: 2018-02-25 18:29+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Norwegian (http://www.transifex.com/projects/p/zathura/"
"language/no/)\n"
@@ -17,7 +17,21 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 1.8.5\n"
+"X-Generator: Poedit 2.0.6\n"
+
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr "Zathura"
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr "En minimalistisk dokumentleser"
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
#: zathura/callbacks.c:308
#, c-format
diff --git a/po/pl.po b/po/pl.po
index 6d71b4e..5a0e01a 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
-"PO-Revision-Date: 2016-04-18 21:09+0200\n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"PO-Revision-Date: 2018-02-25 18:30+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Polish (http://www.transifex.com/projects/p/zathura/language/"
"pl/)\n"
@@ -19,7 +19,21 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2);\n"
-"X-Generator: Poedit 1.8.7.1\n"
+"X-Generator: Poedit 2.0.6\n"
+
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr "Zathura"
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr "Minimalistyczna przeglądarka dokumentów"
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
#: zathura/callbacks.c:308
#, c-format
diff --git a/po/pt_BR.po b/po/pt_BR.po
index ab0b26e..4984dbc 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
-"PO-Revision-Date: 2016-04-18 21:09+0200\n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"PO-Revision-Date: 2018-02-25 18:30+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/"
"zathura/language/pt_BR/)\n"
@@ -17,7 +17,21 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
-"X-Generator: Poedit 1.8.7.1\n"
+"X-Generator: Poedit 2.0.6\n"
+
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr "Zathura"
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr "Um visualizador de documentos minimalista"
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
#: zathura/callbacks.c:308
#, c-format
diff --git a/po/ru.po b/po/ru.po
index e54f445..28484ca 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -10,8 +10,8 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
-"PO-Revision-Date: 2016-04-18 21:09+0200\n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"PO-Revision-Date: 2018-02-25 18:30+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Russian (http://www.transifex.com/projects/p/zathura/language/"
"ru/)\n"
@@ -21,7 +21,21 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
-"X-Generator: Poedit 1.8.7.1\n"
+"X-Generator: Poedit 2.0.6\n"
+
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr "Zathura"
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr "Минималистичный просмотрщик документов"
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
#: zathura/callbacks.c:308
#, c-format
diff --git a/po/ta_IN.po b/po/ta_IN.po
index 4f59bda..72dd351 100644
--- a/po/ta_IN.po
+++ b/po/ta_IN.po
@@ -7,16 +7,31 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
-"PO-Revision-Date: 2014-01-31 09:37+0000\n"
-"Last-Translator: mankand007 \n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"PO-Revision-Date: 2018-02-25 18:31+0100\n"
+"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Tamil (India) (http://www.transifex.net/projects/p/zathura/"
"language/ta_IN/)\n"
"Language: ta_IN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=(n != 1)\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Poedit 2.0.6\n"
+
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr "Zathura"
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr ""
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
#: zathura/callbacks.c:308
#, c-format
diff --git a/po/tr.po b/po/tr.po
index 1b933ab..961e260 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
-"PO-Revision-Date: 2016-04-18 21:09+0200\n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"PO-Revision-Date: 2018-02-25 18:31+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Turkish (http://www.transifex.net/projects/p/zathura/language/"
"tr/)\n"
@@ -18,7 +18,21 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
-"X-Generator: Poedit 1.8.7.1\n"
+"X-Generator: Poedit 2.0.6\n"
+
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr "Zathura"
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr "Minimalist bir belge görüntüleyicisi"
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
#: zathura/callbacks.c:308
#, c-format
diff --git a/po/uk_UA.po b/po/uk_UA.po
index 946c305..4d3a8d6 100644
--- a/po/uk_UA.po
+++ b/po/uk_UA.po
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 17:56+0100\n"
-"PO-Revision-Date: 2016-04-18 21:08+0200\n"
+"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"PO-Revision-Date: 2018-02-25 18:31+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/projects/p/"
"zathura/language/uk_UA/)\n"
@@ -18,7 +18,21 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
-"X-Generator: Poedit 1.8.7.1\n"
+"X-Generator: Poedit 2.0.6\n"
+
+#: data/zathura.desktop.in:5
+msgid "Zathura"
+msgstr "Zathura"
+
+#: data/zathura.desktop.in:6
+msgid "A minimalistic document viewer"
+msgstr "Легкий переглядач документів"
+
+#. Translators: Search terms to find this application. Do not translate or
+#. localize the semicolons. The list must also end with a semicolon.
+#: data/zathura.desktop.in:12
+msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
+msgstr ""
#: zathura/callbacks.c:308
#, c-format
diff --git a/zathura.desktop b/zathura.desktop
deleted file mode 100644
index f3ad926..0000000
--- a/zathura.desktop
+++ /dev/null
@@ -1,26 +0,0 @@
-[Desktop Entry]
-Version=1.0
-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
-Comment[es_CL]=Un visor de documentos minimalista
-Comment[fr]=Un visionneur de document minimaliste
-Comment[he]=מציג מסמכים מינימליסטי
-Comment[id_ID]=Pembaca dokumen minimalis
-Comment[it]=Un visualizzatore di documenti minimalista
-Comment[lt]=Paprasta dokumentų skaitytuvė
-Comment[no]=En minimalistisk dokumentleser
-Comment[pl]=Minimalistyczna przeglądarka dokumentów
-Comment[pt_BR]=Um visualizador de documentos minimalista
-Comment[ru]=Минималистичный просмотрщик документов
-Comment[tr]=Minimalist bir belge görüntüleyicisi
-Comment[uk_UA]=Легкий переглядач документів
-Exec=zathura %U
-Terminal=false
-Categories=Office;Viewer;
-Keywords=PDF;PS;PostScript;DjVU;document;presentation;viewer;
From c239e84ddb3360b6a929140d6d9d8ca35f1a0186 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 25 Feb 2018 19:47:50 +0100
Subject: [PATCH 079/126] IDs are supposed to follow reverse DNS
---
data/meson.build | 6 +++---
data/{zathura.appdata.xml => org.pwmt.zathura.appdata.xml} | 2 +-
data/{zathura.desktop.in => org.pwmt.zathura.desktop.in} | 0
3 files changed, 4 insertions(+), 4 deletions(-)
rename data/{zathura.appdata.xml => org.pwmt.zathura.appdata.xml} (97%)
rename data/{zathura.desktop.in => org.pwmt.zathura.desktop.in} (100%)
diff --git a/data/meson.build b/data/meson.build
index a5df866..b36e101 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -6,13 +6,13 @@ zathura_resources = gnome.compile_resources(
dependencies: files('zathura.css_t', 'org.pwmt.zathura.xml')
)
-install_data('zathura.appdata.xml', install_dir: metainfodir)
+install_data('org.pwmt.zathura.appdata.xml', install_dir: metainfodir)
install_data('org.pwmt.zathura.xml', install_dir: dbusinterfacesdir)
i18n = import('i18n')
i18n.merge_file('desktop',
- input: 'zathura.desktop.in',
- output: 'zathura.desktop',
+ input: 'org.pwmt.zathura.desktop.in',
+ output: 'org.pwmt.zathura.desktop',
install: true,
install_dir: desktopdir,
po_dir: join_paths(meson.source_root(), 'po'),
diff --git a/data/zathura.appdata.xml b/data/org.pwmt.zathura.appdata.xml
similarity index 97%
rename from data/zathura.appdata.xml
rename to data/org.pwmt.zathura.appdata.xml
index 280025e..393a626 100644
--- a/data/zathura.appdata.xml
+++ b/data/org.pwmt.zathura.appdata.xml
@@ -2,7 +2,7 @@
- zathura.desktop
+ org.pwmt.zathura.desktop
CC0-1.0
Zlib
diff --git a/data/zathura.desktop.in b/data/org.pwmt.zathura.desktop.in
similarity index 100%
rename from data/zathura.desktop.in
rename to data/org.pwmt.zathura.desktop.in
From 49b55d648b453ae871c133330361131304442f01 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 25 Feb 2018 19:49:08 +0100
Subject: [PATCH 080/126] Validate desktop file
---
data/meson.build | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/data/meson.build b/data/meson.build
index b36e101..c09d2db 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -10,7 +10,7 @@ install_data('org.pwmt.zathura.appdata.xml', install_dir: metainfodir)
install_data('org.pwmt.zathura.xml', install_dir: dbusinterfacesdir)
i18n = import('i18n')
-i18n.merge_file('desktop',
+desktop = i18n.merge_file('desktop',
input: 'org.pwmt.zathura.desktop.in',
output: 'org.pwmt.zathura.desktop',
install: true,
@@ -18,3 +18,11 @@ i18n.merge_file('desktop',
po_dir: join_paths(meson.source_root(), 'po'),
type: 'desktop'
)
+
+desktop_file_validate = find_program('desktop-file-validate', required: false)
+if desktop_file_validate.found()
+ test('validate-desktop',
+ desktop_file_validate,
+ args: [desktop.full_path()]
+ )
+endif
From c02652dff02115c28c341074e7d6c3ae26b05ca2 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 25 Feb 2018 19:50:39 +0100
Subject: [PATCH 081/126] Update copyright years
---
data/org.pwmt.zathura.appdata.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/org.pwmt.zathura.appdata.xml b/data/org.pwmt.zathura.appdata.xml
index 393a626..599a924 100644
--- a/data/org.pwmt.zathura.appdata.xml
+++ b/data/org.pwmt.zathura.appdata.xml
@@ -1,5 +1,5 @@
-
+
org.pwmt.zathura.desktop
From 11d2239d19723c0fbf45ce347125721b530f8c6b Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 25 Feb 2018 19:54:12 +0100
Subject: [PATCH 082/126] Convert to desktop-application
---
data/org.pwmt.zathura.appdata.xml | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/data/org.pwmt.zathura.appdata.xml b/data/org.pwmt.zathura.appdata.xml
index 599a924..b7d7915 100644
--- a/data/org.pwmt.zathura.appdata.xml
+++ b/data/org.pwmt.zathura.appdata.xml
@@ -1,15 +1,16 @@
-
-
- org.pwmt.zathura.desktop
+
+ org.pwmt.zathura
CC0-1.0
Zlib
+ Zathura
+ A minimalistic document viewer
- zathura is a highly customizable and functional document viewer. It
+ Zathura is a highly customizable and functional document viewer. It
provides a minimalistic and space saving interface as well as an easy
- usage that mainly focuses on keyboard interaction. zathura makes it
+ usage that mainly focuses on keyboard interaction. Zathura makes it
possible to completely view and navigate through documents without using a
mouse.
@@ -22,6 +23,7 @@
+ org.pwmt.zathura.desktop
https://pwmt.org/projects/zathura
https://bugs.pwmt.org/project/zathura
From 75b95655e1b0ced1578e27e9fe2144111659b509 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 25 Feb 2018 19:54:51 +0100
Subject: [PATCH 083/126] Add translation
---
data/org.pwmt.zathura.appdata.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/data/org.pwmt.zathura.appdata.xml b/data/org.pwmt.zathura.appdata.xml
index b7d7915..a7a06c5 100644
--- a/data/org.pwmt.zathura.appdata.xml
+++ b/data/org.pwmt.zathura.appdata.xml
@@ -41,4 +41,5 @@
zathura@lists.pwmt.org
+ zathura
From 9f482ab202c1d9cc6bbd7f945ceee1620d103c60 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 25 Feb 2018 19:59:36 +0100
Subject: [PATCH 084/126] Integrate appdata file into i18n infrastructure
---
data/meson.build | 21 +++++++++++++++++--
...ta.xml => org.pwmt.zathura.appdata.xml.in} | 0
2 files changed, 19 insertions(+), 2 deletions(-)
rename data/{org.pwmt.zathura.appdata.xml => org.pwmt.zathura.appdata.xml.in} (100%)
diff --git a/data/meson.build b/data/meson.build
index c09d2db..fb3c0f5 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -6,19 +6,28 @@ zathura_resources = gnome.compile_resources(
dependencies: files('zathura.css_t', 'org.pwmt.zathura.xml')
)
-install_data('org.pwmt.zathura.appdata.xml', install_dir: metainfodir)
install_data('org.pwmt.zathura.xml', install_dir: dbusinterfacesdir)
i18n = import('i18n')
+podir = join_paths(meson.source_root(), 'po')
+
desktop = i18n.merge_file('desktop',
input: 'org.pwmt.zathura.desktop.in',
output: 'org.pwmt.zathura.desktop',
install: true,
install_dir: desktopdir,
- po_dir: join_paths(meson.source_root(), 'po'),
+ po_dir: podir,
type: 'desktop'
)
+appdata = i18n.merge_file('appdata',
+ input: 'org.pwmt.zathura.appdata.xml.in',
+ output: 'org.pwmt.zathura.appdata.xml',
+ install: true,
+ install_dir: metainfodir,
+ po_dir: podir,
+)
+
desktop_file_validate = find_program('desktop-file-validate', required: false)
if desktop_file_validate.found()
test('validate-desktop',
@@ -26,3 +35,11 @@ if desktop_file_validate.found()
args: [desktop.full_path()]
)
endif
+
+appstream_util = find_program('appstream-util', required: false)
+if appstream_util.found()
+ test('validate-appdata',
+ appstream_util,
+ args: ['validate-relax', appdata.full_path()]
+ )
+endif
diff --git a/data/org.pwmt.zathura.appdata.xml b/data/org.pwmt.zathura.appdata.xml.in
similarity index 100%
rename from data/org.pwmt.zathura.appdata.xml
rename to data/org.pwmt.zathura.appdata.xml.in
From 56ec53a6181fefb05aa90fcd748ab91087f19162 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 25 Feb 2018 20:04:34 +0100
Subject: [PATCH 085/126] Add provides
---
data/org.pwmt.zathura.appdata.xml.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/data/org.pwmt.zathura.appdata.xml.in b/data/org.pwmt.zathura.appdata.xml.in
index a7a06c5..f48afc1 100644
--- a/data/org.pwmt.zathura.appdata.xml.in
+++ b/data/org.pwmt.zathura.appdata.xml.in
@@ -42,4 +42,7 @@
zathura@lists.pwmt.org
zathura
+
+ zathura
+
From 5800974cea288d5605e877fca5971411d403e0e3 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 25 Feb 2018 20:05:11 +0100
Subject: [PATCH 086/126] Fix paths
---
po/POTFILES | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/po/POTFILES b/po/POTFILES
index d56a7b5..39d7a84 100644
--- a/po/POTFILES
+++ b/po/POTFILES
@@ -1,4 +1,5 @@
-data/zathura.desktop.in
+data/org.pwmt.zathura.appdata.xml.in
+data/org.pwmt.zathura.desktop.in
zathura/adjustment.c
zathura/bookmarks.c
zathura/callbacks.c
From aa1a15dc927fdbf4d7f615840d19590d9440929f Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 25 Feb 2018 20:12:37 +0100
Subject: [PATCH 087/126] Extend description
---
data/org.pwmt.zathura.appdata.xml.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/data/org.pwmt.zathura.appdata.xml.in b/data/org.pwmt.zathura.appdata.xml.in
index f48afc1..ecc2991 100644
--- a/data/org.pwmt.zathura.appdata.xml.in
+++ b/data/org.pwmt.zathura.appdata.xml.in
@@ -15,7 +15,8 @@
mouse.
- Other features include:
+ Zathura can be extended to support multiple document formats using
+ plugins. Other features include:
- SyncTeX forward and backward synchronization support.
- Quickmarks and bookmarks.
From 84a9861bbb925c0a5b123a759a8058f5d15ebc91 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 25 Feb 2018 20:12:43 +0100
Subject: [PATCH 088/126] Run update-po
---
po/ca.po | 29 +++++++++++++++++++++++++----
po/cs.po | 29 +++++++++++++++++++++++++----
po/de.po | 29 +++++++++++++++++++++++++----
po/el.po | 29 +++++++++++++++++++++++++----
po/eo.po | 29 +++++++++++++++++++++++++----
po/es.po | 29 +++++++++++++++++++++++++----
po/es_CL.po | 29 +++++++++++++++++++++++++----
po/et.po | 29 +++++++++++++++++++++++++----
po/fr.po | 29 +++++++++++++++++++++++++----
po/he.po | 28 ++++++++++++++++++++++++----
po/hr.po | 28 ++++++++++++++++++++++++----
po/id_ID.po | 29 +++++++++++++++++++++++++----
po/it.po | 29 +++++++++++++++++++++++++----
po/lt.po | 29 +++++++++++++++++++++++++----
po/nl.po | 29 +++++++++++++++++++++++++----
po/no.po | 29 +++++++++++++++++++++++++----
po/pl.po | 29 +++++++++++++++++++++++++----
po/pt_BR.po | 29 +++++++++++++++++++++++++----
po/ru.po | 29 +++++++++++++++++++++++++----
po/ta_IN.po | 29 +++++++++++++++++++++++++----
po/tr.po | 29 +++++++++++++++++++++++++----
po/uk_UA.po | 29 +++++++++++++++++++++++++----
22 files changed, 548 insertions(+), 88 deletions(-)
diff --git a/po/ca.po b/po/ca.po
index 3e3ec28..0cd1661 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\n"
"PO-Revision-Date: 2018-02-25 18:24+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Catalan (http://www.transifex.com/projects/p/zathura/language/"
@@ -20,17 +20,38 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.6\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr ""
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr "Un visualitzador de documents minimalista"
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+#, fuzzy
+msgid "Quickmarks and bookmarks."
+msgstr "Llista tots els marcadors"
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
diff --git a/po/cs.po b/po/cs.po
index 62a2f5d..11472b2 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\n"
"PO-Revision-Date: 2018-02-25 18:25+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Czech (http://www.transifex.com/pwmt/zathura/language/cs/)\n"
@@ -18,17 +18,38 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"X-Generator: Poedit 2.0.6\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr ""
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr "Jednoduchý prohlížeč dokumentů"
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+#, fuzzy
+msgid "Quickmarks and bookmarks."
+msgstr "Vypsat všechny záložky"
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
diff --git a/po/de.po b/po/de.po
index 42c64a0..06e7f0d 100644
--- a/po/de.po
+++ b/po/de.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\n"
"PO-Revision-Date: 2018-02-25 18:19+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: German (http://www.transifex.com/projects/p/zathura/language/"
@@ -20,17 +20,38 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.6\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr "Zathura"
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr "Ein minimalistischer Dokumenten-Betrachter"
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+#, fuzzy
+msgid "Quickmarks and bookmarks."
+msgstr "Liste all Lesezeichen auf"
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr "PDF;Ps;PostScript;DjVU;Dokumente;Presentation;Betrachter;"
diff --git a/po/el.po b/po/el.po
index 11b5480..1a7074d 100644
--- a/po/el.po
+++ b/po/el.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\n"
"PO-Revision-Date: 2018-02-25 18:26+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Greek (http://www.transifex.com/projects/p/zathura/language/"
@@ -20,17 +20,38 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.6\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr ""
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr "Ένας ελαφρύς προβολέας κειμένων"
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+#, fuzzy
+msgid "Quickmarks and bookmarks."
+msgstr "Εμφάνιση όλων των σελιδοδεικτών"
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
diff --git a/po/eo.po b/po/eo.po
index 4943bce..6931318 100644
--- a/po/eo.po
+++ b/po/eo.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\n"
"PO-Revision-Date: 2018-02-25 18:26+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Esperanto (http://www.transifex.com/projects/p/zathura/"
@@ -19,17 +19,38 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.6\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr ""
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr "Malpeza dokumento spektanto"
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+#, fuzzy
+msgid "Quickmarks and bookmarks."
+msgstr "Listigu ĉiujn paĝosignojn"
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
diff --git a/po/es.po b/po/es.po
index d3c86ef..1fdeeb7 100644
--- a/po/es.po
+++ b/po/es.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\n"
"PO-Revision-Date: 2018-02-25 18:34+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Spanish (Castilian) (http://www.transifex.net/projects/p/"
@@ -18,17 +18,38 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.7.1\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr "Zathura"
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr ""
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+#, fuzzy
+msgid "Quickmarks and bookmarks."
+msgstr "Listar favoritos"
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
diff --git a/po/es_CL.po b/po/es_CL.po
index f600edc..502bc7e 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: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\n"
"PO-Revision-Date: 2018-02-25 18:27+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Spanish (Chile) (http://www.transifex.net/projects/p/zathura/"
@@ -19,17 +19,38 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.6\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr "Zathura"
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr "Un visor de documentos minimalista"
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+#, fuzzy
+msgid "Quickmarks and bookmarks."
+msgstr "Listar todos los marcadores"
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
diff --git a/po/et.po b/po/et.po
index dbf01eb..970e566 100644
--- a/po/et.po
+++ b/po/et.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\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/"
@@ -19,18 +19,39 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.5\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
#, fuzzy
msgid "Zathura"
msgstr "Sule zathura"
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr ""
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+#, fuzzy
+msgid "Quickmarks and bookmarks."
+msgstr "Näita kõiki järjehoidjaid"
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
diff --git a/po/fr.po b/po/fr.po
index 5a97b9e..9c6c25a 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\n"
"PO-Revision-Date: 2018-02-25 18:27+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: French (http://www.transifex.com/projects/p/zathura/language/"
@@ -23,17 +23,38 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 2.0.6\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr "Zathura"
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr "Un visionneur de document minimaliste"
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+#, fuzzy
+msgid "Quickmarks and bookmarks."
+msgstr "Lister tous les marque-pages"
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
diff --git a/po/he.po b/po/he.po
index 07ba2b8..c73d9c7 100644
--- a/po/he.po
+++ b/po/he.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\n"
"PO-Revision-Date: 2018-02-25 18:28+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Hebrew (http://www.transifex.com/projects/p/zathura/language/"
@@ -18,17 +18,37 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.6\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr "Zathura"
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr "מציג מסמכים מינימליסטי"
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+msgid "Quickmarks and bookmarks."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
diff --git a/po/hr.po b/po/hr.po
index f788ee7..0fc58f6 100644
--- a/po/hr.po
+++ b/po/hr.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\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/"
@@ -18,17 +18,37 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr ""
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr ""
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+msgid "Quickmarks and bookmarks."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
diff --git a/po/id_ID.po b/po/id_ID.po
index d5c9364..4f7f42e 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: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\n"
"PO-Revision-Date: 2018-02-25 18:28+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Indonesian (Indonesia) (http://www.transifex.com/projects/p/"
@@ -19,17 +19,38 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 2.0.6\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr "Zathura"
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr "Pembaca dokumen minimalis"
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+#, fuzzy
+msgid "Quickmarks and bookmarks."
+msgstr "Perlihatkan semua bookmark"
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
diff --git a/po/it.po b/po/it.po
index bbeb80f..ee30483 100644
--- a/po/it.po
+++ b/po/it.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\n"
"PO-Revision-Date: 2018-02-25 18:29+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Italian (http://www.transifex.com/projects/p/zathura/language/"
@@ -22,17 +22,38 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.6\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr "Zathura"
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr "Un visualizzatore di documenti minimalista"
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+#, fuzzy
+msgid "Quickmarks and bookmarks."
+msgstr "Mostra i segnalibri"
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
diff --git a/po/lt.po b/po/lt.po
index 1367bf8..7c43dca 100644
--- a/po/lt.po
+++ b/po/lt.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\n"
"PO-Revision-Date: 2018-02-25 18:29+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Lithuanian (http://www.transifex.com/projects/p/zathura/"
@@ -20,17 +20,38 @@ msgstr ""
"%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 2.0.6\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr "Zathura"
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr "Paprasta dokumentų skaitytuvė"
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+#, fuzzy
+msgid "Quickmarks and bookmarks."
+msgstr "Žymių sąrašas"
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
diff --git a/po/nl.po b/po/nl.po
index 1d0e639..ff20507 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\n"
"PO-Revision-Date: 2018-02-25 18:33+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Dutch (http://www.transifex.com/pwmt/zathura/language/nl/)\n"
@@ -19,17 +19,38 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.6\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr "Zathura"
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr "Een minimalistische documentweergave-applicatie"
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+#, fuzzy
+msgid "Quickmarks and bookmarks."
+msgstr "Alle bladwijzers weergeven"
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
diff --git a/po/no.po b/po/no.po
index dae208a..3aac926 100644
--- a/po/no.po
+++ b/po/no.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\n"
"PO-Revision-Date: 2018-02-25 18:29+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Norwegian (http://www.transifex.com/projects/p/zathura/"
@@ -19,17 +19,38 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.6\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr "Zathura"
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr "En minimalistisk dokumentleser"
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+#, fuzzy
+msgid "Quickmarks and bookmarks."
+msgstr "List alle bokmerker"
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
diff --git a/po/pl.po b/po/pl.po
index 5a0e01a..6cad8a7 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\n"
"PO-Revision-Date: 2018-02-25 18:30+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Polish (http://www.transifex.com/projects/p/zathura/language/"
@@ -21,17 +21,38 @@ msgstr ""
"|| n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 2.0.6\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr "Zathura"
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr "Minimalistyczna przeglądarka dokumentów"
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+#, fuzzy
+msgid "Quickmarks and bookmarks."
+msgstr "Wyświetl zakładki"
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 4984dbc..ab45bec 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: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\n"
"PO-Revision-Date: 2018-02-25 18:30+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/"
@@ -19,17 +19,38 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 2.0.6\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr "Zathura"
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr "Um visualizador de documentos minimalista"
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+#, fuzzy
+msgid "Quickmarks and bookmarks."
+msgstr "Listar todos favoritos"
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
diff --git a/po/ru.po b/po/ru.po
index 28484ca..5041ae3 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\n"
"PO-Revision-Date: 2018-02-25 18:30+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Russian (http://www.transifex.com/projects/p/zathura/language/"
@@ -23,17 +23,38 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 2.0.6\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr "Zathura"
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr "Минималистичный просмотрщик документов"
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+#, fuzzy
+msgid "Quickmarks and bookmarks."
+msgstr "Показать все закладки"
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
diff --git a/po/ta_IN.po b/po/ta_IN.po
index 72dd351..4bff649 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: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\n"
"PO-Revision-Date: 2018-02-25 18:31+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Tamil (India) (http://www.transifex.net/projects/p/zathura/"
@@ -19,17 +19,38 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.6\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr "Zathura"
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr ""
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+#, fuzzy
+msgid "Quickmarks and bookmarks."
+msgstr "அனைத்து bookmark-களையும் பட்டியலிடு"
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
diff --git a/po/tr.po b/po/tr.po
index 961e260..12201b1 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\n"
"PO-Revision-Date: 2018-02-25 18:31+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Turkish (http://www.transifex.net/projects/p/zathura/language/"
@@ -20,17 +20,38 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 2.0.6\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr "Zathura"
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr "Minimalist bir belge görüntüleyicisi"
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+#, fuzzy
+msgid "Quickmarks and bookmarks."
+msgstr "Yer imlerini listele"
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
diff --git a/po/uk_UA.po b/po/uk_UA.po
index 4d3a8d6..0445a29 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: \n"
-"POT-Creation-Date: 2018-02-25 18:36+0100\n"
+"POT-Creation-Date: 2018-02-25 20:12+0100\n"
"PO-Revision-Date: 2018-02-25 18:31+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/projects/p/"
@@ -20,17 +20,38 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 2.0.6\n"
-#: data/zathura.desktop.in:5
+#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
msgstr "Zathura"
-#: data/zathura.desktop.in:6
+#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
msgstr "Легкий переглядач документів"
+#: data/org.pwmt.zathura.appdata.xml.in:10
+msgid ""
+"Zathura is a highly customizable and functional document viewer. It provides "
+"a minimalistic and space saving interface as well as an easy usage that "
+"mainly focuses on keyboard interaction. Zathura makes it possible to "
+"completely view and navigate through documents without using a mouse."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:21
+msgid "SyncTeX forward and backward synchronization support."
+msgstr ""
+
+#: data/org.pwmt.zathura.appdata.xml.in:22
+#, fuzzy
+msgid "Quickmarks and bookmarks."
+msgstr "Дивитись усі закладки"
+
+#: data/org.pwmt.zathura.appdata.xml.in:23
+msgid "Automatic document reloading."
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:12
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
From 3d4d8068bbc119ad6f47230655b9d5d2373f2a63 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 25 Feb 2018 22:11:37 +0100
Subject: [PATCH 089/126] Add icon
---
data/meson.build | 1 +
data/org.pwmt.zathura.desktop.in | 1 +
data/org.pwmt.zathura.png | Bin 0 -> 6347 bytes
3 files changed, 2 insertions(+)
create mode 100644 data/org.pwmt.zathura.png
diff --git a/data/meson.build b/data/meson.build
index fb3c0f5..d56e693 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -7,6 +7,7 @@ zathura_resources = gnome.compile_resources(
)
install_data('org.pwmt.zathura.xml', install_dir: dbusinterfacesdir)
+install_data('org.pwmt.zathura.png', install_dir: join_paths(datadir, 'icons', 'hicolor', '128x128'))
i18n = import('i18n')
podir = join_paths(meson.source_root(), 'po')
diff --git a/data/org.pwmt.zathura.desktop.in b/data/org.pwmt.zathura.desktop.in
index 527bf11..afc33a4 100644
--- a/data/org.pwmt.zathura.desktop.in
+++ b/data/org.pwmt.zathura.desktop.in
@@ -4,6 +4,7 @@ Type=Application
Name=Zathura
Comment=A minimalistic document viewer
Exec=zathura %U
+Icon=org.pwmt.zathura
Terminal=false
Categories=Office;Viewer;
# Translators: Search terms to find this application. Do not translate or
diff --git a/data/org.pwmt.zathura.png b/data/org.pwmt.zathura.png
new file mode 100644
index 0000000000000000000000000000000000000000..4a41efc78b97c32be1976aa6d7c57226d9af3caf
GIT binary patch
literal 6347
zcmaiZi8mDP_y04-RtVXK=q-&k`;eWHv5b97$i8P6(PW$KBC_vGrb42Uea{q;ea$Yi
zWE--t^Y!@ye&=_dbMHOpIp5}Zx#F#1<_iE7!~X;VvU6dVofLj(9aV}25>_S>2KNot8~|XZ
zXq2+?)5%TCiN{mF1}{#4MYUOu<4ctJ#Y$pIxABr<;;XW09o$y&TeFIvw&4YL);r4U=ld<}g@s{P1xo(E>SQS9#Y542
ze}8|CtrUn&%n!gvpCr;xk0nKta;8T+Iw{J_{~-Z-xyL>3;HZ83D*Y%#kYP|9+t5@+
zHP6<@jb%n0l2KBFU24)+n_U!S2a*agh6s|FQfxC}J%HQ4Y%LHC4j`ts@^Ma?ZbJIN
zh6Kd?U|1G`m@;*Q(#(fKn&=SQy2v5u08f!dFQA{mkSjy5SEecSN%WzgxQ2*fG1(+x
z91tW2lBz8bIFm#?oz1ca^PZq2X76L%H?N=lLZE-?tpd35FIy4>M<1JLUrxZQp*BK9
z*d8VPBChu0DbxOL1y|*
zy1@siDrHn0%9w|%AVy$;v*Ie{7!ag-+JsR*njREve|LT!9D*e`W$p_3tr2P|QIb@^
z#w{4vRT4+ES!M;kULNCmk3
zVPgXKohq&g4!+uBgCOQW9W$LDih&V41&1^UH})1ZN)BWLEBnh~%*#P^ynlhvLVGP{jUY|^
zsLPjj5Uf$8viF9iUeOn#>wcobPsya%cH3d$z1?9e$@X<*cuanr$~)s>2O0zg*Et7Z
zN!;dm$*{K6oUu;&F0Y>i(27CYrzH&z1KVeF7Bj(Ez?nB;R0uDM(t|(aQy5x-v5bEyIfdayyaefy5Ul!9yl1+H
zSopDd<>*$fo4l34m}3j8J;?~=Xu;^#X0Ib6B?VA!9F_j3@<5x?l~4y+N=@CkiIP)~4*VS7nF(@7ol7;J2ACcVG!
z6m`dvf`XzpbJG1T3w*~YtzR=B)%CUvRu-FPQdWKN)B57yzXIZ!^IosioPOEpzhwAl
zb#--Sa92vI)TE4c?y%HCI6Ui|??w8D>YTcni?jftUK6!{f#VPXJyA$5lw9|bSg&{b
z()qollZwUN0Sh;SYCPjQVpt0-rHG7Ir6RK7`Ik(;bT3ulUug7HAh#^G;t(^Ox4k5b{6uJ-DarF%Zm08;Sl)Lk1
ze-9boQ@Dc#!$a1U64UYnOwWegq&*YPWIIxfr%-V2HGGb@%QmKLVTSmnC+N;(QoP;j
z5z@0jB|^D2Nw%Y+<`Rod-GZGeWaF)wrs{=zOz4h^G+81s{og-7OV`|4e)PPu=}>Es
zjRq)m-q9=0tp2MaX{dTpAzZM|TIoi2ad^H>u>;F5d9f+$10B}`)=VXldd4A~
zjs$F0WAcqyly4s|I5;@a9GhhGJUme7ENu1Cf;GdXtQx)c_AAm$roS#97YS*E_;Xx&
zeE)OOgi`Ig^RMGY>|l;}bEzCQ&z(1yt}o4R)Ag|e@hgB+)skYkiE8Hns%c*9p`e>-g>j@DpjU$!k40qG*2vP^y^hT
zA*=}&le5Kn(tV#V0Vg=k)A7@;eup)rE_oK8;8NXE?Y}nkMd@}_iWqs1`Tk5#}iLr<7tdO
zdim?IY!B#MRK@ZLdWOsGI;T9SZ>Vq1&d$3KkR%?i{Nw{XzqQd4$N!$F#W@PbVbpKg
zp>?k&!2S?)+&2I_KsKP245tp`bgeeWqki@ET{~`3`k=nL*z!HUf0^_JUQ%0M>P+_mIqE>TpK`JSri=^%mlAQ97ZozkkKf)rBWsw4=~Mn0IV4guSyFjyB$}Kd6wu
zUECv-yZT|42CKy-o59tc240t0HGUhsMgQpL90Ov%8aS}x-s+pN%|~S^fv254#o`={
zGHoxGWV_^_Q1z377Q$}p#l8p?C+7U5`tulh&xZJ-+CT862-W6)n_7v&ySs-M<#!L|
z4C~o`f|5N=Mz2Fw=?wUU93L)}dujY>mzjJg0$S~sY0=5K-016c1`C**v3IM$FIc!?
zX~fHyG`R%@p;_SQcl3WzQtwU5RL?`K?>rc9e`Qo(lVH}#|3q3i+VgRHdlk8U=Z1FE
zE(1`9>Cjoz8+4lA;6V>1E=tQPC~P)({aYI?6GbO`UNN1(ttlLUNQ{S1wk8`tV#eV$`
z2>Z(X(MXI!3N(yOUhM4nI2HReTM??v%ky#FGD^6g=3nDJR#fDp)VFydZU0?tQ_N0H
zt;bC&G4uGtg)IExe48<5@mB@cVnu$=d359ZAxJK4pdL!;>gp`Cj;^Ej`&jfPVApTj
zUCvt3#Vdt(>0YY*dw7b5VChv!unfoN)JPrIiw5n%@|Z}&Tf1N+YoeUplfmFW91r!M
zN1(nBLf=g0t%jN`Wr&^mZ#}ZpC$~Z=o+_~V`N%_4)9sV<5MwZ3gCbvuq-cj(vxzYR
zle_M&8@U?CrdpLZl6AM@)PA8tpl{L+>v@V0_C0cQhav)Lnj+}yTl>$>mV0wzZ)J{%
z1!-5XzDhaz7c@8ijO>8`(^dR-aWntk=2Yz^=yP$cX$Uvbn4O?d?(w!enK(i#v1R3A
z^Web$=WY}7A|divL{wmB8Ddk%85Sc;yf|!~GFoQX$_uI-yLKLlaZ=pALZNc)+O-d2
zJa;=HIx^dKn-U18n}($$mn4>#mX^lZ8w8|fWY8a~g}53>x1Yxde{0dprehO!uNhPP
zc5^QBxe7x^k3r*1$n`a13JFr;xnu_%l}ZU)Ff3&pcdh=z(t4ySj7UsOWSBdY>&SH5
z;ohnYjRr8MgJgKtex;h!GjzMCpc=k%b?IkDD*VcaYW7aC1!*-{R9$`j@Balh_QZqU
z9I4kU7!I-9o-XN~LA2QZ9!ED1M|*pmIR0aL8ji2MP2&7$F;V_)Fc}aO6eKM-(F&Yj
z5F;qVB%ZG26SE1Y)t8P=XJ9Chwz0GGxtYSAH>voy0KJgAhldckG9CD&rKMG3ETB@n
zJ6iUDu~SSZhEK6Uoz~P}=JHYU1s~1?49?D4d8^YD#&I(PK{oq_w}!E|sMu?2YKjgC
zbGxLMZr~;bamNespsF@cTWXt{rn!oKz*0ngn`&z_L=n8`B6_u(i^JviSFjEN0popk
zky|NK%(|%OjHw-uK2J}f6YgS(wd79sOc@o>Q(QY#3a+5FDJ6`4>
zMtb2lVD6%~yB=D+z)z-!05Xq;6|DH1ImeI(7okJa(|S-aW?m~4#17u0s(O0XQEz^7
zMemc^Ydb!ARQj-N^hB8swdsF~%WJ>9*Bqp#eX_FbjXDACv2;Hnx%J7(hk-QkV={-t
z*m_KSI+&kLX)T}zQ&UqNH%1hy`xVPR(!wO-NEUe=j7a*=r4t$r7$?lj-z{2|Jsv(6
z(=}tlk)>Qw;|;A6cCoi2rX6$%!)~W
z^JXI!QGyq_0~7k>Pn-OMotcTID6fM9a-H5_?-GSBa-_VH>!H}{u|xTfJlZ~iN0Mo4
zTH5(k@$8(U^r|g{=oSKkel!!K-nU`KfoIekAx4$-HM~i92;2YjSIsA&EW@8pRh+9v
z4b_nB4_RbEjl8ANm3y55K4|toznc$-N%$<H&jl3ZS?U@B-i&t?cAEN453p?@$W
zSYf|0283Vy`-DOLXgSA}`~CeKImtKPUDIc6lSL5d2YLQQO9zo*o1A8RE~XFGe_Q=W
zy}UcU;~TDg%QY^>KdCuq;H9){^6XgB-OUpk1iS!oPbawGg{VcGlNO9=*gTYYI=BC&
zp8^EU9Xduf5Mp_m&vw<3509r0`}t(^@|eNK33u1i??3-A^75IKJzEe
zDcrH~x%cBQ$*r!sn=8^uTZdy!s%Yf<(P1M%0R+a(iBhe{I%ma7=dsqUAv&JBy(<7)
z+t6T+=(tSmW$ByS3Neo@!RH8r#VEPSO-Gk-G;Vm~>7iuwSB$O=SxRS9oxG&LB(9b>EGoBeCms?-_7<#^5JPt&xnncIU3t}`oGPA{;zS{;F
z+1chDShj6WCSiE=YBpBt;6QZG-WA1rOhjJkP%V;$PN0(%x
zTfhzs*T)_eIHRf{^LJ$0Z1un=o}Q2M2fwOUBy=5)!6GQ^`H{1}D2HMS7$w1LTdIve
zHovW4{sO-m-pCTHQS
zzSy-wI$q2fu1>sMcjEJQ1D=zRc0DaT{U6m5ZxtJ{QO)
z-T^b6x+FSO;4t+=dWyy0euHObQm#+(-snY~Vb1sV%02f-+>5rvesq(WqW7(0No&Of
z?$#GRo|>IW3urh|O>7!u@@DA^^oRe9!2s;+v|GH%`wupv`(>TgN4@}?;CtK45UJ5W
ztDazdAev2M(XskUpqHN$3Zy{Q`57vLOVbSmS^V{lHW_8~V<%W=AP+=w(2`=?RR8IQ
z*AtasUQ_XG&6&LIlTdC}BC32g=KUtgYL^94FW^*eHh=+z`=3y!~+{_w;r7mRET-k)?Cz)aoM(%-+4(ig)gCVprbD
z368$!34g`l6tZ_}Pau0*LOY+IR$QhvXY2jc-pshD(Q=sPbn6Q~!;n5=-Fpq+KWw-l
zQxIp~VzZpC+2RU?Ade00o9Zm1O*(?NUR!2_4W+z}mUVNz#<(m52^(AM&6LjL1<0(vK4(k1hi8am
zrESPAdO3%^c#K&Mso)~%f8
zG8zmMr6!c+(yDWCp{MzSCbMG4F
zQfZVY+x;^8(+9>ImyF(OUY;#t0u8EwDb17>*rx2JOYEis7?0=U
ziY0_EO*r$OBiGtdi`RGKJ?FG<$E75kLRpV;a!uxYO_92h8zXeMoXFt1>hkNic
z*K6I5lloR+vh3&ADi-BnwEG%fJ&0DPuczW_RTAN
zNheeV3yQzAwi4lND)|E7Ui@T=rLI7sm;hCy
zV$#6cM%-Ha5E&gEO-qKYX}7kMpn6?6Y=o~WRuTrHfi#6bQxt7d$;b427}Or!I2yUm
zU;Ybkp@O?4h_Ree@lFyjaak7qtH-VvYzDk<-#vZC1|-;My4Uap_q{?O*i$HSWo4$m
z$tYfzYg5(=6BE{=0ZKNT+g&)cS#dNEuf_*L=e1JzL
Date: Sun, 25 Feb 2018 22:14:16 +0100
Subject: [PATCH 090/126] Set default window icon (fixes: #207)
Signed-off-by: Sebastian Ramacher
---
zathura/zathura.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/zathura/zathura.c b/zathura/zathura.c
index a7622d5..26216d9 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -100,6 +100,9 @@ zathura_create(void)
goto error_out;
}
+ /* set default icon */
+ girara_setting_set(zathura->ui.session, "window-icon", "org.pwmt.zathura");
+
#ifdef G_OS_UNIX
/* signal handler */
zathura->signals.sigterm = g_unix_signal_add(SIGTERM, zathura_signal_sigterm, zathura);
From 90533f67737c792d0bd6bfd263393ddf3ae1750b Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Mon, 26 Feb 2018 22:24:43 +0100
Subject: [PATCH 091/126] Free iterator before list
Signed-off-by: Sebastian Ramacher
---
zathura/zathura.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/zathura/zathura.c b/zathura/zathura.c
index 26216d9..9f5e30a 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -513,14 +513,14 @@ zathura_free(zathura_t* zathura)
g_free(zathura->config.cache_dir);
/* free jumplist */
- if (zathura->jumplist.list != NULL) {
- girara_list_free(zathura->jumplist.list);
- }
-
if (zathura->jumplist.cur != NULL) {
girara_list_iterator_free(zathura->jumplist.cur);
}
+ if (zathura->jumplist.list != NULL) {
+ girara_list_free(zathura->jumplist.list);
+ }
+
g_free(zathura);
}
From 5baa31b83d8c5fe5767394bbbd3084eff55bc5f4 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Mon, 26 Feb 2018 22:45:05 +0100
Subject: [PATCH 092/126] Avoid code duplication
We can use girara_list_foreach here and avoid the repeated
GIRARA_LIST_FOREACH_BODY overhead.
Signed-off-by: Sebastian Ramacher
---
zathura/completion.c | 18 +++++++++++-------
zathura/database-plain.c | 26 ++++++++++++++++----------
zathura/plugin.c | 33 ++++++++++++++++++++-------------
zathura/synctex.c | 21 ++++++++++++++-------
zathura/zathura.c | 32 ++++++++++++++++++++------------
5 files changed, 81 insertions(+), 49 deletions(-)
diff --git a/zathura/completion.c b/zathura/completion.c
index 40bebb2..d2754d3 100644
--- a/zathura/completion.c
+++ b/zathura/completion.c
@@ -120,6 +120,15 @@ error_free:
return NULL;
}
+static void
+group_add_element(void* data, void* userdata)
+{
+ const char* element = data;
+ girara_completion_group_t* group = userdata;
+
+ girara_completion_group_add_element(group, element, NULL);
+}
+
static girara_completion_t*
list_files_for_cc(zathura_t* zathura, const char* input, bool check_file_ext, int show_recent)
{
@@ -184,9 +193,7 @@ list_files_for_cc(zathura_t* zathura, const char* input, bool check_file_ext, in
goto error_free;
}
- GIRARA_LIST_FOREACH_BODY(names, const char*, file,
- girara_completion_group_add_element(group, file, NULL);
- );
+ girara_list_foreach(names, group_add_element, group);
girara_list_free(names);
}
@@ -197,10 +204,7 @@ list_files_for_cc(zathura_t* zathura, const char* input, bool check_file_ext, in
}
if (girara_list_size(recent_files) != 0) {
- GIRARA_LIST_FOREACH_BODY(recent_files, const char*, file,
- girara_debug("adding %s (recent file)", file);
- girara_completion_group_add_element(history_group, file, NULL);
- );
+ girara_list_foreach(recent_files, group_add_element, history_group);
girara_list_free(recent_files);
} else {
girara_completion_group_free(history_group);
diff --git a/zathura/database-plain.c b/zathura/database-plain.c
index 254a626..eede8d8 100644
--- a/zathura/database-plain.c
+++ b/zathura/database-plain.c
@@ -511,22 +511,28 @@ plain_load_jumplist(zathura_database_t* db, const char* file)
return list;
}
+static void
+jump_to_str(void* data, void* userdata)
+{
+ const zathura_jump_t* jump = data;
+ GString* str_val = userdata;
+
+ char buffer[G_ASCII_DTOSTR_BUF_SIZE] = { '\0' };
+
+ g_string_append_printf(str_val, "%d ", jump->page);
+ g_string_append(str_val, g_ascii_dtostr(buffer, G_ASCII_DTOSTR_BUF_SIZE, jump->x));
+ g_string_append_c(str_val, ' ');
+ g_string_append(str_val, g_ascii_dtostr(buffer, G_ASCII_DTOSTR_BUF_SIZE, jump->y));
+ g_string_append_c(str_val, ' ');
+}
+
static bool
plain_save_jumplist(zathura_database_t* db, const char* file, girara_list_t* jumplist)
{
g_return_val_if_fail(db != NULL && file != NULL && jumplist != NULL, false);
GString* str_val = g_string_new(NULL);
-
- GIRARA_LIST_FOREACH_BODY(jumplist, zathura_jump_t*, jump,
- char buffer[G_ASCII_DTOSTR_BUF_SIZE] = { '\0' };
-
- g_string_append_printf(str_val, "%d ", jump->page);
- g_string_append(str_val, g_ascii_dtostr(buffer, G_ASCII_DTOSTR_BUF_SIZE, jump->x));
- g_string_append_c(str_val, ' ');
- g_string_append(str_val, g_ascii_dtostr(buffer, G_ASCII_DTOSTR_BUF_SIZE, jump->y));
- g_string_append_c(str_val, ' ');
- );
+ girara_list_foreach(jumplist, jump_to_str, str_val);
zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db);
diff --git a/zathura/plugin.c b/zathura/plugin.c
index 0fe9449..391d596 100644
--- a/zathura/plugin.c
+++ b/zathura/plugin.c
@@ -174,6 +174,24 @@ load_plugin(zathura_plugin_manager_t* plugin_manager, const char* plugindir, con
}
}
+static void
+load_dir(void* data, void* userdata)
+{
+ const char* plugindir = data;
+ zathura_plugin_manager_t* plugin_manager = userdata;
+
+ GDir* dir = g_dir_open(plugindir, 0, NULL);
+ if (dir == NULL) {
+ girara_error("could not open plugin directory: %s", plugindir);
+ } else {
+ const char* name = NULL;
+ while ((name = g_dir_read_name(dir)) != NULL) {
+ load_plugin(plugin_manager, plugindir, name);
+ }
+ g_dir_close(dir);
+ }
+}
+
void
zathura_plugin_manager_load(zathura_plugin_manager_t* plugin_manager)
{
@@ -181,19 +199,8 @@ zathura_plugin_manager_load(zathura_plugin_manager_t* plugin_manager)
return;
}
- GIRARA_LIST_FOREACH_BODY(plugin_manager->path, char*, plugindir,
- /* read all files in the plugin directory */
- GDir* dir = g_dir_open(plugindir, 0, NULL);
- if (dir == NULL) {
- girara_error("could not open plugin directory: %s", plugindir);
- } else {
- const char* name = NULL;
- while ((name = g_dir_read_name(dir)) != NULL) {
- load_plugin(plugin_manager, plugindir, name);
- }
- g_dir_close(dir);
- }
- );
+ /* read all files in the plugin directory */
+ girara_list_foreach(plugin_manager->path, load_dir, plugin_manager);
}
zathura_plugin_t*
diff --git a/zathura/synctex.c b/zathura/synctex.c
index 4c4d71a..a300c48 100644
--- a/zathura/synctex.c
+++ b/zathura/synctex.c
@@ -320,6 +320,19 @@ synctex_highlight_rects(zathura_t* zathura, unsigned int page,
zathura_jumplist_add(zathura);
}
+static void
+dup_and_append_rect(void* data, void* userdata)
+{
+ const synctex_page_rect_t* rect = data;
+ girara_list_t** all_rectangles = userdata;
+
+ zathura_rectangle_t* newrect = g_try_malloc0(sizeof(zathura_rectangle_t));
+ if (newrect != NULL) {
+ *newrect = rect->rect;
+ girara_list_append(all_rectangles[rect->page], newrect);
+ }
+}
+
bool
synctex_view(zathura_t* zathura, const char* input_file,
unsigned int line, unsigned int column)
@@ -355,13 +368,7 @@ synctex_view(zathura_t* zathura, const char* input_file,
}
if (secondary_rects != NULL) {
- GIRARA_LIST_FOREACH_BODY(secondary_rects, synctex_page_rect_t*, rect,
- zathura_rectangle_t* newrect = g_try_malloc0(sizeof(zathura_rectangle_t));
- if (newrect != NULL) {
- *newrect = rect->rect;
- girara_list_append(all_rectangles[rect->page], newrect);
- }
- );
+ girara_list_foreach(secondary_rects, dup_and_append_rect, all_rectangles);
}
synctex_highlight_rects(zathura, page, all_rectangles);
diff --git a/zathura/zathura.c b/zathura/zathura.c
index 9f5e30a..d16db83 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -574,6 +574,23 @@ zathura_set_cache_dir(zathura_t* zathura, const char* dir)
}
}
+static void
+add_dir(void* data, void* userdata)
+{
+ const char* path = data;
+ zathura_plugin_manager_t* plugin_manager = userdata;
+
+ zathura_plugin_manager_add_dir(plugin_manager, path);
+}
+
+static void
+set_plugin_dir(zathura_t* zathura, const char* dir)
+{
+ girara_list_t* paths = girara_split_path_array(dir);
+ girara_list_foreach(paths, add_dir, zathura->plugins.manager);
+ girara_list_free(paths);
+}
+
void
zathura_set_plugin_dir(zathura_t* zathura, const char* dir)
{
@@ -581,21 +598,12 @@ zathura_set_plugin_dir(zathura_t* zathura, const char* dir)
g_return_if_fail(zathura->plugins.manager != NULL);
if (dir != NULL) {
- girara_list_t* paths = girara_split_path_array(dir);
- GIRARA_LIST_FOREACH_BODY(paths, char*, path,
- zathura_plugin_manager_add_dir(zathura->plugins.manager, path);
- );
- girara_list_free(paths);
- } else {
+ set_plugin_dir(zathura, dir);
#ifdef ZATHURA_PLUGINDIR
- girara_list_t* paths = girara_split_path_array(ZATHURA_PLUGINDIR);
- GIRARA_LIST_FOREACH_BODY(paths, char*, path,
- zathura_plugin_manager_add_dir(zathura->plugins.manager, path);
- );
- girara_list_free(paths);
+ } else {
+ set_plugin_dir(zathura, ZATHURA_PLUGINDIR);
#endif
}
-
}
void
From 85019b5312681b8ea5baf1876e53721d2879fce6 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 4 Mar 2018 11:14:01 +0100
Subject: [PATCH 093/126] Forbid VLAs
---
meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 69440c1..13fc772 100644
--- a/meson.build
+++ b/meson.build
@@ -58,7 +58,8 @@ flags = [
'-Wall',
'-Wextra',
'-pedantic',
- '-Werror=implicit-function-declaration'
+ '-Werror=implicit-function-declaration',
+ '-Werror=vla'
]
flags = cc.get_supported_arguments(flags)
From 7e9e700744a2ea7072444b2fd580e6f23239f833 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 4 Mar 2018 11:32:26 +0100
Subject: [PATCH 094/126] Drop unused macro
---
zathura/plugin-api.h | 21 ---------------------
1 file changed, 21 deletions(-)
diff --git a/zathura/plugin-api.h b/zathura/plugin-api.h
index 4a61364..eb9c6c4 100644
--- a/zathura/plugin-api.h
+++ b/zathura/plugin-api.h
@@ -214,27 +214,6 @@ typedef struct zathura_plugin_definition_s {
#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.
*
From 88937a0390671bc84a6b53df4c967e202fb4b213 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 4 Mar 2018 15:25:51 +0100
Subject: [PATCH 095/126] Update debug messages
---
zathura/database-sqlite.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/zathura/database-sqlite.c b/zathura/database-sqlite.c
index cc44337..3257835 100644
--- a/zathura/database-sqlite.c
+++ b/zathura/database-sqlite.c
@@ -350,7 +350,7 @@ check_column(sqlite3* session, const char* table, const char* col, bool* res)
}
if (*res == false) {
- girara_debug("column %s in table %s is NOT found", col, table);
+ girara_debug("Column '%s' in table '%s' NOT found.", col, table);
}
sqlite3_finalize(stmt);
@@ -386,7 +386,7 @@ check_column_type(sqlite3* session, const char* table, const char* col, const ch
}
if (*res == false) {
- girara_debug("column %s in table %s has wrong type", col, table);
+ girara_debug("Column '%s' in table '%s' has wrong type.", col, table);
}
sqlite3_finalize(stmt);
From 67ca592a01a8b78a1a97a23e4ac5113689076f0e Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 4 Mar 2018 15:43:19 +0100
Subject: [PATCH 096/126] Compare constant bookmarks
---
zathura/bookmarks.c | 2 +-
zathura/bookmarks.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/zathura/bookmarks.c b/zathura/bookmarks.c
index 62932db..c16782a 100644
--- a/zathura/bookmarks.c
+++ b/zathura/bookmarks.c
@@ -134,7 +134,7 @@ zathura_bookmarks_load(zathura_t* zathura, const gchar* file)
}
int
-zathura_bookmarks_compare(zathura_bookmark_t* lhs, zathura_bookmark_t* rhs)
+zathura_bookmarks_compare(const zathura_bookmark_t* lhs, const zathura_bookmark_t* rhs)
{
if (lhs == NULL && rhs == NULL) {
return 0;
diff --git a/zathura/bookmarks.h b/zathura/bookmarks.h
index 980cca0..5119c90 100644
--- a/zathura/bookmarks.h
+++ b/zathura/bookmarks.h
@@ -61,6 +61,6 @@ bool zathura_bookmarks_load(zathura_t* zathura, const gchar* file);
* @param rhs a bookmark
* @returns g_strcmp0(lhs->id, rhs->id)
*/
-int zathura_bookmarks_compare(zathura_bookmark_t* lhs, zathura_bookmark_t* rhs);
+int zathura_bookmarks_compare(const zathura_bookmark_t* lhs, const zathura_bookmark_t* rhs);
#endif // BOOKMARKS_H
From 0cb36b572eed9549e300d55a46a299c49bb753a7 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 4 Mar 2018 15:43:29 +0100
Subject: [PATCH 097/126] Simplify
---
zathura/database-sqlite.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/zathura/database-sqlite.c b/zathura/database-sqlite.c
index 3257835..bb22381 100644
--- a/zathura/database-sqlite.c
+++ b/zathura/database-sqlite.c
@@ -488,8 +488,8 @@ sqlite_load_bookmarks(zathura_database_t* db, const char* file)
bookmark->page = sqlite3_column_int(stmt, 1);
bookmark->x = sqlite3_column_double(stmt, 2);
bookmark->y = sqlite3_column_double(stmt, 3);
- bookmark->x = bookmark->x <= 0.0 ? DBL_MIN : bookmark->x;
- bookmark->y = bookmark->y <= 0.0 ? DBL_MIN : bookmark->y;
+ bookmark->x = MAX(DBL_MIN, bookmark->x);
+ bookmark->y = MAX(DBL_MIN, bookmark->y);
girara_list_append(result, bookmark);
}
From 67ef89b6271614b8a9396bc59ee52a01146ee6dd Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 4 Mar 2018 15:43:49 +0100
Subject: [PATCH 098/126] Re-arrange blocks
---
zathura/database-sqlite.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/zathura/database-sqlite.c b/zathura/database-sqlite.c
index bb22381..535c6d6 100644
--- a/zathura/database-sqlite.c
+++ b/zathura/database-sqlite.c
@@ -504,11 +504,12 @@ sqlite_save_jumplist(zathura_database_t* db, const char* file, girara_list_t* ju
{
g_return_val_if_fail(db != NULL && file != NULL && jumplist != NULL, false);
- zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db);
- static const char SQL_INSERT_JUMP[] = "INSERT INTO jumplist (file, page, hadj_ratio, vadj_ratio) VALUES (?, ?, ?, ?);";
+ static const char SQL_INSERT_JUMP[] = "INSERT INTO jumplist (file, page, hadj_ratio, vadj_ratio) VALUES (?, ?, ?, ?);";
static const char SQL_REMOVE_JUMPLIST[] = "DELETE FROM jumplist WHERE file = ?;";
- sqlite3_stmt* stmt = NULL;
- int res = 0;
+
+ zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db);
+ sqlite3_stmt* stmt = NULL;
+ int res = 0;
if (sqlite3_exec(priv->session, "BEGIN;", NULL, 0, NULL) != SQLITE_OK) {
return false;
@@ -582,9 +583,10 @@ sqlite_load_jumplist(zathura_database_t* db, const char* file)
{
g_return_val_if_fail(db != NULL && file != NULL, NULL);
- zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db);
static const char SQL_GET_JUMPLIST[] = "SELECT page, hadj_ratio, vadj_ratio FROM jumplist WHERE file = ? ORDER BY id ASC;";
- sqlite3_stmt* stmt = prepare_statement(priv->session, SQL_GET_JUMPLIST);
+
+ zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db);
+ sqlite3_stmt* stmt = prepare_statement(priv->session, SQL_GET_JUMPLIST);
if (stmt == NULL) {
return NULL;
From 8c245cd254897085e7de18fa9d38fe9286710265 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 4 Mar 2018 15:43:58 +0100
Subject: [PATCH 099/126] Remove useless cast
---
zathura/database-sqlite.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/zathura/database-sqlite.c b/zathura/database-sqlite.c
index 535c6d6..02ff490 100644
--- a/zathura/database-sqlite.c
+++ b/zathura/database-sqlite.c
@@ -746,7 +746,7 @@ sqlite_io_read(GiraraInputHistoryIO* db)
return NULL;
}
- girara_list_t* list = girara_list_new2((girara_free_function_t) g_free);
+ girara_list_t* list = girara_list_new2(g_free);
if (list == NULL) {
sqlite3_finalize(stmt);
return NULL;
@@ -791,7 +791,7 @@ sqlite_get_recent_files(zathura_database_t* db, int max, const char* basepath)
return false;
}
- girara_list_t* list = girara_list_new2((girara_free_function_t) g_free);
+ girara_list_t* list = girara_list_new2(g_free);
if (list == NULL) {
sqlite3_finalize(stmt);
return NULL;
From 5d898adda6ab7a4ded548c634d5651de2a145b96 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 4 Mar 2018 15:45:22 +0100
Subject: [PATCH 100/126] Factor out bookmark list creation
---
zathura/database-plain.c | 4 +---
zathura/database-sqlite.c | 3 +--
zathura/database.c | 21 +++++++++++++++++++++
zathura/database.h | 6 ++++++
4 files changed, 29 insertions(+), 5 deletions(-)
diff --git a/zathura/database-plain.c b/zathura/database-plain.c
index eede8d8..a3dad91 100644
--- a/zathura/database-plain.c
+++ b/zathura/database-plain.c
@@ -397,9 +397,7 @@ plain_load_bookmarks(zathura_database_t* db, const char* file)
return NULL;
}
- girara_list_t* result = girara_sorted_list_new2((girara_compare_function_t)
- zathura_bookmarks_compare, (girara_free_function_t)
- zathura_bookmark_free);
+ girara_list_t* result = bookmarks_list_new();
gsize num_keys;
char** keys = g_key_file_get_keys(priv->bookmarks, name, &num_keys, NULL);
diff --git a/zathura/database-sqlite.c b/zathura/database-sqlite.c
index 02ff490..9fddb29 100644
--- a/zathura/database-sqlite.c
+++ b/zathura/database-sqlite.c
@@ -471,8 +471,7 @@ sqlite_load_bookmarks(zathura_database_t* db, const char* file)
return NULL;
}
- girara_list_t* result = girara_sorted_list_new2((girara_compare_function_t) zathura_bookmarks_compare,
- (girara_free_function_t) zathura_bookmark_free);
+ girara_list_t* result = bookmarks_list_new();
if (result == NULL) {
sqlite3_finalize(stmt);
return NULL;
diff --git a/zathura/database.c b/zathura/database.c
index 4b52e95..224efd9 100644
--- a/zathura/database.c
+++ b/zathura/database.c
@@ -76,3 +76,24 @@ zathura_db_get_recent_files(zathura_database_t* db, int max, const char* basepat
return ZATHURA_DATABASE_GET_INTERFACE(db)->get_recent_files(db, max, basepath);
}
+
+static int
+bookmarks_compare(const void* l, const void* r)
+{
+ const zathura_bookmark_t* lhs = l;
+ const zathura_bookmark_t* rhs = r;
+
+ return zathura_bookmarks_compare(lhs, rhs);
+}
+
+static void
+bookmarks_free(void* p)
+{
+ zathura_bookmark_t* bookmark = p;
+ zathura_bookmark_free(bookmark);
+}
+
+girara_list_t* bookmarks_list_new(void)
+{
+ return girara_sorted_list_new2(bookmarks_compare, bookmarks_free);
+}
diff --git a/zathura/database.h b/zathura/database.h
index 1211a3d..f4698d1 100644
--- a/zathura/database.h
+++ b/zathura/database.h
@@ -140,5 +140,11 @@ bool 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, const char* basepath);
+/**
+ * Create list of bookmarks.
+ * @return empty list of bookmarks
+ */
+girara_list_t* bookmarks_list_new(void);
+
#endif // DATABASE_H
From 21276dfb9c9224f6286d8d43dc55c84e10ac4f8f Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 4 Mar 2018 17:21:29 +0100
Subject: [PATCH 101/126] Explicitly export plugin API symbols
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
… and hide all others per default.
---
meson.build | 3 +-
zathura/document.h | 87 ++++++++++++++++++++++----------------------
zathura/links.h | 10 ++---
zathura/macros.h | 1 +
zathura/main.c | 2 +-
zathura/page.h | 44 +++++++++++-----------
zathura/plugin-api.h | 5 ++-
zathura/types.c | 2 +-
zathura/types.h | 14 +++----
9 files changed, 86 insertions(+), 82 deletions(-)
diff --git a/meson.build b/meson.build
index 13fc772..074bf23 100644
--- a/meson.build
+++ b/meson.build
@@ -59,7 +59,8 @@ flags = [
'-Wextra',
'-pedantic',
'-Werror=implicit-function-declaration',
- '-Werror=vla'
+ '-Werror=vla',
+ '-fvisibility=hidden'
]
flags = cc.get_supported_arguments(flags)
diff --git a/zathura/document.h b/zathura/document.h
index 42d7e77..6bd1d76 100644
--- a/zathura/document.h
+++ b/zathura/document.h
@@ -28,7 +28,7 @@ zathura_document_t* zathura_document_open(zathura_t* zathura,
* @return ZATHURA_ERROR_OK when no error occurred, otherwise see
* zathura_error_t
*/
-zathura_error_t zathura_document_free(zathura_document_t* document);
+ZATHURA_PLUGIN_API zathura_error_t zathura_document_free(zathura_document_t* document);
/**
* Returns the path of the document
@@ -36,7 +36,7 @@ zathura_error_t zathura_document_free(zathura_document_t* document);
* @param document The document
* @return The file path of the document
*/
-const char* zathura_document_get_path(zathura_document_t* document);
+ZATHURA_PLUGIN_API const char* zathura_document_get_path(zathura_document_t* document);
/**
* Returns the URI of the document
@@ -44,7 +44,7 @@ const char* zathura_document_get_path(zathura_document_t* document);
* @param document The document
* @return The URI of the document
*/
-const char* zathura_document_get_uri(zathura_document_t* document);
+ZATHURA_PLUGIN_API const char* zathura_document_get_uri(zathura_document_t* document);
/**
* Returns the basename of the document
@@ -52,7 +52,7 @@ const char* zathura_document_get_uri(zathura_document_t* document);
* @param document The document
* @return The basename of the document
*/
-const char* zathura_document_get_basename(zathura_document_t* document);
+ZATHURA_PLUGIN_API const char* zathura_document_get_basename(zathura_document_t* document);
/**
* Returns the password of the document
@@ -60,7 +60,7 @@ const char* zathura_document_get_basename(zathura_document_t* document);
* @param document The document
* @return Returns the password of the document
*/
-const char* zathura_document_get_password(zathura_document_t* document);
+ZATHURA_PLUGIN_API const char* zathura_document_get_password(zathura_document_t* document);
/**
* Returns the page at the given index
@@ -69,7 +69,7 @@ const char* zathura_document_get_password(zathura_document_t* document);
* @param index The index of the page
* @return The page or NULL if an error occurred
*/
-zathura_page_t* zathura_document_get_page(zathura_document_t* document, unsigned int index);
+ZATHURA_PLUGIN_API zathura_page_t* zathura_document_get_page(zathura_document_t* document, unsigned int index);
/**
* Returns the number of pages
@@ -77,7 +77,7 @@ zathura_page_t* zathura_document_get_page(zathura_document_t* document, unsigned
* @param document The document
* @return Number of pages
*/
-unsigned int zathura_document_get_number_of_pages(zathura_document_t* document);
+ZATHURA_PLUGIN_API unsigned int zathura_document_get_number_of_pages(zathura_document_t* document);
/**
* Sets the number of pages
@@ -85,7 +85,7 @@ unsigned int zathura_document_get_number_of_pages(zathura_document_t* document);
* @param document The document
* @param number_of_pages Number of pages
*/
-void zathura_document_set_number_of_pages(zathura_document_t* document, unsigned
+ZATHURA_PLUGIN_API void zathura_document_set_number_of_pages(zathura_document_t* document, unsigned
int number_of_pages);
/**
@@ -94,7 +94,7 @@ void zathura_document_set_number_of_pages(zathura_document_t* document, unsigned
* @param document The document
* @return Current page
*/
-unsigned int zathura_document_get_current_page_number(zathura_document_t* document);
+ZATHURA_PLUGIN_API unsigned int zathura_document_get_current_page_number(zathura_document_t* document);
/**
* Sets the number of pages
@@ -102,7 +102,7 @@ unsigned int zathura_document_get_current_page_number(zathura_document_t* docume
* @param document The document
* @param current_page The current page number
*/
-void zathura_document_set_current_page_number(zathura_document_t* document, unsigned
+ZATHURA_PLUGIN_API void zathura_document_set_current_page_number(zathura_document_t* document, unsigned
int current_page);
/**
@@ -112,7 +112,7 @@ void zathura_document_set_current_page_number(zathura_document_t* document, unsi
* @param document The document
* @return X adjustment
*/
-double zathura_document_get_position_x(zathura_document_t* document);
+ZATHURA_PLUGIN_API double zathura_document_get_position_x(zathura_document_t* document);
/**
* Returns the Y position as value relative to the document height (0=top,
@@ -121,7 +121,7 @@ double zathura_document_get_position_x(zathura_document_t* document);
* @param document The document
* @return Y adjustment
*/
-double zathura_document_get_position_y(zathura_document_t* document);
+ZATHURA_PLUGIN_API double zathura_document_get_position_y(zathura_document_t* document);
/**
* Sets the X position as a value relative to the document width (0=left,
@@ -130,7 +130,7 @@ double zathura_document_get_position_y(zathura_document_t* document);
* @param document The document
* @param position_x the X adjustment
*/
-void zathura_document_set_position_x(zathura_document_t* document, double position_x);
+ZATHURA_PLUGIN_API void zathura_document_set_position_x(zathura_document_t* document, double position_x);
/**
* Sets the Y position as a value relative to the document height (0=top,
@@ -139,7 +139,7 @@ void zathura_document_set_position_x(zathura_document_t* document, double positi
* @param document The document
* @param position_y the Y adjustment
*/
-void zathura_document_set_position_y(zathura_document_t* document, double position_y);
+ZATHURA_PLUGIN_API void zathura_document_set_position_y(zathura_document_t* document, double position_y);
/**
* Returns the current zoom value of the document
@@ -147,7 +147,7 @@ void zathura_document_set_position_y(zathura_document_t* document, double positi
* @param document The document
* @return The current zoom value
*/
-double zathura_document_get_zoom(zathura_document_t* document);
+ZATHURA_PLUGIN_API double zathura_document_get_zoom(zathura_document_t* document);
/**
* Returns the current scale value of the document (based on zoom and screen
@@ -156,7 +156,7 @@ double zathura_document_get_zoom(zathura_document_t* document);
* @param document The document
* @return The current scale value, in pixels per point
*/
-double zathura_document_get_scale(zathura_document_t* document);
+ZATHURA_PLUGIN_API double zathura_document_get_scale(zathura_document_t* document);
/**
* Sets the new zoom value of the document
@@ -164,7 +164,7 @@ double zathura_document_get_scale(zathura_document_t* document);
* @param document The document
* @param zoom The new zoom value
*/
-void zathura_document_set_zoom(zathura_document_t* document, double zoom);
+ZATHURA_PLUGIN_API void zathura_document_set_zoom(zathura_document_t* document, double zoom);
/**
* Returns the rotation value of zathura (0..360)
@@ -172,7 +172,7 @@ void zathura_document_set_zoom(zathura_document_t* document, double zoom);
* @param document The document
* @return The current rotation value
*/
-unsigned int zathura_document_get_rotation(zathura_document_t* document);
+ZATHURA_PLUGIN_API unsigned int zathura_document_get_rotation(zathura_document_t* document);
/**
* Sets the new rotation value
@@ -180,7 +180,7 @@ unsigned int zathura_document_get_rotation(zathura_document_t* document);
* @param document The document
* @param rotation The new rotation value
*/
-void zathura_document_set_rotation(zathura_document_t* document, unsigned int rotation);
+ZATHURA_PLUGIN_API void zathura_document_set_rotation(zathura_document_t* document, unsigned int rotation);
/**
* Returns the adjust mode of the document
@@ -188,7 +188,7 @@ void zathura_document_set_rotation(zathura_document_t* document, unsigned int ro
* @param document The document
* @return The adjust mode
*/
-zathura_adjust_mode_t zathura_document_get_adjust_mode(zathura_document_t* document);
+ZATHURA_PLUGIN_API zathura_adjust_mode_t zathura_document_get_adjust_mode(zathura_document_t* document);
/**
* Sets the new adjust mode of the document
@@ -196,7 +196,7 @@ zathura_adjust_mode_t zathura_document_get_adjust_mode(zathura_document_t* docum
* @param document The document
* @param mode The new adjust mode
*/
-void zathura_document_set_adjust_mode(zathura_document_t* document, zathura_adjust_mode_t mode);
+ZATHURA_PLUGIN_API void zathura_document_set_adjust_mode(zathura_document_t* document, zathura_adjust_mode_t mode);
/**
* Returns the page offset of the document
@@ -204,7 +204,7 @@ void zathura_document_set_adjust_mode(zathura_document_t* document, zathura_adju
* @param document The document
* @return The page offset
*/
-int zathura_document_get_page_offset(zathura_document_t* document);
+ZATHURA_PLUGIN_API int zathura_document_get_page_offset(zathura_document_t* document);
/**
* Sets the new page offset of the document
@@ -212,7 +212,7 @@ int zathura_document_get_page_offset(zathura_document_t* document);
* @param document The document
* @param page_offset The new page offset
*/
-void zathura_document_set_page_offset(zathura_document_t* document, unsigned int page_offset);
+ZATHURA_PLUGIN_API void zathura_document_set_page_offset(zathura_document_t* document, unsigned int page_offset);
/**
* Returns the private data of the document
@@ -220,7 +220,7 @@ void zathura_document_set_page_offset(zathura_document_t* document, unsigned int
* @param document The document
* @return The private data or NULL
*/
-void* zathura_document_get_data(zathura_document_t* document);
+ZATHURA_PLUGIN_API void* zathura_document_get_data(zathura_document_t* document);
/**
* Sets the private data of the document
@@ -228,7 +228,7 @@ void* zathura_document_get_data(zathura_document_t* document);
* @param document The document
* @param data The new private data
*/
-void zathura_document_set_data(zathura_document_t* document, void* data);
+ZATHURA_PLUGIN_API void zathura_document_set_data(zathura_document_t* document, void* data);
/**
* Sets the width of the viewport in pixels.
@@ -237,7 +237,7 @@ void zathura_document_set_data(zathura_document_t* document, void* data);
* @param[in] width The width of the viewport
*/
void
-zathura_document_set_viewport_width(zathura_document_t* document, unsigned int width);
+ZATHURA_PLUGIN_API zathura_document_set_viewport_width(zathura_document_t* document, unsigned int width);
/**
* Sets the height of the viewport in pixels.
@@ -246,7 +246,7 @@ zathura_document_set_viewport_width(zathura_document_t* document, unsigned int w
* @param[in] height The height of the viewport
*/
void
-zathura_document_set_viewport_height(zathura_document_t* document, unsigned int height);
+ZATHURA_PLUGIN_API zathura_document_set_viewport_height(zathura_document_t* document, unsigned int height);
/**
* Return the size of the viewport in pixels.
@@ -255,7 +255,7 @@ zathura_document_set_viewport_height(zathura_document_t* document, unsigned int
* @param[out] height,width The width and height of the viewport
*/
void
-zathura_document_get_viewport_size(zathura_document_t* document,
+ZATHURA_PLUGIN_API zathura_document_get_viewport_size(zathura_document_t* document,
unsigned int *height, unsigned int* width);
/**
@@ -266,7 +266,7 @@ zathura_document_get_viewport_size(zathura_document_t* document,
* @param[in] height The viewport PPI
*/
void
-zathura_document_set_viewport_ppi(zathura_document_t* document, double ppi);
+ZATHURA_PLUGIN_API zathura_document_set_viewport_ppi(zathura_document_t* document, double ppi);
/**
* Return the viewport PPI (pixels per inch: the resolution of the monitor,
@@ -276,7 +276,7 @@ zathura_document_set_viewport_ppi(zathura_document_t* document, double ppi);
* @return The viewport PPI
*/
double
-zathura_document_get_viewport_ppi(zathura_document_t* document);
+ZATHURA_PLUGIN_API zathura_document_get_viewport_ppi(zathura_document_t* document);
/**
* Set the device scale factors (e.g. for HiDPI). These are generally integers
@@ -286,14 +286,14 @@ zathura_document_get_viewport_ppi(zathura_document_t* document);
* @param[in] x_factor,yfactor The x and y scale factors
*/
void
-zathura_document_set_device_factors(zathura_document_t* document,
+ZATHURA_PLUGIN_API zathura_document_set_device_factors(zathura_document_t* document,
double x_factor, double y_factor);
/**
* Return the current device scale factors (guaranteed to be non-zero).
*
* @return The x and y device scale factors
*/
-zathura_device_factors_t
+ZATHURA_PLUGIN_API zathura_device_factors_t
zathura_document_get_device_factors(zathura_document_t* document);
/**
@@ -304,7 +304,7 @@ zathura_document_get_device_factors(zathura_document_t* document);
* @param[in] document The document instance
* @param[out] height,width The computed height and width of the cell
*/
-void zathura_document_get_cell_size(zathura_document_t* document,
+ZATHURA_PLUGIN_API void zathura_document_get_cell_size(zathura_document_t* document,
unsigned int* height, unsigned int* width);
/**
@@ -315,7 +315,7 @@ void zathura_document_get_cell_size(zathura_document_t* document,
* @param[in] document The document
* @param[out] height,width The height and width of the document
*/
-void zathura_document_get_document_size(zathura_document_t* document,
+ZATHURA_PLUGIN_API void zathura_document_get_document_size(zathura_document_t* document,
unsigned int* height, unsigned int* width);
/**
@@ -326,7 +326,7 @@ void zathura_document_get_document_size(zathura_document_t* document,
* @param[in] pages_per_row number of pages per row
* @param[in] first_page_column column of the first page (first column is 1)
*/
-void zathura_document_set_page_layout(zathura_document_t* document, unsigned int page_padding,
+ZATHURA_PLUGIN_API void zathura_document_set_page_layout(zathura_document_t* document, unsigned int page_padding,
unsigned int pages_per_row, unsigned int first_page_column);
/**
@@ -335,7 +335,7 @@ void zathura_document_set_page_layout(zathura_document_t* document, unsigned int
* @param document The document
* @return The padding in pixels between pages
*/
-unsigned int zathura_document_get_page_padding(zathura_document_t* document);
+ZATHURA_PLUGIN_API unsigned int zathura_document_get_page_padding(zathura_document_t* document);
/**
* Returns the number of pages per row
@@ -343,7 +343,7 @@ unsigned int zathura_document_get_page_padding(zathura_document_t* document);
* @param document The document
* @return The number of pages per row
*/
-unsigned int zathura_document_get_pages_per_row(zathura_document_t* document);
+ZATHURA_PLUGIN_API unsigned int zathura_document_get_pages_per_row(zathura_document_t* document);
/**
* Returns the column for the first page (first column = 1)
@@ -351,7 +351,7 @@ unsigned int zathura_document_get_pages_per_row(zathura_document_t* document);
* @param document The document
* @return The column for the first page
*/
-unsigned int zathura_document_get_first_page_column(zathura_document_t* document);
+ZATHURA_PLUGIN_API unsigned int zathura_document_get_first_page_column(zathura_document_t* document);
/**
* Save the document
@@ -361,7 +361,7 @@ unsigned int zathura_document_get_first_page_column(zathura_document_t* document
* @return ZATHURA_ERROR_OK when no error occurred, otherwise see
* zathura_error_t
*/
-zathura_error_t zathura_document_save_as(zathura_document_t* document, const char* path);
+ZATHURA_PLUGIN_API zathura_error_t zathura_document_save_as(zathura_document_t* document, const char* path);
/**
* Generate the document index
@@ -371,8 +371,7 @@ zathura_error_t zathura_document_save_as(zathura_document_t* document, const cha
* error occurred
* @return Generated index
*/
-
-girara_tree_node_t* zathura_document_index_generate(zathura_document_t* document, zathura_error_t* error);
+ZATHURA_PLUGIN_API girara_tree_node_t* zathura_document_index_generate(zathura_document_t* document, zathura_error_t* error);
/**
* Get list of attachments
@@ -382,7 +381,7 @@ girara_tree_node_t* zathura_document_index_generate(zathura_document_t* document
* error occurred
* @return List of attachments
*/
-girara_list_t* zathura_document_attachments_get(zathura_document_t* document, zathura_error_t* error);
+ZATHURA_PLUGIN_API girara_list_t* zathura_document_attachments_get(zathura_document_t* document, zathura_error_t* error);
/**
* Save document attachment
@@ -393,7 +392,7 @@ girara_list_t* zathura_document_attachments_get(zathura_document_t* document, za
* @return ZATHURA_ERROR_OK when no error occurred, otherwise see
* zathura_error_t
*/
-zathura_error_t zathura_document_attachment_save(zathura_document_t* document, const char* attachment, const char* file);
+ZATHURA_PLUGIN_API zathura_error_t zathura_document_attachment_save(zathura_document_t* document, const char* attachment, const char* file);
/**
* Returns a string of the requested information
@@ -403,6 +402,6 @@ zathura_error_t zathura_document_attachment_save(zathura_document_t* document, c
* error occurred
* @return List of document information entries or NULL if information could not be retrieved
*/
-girara_list_t* zathura_document_get_information(zathura_document_t* document, zathura_error_t* error);
+ZATHURA_PLUGIN_API girara_list_t* zathura_document_get_information(zathura_document_t* document, zathura_error_t* error);
#endif // DOCUMENT_H
diff --git a/zathura/links.h b/zathura/links.h
index 8d8728e..dc72408 100644
--- a/zathura/links.h
+++ b/zathura/links.h
@@ -13,7 +13,7 @@
* @param target Target
* @return New zathura link
*/
-zathura_link_t*
+ZATHURA_PLUGIN_API zathura_link_t*
zathura_link_new(zathura_link_type_t type, zathura_rectangle_t position,
zathura_link_target_t target);
@@ -22,7 +22,7 @@ zathura_link_new(zathura_link_type_t type, zathura_rectangle_t position,
*
* @param link The link
*/
-void zathura_link_free(zathura_link_t* link);
+ZATHURA_PLUGIN_API void zathura_link_free(zathura_link_t* link);
/**
* Returns the type of the link
@@ -30,7 +30,7 @@ void zathura_link_free(zathura_link_t* link);
* @param link The link
* @return The target type of the link
*/
-zathura_link_type_t zathura_link_get_type(zathura_link_t* link);
+ZATHURA_PLUGIN_API zathura_link_type_t zathura_link_get_type(zathura_link_t* link);
/**
* Returns the position of the link
@@ -38,7 +38,7 @@ zathura_link_type_t zathura_link_get_type(zathura_link_t* link);
* @param link The link
* @return The position of the link
*/
-zathura_rectangle_t zathura_link_get_position(zathura_link_t* link);
+ZATHURA_PLUGIN_API zathura_rectangle_t zathura_link_get_position(zathura_link_t* link);
/**
* The target value of the link
@@ -46,7 +46,7 @@ zathura_rectangle_t zathura_link_get_position(zathura_link_t* link);
* @param link The link
* @return Returns the target of the link (depends on the link type)
*/
-zathura_link_target_t zathura_link_get_target(zathura_link_t* link);
+ZATHURA_PLUGIN_API zathura_link_target_t zathura_link_get_target(zathura_link_t* link);
/**
* Evaluate link
diff --git a/zathura/macros.h b/zathura/macros.h
index a1957dc..62e6075 100644
--- a/zathura/macros.h
+++ b/zathura/macros.h
@@ -7,6 +7,7 @@
#define UNUSED(x) GIRARA_UNUSED(x)
#define DEPRECATED(x) GIRARA_DEPRECATED(x)
+#define ZATHURA_PLUGIN_API GIRARA_VISIBLE
#ifndef MIN
#define MIN(a,b) (((a)<(b))?(a):(b))
diff --git a/zathura/main.c b/zathura/main.c
index 2355a1e..d9ca48f 100644
--- a/zathura/main.c
+++ b/zathura/main.c
@@ -119,7 +119,7 @@ init_zathura(const char* config_dir, const char* data_dir,
/* main function */
-int
+GIRARA_VISIBLE int
main(int argc, char* argv[])
{
init_locale();
diff --git a/zathura/page.h b/zathura/page.h
index 0db3cfa..f56d2e3 100644
--- a/zathura/page.h
+++ b/zathura/page.h
@@ -16,7 +16,7 @@
* @param error Optional error
* @return Page object or NULL if an error occurred
*/
-zathura_page_t* zathura_page_new(zathura_document_t* document, unsigned int
+ZATHURA_PLUGIN_API zathura_page_t* zathura_page_new(zathura_document_t* document, unsigned int
index, zathura_error_t* error);
/**
@@ -26,7 +26,7 @@ zathura_page_t* zathura_page_new(zathura_document_t* document, unsigned int
* @return ZATHURA_ERROR_OK when no error occurred, otherwise see
* zathura_error_t
*/
-zathura_error_t zathura_page_free(zathura_page_t* page);
+ZATHURA_PLUGIN_API zathura_error_t zathura_page_free(zathura_page_t* page);
/**
* Returns the associated document
@@ -35,7 +35,7 @@ zathura_error_t zathura_page_free(zathura_page_t* page);
* @return The associated document
* @return NULL if an error occurred
*/
-zathura_document_t* zathura_page_get_document(zathura_page_t* page);
+ZATHURA_PLUGIN_API zathura_document_t* zathura_page_get_document(zathura_page_t* page);
/**
* Returns the set id of the page
@@ -43,7 +43,7 @@ zathura_document_t* zathura_page_get_document(zathura_page_t* page);
* @param page The page object
* @return The id of the page
*/
-unsigned int zathura_page_get_index(zathura_page_t* page);
+ZATHURA_PLUGIN_API unsigned int zathura_page_get_index(zathura_page_t* page);
/**
* Returns the width of the page
@@ -52,7 +52,7 @@ unsigned int zathura_page_get_index(zathura_page_t* page);
* @return Width of the page
* @return -1 If an error occurred
*/
-double zathura_page_get_width(zathura_page_t* page);
+ZATHURA_PLUGIN_API double zathura_page_get_width(zathura_page_t* page);
/**
* Sets the new width of the page
@@ -60,7 +60,7 @@ double zathura_page_get_width(zathura_page_t* page);
* @param page The page object
* @param width The new width of the page
*/
-void zathura_page_set_width(zathura_page_t* page, double width);
+ZATHURA_PLUGIN_API void zathura_page_set_width(zathura_page_t* page, double width);
/**
* Returns the height of the page
@@ -69,7 +69,7 @@ void zathura_page_set_width(zathura_page_t* page, double width);
* @return Height of the page
* @return -1 If an error occurred
*/
-double zathura_page_get_height(zathura_page_t* page);
+ZATHURA_PLUGIN_API double zathura_page_get_height(zathura_page_t* page);
/**
* Sets the new height of the page
@@ -77,7 +77,7 @@ double zathura_page_get_height(zathura_page_t* page);
* @param page The page object
* @param height The new height of the page
*/
-void zathura_page_set_height(zathura_page_t* page, double height);
+ZATHURA_PLUGIN_API void zathura_page_set_height(zathura_page_t* page, double height);
/**
* Returns the visibility of the page
@@ -86,7 +86,7 @@ void zathura_page_set_height(zathura_page_t* page, double height);
* @return true if the page is visible
* @return false if the page is hidden
*/
-bool zathura_page_get_visibility(zathura_page_t* page);
+ZATHURA_PLUGIN_API bool zathura_page_get_visibility(zathura_page_t* page);
/**
* Sets the visibility of the page
@@ -94,7 +94,7 @@ bool zathura_page_get_visibility(zathura_page_t* page);
* @param page The page object
* @param visibility The new visibility value
*/
-void zathura_page_set_visibility(zathura_page_t* page, bool visibility);
+ZATHURA_PLUGIN_API void zathura_page_set_visibility(zathura_page_t* page, bool visibility);
/**
* Returns the custom data
@@ -102,7 +102,7 @@ void zathura_page_set_visibility(zathura_page_t* page, bool visibility);
* @param page The page object
* @return The custom data or NULL
*/
-void* zathura_page_get_data(zathura_page_t* page);
+ZATHURA_PLUGIN_API void* zathura_page_get_data(zathura_page_t* page);
/**
* Sets the custom data
@@ -110,7 +110,7 @@ void* zathura_page_get_data(zathura_page_t* page);
* @param page The page object
* @param data The custom data
*/
-void zathura_page_set_data(zathura_page_t* page, void* data);
+ZATHURA_PLUGIN_API void zathura_page_set_data(zathura_page_t* page, void* data);
/**
* Search page
@@ -121,7 +121,7 @@ void zathura_page_set_data(zathura_page_t* page, void* data);
* error occurred
* @return List of results
*/
-girara_list_t* zathura_page_search_text(zathura_page_t* page, const char* text, zathura_error_t* error);
+ZATHURA_PLUGIN_API girara_list_t* zathura_page_search_text(zathura_page_t* page, const char* text, zathura_error_t* error);
/**
* Get page links
@@ -131,7 +131,7 @@ girara_list_t* zathura_page_search_text(zathura_page_t* page, const char* text,
* error occurred
* @return List of links
*/
-girara_list_t* zathura_page_links_get(zathura_page_t* page, zathura_error_t* error);
+ZATHURA_PLUGIN_API girara_list_t* zathura_page_links_get(zathura_page_t* page, zathura_error_t* error);
/**
* Free page links
@@ -140,7 +140,7 @@ girara_list_t* zathura_page_links_get(zathura_page_t* page, zathura_error_t* err
* @return ZATHURA_ERROR_OK when no error occurred, otherwise see
* zathura_error_t
*/
-zathura_error_t zathura_page_links_free(girara_list_t* list);
+ZATHURA_PLUGIN_API zathura_error_t zathura_page_links_free(girara_list_t* list);
/**
* Get list of form fields
@@ -150,7 +150,7 @@ zathura_error_t zathura_page_links_free(girara_list_t* list);
* error occurred
* @return List of form fields
*/
-girara_list_t* zathura_page_form_fields_get(zathura_page_t* page, zathura_error_t* error);
+ZATHURA_PLUGIN_API girara_list_t* zathura_page_form_fields_get(zathura_page_t* page, zathura_error_t* error);
/**
* Free list of form fields
@@ -159,7 +159,7 @@ girara_list_t* zathura_page_form_fields_get(zathura_page_t* page, zathura_error_
* @return ZATHURA_ERROR_OK when no error occurred, otherwise see
* zathura_error_t
*/
-zathura_error_t zathura_page_form_fields_free(girara_list_t* list);
+ZATHURA_PLUGIN_API zathura_error_t zathura_page_form_fields_free(girara_list_t* list);
/**
* Get list of images
@@ -169,7 +169,7 @@ zathura_error_t zathura_page_form_fields_free(girara_list_t* list);
* error occurred
* @return List of images or NULL if an error occurred
*/
-girara_list_t* zathura_page_images_get(zathura_page_t* page, zathura_error_t* error);
+ZATHURA_PLUGIN_API girara_list_t* zathura_page_images_get(zathura_page_t* page, zathura_error_t* error);
/**
* Get image
@@ -180,7 +180,7 @@ girara_list_t* zathura_page_images_get(zathura_page_t* page, zathura_error_t* er
* error occurred
* @return The cairo image surface or NULL if an error occurred
*/
-cairo_surface_t* zathura_page_image_get_cairo(zathura_page_t* page, zathura_image_t* image, zathura_error_t* error);
+ZATHURA_PLUGIN_API cairo_surface_t* zathura_page_image_get_cairo(zathura_page_t* page, zathura_image_t* image, zathura_error_t* error);
/**
* Get text for selection
@@ -190,7 +190,7 @@ cairo_surface_t* zathura_page_image_get_cairo(zathura_page_t* page, zathura_imag
* occurred
* @return The selected text (needs to be deallocated with g_free)
*/
-char* zathura_page_get_text(zathura_page_t* page, zathura_rectangle_t rectangle, zathura_error_t* error);
+ZATHURA_PLUGIN_API char* zathura_page_get_text(zathura_page_t* page, zathura_rectangle_t rectangle, zathura_error_t* error);
/**
* Render page
@@ -201,7 +201,7 @@ char* zathura_page_get_text(zathura_page_t* page, zathura_rectangle_t rectangle,
* @return ZATHURA_ERROR_OK when no error occurred, otherwise see
* zathura_error_t
*/
-zathura_error_t zathura_page_render(zathura_page_t* page, cairo_t* cairo, bool printing);
+ZATHURA_PLUGIN_API zathura_error_t zathura_page_render(zathura_page_t* page, cairo_t* cairo, bool printing);
/**
* Get page label. Note that the page label might not exist, in this case NULL
@@ -212,6 +212,6 @@ zathura_error_t zathura_page_render(zathura_page_t* page, cairo_t* cairo, bool p
* occurred.
* @return Page label
*/
-char* zathura_page_get_label(zathura_page_t* page, zathura_error_t* error);
+ZATHURA_PLUGIN_API char* zathura_page_get_label(zathura_page_t* page, zathura_error_t* error);
#endif // PAGE_H
diff --git a/zathura/plugin-api.h b/zathura/plugin-api.h
index eb9c6c4..fd6fc59 100644
--- a/zathura/plugin-api.h
+++ b/zathura/plugin-api.h
@@ -3,6 +3,9 @@
#ifndef PLUGIN_API_H
#define PLUGIN_API_H
+#include
+
+#include "types.h"
#include "page.h"
#include "document.h"
#include "links.h"
@@ -227,7 +230,7 @@ typedef struct zathura_plugin_definition_s {
#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 = { \
+ ZATHURA_PLUGIN_API const zathura_plugin_definition_t ZATHURA_PLUGIN_DEFINITION_SYMBOL = { \
.name = plugin_name, \
.version = { major, minor, rev }, \
.functions = plugin_functions, \
diff --git a/zathura/types.c b/zathura/types.c
index 5b4713b..7db693d 100644
--- a/zathura/types.c
+++ b/zathura/types.c
@@ -82,7 +82,7 @@ zathura_image_buffer_free(zathura_image_buffer_t* image_buffer)
}
girara_list_t*
-zathura_document_information_entry_list_new()
+zathura_document_information_entry_list_new(void)
{
girara_list_t* list = girara_list_new2((girara_free_function_t)
zathura_document_information_entry_free);
diff --git a/zathura/types.h b/zathura/types.h
index a4542e4..6e008d2 100644
--- a/zathura/types.h
+++ b/zathura/types.h
@@ -112,14 +112,14 @@ typedef enum zathura_adjust_mode_e
* @param height Height of the image stored in the buffer
* @return Image buffer or NULL if an error occurred
*/
-zathura_image_buffer_t* zathura_image_buffer_create(unsigned int width, unsigned int height);
+ZATHURA_PLUGIN_API zathura_image_buffer_t* zathura_image_buffer_create(unsigned int width, unsigned int height);
/**
* Frees the image buffer
*
* @param buffer The image buffer
*/
-void zathura_image_buffer_free(zathura_image_buffer_t* buffer);
+ZATHURA_PLUGIN_API void zathura_image_buffer_free(zathura_image_buffer_t* buffer);
/**
* Rectangle structure.
@@ -230,14 +230,14 @@ typedef struct zathura_jump_s
* @param title Title of the index element
* @return Index element
*/
-zathura_index_element_t* zathura_index_element_new(const char* title);
+ZATHURA_PLUGIN_API zathura_index_element_t* zathura_index_element_new(const char* title);
/**
* Free index element
*
* @param index The index element
*/
-void zathura_index_element_free(zathura_index_element_t* index);
+ZATHURA_PLUGIN_API void zathura_index_element_free(zathura_index_element_t* index);
/**
* Creates a list that should be used to store \ref
@@ -245,7 +245,7 @@ void zathura_index_element_free(zathura_index_element_t* index);
*
* @return A list or NULL if an error occurred
*/
-girara_list_t* zathura_document_information_entry_list_new();
+ZATHURA_PLUGIN_API girara_list_t* zathura_document_information_entry_list_new(void);
/**
* Creates a new document information entry
@@ -255,7 +255,7 @@ girara_list_t* zathura_document_information_entry_list_new();
*
* @return A new entry or NULL if an error occurred
*/
-zathura_document_information_entry_t*
+ZATHURA_PLUGIN_API zathura_document_information_entry_t*
zathura_document_information_entry_new(zathura_document_information_type_t
type, const char* value);
@@ -264,7 +264,7 @@ zathura_document_information_entry_new(zathura_document_information_type_t
*
* @param entry The entry that should be freed
*/
-void zathura_document_information_entry_free(zathura_document_information_entry_t* entry);
+ZATHURA_PLUGIN_API void zathura_document_information_entry_free(zathura_document_information_entry_t* entry);
/**
* Context for MIME type detection
From fc4b85c4afc360cfeeb082da4479697c56d298a3 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 4 Mar 2018 20:17:17 +0100
Subject: [PATCH 102/126] Depend on cairo
---
meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 074bf23..59b86c3 100644
--- a/meson.build
+++ b/meson.build
@@ -42,8 +42,9 @@ glib = dependency('glib-2.0', version: '>=2.50')
gthread = dependency('gthread-2.0', version: '>=2.50')
gmodule = dependency('gmodule-no-export-2.0', version: '>=2.50')
gtk3 = dependency('gtk+-3.0', version: '>=3.22')
+cairo = dependency('cairo')
-build_dependencies = [libm, girara, glib, gthread, gmodule, gtk3]
+build_dependencies = [libm, girara, glib, gthread, gmodule, gtk3, cairo]
# defines
defines = [
From 537a28e14c3d38b1f8f7a5b3f0943be80bf055ec Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 4 Mar 2018 20:45:17 +0100
Subject: [PATCH 103/126] Do not try .sos on macOS
---
zathura/plugin.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/zathura/plugin.c b/zathura/plugin.c
index 391d596..74efec4 100644
--- a/zathura/plugin.c
+++ b/zathura/plugin.c
@@ -80,14 +80,14 @@ zathura_plugin_manager_add_dir(zathura_plugin_manager_t* plugin_manager, const c
static bool
check_suffix(const char* path)
{
- if (g_str_has_suffix(path, ".so") == TRUE) {
- return true;
- }
-
#ifdef __APPLE__
if (g_str_has_suffix(path, ".dylib") == TRUE) {
return true;
}
+#else
+ if (g_str_has_suffix(path, ".so") == TRUE) {
+ return true;
+ }
#endif
return false;
From 13cdf794722e893fec2ba057ac5b2b17fe0cd961 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Wed, 7 Mar 2018 17:38:09 +0100
Subject: [PATCH 104/126] Remove some indirections
Signed-off-by: Sebastian Ramacher
---
zathura/zathura.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zathura/zathura.c b/zathura/zathura.c
index d16db83..e40f369 100644
--- a/zathura/zathura.c
+++ b/zathura/zathura.c
@@ -307,7 +307,7 @@ init_css(zathura_t* zathura)
GiraraTemplate* csstemplate =
girara_session_get_template(zathura->ui.session);
- static const char* index_settings[] = {
+ static const char index_settings[][16] = {
"index-fg",
"index-bg",
"index-active-fg",
From 8d1cfa8bdc19e296a92801cafa976f86c92f8d78 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Wed, 7 Mar 2018 21:07:01 +0100
Subject: [PATCH 105/126] Add helper function to dup column text
---
zathura/database-sqlite.c | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/zathura/database-sqlite.c b/zathura/database-sqlite.c
index 9fddb29..1c20bdf 100644
--- a/zathura/database-sqlite.c
+++ b/zathura/database-sqlite.c
@@ -10,6 +10,12 @@
#include "database-sqlite.h"
#include "utils.h"
+static char*
+sqlite3_column_text_dup(sqlite3_stmt* stmt, int col)
+{
+ return g_strdup((const char*) sqlite3_column_text(stmt, col));
+}
+
static void zathura_database_interface_init(ZathuraDatabaseInterface* iface);
static void io_interface_init(GiraraInputHistoryIOInterface* iface);
@@ -110,6 +116,7 @@ sqlite_finalize(GObject* object)
ZathuraSQLDatabase* db = ZATHURA_SQLDATABASE(object);
zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db);
if (priv->session) {
+ sqlite3_exec(priv->session, "VACUUM;", NULL, 0, NULL);
sqlite3_close(priv->session);
}
@@ -483,7 +490,7 @@ sqlite_load_bookmarks(zathura_database_t* db, const char* file)
continue;
}
- bookmark->id = g_strdup((const char*) sqlite3_column_text(stmt, 0));
+ bookmark->id = sqlite3_column_text_dup(stmt, 0);
bookmark->page = sqlite3_column_int(stmt, 1);
bookmark->x = sqlite3_column_double(stmt, 2);
bookmark->y = sqlite3_column_double(stmt, 3);
@@ -702,7 +709,7 @@ sqlite_get_fileinfo(zathura_database_t* db, const char* file,
file_info->zoom = sqlite3_column_double(stmt, 2);
file_info->rotation = sqlite3_column_int(stmt, 3);
file_info->pages_per_row = sqlite3_column_int(stmt, 4);
- file_info->first_page_column_list = g_strdup((const char*) sqlite3_column_text(stmt, 5));
+ file_info->first_page_column_list = sqlite3_column_text_dup(stmt, 5);
file_info->position_x = sqlite3_column_double(stmt, 6);
file_info->position_y = sqlite3_column_double(stmt, 7);
@@ -752,7 +759,7 @@ sqlite_io_read(GiraraInputHistoryIO* db)
}
while (sqlite3_step(stmt) == SQLITE_ROW) {
- girara_list_append(list, g_strdup((const char*) sqlite3_column_text(stmt, 0)));
+ girara_list_append(list, sqlite3_column_text_dup(stmt, 0));
}
sqlite3_finalize(stmt);
@@ -797,7 +804,7 @@ sqlite_get_recent_files(zathura_database_t* db, int max, const char* basepath)
}
while (sqlite3_step(stmt) == SQLITE_ROW) {
- girara_list_append(list, g_strdup((const char*) sqlite3_column_text(stmt, 0)));
+ girara_list_append(list, sqlite3_column_text_dup(stmt, 0));
}
sqlite3_finalize(stmt);
From 73dcfdd82b10c61449d464ed90d2f5a36b0ea242 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Thu, 8 Mar 2018 11:03:38 +0100
Subject: [PATCH 106/126] Use export_dynamic
Signed-off-by: Sebastian Ramacher
---
README | 2 +-
meson.build | 10 ++--------
2 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/README b/README
index dcb3e75..914a672 100644
--- a/README
+++ b/README
@@ -7,7 +7,7 @@ girara user interface library and several document libraries.
Requirements
------------
-meson (>= 0.43)
+meson (>= 0.45)
gtk3 (>= 3.22)
glib (>= 2.50)
girara (>= 0.2.8)
diff --git a/meson.build b/meson.build
index 59b86c3..41fe169 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
project('zathura', 'c',
version: '0.3.8',
- meson_version: '>=0.43',
+ meson_version: '>=0.45',
default_options: 'c_std=c11',
)
@@ -65,12 +65,6 @@ flags = [
]
flags = cc.get_supported_arguments(flags)
-# linker flags
-linker_flags = [
- '-rdynamic'
-]
-linker_flags = cc.get_supported_arguments(linker_flags)
-
# optional dependencies
additional_sources = []
sqlite = dependency('sqlite3', version: '>=3.5.9', required: false)
@@ -167,7 +161,7 @@ zathura = executable(
install: true,
include_directories: include_directories,
c_args: defines + flags,
- link_args: linker_flags, # replace with export_dynamic: true once we have meson >= 0.45
+ export_dynamic: true,
gui_app: true
)
install_headers(headers, subdir: 'zathura')
From 72c2961b6d9e848e233e5b1a5d5e6adb792b3cee Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sat, 10 Mar 2018 11:48:44 +0100
Subject: [PATCH 107/126] Re-use values stored values
---
zathura/page-widget.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/zathura/page-widget.c b/zathura/page-widget.c
index 0f95d2e..f16f9ef 100644
--- a/zathura/page-widget.c
+++ b/zathura/page-widget.c
@@ -957,8 +957,8 @@ cb_zathura_page_widget_button_release_event(GtkWidget* widget, GdkEventButton* b
if (priv->links.list != NULL && priv->links.n > 0) {
GIRARA_LIST_FOREACH_BODY(priv->links.list, zathura_link_t*, link,
const zathura_rectangle_t rect = recalc_rectangle(priv->page, zathura_link_get_position(link));
- if (rect.x1 <= button->x && rect.x2 >= button->x
- && rect.y1 <= button->y && rect.y2 >= button->y) {
+ if (rect.x1 <= oldx && rect.x2 >= oldx
+ && rect.y1 <= oldy && rect.y2 >= oldy) {
zathura_link_evaluate(priv->zathura, link);
}
);
@@ -968,7 +968,6 @@ cb_zathura_page_widget_button_release_event(GtkWidget* widget, GdkEventButton* b
zathura_rectangle_t tmp = priv->mouse.selection;
- const double scale = zathura_document_get_scale(document);
tmp.x1 /= scale;
tmp.x2 /= scale;
tmp.y1 /= scale;
From b138553e1caa244ba80a9ba2d09dcd0bbbd56239 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sat, 10 Mar 2018 11:49:16 +0100
Subject: [PATCH 108/126] Break after first link
---
zathura/page-widget.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/zathura/page-widget.c b/zathura/page-widget.c
index f16f9ef..c025a02 100644
--- a/zathura/page-widget.c
+++ b/zathura/page-widget.c
@@ -960,6 +960,7 @@ cb_zathura_page_widget_button_release_event(GtkWidget* widget, GdkEventButton* b
if (rect.x1 <= oldx && rect.x2 >= oldx
&& rect.y1 <= oldy && rect.y2 >= oldy) {
zathura_link_evaluate(priv->zathura, link);
+ break;
}
);
}
From 5a66aa92c03193b4aa2eb821c9b004a5622f16ae Mon Sep 17 00:00:00 2001
From: valoq
Date: Sun, 11 Mar 2018 12:21:13 +0100
Subject: [PATCH 109/126] cleanup and manpage
---
doc/man/zathurarc.5.rst | 10 ++++++++++
zathura/libsec.c | 16 ++++++++--------
zathura/links.c | 1 +
zathura/main.c | 18 ++++++++++++++++--
4 files changed, 35 insertions(+), 10 deletions(-)
diff --git a/doc/man/zathurarc.5.rst b/doc/man/zathurarc.5.rst
index f71aeb6..5b78644 100644
--- a/doc/man/zathurarc.5.rst
+++ b/doc/man/zathurarc.5.rst
@@ -1044,6 +1044,16 @@ Define the background color of the selected element in index mode.
* Value type: String
* Default value: #9FBC00
+sandbox
+^^^^^^^
+Defines the sandbox mode to use for the seccomp syscall filter. Possible
+values are "none", "normal" and "strict". If "none" is used, the sandbox
+will be disabled. The use of "normal" will provide minimal protection and
+allow normal use of seccomp with support for all features. The "strict" mode
+is a read only sandbox that is intended for viewing documents only.
+
+* Value type: String
+* Default value: normal
SEE ALSO
========
diff --git a/zathura/libsec.c b/zathura/libsec.c
index 8bb212d..2cdc593 100644
--- a/zathura/libsec.c
+++ b/zathura/libsec.c
@@ -19,21 +19,21 @@ int seccomp_enable_basic_filter(void){
/* prevent child processes from getting more priv e.g. via setuid, capabilities, ... */
if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
- perror("prctl SET_NO_NEW_PRIVS");
- exit(EXIT_FAILURE);
+ girara_error("prctl SET_NO_NEW_PRIVS");
+ return -1;
}
/* prevent escape via ptrace */
if(prctl (PR_SET_DUMPABLE, 0, 0, 0, 0)){
- perror("prctl PR_SET_DUMPABLE");
- exit(EXIT_FAILURE);
+ girara_error("prctl PR_SET_DUMPABLE");
+ return -1;
}
/* initialize the filter */
ctx = seccomp_init(SCMP_ACT_ALLOW);
if (ctx == NULL){
- perror("seccomp_init failed");
- exit(EXIT_FAILURE);
+ girara_error("seccomp_init failed");
+ return -1;
}
DENY_RULE (_sysctl);
@@ -101,7 +101,7 @@ int seccomp_enable_basic_filter(void){
out:
/* something went wrong */
seccomp_release(ctx);
- return 1;
+ return -1;
}
@@ -370,7 +370,7 @@ int seccomp_enable_strict_filter(void){
out:
/* something went wrong */
seccomp_release(ctx);
- return 1;
+ return -1;
}
#endif /* WITH_SECCOMP */
diff --git a/zathura/links.c b/zathura/links.c
index 4b1e1c3..829acbd 100644
--- a/zathura/links.c
+++ b/zathura/links.c
@@ -221,6 +221,7 @@ zathura_link_evaluate(zathura_t* zathura, zathura_link_t* link)
default:
break;
}
+ g_free(sandbox);
}
void
diff --git a/zathura/main.c b/zathura/main.c
index 4668365..cf0ec23 100644
--- a/zathura/main.c
+++ b/zathura/main.c
@@ -302,11 +302,25 @@ main(int argc, char* argv[])
girara_debug("Sandbox deactivated.");
} else if (g_strcmp0(sandbox, "normal") == 0) {
girara_debug("Basic sandbox allowing normal operation.");
- seccomp_enable_basic_filter();
+ ret = seccomp_enable_basic_filter();
+ if (ret){
+ goto free_and_ret;
+ }
} else if (g_strcmp0(sandbox, "strict") == 0) {
girara_debug("Strict sandbox preventing write and network access.");
- seccomp_enable_strict_filter();
+ ret = seccomp_enable_strict_filter();
+ if (ret){
+ goto free_and_ret;
+ }
+ } else {
+ girara_error("Invalid sandbox option");
+ ret = -1;
+ goto free_and_ret;
}
+
+
+
+ g_free(sandbox);
#endif
From 3d06164d71fccfe00dd966d12000011cf3ec1d7e Mon Sep 17 00:00:00 2001
From: valoq
Date: Sun, 11 Mar 2018 12:26:26 +0100
Subject: [PATCH 110/126] bugfix
---
zathura/main.c | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/zathura/main.c b/zathura/main.c
index cf0ec23..54842f1 100644
--- a/zathura/main.c
+++ b/zathura/main.c
@@ -303,24 +303,19 @@ main(int argc, char* argv[])
} else if (g_strcmp0(sandbox, "normal") == 0) {
girara_debug("Basic sandbox allowing normal operation.");
ret = seccomp_enable_basic_filter();
- if (ret){
- goto free_and_ret;
- }
} else if (g_strcmp0(sandbox, "strict") == 0) {
girara_debug("Strict sandbox preventing write and network access.");
ret = seccomp_enable_strict_filter();
- if (ret){
- goto free_and_ret;
- }
} else {
girara_error("Invalid sandbox option");
ret = -1;
goto free_and_ret;
}
-
-
g_free(sandbox);
+ if (ret){
+ goto free_and_ret;
+ }
#endif
From f101efe97e560960195c6353e68b58e4b959dcc3 Mon Sep 17 00:00:00 2001
From: valoq
Date: Sun, 11 Mar 2018 16:10:57 +0100
Subject: [PATCH 111/126] fix print in strict sandbox mode
---
zathura/commands.c | 9 +++++++++
zathura/libsec.c | 1 +
zathura/main.c | 1 -
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/zathura/commands.c b/zathura/commands.c
index 1afb790..060a805 100644
--- a/zathura/commands.c
+++ b/zathura/commands.c
@@ -280,6 +280,15 @@ cmd_print(girara_session_t* session, girara_list_t* UNUSED(argument_list))
return false;
}
+ char* sandbox = NULL;
+ girara_setting_get(zathura->ui.session, "sandbox", &sandbox);
+ if (g_strcmp0(sandbox, "strict") == 0) {
+ girara_notify(zathura->ui.session, GIRARA_ERROR, _("Printing is not permitted in strict sandbox mode"));
+ g_free(sandbox);
+ return false;
+ }
+
+
print(zathura);
return true;
diff --git a/zathura/libsec.c b/zathura/libsec.c
index 2cdc593..4c6f73a 100644
--- a/zathura/libsec.c
+++ b/zathura/libsec.c
@@ -9,6 +9,7 @@
#include
#include
#include
+#include
#define DENY_RULE(call) { if (seccomp_rule_add (ctx, SCMP_ACT_KILL, SCMP_SYS(call), 0) < 0) goto out; }
#define ALLOW_RULE(call) { if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(call), 0) < 0) goto out; }
diff --git a/zathura/main.c b/zathura/main.c
index 54842f1..27963c7 100644
--- a/zathura/main.c
+++ b/zathura/main.c
@@ -309,7 +309,6 @@ main(int argc, char* argv[])
} else {
girara_error("Invalid sandbox option");
ret = -1;
- goto free_and_ret;
}
g_free(sandbox);
From d5030814c0d6af5539b621b11d32bd7ddebcf8a6 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 11 Mar 2018 15:59:47 +0100
Subject: [PATCH 112/126] Rename to seccomp-filters
---
meson.build | 2 +-
zathura/links.c | 2 +-
zathura/main.c | 3 +--
zathura/{libsec.c => seccomp-filters.c} | 2 +-
zathura/{libsec.h => seccomp-filters.h} | 4 ++--
5 files changed, 6 insertions(+), 7 deletions(-)
rename zathura/{libsec.c => seccomp-filters.c} (99%)
rename zathura/{libsec.h => seccomp-filters.h} (82%)
diff --git a/meson.build b/meson.build
index ee6f64c..6fcf00a 100644
--- a/meson.build
+++ b/meson.build
@@ -91,7 +91,7 @@ endif
if get_option('enable-seccomp') and seccomp.found()
build_dependencies += seccomp
defines += '-DWITH_SECCOMP'
- additional_sources += files('zathura/libsec.c')
+ additional_sources += files('zathura/seccomp-filters.c')
endif
# generate version header file
diff --git a/zathura/links.c b/zathura/links.c
index aa7d03a..cc6f4ac 100644
--- a/zathura/links.c
+++ b/zathura/links.c
@@ -15,7 +15,7 @@
#include "render.h"
#ifdef WITH_SECCOMP
-#include "libsec.h"
+#include "seccomp-filters.h"
#endif
struct zathura_link_s {
diff --git a/zathura/main.c b/zathura/main.c
index 40aea4f..7b228c4 100644
--- a/zathura/main.c
+++ b/zathura/main.c
@@ -18,9 +18,8 @@
#ifdef WITH_SYNCTEX
#include "synctex.h"
#endif
-
#ifdef WITH_SECCOMP
-#include "libsec.h"
+#include "seccomp-filters.h"
#endif
/* Init locale */
diff --git a/zathura/libsec.c b/zathura/seccomp-filters.c
similarity index 99%
rename from zathura/libsec.c
rename to zathura/seccomp-filters.c
index 4c6f73a..ab57d8d 100644
--- a/zathura/libsec.c
+++ b/zathura/seccomp-filters.c
@@ -1,4 +1,4 @@
-#include "libsec.h"
+#include "seccomp-filters.h"
#include
#ifdef WITH_SECCOMP
diff --git a/zathura/libsec.h b/zathura/seccomp-filters.h
similarity index 82%
rename from zathura/libsec.h
rename to zathura/seccomp-filters.h
index 3b1af19..c2130fe 100644
--- a/zathura/libsec.h
+++ b/zathura/seccomp-filters.h
@@ -1,5 +1,5 @@
-#ifndef SECCOMP_H
-#define SECCOMP_H
+#ifndef ZATHURA_SECCOMP_FILTERS_H
+#define ZATHURA_SECCOMP_FILTERS_H
/* basic filter */
/* this mode allows normal use */
From 3e841103ea49dd5ffb755367ed0196aaa676e59a Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 11 Mar 2018 16:09:07 +0100
Subject: [PATCH 113/126] Add missing include
---
zathura/seccomp-filters.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zathura/seccomp-filters.c b/zathura/seccomp-filters.c
index ab57d8d..a7399b5 100644
--- a/zathura/seccomp-filters.c
+++ b/zathura/seccomp-filters.c
@@ -2,7 +2,7 @@
#include
#ifdef WITH_SECCOMP
-
+#include
#include /* libseccomp */
#include /* prctl */
#include
From 89831253f9f9908ed28e0619245d97bbc7bd1f0a Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 11 Mar 2018 16:12:55 +0100
Subject: [PATCH 114/126] Apply coding standard
Changes include:
- use girara_error everywhere
- two space indentation
---
zathura/seccomp-filters.c | 705 +++++++++++++++++++-------------------
1 file changed, 350 insertions(+), 355 deletions(-)
diff --git a/zathura/seccomp-filters.c b/zathura/seccomp-filters.c
index a7399b5..ce6563f 100644
--- a/zathura/seccomp-filters.c
+++ b/zathura/seccomp-filters.c
@@ -1,5 +1,4 @@
#include "seccomp-filters.h"
-#include
#ifdef WITH_SECCOMP
#include
@@ -14,364 +13,360 @@
#define DENY_RULE(call) { if (seccomp_rule_add (ctx, SCMP_ACT_KILL, SCMP_SYS(call), 0) < 0) goto out; }
#define ALLOW_RULE(call) { if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(call), 0) < 0) goto out; }
-int seccomp_enable_basic_filter(void){
-
- scmp_filter_ctx ctx;
-
- /* prevent child processes from getting more priv e.g. via setuid, capabilities, ... */
- if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
- girara_error("prctl SET_NO_NEW_PRIVS");
- return -1;
- }
-
- /* prevent escape via ptrace */
- if(prctl (PR_SET_DUMPABLE, 0, 0, 0, 0)){
- girara_error("prctl PR_SET_DUMPABLE");
- return -1;
- }
-
- /* initialize the filter */
- ctx = seccomp_init(SCMP_ACT_ALLOW);
- if (ctx == NULL){
- girara_error("seccomp_init failed");
- return -1;
- }
-
- DENY_RULE (_sysctl);
- DENY_RULE (acct);
- DENY_RULE (add_key);
- DENY_RULE (adjtimex);
- DENY_RULE (chroot);
- DENY_RULE (clock_adjtime);
- DENY_RULE (create_module);
- DENY_RULE (delete_module);
- DENY_RULE (fanotify_init);
- DENY_RULE (finit_module);
- DENY_RULE (get_kernel_syms);
- DENY_RULE (get_mempolicy);
- DENY_RULE (init_module);
- DENY_RULE (io_cancel);
- DENY_RULE (io_destroy);
- DENY_RULE (io_getevents);
- DENY_RULE (io_setup);
- DENY_RULE (io_submit);
- DENY_RULE (ioperm);
- DENY_RULE (iopl);
- DENY_RULE (ioprio_set);
- DENY_RULE (kcmp);
- DENY_RULE (kexec_file_load);
- DENY_RULE (kexec_load);
- DENY_RULE (keyctl);
- DENY_RULE (lookup_dcookie);
- DENY_RULE (mbind);
- DENY_RULE (nfsservctl);
- DENY_RULE (migrate_pages);
- DENY_RULE (modify_ldt);
- DENY_RULE (mount);
- DENY_RULE (move_pages);
- DENY_RULE (name_to_handle_at);
- DENY_RULE (open_by_handle_at);
- DENY_RULE (perf_event_open);
- DENY_RULE (pivot_root);
- DENY_RULE (process_vm_readv);
- DENY_RULE (process_vm_writev);
- DENY_RULE (ptrace);
- DENY_RULE (reboot);
- DENY_RULE (remap_file_pages);
- DENY_RULE (request_key);
- DENY_RULE (set_mempolicy);
- DENY_RULE (swapoff);
- DENY_RULE (swapon);
- DENY_RULE (sysfs);
- DENY_RULE (syslog);
- DENY_RULE (tuxcall);
- DENY_RULE (umount2);
- DENY_RULE (uselib);
- DENY_RULE (vmsplice);
-
- /* TODO: check for additional syscalls to blacklist */
- /* DENY_RULE (execve); */
-
- /* applying filter... */
- if (seccomp_load (ctx) >= 0){
- /* free ctx after the filter has been loaded into the kernel */
- seccomp_release(ctx);
- return 0;
- }
-
- out:
- /* something went wrong */
- seccomp_release(ctx);
+int
+seccomp_enable_basic_filter(void)
+{
+ /* prevent child processes from getting more priv e.g. via setuid, capabilities, ... */
+ if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
+ girara_error("prctl SET_NO_NEW_PRIVS");
return -1;
+ }
+
+ /* prevent escape via ptrace */
+ if (prctl(PR_SET_DUMPABLE, 0, 0, 0, 0)) {
+ girara_error("prctl PR_SET_DUMPABLE");
+ return -1;
+ }
+
+ /* initialize the filter */
+ scmp_filter_ctx ctx = seccomp_init(SCMP_ACT_ALLOW);
+ if (ctx == NULL) {
+ girara_error("seccomp_init failed");
+ return -1;
+ }
+
+ DENY_RULE(_sysctl);
+ DENY_RULE(acct);
+ DENY_RULE(add_key);
+ DENY_RULE(adjtimex);
+ DENY_RULE(chroot);
+ DENY_RULE(clock_adjtime);
+ DENY_RULE(create_module);
+ DENY_RULE(delete_module);
+ DENY_RULE(fanotify_init);
+ DENY_RULE(finit_module);
+ DENY_RULE(get_kernel_syms);
+ DENY_RULE(get_mempolicy);
+ DENY_RULE(init_module);
+ DENY_RULE(io_cancel);
+ DENY_RULE(io_destroy);
+ DENY_RULE(io_getevents);
+ DENY_RULE(io_setup);
+ DENY_RULE(io_submit);
+ DENY_RULE(ioperm);
+ DENY_RULE(iopl);
+ DENY_RULE(ioprio_set);
+ DENY_RULE(kcmp);
+ DENY_RULE(kexec_file_load);
+ DENY_RULE(kexec_load);
+ DENY_RULE(keyctl);
+ DENY_RULE(lookup_dcookie);
+ DENY_RULE(mbind);
+ DENY_RULE(nfsservctl);
+ DENY_RULE(migrate_pages);
+ DENY_RULE(modify_ldt);
+ DENY_RULE(mount);
+ DENY_RULE(move_pages);
+ DENY_RULE(name_to_handle_at);
+ DENY_RULE(open_by_handle_at);
+ DENY_RULE(perf_event_open);
+ DENY_RULE(pivot_root);
+ DENY_RULE(process_vm_readv);
+ DENY_RULE(process_vm_writev);
+ DENY_RULE(ptrace);
+ DENY_RULE(reboot);
+ DENY_RULE(remap_file_pages);
+ DENY_RULE(request_key);
+ DENY_RULE(set_mempolicy);
+ DENY_RULE(swapoff);
+ DENY_RULE(swapon);
+ DENY_RULE(sysfs);
+ DENY_RULE(syslog);
+ DENY_RULE(tuxcall);
+ DENY_RULE(umount2);
+ DENY_RULE(uselib);
+ DENY_RULE(vmsplice);
+
+ /* TODO: check for additional syscalls to blacklist */
+ /* DENY_RULE (execve); */
+
+ /* applying filter... */
+ if (seccomp_load (ctx) >= 0) {
+ /* free ctx after the filter has been loaded into the kernel */
+ seccomp_release(ctx);
+ return 0;
+ }
+
+out:
+ /* something went wrong */
+ seccomp_release(ctx);
+ return -1;
}
-
-int seccomp_enable_strict_filter(void){
-
- scmp_filter_ctx ctx;
-
- /* prevent child processes from getting more priv e.g. via setuid, capabilities, ... */
- if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
- perror("prctl SET_NO_NEW_PRIVS");
- exit(EXIT_FAILURE);
- }
-
- /* prevent escape via ptrace */
- if(prctl (PR_SET_DUMPABLE, 0, 0, 0, 0)){
- perror("prctl PR_SET_DUMPABLE");
- exit(EXIT_FAILURE);
- }
-
- /* initialize the filter */
- ctx = seccomp_init(SCMP_ACT_KILL);
- if (ctx == NULL){
- perror("seccomp_init failed");
- exit(EXIT_FAILURE);
- }
-
- ALLOW_RULE (access);
- /* ALLOW_RULE (arch_prctl); */
- ALLOW_RULE (bind);
- ALLOW_RULE (brk);
- ALLOW_RULE (clock_getres);
- ALLOW_RULE (clone); /* TODO: investigate */
- ALLOW_RULE (close);
- /* ALLOW_RULE (connect); */
- ALLOW_RULE (eventfd2);
- ALLOW_RULE (exit);
- ALLOW_RULE (exit_group);
- ALLOW_RULE (fadvise64);
- ALLOW_RULE (fallocate);
- ALLOW_RULE (fcntl); /* TODO: build detailed filter */
- ALLOW_RULE (fstat);
- ALLOW_RULE (fstatfs);
- ALLOW_RULE (ftruncate);
- ALLOW_RULE (futex);
- ALLOW_RULE (getdents);
- ALLOW_RULE (getegid);
- ALLOW_RULE (geteuid);
- ALLOW_RULE (getgid);
- ALLOW_RULE (getuid);
- ALLOW_RULE (getpid);
- /* ALLOW_RULE (getpeername); */
- ALLOW_RULE (getresgid);
- ALLOW_RULE (getresuid);
- ALLOW_RULE (getrlimit);
- /* ALLOW_RULE (getsockname); */
- /* ALLOW_RULE (getsockopt); needed for access to x11 socket in network namespace (without abstract sockets) */
- ALLOW_RULE (inotify_add_watch);
- ALLOW_RULE (inotify_init1);
- ALLOW_RULE (inotify_rm_watch);
- /* ALLOW_RULE (ioctl); specified below */
- ALLOW_RULE (lseek);
- ALLOW_RULE (lstat);
- ALLOW_RULE (madvise);
- ALLOW_RULE (memfd_create);
- ALLOW_RULE (mkdir); /* needed for first run only */
- ALLOW_RULE (mmap);
- ALLOW_RULE (mprotect);
- ALLOW_RULE (mremap);
- ALLOW_RULE (munmap);
- //ALLOW_RULE (open); /* (zathura needs to open for writing) TODO: avoid needing this somehow */
- //ALLOW_RULE (openat);
- ALLOW_RULE (pipe);
- ALLOW_RULE (poll);
- ALLOW_RULE (pwrite64); /* TODO: build detailed filter */
- ALLOW_RULE (pread64);
- /* ALLOW_RULE (prlimit64); */
- /* ALLOW_RULE (prctl); specified below */
- ALLOW_RULE (read);
- ALLOW_RULE (readlink);
- ALLOW_RULE (recvfrom);
- ALLOW_RULE (recvmsg);
- ALLOW_RULE (restart_syscall);
- ALLOW_RULE (rt_sigaction);
- ALLOW_RULE (rt_sigprocmask);
- ALLOW_RULE (sendmsg);
- ALLOW_RULE (sendto);
- ALLOW_RULE (select);
- ALLOW_RULE (set_robust_list);
- /* ALLOW_RULE (set_tid_address); */
- /* ALLOW_RULE (setsockopt); */
- ALLOW_RULE (shmat);
- ALLOW_RULE (shmctl);
- ALLOW_RULE (shmdt);
- ALLOW_RULE (shmget);
- ALLOW_RULE (shutdown);
- ALLOW_RULE (stat);
- ALLOW_RULE (statfs);
- /* ALLOW_RULE (socket); */
- ALLOW_RULE (sysinfo);
- ALLOW_RULE (uname);
- ALLOW_RULE (unlink);
- ALLOW_RULE (write); /* specified below (zathura needs to write files)*/
- ALLOW_RULE (writev);
- ALLOW_RULE (wait4); /* trying to open links should not crash the app */
-
-
- /* Special requirements for ioctl, allowed on stdout/stderr */
- if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(ioctl), 1,
- SCMP_CMP(0, SCMP_CMP_EQ, 1)) < 0)
- goto out;
- if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(ioctl), 1,
- SCMP_CMP(0, SCMP_CMP_EQ, 2)) < 0)
- goto out;
-
-
- /* needed by gtk??? (does not load content without) */
-
- /* special restrictions for prctl, only allow PR_SET_NAME/PR_SET_PDEATHSIG */
- if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(prctl), 1,
- SCMP_CMP(0, SCMP_CMP_EQ, PR_SET_NAME)) < 0)
- goto out;
-
- if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(prctl), 1,
- SCMP_CMP(0, SCMP_CMP_EQ, PR_SET_PDEATHSIG)) < 0)
- goto out;
-
-
- /* special restrictions for open, prevent opening files for writing */
- if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(open), 1,
- SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_WRONLY | O_RDWR, 0)) < 0)
- goto out;
-
- if (seccomp_rule_add (ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(open), 1,
- SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_WRONLY, O_WRONLY)) < 0)
- goto out;
-
- if (seccomp_rule_add (ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(open), 1,
- SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_RDWR, O_RDWR)) < 0)
- goto out;
-
- /* special restrictions for openat, prevent opening files for writing */
- if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(openat), 1,
- SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_WRONLY | O_RDWR, 0)) < 0)
- goto out;
-
- if (seccomp_rule_add (ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(openat), 1,
- SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_WRONLY, O_WRONLY)) < 0)
- goto out;
-
- if (seccomp_rule_add (ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(openat), 1,
- SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_RDWR, O_RDWR)) < 0)
- goto out;
-
-
- /* allowed for debugging: */
-
- /* ALLOW_RULE (prctl); */
- /* ALLOW_RULE (ioctl); */
-
-
- /* TODO: test fcntl rules */
- /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, F_GETFL)) < 0) */
- /* goto out; */
-
- /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, F_SETFL)) < 0) */
- /* goto out; */
-
- /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, F_SETFD)) < 0) */
- /* goto out; */
-
- /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, F_GETFD)) < 0) */
- /* goto out; */
-
- /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, F_SETLK)) < 0) */
- /* goto out; */
-
-
- /* TODO: build detailed filter for prctl */
- /* needed by gtk??? (does not load content without) */
-
- /* /\* special restrictions for prctl, only allow PR_SET_NAME/PR_SET_PDEATHSIG *\/ */
- /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(prctl), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, PR_SET_NAME)) < 0) */
- /* goto out; */
-
- /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(prctl), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, PR_SET_PDEATHSIG)) < 0) */
- /* goto out; */
-
-
- /* when zathura is run on wayland, with X11 server available but blocked, unset the DISPLAY variable */
- /* otherwise it will try to connect to X11 using inet socket protocol */
-
-
- /* ------------ experimental filters --------------- */
-
- /* /\* this filter is susceptible to TOCTOU race conditions, providing limited use *\/ */
- /* /\* allow opening only specified files identified by their file descriptors*\/ */
-
- /* this requires either a list of all files to open (A LOT!!!) */
- /* or needs to be applied only after initialisation, right before parsing */
- /* if(seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(read), 1, */
- /* SCMP_CMP(SCMP_CMP_EQ, fd)) < 0) /\* or < 1 ??? *\/ */
- /* goto out; */
-
-
- /* /\* restricting write access *\/ */
-
- /* /\* allow stdin *\/ */
- /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(write), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, 0)) < 0 ) */
- /* goto out; */
-
- /* /\* allow stdout *\/ */
- /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(write), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, 1)) < 0 ) */
- /* goto out; */
-
-
- /* /\* allow stderr *\/ */
- /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(write), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, 2)) < 0 ) */
- /* goto out; */
-
-
- /* /\* restrict writev (write a vector) access *\/ */
- /* this does not seem reliable but it surprisingly is. investigate more */
- /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(writev), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, 3)) < 0 ) */
- /* goto out; */
-
- /* test if repeating this after some time or denying it works */
-
-
- /* first attempt to filter poll requests */
- /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(poll), 1, */
- /* SCMP_CMP(0, SCMP_CMP_MASKED_EQ, POLLIN | POLL, 0)) < 0) */
- /* goto out; */
-
-
- /* /\* restrict fcntl calls *\/ */
- /* this syscall sets the file descriptor to read write */
- /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
- /* SCMP_CMP(0, SCMP_CMP_EQ, 3)) < 0 ) */
- /* goto out; */
- /* fcntl(3, F_GETFL) = 0x2 (flags O_RDWR) */
- /* fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 */
- /* fcntl(3, F_SETFD, FD_CLOEXEC) = 0 */
-
-
- /* ------------------ end of experimental filters ------------------ */
-
-
- /* applying filter... */
- if (seccomp_load (ctx) >= 0){
- /* free ctx after the filter has been loaded into the kernel */
- seccomp_release(ctx);
- return 0;
- }
-
- out:
- /* something went wrong */
- seccomp_release(ctx);
+int
+seccomp_enable_strict_filter(void)
+{
+ /* prevent child processes from getting more priv e.g. via setuid, capabilities, ... */
+ if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
+ girara_error("prctl SET_NO_NEW_PRIVS");
return -1;
+ }
+
+ /* prevent escape via ptrace */
+ if (prctl(PR_SET_DUMPABLE, 0, 0, 0, 0)) {
+ girara_error("prctl PR_SET_DUMPABLE");
+ return -1;
+ }
+
+ /* initialize the filter */
+ scmp_filter_ctx ctx = seccomp_init(SCMP_ACT_KILL);
+ if (ctx == NULL){
+ girara_error("seccomp_init failed");
+ return -1;
+ }
+
+ ALLOW_RULE(access);
+ /* ALLOW_RULE (arch_prctl); */
+ ALLOW_RULE(bind);
+ ALLOW_RULE(brk);
+ ALLOW_RULE(clock_getres);
+ ALLOW_RULE(clone); /* TODO: investigate */
+ ALLOW_RULE(close);
+ /* ALLOW_RULE (connect); */
+ ALLOW_RULE(eventfd2);
+ ALLOW_RULE(exit);
+ ALLOW_RULE(exit_group);
+ ALLOW_RULE(fadvise64);
+ ALLOW_RULE(fallocate);
+ ALLOW_RULE(fcntl); /* TODO: build detailed filter */
+ ALLOW_RULE(fstat);
+ ALLOW_RULE(fstatfs);
+ ALLOW_RULE(ftruncate);
+ ALLOW_RULE(futex);
+ ALLOW_RULE(getdents);
+ ALLOW_RULE(getegid);
+ ALLOW_RULE(geteuid);
+ ALLOW_RULE(getgid);
+ ALLOW_RULE(getuid);
+ ALLOW_RULE(getpid);
+ /* ALLOW_RULE (getpeername); */
+ ALLOW_RULE(getresgid);
+ ALLOW_RULE(getresuid);
+ ALLOW_RULE(getrlimit);
+ /* ALLOW_RULE (getsockname); */
+ /* ALLOW_RULE (getsockopt); needed for access to x11 socket in network namespace (without abstract sockets) */
+ ALLOW_RULE(inotify_add_watch);
+ ALLOW_RULE(inotify_init1);
+ ALLOW_RULE(inotify_rm_watch);
+ /* ALLOW_RULE (ioctl); specified below */
+ ALLOW_RULE(lseek);
+ ALLOW_RULE(lstat);
+ ALLOW_RULE(madvise);
+ ALLOW_RULE(memfd_create);
+ ALLOW_RULE(mkdir); /* needed for first run only */
+ ALLOW_RULE(mmap);
+ ALLOW_RULE(mprotect);
+ ALLOW_RULE(mremap);
+ ALLOW_RULE(munmap);
+ //ALLOW_RULE (open); /* (zathura needs to open for writing) TODO: avoid needing this somehow */
+ //ALLOW_RULE (openat);
+ ALLOW_RULE(pipe);
+ ALLOW_RULE(poll);
+ ALLOW_RULE(pwrite64); /* TODO: build detailed filter */
+ ALLOW_RULE(pread64);
+ /* ALLOW_RULE (prlimit64); */
+ /* ALLOW_RULE (prctl); specified below */
+ ALLOW_RULE(read);
+ ALLOW_RULE(readlink);
+ ALLOW_RULE(recvfrom);
+ ALLOW_RULE(recvmsg);
+ ALLOW_RULE(restart_syscall);
+ ALLOW_RULE(rt_sigaction);
+ ALLOW_RULE(rt_sigprocmask);
+ ALLOW_RULE(sendmsg);
+ ALLOW_RULE(sendto);
+ ALLOW_RULE(select);
+ ALLOW_RULE(set_robust_list);
+ /* ALLOW_RULE (set_tid_address); */
+ /* ALLOW_RULE (setsockopt); */
+ ALLOW_RULE(shmat);
+ ALLOW_RULE(shmctl);
+ ALLOW_RULE(shmdt);
+ ALLOW_RULE(shmget);
+ ALLOW_RULE(shutdown);
+ ALLOW_RULE(stat);
+ ALLOW_RULE(statfs);
+ /* ALLOW_RULE (socket); */
+ ALLOW_RULE(sysinfo);
+ ALLOW_RULE(uname);
+ ALLOW_RULE(unlink);
+ ALLOW_RULE(write); /* specified below (zathura needs to write files)*/
+ ALLOW_RULE(writev);
+ ALLOW_RULE(wait4); /* trying to open links should not crash the app */
+
+ /* Special requirements for ioctl, allowed on stdout/stderr */
+ if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(ioctl), 1,
+ SCMP_CMP(0, SCMP_CMP_EQ, 1)) < 0) {
+ goto out;
+ }
+ if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(ioctl), 1,
+ SCMP_CMP(0, SCMP_CMP_EQ, 2)) < 0) {
+ goto out;
+ }
+
+ /* needed by gtk??? (does not load content without) */
+
+ /* special restrictions for prctl, only allow PR_SET_NAME/PR_SET_PDEATHSIG */
+ if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(prctl), 1,
+ SCMP_CMP(0, SCMP_CMP_EQ, PR_SET_NAME)) < 0) {
+ goto out;
+ }
+
+ if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(prctl), 1,
+ SCMP_CMP(0, SCMP_CMP_EQ, PR_SET_PDEATHSIG)) < 0) {
+ goto out;
+ }
+
+ /* special restrictions for open, prevent opening files for writing */
+ if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(open), 1,
+ SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_WRONLY | O_RDWR, 0)) < 0) {
+ goto out;
+ }
+
+ if (seccomp_rule_add(ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(open), 1,
+ SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_WRONLY, O_WRONLY)) < 0) {
+ goto out;
+ }
+
+ if (seccomp_rule_add(ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(open), 1,
+ SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_RDWR, O_RDWR)) < 0) {
+ goto out;
+ }
+
+ /* special restrictions for openat, prevent opening files for writing */
+ if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(openat), 1,
+ SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_WRONLY | O_RDWR, 0)) < 0) {
+ goto out;
+ }
+
+ if (seccomp_rule_add(ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(openat), 1,
+ SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_WRONLY, O_WRONLY)) < 0) {
+ goto out;
+ }
+
+ if (seccomp_rule_add(ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(openat), 1,
+ SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_RDWR, O_RDWR)) < 0) {
+ goto out;
+ }
+
+ /* allowed for debugging: */
+
+ /* ALLOW_RULE (prctl); */
+ /* ALLOW_RULE (ioctl); */
+
+ /* TODO: test fcntl rules */
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, F_GETFL)) < 0) */
+ /* goto out; */
+
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, F_SETFL)) < 0) */
+ /* goto out; */
+
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, F_SETFD)) < 0) */
+ /* goto out; */
+
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, F_GETFD)) < 0) */
+ /* goto out; */
+
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, F_SETLK)) < 0) */
+ /* goto out; */
+
+
+ /* TODO: build detailed filter for prctl */
+ /* needed by gtk??? (does not load content without) */
+
+ /* /\* special restrictions for prctl, only allow PR_SET_NAME/PR_SET_PDEATHSIG *\/ */
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(prctl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, PR_SET_NAME)) < 0) */
+ /* goto out; */
+
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(prctl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, PR_SET_PDEATHSIG)) < 0) */
+ /* goto out; */
+
+ /* when zathura is run on wayland, with X11 server available but blocked, unset the DISPLAY variable */
+ /* otherwise it will try to connect to X11 using inet socket protocol */
+
+ /* ------------ experimental filters --------------- */
+
+ /* /\* this filter is susceptible to TOCTOU race conditions, providing limited use *\/ */
+ /* /\* allow opening only specified files identified by their file descriptors*\/ */
+
+ /* this requires either a list of all files to open (A LOT!!!) */
+ /* or needs to be applied only after initialisation, right before parsing */
+ /* if(seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(read), 1, */
+ /* SCMP_CMP(SCMP_CMP_EQ, fd)) < 0) /\* or < 1 ??? *\/ */
+ /* goto out; */
+
+ /* /\* restricting write access *\/ */
+
+ /* /\* allow stdin *\/ */
+ /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(write), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, 0)) < 0 ) */
+ /* goto out; */
+
+ /* /\* allow stdout *\/ */
+ /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(write), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, 1)) < 0 ) */
+ /* goto out; */
+
+
+ /* /\* allow stderr *\/ */
+ /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(write), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, 2)) < 0 ) */
+ /* goto out; */
+
+ /* /\* restrict writev (write a vector) access *\/ */
+ /* this does not seem reliable but it surprisingly is. investigate more */
+ /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(writev), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, 3)) < 0 ) */
+ /* goto out; */
+
+ /* test if repeating this after some time or denying it works */
+
+
+ /* first attempt to filter poll requests */
+ /* if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(poll), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_MASKED_EQ, POLLIN | POLL, 0)) < 0) */
+ /* goto out; */
+
+
+ /* /\* restrict fcntl calls *\/ */
+ /* this syscall sets the file descriptor to read write */
+ /* if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(fcntl), 1, */
+ /* SCMP_CMP(0, SCMP_CMP_EQ, 3)) < 0 ) */
+ /* goto out; */
+ /* fcntl(3, F_GETFL) = 0x2 (flags O_RDWR) */
+ /* fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 */
+ /* fcntl(3, F_SETFD, FD_CLOEXEC) = 0 */
+
+ /* ------------------ end of experimental filters ------------------ */
+
+ /* applying filter... */
+ if (seccomp_load(ctx) >= 0) {
+ /* free ctx after the filter has been loaded into the kernel */
+ seccomp_release(ctx);
+ return 0;
+ }
+
+out:
+ /* something went wrong */
+ seccomp_release(ctx);
+ return -1;
}
#endif /* WITH_SECCOMP */
From d36c38ca4878309a591224c7054a964a4fcc37bb Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 11 Mar 2018 16:20:37 +0100
Subject: [PATCH 115/126] Fix memory leak
---
zathura/commands.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zathura/commands.c b/zathura/commands.c
index ce359f4..b6810ac 100644
--- a/zathura/commands.c
+++ b/zathura/commands.c
@@ -287,7 +287,7 @@ cmd_print(girara_session_t* session, girara_list_t* UNUSED(argument_list))
g_free(sandbox);
return false;
}
-
+ g_free(sandbox);
print(zathura);
From 64f3eb35f4aeb1e7e590365f2f63809e0d89ad4f Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 11 Mar 2018 16:25:41 +0100
Subject: [PATCH 116/126] Disable seccomp by default until it stabilizes
---
meson_options.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meson_options.txt b/meson_options.txt
index db63e3d..85c5a58 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -15,6 +15,6 @@ option('enable-magic',
)
option('enable-seccomp',
type: 'boolean',
- value: true,
- description: 'Enable seccomp support if available.'
+ value: false,
+ description: 'Enable experimental seccomp support if available.'
)
From abbd8d85509d0ea6e83d41b2b145ad3443292790 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 11 Mar 2018 16:27:16 +0100
Subject: [PATCH 117/126] CS
---
zathura/main.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/zathura/main.c b/zathura/main.c
index 7b228c4..88275c0 100644
--- a/zathura/main.c
+++ b/zathura/main.c
@@ -293,10 +293,8 @@ main(int argc, char* argv[])
}
#ifdef WITH_SECCOMP
-
char* sandbox = NULL;
girara_setting_get(zathura->ui.session, "sandbox", &sandbox);
-
if (g_strcmp0(sandbox, "none") == 0) {
girara_debug("Sandbox deactivated.");
} else if (g_strcmp0(sandbox, "normal") == 0) {
@@ -309,14 +307,13 @@ main(int argc, char* argv[])
girara_error("Invalid sandbox option");
ret = -1;
}
-
g_free(sandbox);
- if (ret){
+
+ if (ret != 0) {
goto free_and_ret;
}
-
#endif
-
+
/* open document if passed */
if (file_idx != 0) {
if (page_number > 0) {
From b836503b1746e06e9debe37f5df8477136e0df8e Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 11 Mar 2018 16:29:26 +0100
Subject: [PATCH 118/126] Add default copyright headers
---
zathura/seccomp-filters.c | 2 ++
zathura/seccomp-filters.h | 2 ++
2 files changed, 4 insertions(+)
diff --git a/zathura/seccomp-filters.c b/zathura/seccomp-filters.c
index ce6563f..1c49b71 100644
--- a/zathura/seccomp-filters.c
+++ b/zathura/seccomp-filters.c
@@ -1,3 +1,5 @@
+/* See LICENSE file for license and copyright information */
+
#include "seccomp-filters.h"
#ifdef WITH_SECCOMP
diff --git a/zathura/seccomp-filters.h b/zathura/seccomp-filters.h
index c2130fe..5782ad6 100644
--- a/zathura/seccomp-filters.h
+++ b/zathura/seccomp-filters.h
@@ -1,3 +1,5 @@
+/* See LICENSE file for license and copyright information */
+
#ifndef ZATHURA_SECCOMP_FILTERS_H
#define ZATHURA_SECCOMP_FILTERS_H
From 58f7a4d11683af3b891cc92b1e455665ff0e861e Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 11 Mar 2018 20:21:23 +0100
Subject: [PATCH 119/126] Document seccomp support
---
README | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/README b/README
index 0fb2db8..8c8d2c8 100644
--- a/README
+++ b/README
@@ -33,7 +33,9 @@ The use of magic to detect mime types is optional and can be disabled by setting
enable-magic=off.
The use of seccomp to create a sandboxed environment is optional and can be
-enabled by setting enable-seccomp=on.
+enabled by setting enable-seccomp=on. Note that the sandbox is currently only
+available as experimental preview. Some commands, shortcuts and other
+functionality might break.
Installation
------------
From 335924e7c4441e26d5ded368430e8388d1014a72 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 11 Mar 2018 20:46:13 +0100
Subject: [PATCH 120/126] Add seccomp-filters.c
---
po/POTFILES | 1 +
1 file changed, 1 insertion(+)
diff --git a/po/POTFILES b/po/POTFILES
index 39d7a84..0b56e1b 100644
--- a/po/POTFILES
+++ b/po/POTFILES
@@ -25,6 +25,7 @@ zathura/page.c
zathura/plugin.c
zathura/print.c
zathura/render.c
+zathura/seccomp-filters.c
zathura/shortcuts.c
zathura/synctex.c
zathura/types.c
From 87f89d0c6f221bb39f8684ac4350c0f73cd914fe Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 11 Mar 2018 20:51:03 +0100
Subject: [PATCH 121/126] Add hint for translators
---
data/org.pwmt.zathura.desktop.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/data/org.pwmt.zathura.desktop.in b/data/org.pwmt.zathura.desktop.in
index afc33a4..fba4193 100644
--- a/data/org.pwmt.zathura.desktop.in
+++ b/data/org.pwmt.zathura.desktop.in
@@ -4,6 +4,7 @@ Type=Application
Name=Zathura
Comment=A minimalistic document viewer
Exec=zathura %U
+# Translators: Icon of the desktop entry.
Icon=org.pwmt.zathura
Terminal=false
Categories=Office;Viewer;
From c6716729839ddd3c8cd72296e0d6b19379252ce2 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 11 Mar 2018 20:55:45 +0100
Subject: [PATCH 122/126] Add add the end
---
zathura/config.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/zathura/config.c b/zathura/config.c
index 66c5e1f..510c60a 100644
--- a/zathura/config.c
+++ b/zathura/config.c
@@ -185,8 +185,6 @@ config_load_default(zathura_t* zathura)
girara_setting_add(gsession, "index-active-fg", "#232323", STRING, true, _("Index mode foreground color (active element)"), NULL, NULL);
girara_setting_add(gsession, "index-active-bg", "#9FBC00", STRING, true, _("Index mode background color (active element)"), NULL, NULL);
- girara_setting_add(gsession, "sandbox", "normal", STRING, true, _("Sandbox level"), NULL, NULL);
-
bool_value = false;
girara_setting_add(gsession, "recolor", &bool_value, BOOLEAN, false, _("Recolor pages"), cb_setting_recolor_change, NULL);
bool_value = false;
@@ -251,6 +249,7 @@ config_load_default(zathura_t* zathura)
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;
girara_setting_add(gsession, "selection-notification", &bool_value, BOOLEAN, false, _("Enable notification after selecting text"), NULL, NULL);
+ girara_setting_add(gsession, "sandbox", "normal", STRING, true, _("Sandbox level"), NULL, NULL);
#define DEFAULT_SHORTCUTS(mode) \
girara_shortcut_add(gsession, 0, GDK_KEY_a, NULL, sc_adjust_window, (mode), ZATHURA_ADJUST_BESTFIT, NULL); \
From 3ffada027711efff1e6895aaf4e2783e52c56b63 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Sun, 11 Mar 2018 20:52:53 +0100
Subject: [PATCH 123/126] Update translations
---
po/ca.po | 139 +++++++++++++++++++++++++++++-----------------------
po/cs.po | 139 +++++++++++++++++++++++++++++-----------------------
po/de.po | 139 +++++++++++++++++++++++++++++-----------------------
po/el.po | 139 +++++++++++++++++++++++++++++-----------------------
po/eo.po | 139 +++++++++++++++++++++++++++++-----------------------
po/es.po | 139 +++++++++++++++++++++++++++++-----------------------
po/es_CL.po | 139 +++++++++++++++++++++++++++++-----------------------
po/et.po | 139 +++++++++++++++++++++++++++++-----------------------
po/fr.po | 139 +++++++++++++++++++++++++++++-----------------------
po/he.po | 139 +++++++++++++++++++++++++++++-----------------------
po/hr.po | 139 +++++++++++++++++++++++++++++-----------------------
po/id_ID.po | 139 +++++++++++++++++++++++++++++-----------------------
po/it.po | 139 +++++++++++++++++++++++++++++-----------------------
po/lt.po | 139 +++++++++++++++++++++++++++++-----------------------
po/nl.po | 139 +++++++++++++++++++++++++++++-----------------------
po/no.po | 139 +++++++++++++++++++++++++++++-----------------------
po/pl.po | 139 +++++++++++++++++++++++++++++-----------------------
po/pt_BR.po | 139 +++++++++++++++++++++++++++++-----------------------
po/ru.po | 139 +++++++++++++++++++++++++++++-----------------------
po/ta_IN.po | 139 +++++++++++++++++++++++++++++-----------------------
po/tr.po | 139 +++++++++++++++++++++++++++++-----------------------
po/uk_UA.po | 139 +++++++++++++++++++++++++++++-----------------------
22 files changed, 1716 insertions(+), 1342 deletions(-)
diff --git a/po/ca.po b/po/ca.po
index 0cd1661..76468d0 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\n"
"PO-Revision-Date: 2018-02-25 18:24+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Catalan (http://www.transifex.com/projects/p/zathura/language/"
@@ -49,9 +49,14 @@ msgstr "Llista tots els marcadors"
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -81,14 +86,14 @@ msgid "Copied selected image to selection %s"
msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr "Nombre d'arguments invàlids."
@@ -175,63 +180,67 @@ msgstr "Massa arguments."
msgid "No arguments given."
msgstr "Cap argument subministrat."
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr "Document desat."
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr "No s'ha pogut desar el document."
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr "Nombre d'arguments invàlids."
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, 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:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "S'ha escrit el fitxer adjunt '%s' a '%s'."
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "S'ha escrit la imatge '%s' a '%s'."
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "No s'ha pogut escriure la imatge '%s' a '%s'."
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr "Imatge desconeguda '%s'."
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Imatge o fitxer adjunt desconegut '%s'."
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr "L'argument ha de ser un nombre."
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr "Pàgina %d"
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr "Fitxers adjunts"
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr "Imatges"
@@ -460,155 +469,163 @@ msgstr ""
msgid "Enable notification after selecting text"
msgstr ""
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr "Afegir un marcador"
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr "Esborrar un marcador"
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr "Llista tots els marcadors"
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr "Tancar el fitxer actual"
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr "Mostra informació sobre el fitxer"
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr "Executar una comanda"
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr "Mostrar l'ajuda"
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr "Obrir document"
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr "Tancar Zathura"
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr "Imprimir document"
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr "Desar document"
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr "Desar document (i forçar la sobreescritura)"
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr "Desa els fitxers adjunts"
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr "Assigna el desplaçament de pàgina"
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr "Marca la posició actual dins el document"
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr "Esborrar les marques especificades"
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr "No realcis els resultats de la recerca actual"
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr "Realça els resultats de recerca actual"
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr "Mostra informació sobre la versió"
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr "No s'ha pogut executar xdg-open."
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr "Enllaçar: pàgina %d"
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr "Enllaç: %s"
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr "Enllaç: Invàlid"
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr "Reassigna a la finestra especificada per xid (X11)"
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr "Ruta al directori de configuració"
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr "Camí al directori de dades"
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr ""
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr "Camí al directori que conté els plugins"
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr "Bifurca en segon pla"
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr "Contrasenya del document"
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr ""
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr "Nivell de registre (depuració, informació, advertiments, errors)"
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr "Imprimeix informació sobre la versió"
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor synctex (reenviat a l'ordre synctex)"
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr ""
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr ""
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr ""
@@ -643,26 +660,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Aquest document no conté cap índex"
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr "[Sense nom]"
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: zathura/zathura.c:737
+#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: zathura/zathura.c:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr ""
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/cs.po b/po/cs.po
index 11472b2..2d49663 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\n"
"PO-Revision-Date: 2018-02-25 18:25+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Czech (http://www.transifex.com/pwmt/zathura/language/cs/)\n"
@@ -47,9 +47,14 @@ msgstr "Vypsat všechny záložky"
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -79,14 +84,14 @@ msgid "Copied selected image to selection %s"
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:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr "Špatný počet argumentů."
@@ -174,63 +179,67 @@ msgstr "Příliš mnoho argumentů."
msgid "No arguments given."
msgstr "Nezadali jste argumenty."
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr "Dokument uložen."
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr "Nepovedlo se uložit dokument."
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr "Špatný počet argumentů."
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Nepovedlo se zapsat přílohu '%s' do '%s'."
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Příloha '%s' zapsána do '%s'."
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Obrázek '%s' zapsán do '%s'."
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Nepovedlo se zapsat obrázek '%s' do '%s'."
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr "Neznámý obrázek '%s'."
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Neznámá příloha nebo obrázek '%s'."
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr "Argumentem musí být číslo."
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr "Strana %d"
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr "Přílohy"
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr "Obrázky"
@@ -459,155 +468,163 @@ msgstr "Schránka, do níž budou zapsána data vabraná pomocí myši"
msgid "Enable notification after selecting text"
msgstr "Povolit oznámení po vybrání textu"
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr "Přidat záložku"
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr "Smazat záložku"
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr "Vypsat všechny záložky"
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr "Zavřít nynější soubor"
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr "Ukázat informace o souboru"
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr "Spustit příkaz"
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr "Ukázat nápovědu"
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr "Otevřít dokument"
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr "Zavřít zathuru"
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr "Vytisknout dokument"
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr "Uložit dokument"
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr "Uložit dokument a vynutit jeho přepsání"
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr "Uložit přílohy"
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr "Nastavit posun strany"
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr "Označit současnou polohu v dokumentu"
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr "Smazat vybrané značky"
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr "Nezvýrazňovat výsledky tohoto hledání"
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr "Zvýrazňovat výsledky tohoto hledání"
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr "Ukázat údaj o verzi"
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr "Nepodařilo se spustit xdg-open."
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr "Odkaz: strana %d"
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr "Odkaz: %s"
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr "Odkaz: Neplatný"
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr "Propojí s oknem udaným xid (X11)"
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr "Cesta k adresáři se souborem s nastavením"
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr "Cesta k adresáři s daty"
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr "Cesta k adresáři s vyrovnávací pamětí"
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr "Cesta k adresářům s přídavnými moduly"
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr "Forknout se na pozadí"
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr "Heslo k dokumentu"
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr "Číslo strany, na kterou jít"
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr "Úroveň logování (debug, info, warning, error)"
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr "Zobrazit údaje o verzi"
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor Synctex (předáno příkazu synctex)"
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr "Přesunout se na udanou polohu synctex"
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr "Zvýraznit zadanou polohu v daném procesu"
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr "Spustit v ne-výchozím režimu"
@@ -642,29 +659,29 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Tento dokument neobsahuje žádný rejstřík"
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr "[Nepojmenovaný]"
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
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:737
+#: zathura/zathura.c:748
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:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr "Zadat heslo:"
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
"Nepodporovaný typ souboru. Nainstalujte, prosím, nezbytný přídavný modul."
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
msgid "Document does not contain any pages"
msgstr "Dokument neobsahuje žádné strany"
diff --git a/po/de.po b/po/de.po
index 06e7f0d..6a1a287 100644
--- a/po/de.po
+++ b/po/de.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\n"
"PO-Revision-Date: 2018-02-25 18:19+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: German (http://www.transifex.com/projects/p/zathura/language/"
@@ -49,9 +49,14 @@ msgstr "Liste all Lesezeichen auf"
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr "PDF;Ps;PostScript;DjVU;Dokumente;Presentation;Betrachter;"
@@ -81,14 +86,14 @@ msgid "Copied selected image to selection %s"
msgstr "Das gewählte Bild wurde in die Zwischenablage %s kopiert"
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr "Ungültige Anzahl an Argumenten angegeben."
@@ -175,63 +180,67 @@ msgstr "Zu viele Argumente angegeben."
msgid "No arguments given."
msgstr "Keine Argumente angegeben."
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr "Dokument gespeichert."
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr "Konnte Dokument nicht speichern."
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr "Ungültige Anzahl an Argumenten."
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben."
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Anhang '%s' nach '%s' geschrieben."
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Anhang '%s' nach '%s' geschrieben."
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben."
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr "Unbekanntes Bild '%s'."
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Unbekannter Anhanng oder Bild '%s'."
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr "Das Argument ist keine Zahl."
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr "Seite %d"
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr "Speichere Anhänge"
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr "Bilder"
@@ -463,155 +472,163 @@ msgstr "Zwischenablage, in die mit der Maus gewählte Text kopiert wird"
msgid "Enable notification after selecting text"
msgstr "Benachrichtigung nach Text-Selektion"
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr "Füge Lesezeichen hinzu"
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr "Lösche ein Lesezeichen"
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr "Liste all Lesezeichen auf"
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr "Schließe das aktuelle Dokument"
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr "Zeige Dokumentinformationen an"
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr "Führe einen Befehl aus"
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr "Zeige Hilfe an"
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr "Öffne Dokument"
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr "Beende zathura"
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr "Drucke Dokument"
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr "Speichere Dokument"
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr "Speichere Dokument (und überschreibe bestehende)"
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr "Speichere Anhänge"
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr "Setze den Seitenabstand"
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr "Markiere aktuelle Position im Doukument"
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr "Lösche angegebene Markierung"
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr "Hebe aktuelle Suchergebnisse nicht hervor"
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr "Hebe aktuelle Suchergebnisse hervor"
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr "Zeige Versionsinformationen an"
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr "Konnte xdg-open nicht ausführen."
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr "Verknüpfung: Seite %d"
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr "Verknüpfung: %s"
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr "Verknüpfung: ungültig"
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr "Reparentiert zathura an das Fenster mit der xid (X11)"
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr "Pfad zum Konfigurationsverzeichnis"
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr "Pfad zum Datenverzeichnis"
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr "Pfad zum Cacheverzeichnis"
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr "Pfad zum Pluginverzeichnis"
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr "Forkt den Prozess in den Hintergrund"
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr "Dokument Passwort"
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr "Zur Seite springen"
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr "Log-Stufe (debug, info, warning, error)"
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr "Zeige Versionsinformationen an"
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex Editor (wird an synctex weitergeleitet)"
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr "Zur gewählten SyncTeX-Position springen"
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr "Gewählte Position im Prozess hervorheben"
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr "In einem Nicht-Standardmodus starten"
@@ -646,26 +663,26 @@ msgstr "Suchausdruck nicht gefunden: %s"
msgid "This document does not contain any index"
msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis"
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr "[Kein Name]"
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
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:737
+#: zathura/zathura.c:748
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:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr "Passwort:"
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Dateityp ist nicht unterstützt. Installiere das benötigete Plugin."
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
msgid "Document does not contain any pages"
msgstr "Dieses Dokument beinhaltet keine Seiten"
diff --git a/po/el.po b/po/el.po
index 1a7074d..9ca703c 100644
--- a/po/el.po
+++ b/po/el.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\n"
"PO-Revision-Date: 2018-02-25 18:26+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Greek (http://www.transifex.com/projects/p/zathura/language/"
@@ -49,9 +49,14 @@ msgstr "Εμφάνιση όλων των σελιδοδεικτών"
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -81,14 +86,14 @@ msgid "Copied selected image to selection %s"
msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr "Μη έγκυρος αριθμός παραμέτρων."
@@ -175,63 +180,67 @@ msgstr "Εισήχθησαν πολλές παράμετροι. "
msgid "No arguments given."
msgstr "Δεν εισήχθησαν παράμετροι. "
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr "Το αρχείο αποθηκεύτηκε."
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr "Η αποθήκευση του αρχείου απέτυχε. "
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr "Μη έγκυρος ο αριθμός των παραμέτρων. "
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Μη επιτυχής η εγγραγή της προσάρτησης '%s' στην '%s'."
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Επιτυχής η εγγραφή της προσάρτησης '%s' στην '%s'."
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Ενεγράφει η εικόνα '%s' στην '%s'"
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Δεν ενεγράφει η εικόνα '%s' στην '%s'."
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr "Άγνωστη εικόνα '%s'. "
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Άγνωστο προσάρτημα είτε εικόνα '%s'. "
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr "Η παράμετρος πρέπει να είναι αριθμός."
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr "Σελίδα %d"
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr "Προσαρτήσεις"
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr "Εικόνες"
@@ -462,155 +471,163 @@ msgstr ""
msgid "Enable notification after selecting text"
msgstr ""
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr "Προσθήκη σελιδοδείκτη"
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr "Διαγραφή σελιδοδείκτη"
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr "Εμφάνιση όλων των σελιδοδεικτών"
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr "Κλείσιμο αρχείου"
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr "Προβολή πληροφοριών αρχείου"
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr "Εκτέλεση εντολής"
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr "Εμφάνιση βοήθειας"
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr "Άνοιγμα αρχείου"
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr "Κλείσιμο"
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr "Εκτύπωση αρχείου"
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr "Αποθήκευση αρχείου"
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr "Αποθήκευση αρχείου (και αντικατάσταση)"
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr "Αποθήκευση προσαρτήσεων. "
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr "Ρύθμιση αντιστάθμισης σελίδας"
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr "Επισήμανση τρέχουσας θέσης στο κείμενο"
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr "Διαγραφή επιλεγμένων σημείων"
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr "Χωρίς τονισμό τα τρέχοντα αποτελέσματα της αναζήτησης"
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr "Τονισμός στα τρέχοντα αποτελέσματα της αναζήτησης"
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr "Εμφάνιση πληροφοριών έκδοσης"
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr "Απέτυχε η εκτέλεση του xdg-open. "
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr ""
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr ""
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr ""
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr "Διαδρομή του αρχείου ρυθμίσεων"
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr "Διαδρομή του φακέλου δεδομένων"
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr ""
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr "Διαδρομή φακέλου που περιέχει τα πρόσθετα"
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr "Διακλάδωση στο παρασκήνιο"
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr "Κωδικός αρχείου"
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr ""
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr "Επίπεδο καταγραφής (debug, info, warning, error)"
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr "Εκτύπωση πληροφοριών έκδοσης"
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex editor (Προώθηση στην εντολή synctex)"
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr ""
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr ""
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr ""
@@ -645,26 +662,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Το αρχείο δεν περιέχει κανένα δείκτη"
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr "[Χωρίς όνομα]"
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: zathura/zathura.c:737
+#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: zathura/zathura.c:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr ""
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/eo.po b/po/eo.po
index 6931318..5dfe90e 100644
--- a/po/eo.po
+++ b/po/eo.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\n"
"PO-Revision-Date: 2018-02-25 18:26+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Esperanto (http://www.transifex.com/projects/p/zathura/"
@@ -48,9 +48,14 @@ msgstr "Listigu ĉiujn paĝosignojn"
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -80,14 +85,14 @@ msgid "Copied selected image to selection %s"
msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr "Nevalida nombro da argumentoj uzata."
@@ -175,63 +180,67 @@ msgstr "Tro multe da argumentoj."
msgid "No arguments given."
msgstr "Neniuj argumentoj uzata."
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr "Dokumento konservita."
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr "Neeble konservi dokumenton."
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr "Nevalida nombro da argumentoj."
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Neeble skribi kunsendaĵon '%s' en '%s'."
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Skribis kunsendaĵon '%s' en '%s'."
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Skribis kunsendaĵon '%s' en '%s'."
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Neeble skribi kunsendaĵon '%s' en '%s'."
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr "Nekonata bildo '%s'."
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr "Argumento devas esti nombro."
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr "Paĝo %d"
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr "Konservu kunsendaĵojn"
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr "Bildoj"
@@ -460,155 +469,163 @@ msgstr ""
msgid "Enable notification after selecting text"
msgstr ""
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr "Aldonu paĝosignon"
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr "Forigu paĝosignon"
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr "Listigu ĉiujn paĝosignojn"
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr "Fermu nunan dosieron"
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr "Montru dosiera informacio"
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr ""
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr "Montru helpon"
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr "Malfermu dokumenton"
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr "Fermu zathura"
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr "Presu dokumenton"
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr "Konservu dokumenton"
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr "Konservu dokumenton (deviga anstataŭo)"
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr "Konservu kunsendaĵojn"
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr "Agordu paĝdelokado"
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr ""
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr ""
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr ""
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr ""
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr ""
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr "Fiaskis iro de xdg-open"
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr ""
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr ""
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr ""
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr "Vojo al la agorda dosierujo"
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr "Vojo al la datuma dosierujo"
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr ""
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr "Vojoj al dosierujoj enhavantaj kromaĵojn"
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr ""
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr ""
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr ""
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr "Nivelo de ĵurnalo (debug, info, warning, error)"
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr "Montru dosiera informacio"
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr ""
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr ""
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr ""
@@ -643,26 +660,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Ĉi-tiu dokumento enhavas neniam indekson."
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr "[Neniu nomo]"
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: zathura/zathura.c:737
+#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: zathura/zathura.c:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr ""
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/es.po b/po/es.po
index 1fdeeb7..fd1a942 100644
--- a/po/es.po
+++ b/po/es.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\n"
"PO-Revision-Date: 2018-02-25 18:34+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Spanish (Castilian) (http://www.transifex.net/projects/p/"
@@ -47,9 +47,14 @@ msgstr "Listar favoritos"
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -79,14 +84,14 @@ msgid "Copied selected image to selection %s"
msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr "Número de argumentos inválido."
@@ -174,63 +179,67 @@ msgstr "Demasiados argumentos."
msgid "No arguments given."
msgstr "Ningún argumento recibido."
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr "Documento guardado."
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr "Error al guardar el documento."
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr "Número de argumentos inválido."
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Escrito fichero adjunto '%s' a '%s'."
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Escrito fichero adjunto '%s' a '%s'."
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr "Imagen desconocida '%s'."
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Adjunto o imagen desconocidos '%s'."
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr "El argumento ha de ser un número."
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr "Página %d"
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr "Guardar ficheros adjuntos"
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr "Imágenes"
@@ -461,155 +470,163 @@ msgstr ""
msgid "Enable notification after selecting text"
msgstr ""
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr "Añadir Favorito"
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr "Eliminar Favorito"
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr "Listar favoritos"
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr "Cerrar fichero actual"
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr "Mostrar información del fichero"
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr "Ejecutar un comando"
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr "Mostrar ayuda"
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr "Abrir documento"
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr "Salir de zathura"
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr "Imprimir documento"
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr "Guardar documento"
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr "Guardar documento (y sobreescribir)"
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr "Guardar ficheros adjuntos"
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr "Asignar el desplazamiento de página"
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr "Marcar la posición actual en el documento"
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr "Borrar las marcas especificadas"
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr "No destacar los resultados de la búsqueda actual"
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr "Destacar los resultados de la búsqueda actual"
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr "Mostrar versión"
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr "Error al tratar de ejecutar xdg-open"
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr ""
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr ""
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr ""
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr "Reasignar a la ventana especificada por xid (X11)"
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr "Ruta al directorio de configuración"
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr "Ruta para el directorio de datos"
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr ""
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr "Ruta a los directorios que contienen los plugins"
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr "Fork, ejecutándose en background"
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr "Contraseña del documento"
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr ""
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr "Nivel de log (debug, info, warning, error)"
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr "Mostrar información del fichero"
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor de Synctex (reenvíado al commando synctex)"
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr ""
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr ""
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr ""
@@ -644,26 +661,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Este documento no contiene ningún índice"
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr "[Sin nombre]"
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: zathura/zathura.c:737
+#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: zathura/zathura.c:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr ""
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/es_CL.po b/po/es_CL.po
index 502bc7e..f2edc11 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: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\n"
"PO-Revision-Date: 2018-02-25 18:27+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Spanish (Chile) (http://www.transifex.net/projects/p/zathura/"
@@ -48,9 +48,14 @@ msgstr "Listar todos los marcadores"
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -80,14 +85,14 @@ msgid "Copied selected image to selection %s"
msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr "Número de argumentos inválido."
@@ -175,63 +180,67 @@ msgstr "Demasiados argumentos."
msgid "No arguments given."
msgstr "Ningún argumento recibido."
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr "Documento guardado."
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr "Error al guardar el documento."
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr "Número de argumentos inválido."
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Fichero adjunto escrito '%s' a '%s'."
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Fichero adjunto escrito '%s' a '%s'."
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr "El argumento debe ser un número."
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr ""
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr "Guardar archivos adjuntos"
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr ""
@@ -460,155 +469,163 @@ msgstr ""
msgid "Enable notification after selecting text"
msgstr ""
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr "Agregar un marcador"
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr "Eliminar un marcador"
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr "Listar todos los marcadores"
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr "Cerrar archivo actual"
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr "Mostrar información del archivo"
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr ""
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr "Mostrar ayuda"
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr "Abrir documento"
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr "Cerrar zathura"
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr "Imprimir documento"
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr "Guardar documento"
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr "Guardar documento (y forzar sobreescritura)"
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr "Guardar archivos adjuntos"
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr "Asignar desplazamiento de la página"
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr ""
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr ""
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr ""
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr ""
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr ""
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr "Error al ejecutar xdg-open."
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr ""
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr ""
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr ""
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr "Reasignar a la ventana especificada por xid (X11)"
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr "Ruta al directorio de configuración"
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr "Ruta al directorio de datos"
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr ""
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr "Ruta al directorio que contiene plugins"
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr "Ejecución en background"
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr ""
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr ""
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr "Nivel de log (debug, info, warning, error)"
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr "Mostrar información del archivo"
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr ""
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr ""
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr ""
@@ -643,26 +660,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Este document no contiene índice"
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr "[Sin nombre]"
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: zathura/zathura.c:737
+#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: zathura/zathura.c:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr ""
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/et.po b/po/et.po
index 970e566..f80e200 100644
--- a/po/et.po
+++ b/po/et.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\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/"
@@ -49,9 +49,14 @@ msgstr "Näita kõiki järjehoidjaid"
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -81,14 +86,14 @@ msgid "Copied selected image to selection %s"
msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr ""
@@ -175,63 +180,67 @@ msgstr ""
msgid "No arguments given."
msgstr ""
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr ""
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr ""
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr ""
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr ""
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr ""
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr "Salvesta manused"
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr ""
@@ -460,155 +469,163 @@ msgstr ""
msgid "Enable notification after selecting text"
msgstr ""
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr "Lisa järjehoidja"
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr "Kustuta järjehoidja"
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr "Näita kõiki järjehoidjaid"
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr "Sulge praegune fail"
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr "Näita faili infot"
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr ""
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr "Näita abiinfot"
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr "Ava dokument"
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr "Sule zathura"
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr "Prindi dokument"
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr "Salvesta dokument"
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr ""
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr "Salvesta manused"
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr ""
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr ""
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr ""
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr ""
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr ""
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr ""
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr ""
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr ""
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr ""
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr ""
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr ""
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr ""
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr ""
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr ""
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr ""
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr ""
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr ""
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr ""
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr "Näita faili infot"
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr ""
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr ""
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr ""
@@ -643,26 +660,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr ""
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr "[Nime pole]"
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: zathura/zathura.c:737
+#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: zathura/zathura.c:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr ""
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/fr.po b/po/fr.po
index 9c6c25a..c92ba7b 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\n"
"PO-Revision-Date: 2018-02-25 18:27+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: French (http://www.transifex.com/projects/p/zathura/language/"
@@ -52,9 +52,14 @@ msgstr "Lister tous les marque-pages"
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -84,14 +89,14 @@ msgid "Copied selected image to selection %s"
msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr "Nombre d'arguments invalide."
@@ -179,63 +184,67 @@ msgstr "Trop d'arguments."
msgid "No arguments given."
msgstr "Aucun argument passé."
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr "Document enregistré."
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr "Échec lors de l'enregistrement du document."
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr "Nombre d'arguments invalide."
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Impossible d'écrire la pièce jointe '%s' dans '%s'."
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Pièce jointe '%s' écrite dans '%s'."
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Image '%s' écrite dans '%s'."
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Impossible d'écrire l'image '%s' dans '%s'."
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr "Image '%s' inconnue."
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Pièce jointe ou image '%s' inconnue."
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr "L'argument doit être un nombre."
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr "Page %d"
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr "Pièces jointes"
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr "Images"
@@ -466,155 +475,163 @@ msgstr "Le presse-papiers qui recevra les données sélectionnées avec la souri
msgid "Enable notification after selecting text"
msgstr ""
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr "Ajouter un marque-page"
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr "Supprimer un marque-page"
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr "Lister tous les marque-pages"
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr "Fermer le fichier actuel"
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr "Montrer les informations sur le fichier"
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr "Exécuter une commande"
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr "Afficher l'aide"
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr "Ouvrir un document"
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr "Quitter zathura"
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr "Imprimer le document"
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr "Sauver le document"
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr "Sauver le document (et forcer l'écrasement)"
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr "Enregistrer les pièces jointes"
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr "Définir le décalage de page"
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr "Marquer l'emplacement actuel dans le document"
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr "Supprimer les marques indiquées"
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr "Ne pas surligner les résultats de la recherche en cours"
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr "Surligner les résultats de la recherche en cours"
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr "Afficher les informations de version"
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr "Échec lors du lancement de xdg-open."
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr "Lien : page %d"
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr "Lien : %s"
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr "Lien : Invalide"
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr "Rattacher à la fenêtre spécifiée par xid (X11)"
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr "Chemin vers le dossier de configuration"
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr "Chemin vers le dossier de données"
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr ""
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr "Chemin vers le dossier de plugins"
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr "Détacher en arrière-plan"
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr "Mot de passe du document"
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr "Numéro de page où aller"
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr "Niveau de journalisation (debug, info, warning, error)"
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr "Afficher les informations de version"
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Éditeur synctex (transféré à la commande synctex)"
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr ""
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr ""
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr "Démarrer dans un mode non-défaut"
@@ -649,29 +666,29 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Ce document ne contient pas d'index"
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr "[Sans nom]"
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
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:737
+#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: zathura/zathura.c:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr ""
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
"Type de fichier non supporté. Veuillez installer l'extension nécessaire."
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
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 c73d9c7..1772663 100644
--- a/po/he.po
+++ b/po/he.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\n"
"PO-Revision-Date: 2018-02-25 18:28+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Hebrew (http://www.transifex.com/projects/p/zathura/language/"
@@ -46,9 +46,14 @@ msgstr ""
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -78,14 +83,14 @@ msgid "Copied selected image to selection %s"
msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr ""
@@ -172,63 +177,67 @@ msgstr ""
msgid "No arguments given."
msgstr ""
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr ""
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr ""
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr ""
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr ""
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr ""
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr ""
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr ""
@@ -457,155 +466,163 @@ msgstr ""
msgid "Enable notification after selecting text"
msgstr ""
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr ""
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr ""
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr ""
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr ""
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr ""
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr ""
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr ""
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr ""
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr ""
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr ""
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr ""
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr ""
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr ""
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr ""
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr ""
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr ""
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr ""
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr ""
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr ""
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr ""
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr ""
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr ""
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr ""
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr ""
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr ""
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr ""
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr ""
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr ""
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr ""
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr ""
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr ""
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr ""
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr ""
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr ""
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr ""
@@ -640,26 +657,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr ""
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr ""
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: zathura/zathura.c:737
+#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: zathura/zathura.c:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr ""
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/hr.po b/po/hr.po
index 0fc58f6..b1e695a 100644
--- a/po/hr.po
+++ b/po/hr.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\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/"
@@ -46,9 +46,14 @@ msgstr ""
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -78,14 +83,14 @@ msgid "Copied selected image to selection %s"
msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr ""
@@ -172,63 +177,67 @@ msgstr ""
msgid "No arguments given."
msgstr ""
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr ""
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr ""
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr ""
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr ""
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr ""
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr ""
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr ""
@@ -457,155 +466,163 @@ msgstr ""
msgid "Enable notification after selecting text"
msgstr ""
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr ""
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr ""
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr ""
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr ""
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr ""
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr ""
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr ""
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr ""
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr ""
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr ""
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr ""
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr ""
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr ""
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr ""
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr ""
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr ""
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr ""
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr ""
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr ""
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr ""
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr ""
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr ""
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr ""
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr ""
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr ""
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr ""
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr ""
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr ""
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr ""
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr ""
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr ""
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr ""
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr ""
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr ""
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr ""
@@ -640,26 +657,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr ""
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr ""
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: zathura/zathura.c:737
+#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: zathura/zathura.c:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr ""
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/id_ID.po b/po/id_ID.po
index 4f7f42e..31d4bbd 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: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\n"
"PO-Revision-Date: 2018-02-25 18:28+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Indonesian (Indonesia) (http://www.transifex.com/projects/p/"
@@ -48,9 +48,14 @@ msgstr "Perlihatkan semua bookmark"
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -80,14 +85,14 @@ msgid "Copied selected image to selection %s"
msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr "jumlah argumen yang diberikan tidak valid"
@@ -175,63 +180,67 @@ msgstr "Argumen terlalu banyak"
msgid "No arguments given."
msgstr "Tidak ada argumen yang diberikan"
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr "Dokumen telah disimpan"
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr "Gagal menyimpan dokumen"
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr "Jumlah argumen tidak valid"
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Tidak dapat menulis lampiran '%s' ke '%s'"
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Tidak dapat menyimpan lampiran '%s' ke '%s'"
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Menulis citra dari '%s' ke '%s'"
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Tidak dapat menulis citra '%s' ke %s'"
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr "Citra tidak diketahui '%s'"
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Lampiran atau gambar tidak diketahui '%s'"
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr "Argumen harus berupa angka."
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr "Halaman %d"
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr "Lampiran"
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr "Citra"
@@ -460,155 +469,163 @@ msgstr "Data yang dipilih tetikus akan ditulis ke clipboard"
msgid "Enable notification after selecting text"
msgstr ""
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr "Tambahkan pada bookmark"
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr "Hapus bookmark"
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr "Perlihatkan semua bookmark"
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr "Tutup file ini"
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr "Informasi file"
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr "Jalankan perintah"
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr "Bantuan"
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr "Buka dokumen"
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr "Tutup zathura"
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr "Cetak dokumen"
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr "Simpan dokumen"
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr "Simpan dokumen (dan menimpa berkas)"
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr "Simpan lampiran"
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr "Set offset halaman"
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr "Tandai lokasi sekarang dalam dokumen"
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr "Hapus tanda terpilih"
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr "Jangan menyorot hasil cari sekarang"
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr "Sorot hasil pencarian sekarang"
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr "Tunjukan informasi versi"
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr "Gagal menjalankan program xdg-open"
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr "Link: halaman %d"
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr "Link: %s"
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr "Link: Tidak valid"
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr "Mengembalikan jendela sesuai dengan xid yang ditentukan (X11)"
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr "Path ke direktori konfigurasi"
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr "Path ke direktori data"
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr ""
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr "Path ke direktori plugin"
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr "Jalankan pada latar"
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr "Kata sandi dokumen"
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr "Nomor halaman tujuan"
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr "Tingkat log (debug, info, peringatan, error)"
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr "Cetak informasi versi"
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex editor (diteruskan ke perintah synctex)"
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr ""
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr ""
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr ""
@@ -643,27 +660,27 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Dokumen ini tidak mempunyai indeks"
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr "[Tidak berjudul]"
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
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:737
+#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: zathura/zathura.c:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr ""
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Tipe berkas tidak didukung. Silakan memasang plugin yang dibutuhkan."
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
msgid "Document does not contain any pages"
msgstr "Dokumen tidak mempunyai laman apapun"
diff --git a/po/it.po b/po/it.po
index ee30483..f0c4cb2 100644
--- a/po/it.po
+++ b/po/it.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\n"
"PO-Revision-Date: 2018-02-25 18:29+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Italian (http://www.transifex.com/projects/p/zathura/language/"
@@ -51,9 +51,14 @@ msgstr "Mostra i segnalibri"
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -83,14 +88,14 @@ msgid "Copied selected image to selection %s"
msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr "Numero di argomenti errato."
@@ -178,63 +183,67 @@ msgstr "Numero di argomenti eccessivo."
msgid "No arguments given."
msgstr "Nessun argomento specificato."
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr "Documento salvato."
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr "Impossibile salvare il documento."
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr "Numero di argomenti non valido."
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Impossibile salvare l' allegato '%s' in '%s'"
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Allegato '%s' salvato in '%s'"
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Immagine '%s' salvata come '%s'"
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Impossibile salvare l' immagine '%s' come '%s'"
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr "Immagine sconosciuta '%s'"
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Immagine o allegato sconosciuti '%s"
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr "L' argomento dev' essere un numero."
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr "Pagina %d"
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr "Allegati"
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr "Immagini"
@@ -463,155 +472,163 @@ msgstr ""
msgid "Enable notification after selecting text"
msgstr "Attiva la notifica dopo aver selezionato del testo"
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr "Aggiungi un segnalibro"
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr "Elimina un segnalibro"
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr "Mostra i segnalibri"
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr "Chiudi il file corrente"
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr "Mostra le informazioni sul file"
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr "Esegui un comando"
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr "Mostra l' aiuto"
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr "Apri un documento"
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr "Chiudi zathura"
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr "Stampa il documento"
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr "Salva il documento"
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr "Salva il documento (e sovrascrivi)"
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr "Salva allegati"
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr "Imposta l' offset della pagina"
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr "Segna la posizione attuale all'interno del documento"
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr ""
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr "Non evidenziare i risultati della ricerca in corso"
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr "Evidenzia i risultati della ricerca in corso"
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr "Mostra informazioni sulla versione"
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr "Impossibile eseguire xdg-open."
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr "Link: pagina %d"
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr "Link: %s"
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr "Link: non valido"
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr "Percorso della directory della configurazione"
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr "Percorso della directory dei dati"
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr "Percorso della cartella di cache"
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr "Percorso della directory contenente i plugin"
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr "Crea un processo separato"
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr "Password del documento"
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr ""
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr "Livello di log (debug, info, warning, error)"
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr "Mostra le informazioni sul file"
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr ""
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr ""
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr ""
@@ -646,28 +663,28 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Questo documento non contiene l' indice"
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr "[Nessun nome]"
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
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:737
+#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: zathura/zathura.c:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr ""
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
"Tipo di file non supportato. Per favore, installa il plugin necessario."
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
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 7c43dca..625bdd2 100644
--- a/po/lt.po
+++ b/po/lt.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\n"
"PO-Revision-Date: 2018-02-25 18:29+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Lithuanian (http://www.transifex.com/projects/p/zathura/"
@@ -49,9 +49,14 @@ msgstr "Žymių sąrašas"
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -81,14 +86,14 @@ msgid "Copied selected image to selection %s"
msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr "Duotų parametrų skaičius yra neteisingas."
@@ -176,63 +181,67 @@ msgstr "Per daug parametrų."
msgid "No arguments given."
msgstr "Parametrai neduoti."
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr "Dokumentas išsaugotas."
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr "Dokumento išsaugoti nepavyko."
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr "Neteisingas parametrų skaičius."
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Priedas „%s“ negalėjo būti įrašytas į „%s“."
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Priedas „%s“ įrašytas į „%s“."
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Atvaizdas „%s“ įrašytas į „%s“."
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Atvaizdas „%s“ negalėjo būti įrašytas į „%s“,"
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr "Nežinomas atvaizdas „%s“."
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Nežinomas priedas ar atvaizdas „%s“."
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr "Parametras turi būti skaičius."
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr "%d puslapis"
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr "Priedai"
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr "Atvaizdai"
@@ -461,155 +470,163 @@ msgstr ""
msgid "Enable notification after selecting text"
msgstr ""
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr "Pridėti žymę"
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr "Ištrinti žymę"
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr "Žymių sąrašas"
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr "Uždaryti dabartinę bylą"
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr "Rodyti bylos informaciją"
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr ""
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr "Rodyti pagalbą"
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr "Atidryti dokumentą"
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr "Uždaryti zathura"
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr "Atspausdinti dokumentą"
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr "Išsaugoti dokumentą"
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr "Išsaugoti dokumentą (ir priverstinai perašyti)"
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr "Išsaugoti priedus"
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr "Nustatyti puslapio poslinkį"
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr "Pažymėti dabartinę dokumento vietą"
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr "Ištrinti šias žymes"
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr "Nežymėti dabartinės paieškos rezultatų"
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr "Pažymėti dabartinės paieškos rezultatus"
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr "Rodyti versijos informaciją"
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr "Klaida xdg-open paleidime."
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr "Nuoroda: %d puslapis"
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr "Nuoroda: %s"
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr "Neteisinga nuoroda"
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr "Konfigūracinių failų aplanko adresas"
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr "Duomenų aplanko adresas"
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr ""
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr "Įskiepių aplanko adresas"
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr ""
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr "Dokumento slaptažodis"
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr "Pereiti į puslapį"
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr "Registravimo lygis (derinimas, informacija, įspėjimai, klaidos)"
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr "Spausdinti versijos informaciją"
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex redaktorius (naudojama synctex komandoje)"
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr ""
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr ""
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr ""
@@ -644,26 +661,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Šit dokumentas neturi turinio"
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr "[Bevardis]"
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: zathura/zathura.c:737
+#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: zathura/zathura.c:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr ""
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Bylos tipas nepalaikomas. Įdiekite tam skirtus įskiepius."
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
msgid "Document does not contain any pages"
msgstr "Dokumente puslapių nėra"
diff --git a/po/nl.po b/po/nl.po
index ff20507..606b3a4 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\n"
"PO-Revision-Date: 2018-02-25 18:33+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Dutch (http://www.transifex.com/pwmt/zathura/language/nl/)\n"
@@ -48,9 +48,14 @@ msgstr "Alle bladwijzers weergeven"
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -80,14 +85,14 @@ msgid "Copied selected image to selection %s"
msgstr "Afbeelding gekopieerd naar selectie %s"
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260
#: zathura/shortcuts.c:1287
msgid "No document opened."
msgstr "Geen geopend document."
-#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr "Ongeldig aantal argumenten opgegeven."
@@ -174,63 +179,67 @@ msgstr "Teveel argumenten."
msgid "No arguments given."
msgstr "Geen argumenten opgegeven."
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr "Document opgeslagen."
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr "Document opslaan mislukt."
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr "Ongeldig aantal argumenten."
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Bijlage '%s' kan niet worden weggeschreven naar '%s'."
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Bijlage '%s' weggeschreven naar '%s'."
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Afbeelding '%s' weggeschreven naar '%s'."
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Afbeelding '%s' kan niet worden weggeschreven naar '%s'."
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr "Onbekende afbeelding '%s'."
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Onbekende bijlage of afbeelding '%s'."
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr "Argument moeten een getal zijn."
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr "Pagina %d"
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr "Bijlagen"
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr "Afbeeldingen"
@@ -465,155 +474,163 @@ msgstr ""
msgid "Enable notification after selecting text"
msgstr "Melding inschakelen na selecteren van tekst"
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr "Bladwijzer toevoegen"
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr "Bladwijzer verwijderen"
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr "Alle bladwijzers weergeven"
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr "Huidig bestand sluiten"
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr "Bestandsinformatie weergeven"
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr "Opdracht uitvoeren"
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr "Hulp weergeven"
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr "Document openen"
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr "Zathura sluiten"
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr "Document afdrukken"
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr "Document opslaan"
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr "Document opslaan (en overschrijven forceren)"
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr "Bijlagen opslaan"
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr "Pagina-afwijking instellen"
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr "Huidige locatie in document markeren"
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr "Opgegeven markeringen verwijderen"
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr "Huidige zoekresultaten niet markeren"
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr "Huidige zoekresultaten markeren"
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr "Versie-informatie weergeven"
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr "Uitvoeren van xdg-open mislukt."
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr "Link: pagina %d"
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr "Link: %s"
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr "Link: ongeldig"
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr "Wordt bij bovenliggend, door xid (X11) opgegeven venster gevoegd"
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr "Pad naar de configuratiemap"
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr "Pad naar de gegevensmap"
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr "Pad naar de cachemap"
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr "Pad naar de mappen die plug-ins bevatten"
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr "Naar achtergrond verplaatsen"
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr "Documentwachtwoord"
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr "Paginanummer om naartoe te gaan"
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr "Logniveau (foutopsporing, informatie, waarschuwing, fout)"
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr "Versie-informatie afdrukken"
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex-bewerker (wordt doorgestuurd naar de synctex-opdracht)"
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr "Verplaatsen naar opgegeven synctex-positie"
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr "Opgegeven positie markeren in het opgegeven proces"
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr "Starten in een niet-standaardmodus"
@@ -648,30 +665,30 @@ msgstr "Patroon niet gevonden: %s"
msgid "This document does not contain any index"
msgstr "Dit document bevat geen index"
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr "[Naamloos]"
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
"Bestand kan niet worden gelezen uit stdin en worden weggeschreven naar een "
"tijdelijk bestand."
-#: zathura/zathura.c:737
+#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
"Bestand kan niet worden gelezen uit GIO en worden gekopieerd naar een "
"tijdelijk bestand."
-#: zathura/zathura.c:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr "Wachtwoord invoeren:"
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Niet-ondersteund bestandstype. Installeer de benodigde plug-in."
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
msgid "Document does not contain any pages"
msgstr "Document bevat geen pagina's"
diff --git a/po/no.po b/po/no.po
index 3aac926..0a18820 100644
--- a/po/no.po
+++ b/po/no.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\n"
"PO-Revision-Date: 2018-02-25 18:29+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Norwegian (http://www.transifex.com/projects/p/zathura/"
@@ -48,9 +48,14 @@ msgstr "List alle bokmerker"
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -80,14 +85,14 @@ msgid "Copied selected image to selection %s"
msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr "Ugyldig nummer av argumenter gitt."
@@ -175,63 +180,67 @@ msgstr "For mange argumenter."
msgid "No arguments given."
msgstr "Ingen argumenter gitt."
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr "Dokumentet er lagret."
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr "Kunne ikke lagre dokumentet."
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr "Ugyldig nummer av argumenter."
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Kunne ikke skrive vedlegg '%s' til '%s'."
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Skrev vedlegg '%s' til '%s'."
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Skrev bilde '%s' til '%s'."
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Kunne ikke skrive bilde '%s' til '%s'."
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr "Ukjent bilde '%s'."
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Ukjent vedlegg eller bilde '%s'."
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr "Argumentet må være et tall."
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr "Side %d"
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr "Vedlegg"
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr "Bilder"
@@ -460,155 +469,163 @@ msgstr ""
msgid "Enable notification after selecting text"
msgstr ""
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr "Legg til bokmerke"
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr "Slett bokmerke"
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr "List alle bokmerker"
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr "Lukk den gjeldende filen"
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr "Vis filinformasjon"
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr "Kjør en kommando"
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr "Vis hjelp"
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr "Åpne dokument"
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr "Lukk zathura"
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr "Skriv ut dokument"
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr "Lagre dokument"
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr "Lagre dokument (og tving til å skrive over)"
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr "Lagre vedlegg"
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr ""
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr "Marker nåværende lokalasjon i dokumentet"
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr "Slett spesifiserte merker"
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr "Ikke uthev gjeldende søkeresultater"
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr "Uthev følgende søkeresultater"
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr "Vis versjonsinformasjon"
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr "Klarte ikke å kjøre xdg-open."
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr "Link: side %d"
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr ""
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr "Link: Ugyldig"
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr "Sti til konfigureringsmappe"
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr "Sti til data-mappe"
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr ""
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr "Sti til mapper som inneholder plugins"
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr ""
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr "Dokument passord"
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr "Sidetall å gå til"
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr "Logg nivå (diagnostisering, info, advarsler, feil)"
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr "Skriv ut versjonsinformasjon"
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr ""
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr ""
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr "Start i ikke-standard modus"
@@ -643,26 +660,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Dette dokumenetet inneholder ikke noen index"
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr "[Inget navn]"
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
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:737
+#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: zathura/zathura.c:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr ""
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Usupportert filtype. Vennligst innstaller den nødvendige pluginen."
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
msgid "Document does not contain any pages"
msgstr "Dokumentet inneholder ingen sider"
diff --git a/po/pl.po b/po/pl.po
index 6cad8a7..6086d9b 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\n"
"PO-Revision-Date: 2018-02-25 18:30+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Polish (http://www.transifex.com/projects/p/zathura/language/"
@@ -50,9 +50,14 @@ msgstr "Wyświetl zakładki"
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -82,14 +87,14 @@ msgid "Copied selected image to selection %s"
msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr "Nieprawidłowa liczba parametrów polecenia"
@@ -177,63 +182,67 @@ msgstr "Za dużo parametrów polecenia"
msgid "No arguments given."
msgstr "Nie podano parametrów polecenia"
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr "Zapisano dokument"
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr "Błąd zapisu"
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr "Niewłaściwa liczba parametrów polecenia"
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Nie można dodać załącznika %s do pliku %s"
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Zapisano załącznik %s do pliku %s"
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Obrazek %s zapisano do pliku %s"
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Nie można dodać obrazka %s do pliku %s"
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr "Nieznany obrazek '%s'."
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Nieznany załącznik lub obrazek '%s'."
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr "Parametr polecenia musi być liczbą"
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr "Strona %d"
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr "Załączniki"
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr "Obrazki"
@@ -462,155 +471,163 @@ msgstr ""
msgid "Enable notification after selecting text"
msgstr ""
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr "Dodaj zakładkę"
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr "Usuń zakładkę"
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr "Wyświetl zakładki"
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr "Zamknij plik"
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr "Wyświetl informacje o pliku"
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr "Wykonaj polecenie"
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr "Wyświetl pomoc"
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr "Otwórz plik"
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr "Zakończ"
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr "Wydrukuj"
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr "Zapisz"
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr "Zapisz (nadpisując istniejący plik)"
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr "Zapisz załączniki"
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr "Ustaw przesunięcie numerów stron"
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr "Zaznacz aktualną pozycję w dokumencie"
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr "Skasuj określone zakładki"
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr "Nie podświetlaj aktualnych wyników wyszukiwania "
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr "Podświetl aktualne wyniki wyszukiwania"
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr "Wyświetl informacje o wersji"
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr "Wystąpił problem z uruchomieniem xdg-open"
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr "Link: strona %d"
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr "Link: %s"
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr "Nieprawidłowy link"
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr "Przypisz proces do rodzica o danym xid (X11)"
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr "Położenie katalogu konfiguracyjnego"
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr "Położenie katalogu danych"
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr ""
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr "Położenie katalogu wtyczek"
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr "Forkuj w tle"
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr "Hasło dokumentu"
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr ""
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr "Szczegółowość komunikatów (debug, info, warning, error)"
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr "Wyświetl informacje o wersji"
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Edytor synctex (przekierowanie do komendy synctex)"
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr ""
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr ""
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr ""
@@ -645,26 +662,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Dokument nie zawiera indeksu"
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr "[bez nazwy]"
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: zathura/zathura.c:737
+#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: zathura/zathura.c:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr ""
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Niewspierany rodzaj pliku. Zainstaluj wymagane wtyczki"
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
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 ab45bec..d2420ee 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: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\n"
"PO-Revision-Date: 2018-02-25 18:30+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/"
@@ -48,9 +48,14 @@ msgstr "Listar todos favoritos"
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -80,14 +85,14 @@ msgid "Copied selected image to selection %s"
msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr "Número de argumentos dados inválidos."
@@ -175,63 +180,67 @@ msgstr "Muitos argumentos."
msgid "No arguments given."
msgstr "Nenhum argumento dado."
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr "Documento salvo."
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr "Falha ao salvar o documento."
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr "Número de argumento invalido."
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Não foi possível gravar anexo '%s' para '%s'."
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Escreveu anexo '%s' para '%s'."
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Escreveu imagem '%s' para '%s'."
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Não foi possível gravar imagem '%s' para '%s'."
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr "Imagem desconhecida '%s'."
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Anexo desconhecido ou imagem '%s'."
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr "O argumento deve ser um número."
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr "Página %d"
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr "Anexos"
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr "Imagens"
@@ -463,155 +472,163 @@ msgstr ""
msgid "Enable notification after selecting text"
msgstr ""
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr "Adicionar um favorito"
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr "Deletar um favorito"
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr "Listar todos favoritos"
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr "Fechar arquivo atual"
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr "Mostrar informações do arquivo"
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr "Executar um comando"
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr "Mostrar ajuda"
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr "Abrir documento"
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr "Fechar zathura"
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr "Imprimir documento"
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr "Salvar documento"
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr "Salvar documento (e forçar sobrescrever)"
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr "Salvar anexos"
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr "Definir deslocamento da página"
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr "Marcar localização atual no documento"
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr "Apagar as marcas especificadas"
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr "Não destacar resultados de busca atual"
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr "Destacar resultado de busca atual"
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr "Mostrar informações sobre a versão"
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr "Falha ao executar xdg-open."
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr "Link: página %d"
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr "Link: %s"
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr "Link: Inválido"
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr "Reparar a janela especificada por xid (X11)"
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr "Caminho de diretório para configuração"
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr "Caminho para diretório de dados"
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr ""
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr "Caminho de diretório que contenham plugins"
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr "Deslocar no fundo"
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr "Senha do documento"
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr "Número da página para ir"
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr "Nível de log (depurar, informação, aviso, erro)"
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr "Imprimir informações sobre a versão"
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor synctex (encaminhado para o comando synctex)"
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr "Mover para determinada posição synctex"
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr "Destacar determinada posição no determinado processo"
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr "Começar em um modo não padrão"
@@ -646,29 +663,29 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Este documento não contem qualquer índice"
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr "[Sem nome]"
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
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:737
+#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: zathura/zathura.c:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr ""
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
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:871
+#: zathura/zathura.c:882
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 5041ae3..a0e0a34 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\n"
"PO-Revision-Date: 2018-02-25 18:30+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Russian (http://www.transifex.com/projects/p/zathura/language/"
@@ -52,9 +52,14 @@ msgstr "Показать все закладки"
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -84,14 +89,14 @@ msgid "Copied selected image to selection %s"
msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr "Указано неверное число аргументов."
@@ -179,63 +184,67 @@ msgstr "Слишком много аргументов."
msgid "No arguments given."
msgstr "Отсутствуют аргументы."
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr "Документ сохранён."
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr "Не удалось сохранить документ."
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr "Неверное количество аргументов."
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Не удалось сохранить приложенный файл «%s» в «%s»."
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Файл «%s» сохранён в «%s»."
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Изображение «%s» сохранено в «%s»."
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Не удалось записать изображение «%s» в «%s»."
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr "Неизвестное изображение «%s»."
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Неизвестное вложение или изображение «%s»."
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr "Аргумент должен быть числом."
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr "Страница %d"
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr "Прикреплённые файлы"
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr "Изображения"
@@ -464,155 +473,163 @@ msgstr "Буфер для записи данных из области выде
msgid "Enable notification after selecting text"
msgstr ""
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr "Добавить закладку"
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr "Удалить закладку"
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr "Показать все закладки"
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr "Закрыть текущий файл"
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr "Показать информацию о файле"
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr "Выполнить команду"
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr "Помощь"
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr "Открыть документ"
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr "Выход"
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr "Печать"
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr "Сохранить документ"
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr "Сохранить документ (с перезаписью)"
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr "Сохранить прикреплённые файлы"
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr "Сохранить смещение страницы"
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr "Пометить текущую позицию в документе"
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr "Удалить указанные пометки"
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr "Не подсвечивать результаты текущего поиска"
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr "Подсветить результаты текущего поиска"
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr "Показать информацию о версии файла"
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr "Не удалось запустить xdg-open"
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr "Ссылка: страница %d"
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr "Ссылка: %s"
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr "Ссылка: неправильная"
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr "Сменить материнское окно на окно, указанное в xid (X11)"
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr "Путь к каталогу с настройкой"
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr "Путь к каталогу с данными"
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr ""
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr "Путь к каталогу с плагинами"
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr "Запустить в фоне"
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr "Пароль документа"
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr "Перейти к странице номер"
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr "Уровень журналирования (debug, info, warning, error)"
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr "Показать информацию о файле"
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Редактор для synctex (передаётся далее программе synctex)"
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr "Перейти к указанному положению synctex"
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr "Подсветка заданного положения в заданном процессе"
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr "Запустить в специальном режиме"
@@ -647,28 +664,28 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "В документе нет индекса"
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr "[Без названия]"
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
"Не удалось прочитать файл со стандартного входа и записать его во временный "
"файл."
-#: zathura/zathura.c:737
+#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: zathura/zathura.c:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr ""
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Тип файла не поддерживается. Установите соответствующий плагин."
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
msgid "Document does not contain any pages"
msgstr "В документе нет страниц"
diff --git a/po/ta_IN.po b/po/ta_IN.po
index 4bff649..4d5e271 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: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\n"
"PO-Revision-Date: 2018-02-25 18:31+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Tamil (India) (http://www.transifex.net/projects/p/zathura/"
@@ -48,9 +48,14 @@ msgstr "அனைத்து bookmark-களையும் பட்டிய
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -80,14 +85,14 @@ msgid "Copied selected image to selection %s"
msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr "கொடுக்கப்பட்ட arguments-களின் எண்ணிக்கை தவறு"
@@ -175,63 +180,67 @@ msgstr "Argumentகளின் எண்ணிக்கை மிகவும
msgid "No arguments given."
msgstr "எந்த argument-ம் தரப்படவில்லை"
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr "கோப்பு சேமிக்கப்பட்டது"
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr "ஆவணத்தை சேமிக்க இயலவில்லை"
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr "கொடுக்கப்பட்ட argument-களின் எண்ணிக்கை தவறு"
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr "Argument ஒரு எண்ணாக இருக்க வேண்டும்"
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr ""
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr "இணைப்புகளைச் சேமிக்கவும்"
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr ""
@@ -460,155 +469,163 @@ msgstr ""
msgid "Enable notification after selecting text"
msgstr ""
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr "புதிய bookmark உருவாக்கு"
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr "Bookmark-ஐ அழித்துவிடு"
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr "அனைத்து bookmark-களையும் பட்டியலிடு"
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr ""
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு"
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr ""
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr "உதவியைக் காட்டு"
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr "ஒரு ஆவணத்தைத் திற"
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr "zathura-வை விட்டு வெளியேறு"
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr "ஆவணத்தை அச்சிடு"
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr "ஆவணத்தை சேமிக்கவும்"
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr ""
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr "இணைப்புகளைச் சேமிக்கவும்"
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr ""
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr ""
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr ""
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr ""
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr ""
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr ""
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr "xdg-open-ஐ இயக்க முடியவில்லை"
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr ""
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr ""
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr ""
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr ""
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr ""
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr ""
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr ""
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr ""
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr ""
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr ""
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr ""
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr ""
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு"
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr ""
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr ""
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr ""
@@ -643,26 +660,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "இந்த ஆவணத்தில் எந்த index-ம் இல்லை"
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr "பெயரற்ற ஆவணம்"
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: zathura/zathura.c:737
+#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: zathura/zathura.c:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr ""
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/tr.po b/po/tr.po
index 12201b1..015c422 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\n"
"PO-Revision-Date: 2018-02-25 18:31+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Turkish (http://www.transifex.net/projects/p/zathura/language/"
@@ -49,9 +49,14 @@ msgstr "Yer imlerini listele"
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -81,14 +86,14 @@ msgid "Copied selected image to selection %s"
msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr "Yanlış sayıda argüman"
@@ -176,63 +181,67 @@ msgstr "Çok fazla sayıda argüman."
msgid "No arguments given."
msgstr "Argüman verilmedi."
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr "Belge kaydedildi."
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr "Belge kaydedilemedi."
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr "Yanlış sayıda argüman."
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazılamadı."
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazıldı."
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazıldı."
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazılamadı."
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr "Tanınmayan resim dosyası '%s'"
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Tanınmayan eklenti veya resim dosyası '%s'"
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr "Argüman bir sayı olmalı."
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr "Sayfa %d"
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr "Ekleri kaydet"
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr "Resimler"
@@ -461,155 +470,163 @@ msgstr ""
msgid "Enable notification after selecting text"
msgstr ""
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr "Yer imi ekle"
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr "Yer imi sil"
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr "Yer imlerini listele"
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr "Geçerli dosyayı kapat"
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr "Dosya bilgisi göster"
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr "Bir komut çalıştır"
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr "Yardım bilgisi göster"
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr "Belge aç"
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr "Zathura'yı kapat"
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr "Belge yazdır"
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr "Belgeyi kaydet"
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr "Belgeyi kaydet (ve sormadan üzerine yaz)"
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr "Ekleri kaydet"
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr "Sayfa derinliğini ayarla"
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr "Bu belgede bu konumu işaretle"
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr "Seçilen işaretlemeleri sil"
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr "Şuanki arama sonuçlarını vurgulama"
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr "Şuanki arama sonuçlarını vurgula"
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr "Versiyon bilgisi göster"
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr "xdg-open çalıştırılamadı"
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr ""
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr ""
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr ""
-#: zathura/main.c:146
+#: zathura/main.c:150
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:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr "Ayar dizini adresi"
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr "Veri dizini adresi"
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr ""
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr "Eklentileri içeren dizinin adresi"
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr "Arka planda işlemden çocuk oluştur"
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr "Belge şifresi"
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr ""
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr "Kayıt seviyesi (hata ayıklama, bilgi, uyarı, hata)"
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr "Dosya bilgisi göster"
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr ""
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr ""
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr ""
@@ -644,26 +661,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Bu belge fihrist içermiyor"
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr "[İsimsiz]"
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: zathura/zathura.c:737
+#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: zathura/zathura.c:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr ""
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
msgid "Document does not contain any pages"
msgstr ""
diff --git a/po/uk_UA.po b/po/uk_UA.po
index 0445a29..e0363b0 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: \n"
-"POT-Creation-Date: 2018-02-25 20:12+0100\n"
+"POT-Creation-Date: 2018-03-11 20:56+0100\n"
"PO-Revision-Date: 2018-02-25 18:31+0100\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/projects/p/"
@@ -49,9 +49,14 @@ msgstr "Дивитись усі закладки"
msgid "Automatic document reloading."
msgstr ""
+#. Translators: Icon of the desktop entry.
+#: data/org.pwmt.zathura.desktop.in:9
+msgid "org.pwmt.zathura"
+msgstr ""
+
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
-#: data/org.pwmt.zathura.desktop.in:12
+#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
msgstr ""
@@ -81,14 +86,14 @@ msgid "Copied selected image to selection %s"
msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
-#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:304
-#: zathura/commands.c:330 zathura/commands.c:430 zathura/commands.c:557
+#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
+#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566
#: 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:435
+#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444
msgid "Invalid number of arguments given."
msgstr "Вказана невірна кількість аргументів."
@@ -176,63 +181,67 @@ msgstr "Забагато аргументів."
msgid "No arguments given."
msgstr "Жодного аргументу не вказано."
-#: zathura/commands.c:310 zathura/commands.c:336
+#: zathura/commands.c:286
+msgid "Printing is not permitted in strict sandbox mode"
+msgstr ""
+
+#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
msgstr "Документ збережено."
-#: zathura/commands.c:312 zathura/commands.c:338
+#: zathura/commands.c:321 zathura/commands.c:347
msgid "Failed to save document."
msgstr "Документ не вдалося зберегти."
-#: zathura/commands.c:315 zathura/commands.c:341
+#: zathura/commands.c:324 zathura/commands.c:350
msgid "Invalid number of arguments."
msgstr "Невірна кількість аргументів."
-#: zathura/commands.c:454
+#: zathura/commands.c:463
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Неможливо записати прикріплення '%s' до '%s'."
-#: zathura/commands.c:456
+#: zathura/commands.c:465
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Прикріплення записано %s до %s."
-#: zathura/commands.c:500
+#: zathura/commands.c:509
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
-#: zathura/commands.c:502
+#: zathura/commands.c:511
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
-#: zathura/commands.c:509
+#: zathura/commands.c:518
#, c-format
msgid "Unknown image '%s'."
msgstr ""
-#: zathura/commands.c:513
+#: zathura/commands.c:522
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
-#: zathura/commands.c:570
+#: zathura/commands.c:579
msgid "Argument must be a number."
msgstr "Аргумент повинен бути цифрою."
-#: zathura/completion.c:283
+#: zathura/completion.c:287
#, c-format
msgid "Page %d"
msgstr ""
-#: zathura/completion.c:326
+#: zathura/completion.c:330
msgid "Attachments"
msgstr ""
#. add images
-#: zathura/completion.c:357
+#: zathura/completion.c:361
msgid "Images"
msgstr ""
@@ -461,155 +470,163 @@ msgstr ""
msgid "Enable notification after selecting text"
msgstr ""
+#: zathura/config.c:252
+msgid "Sandbox level"
+msgstr ""
+
#. define default inputbar commands
-#: zathura/config.c:440
+#: zathura/config.c:441
msgid "Add a bookmark"
msgstr "Додати закладку"
-#: zathura/config.c:441
+#: zathura/config.c:442
msgid "Delete a bookmark"
msgstr "Вилучити закладку"
-#: zathura/config.c:442
+#: zathura/config.c:443
msgid "List all bookmarks"
msgstr "Дивитись усі закладки"
-#: zathura/config.c:443
+#: zathura/config.c:444
msgid "Close current file"
msgstr "Закрити документ"
-#: zathura/config.c:444
+#: zathura/config.c:445
msgid "Show file information"
msgstr "Показати інформацію файлу"
-#: zathura/config.c:445 zathura/config.c:446
+#: zathura/config.c:446 zathura/config.c:447
msgid "Execute a command"
msgstr ""
#. like vim
-#: zathura/config.c:447
+#: zathura/config.c:448
msgid "Show help"
msgstr "Показати довідку"
-#: zathura/config.c:448
+#: zathura/config.c:449
msgid "Open document"
msgstr "Відкрити документ"
-#: zathura/config.c:449
+#: zathura/config.c:450
msgid "Close zathura"
msgstr "Вийти із zathura"
-#: zathura/config.c:450
+#: zathura/config.c:451
msgid "Print document"
msgstr "Друкувати документ"
-#: zathura/config.c:451
+#: zathura/config.c:452
msgid "Save document"
msgstr "Зберегти документ"
-#: zathura/config.c:452
+#: zathura/config.c:453
msgid "Save document (and force overwriting)"
msgstr "Зберегти документ (форсувати перезапис)"
-#: zathura/config.c:453
+#: zathura/config.c:454
msgid "Save attachments"
msgstr "Зберегти прикріплення"
-#: zathura/config.c:454
+#: zathura/config.c:455
msgid "Set page offset"
msgstr "Встановити зміщення сторінки"
-#: zathura/config.c:455
+#: zathura/config.c:456
msgid "Mark current location within the document"
msgstr ""
-#: zathura/config.c:456
+#: zathura/config.c:457
msgid "Delete the specified marks"
msgstr ""
-#: zathura/config.c:457
+#: zathura/config.c:458
msgid "Don't highlight current search results"
msgstr ""
-#: zathura/config.c:458
+#: zathura/config.c:459
msgid "Highlight current search results"
msgstr ""
-#: zathura/config.c:459
+#: zathura/config.c:460
msgid "Show version information"
msgstr ""
-#: zathura/links.c:203 zathura/links.c:282
+#: zathura/links.c:211
+msgid "Opening external applications in strict sandbox mode is not permitted"
+msgstr ""
+
+#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
msgstr "Запуск xdg-open не вдався."
-#: zathura/links.c:221
+#: zathura/links.c:234
#, c-format
msgid "Link: page %d"
msgstr ""
-#: zathura/links.c:228
+#: zathura/links.c:241
#, c-format
msgid "Link: %s"
msgstr ""
-#: zathura/links.c:232
+#: zathura/links.c:245
msgid "Link: Invalid"
msgstr ""
-#: zathura/main.c:146
+#: zathura/main.c:150
msgid "Reparents to window specified by xid (X11)"
msgstr "Вертатися до вікна, вказаного xid (X11)"
-#: zathura/main.c:147
+#: zathura/main.c:151
msgid "Path to the config directory"
msgstr "Шлях до теки конфігурації"
-#: zathura/main.c:148
+#: zathura/main.c:152
msgid "Path to the data directory"
msgstr "Шлях до теки з даними"
-#: zathura/main.c:149
+#: zathura/main.c:153
msgid "Path to the cache directory"
msgstr ""
-#: zathura/main.c:150
+#: zathura/main.c:154
msgid "Path to the directories containing plugins"
msgstr "Шлях до теки з плаґінами"
-#: zathura/main.c:151
+#: zathura/main.c:155
msgid "Fork into the background"
msgstr "Працювати у фоні"
-#: zathura/main.c:152
+#: zathura/main.c:156
msgid "Document password"
msgstr ""
-#: zathura/main.c:153
+#: zathura/main.c:157
msgid "Page number to go to"
msgstr ""
-#: zathura/main.c:154
+#: zathura/main.c:158
msgid "Log level (debug, info, warning, error)"
msgstr "Рівень логування (налагодження, інфо, застереження, помилка)"
-#: zathura/main.c:155
+#: zathura/main.c:159
msgid "Print version information"
msgstr "Показати інформацію файлу"
-#: zathura/main.c:157
+#: zathura/main.c:161
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
-#: zathura/main.c:158
+#: zathura/main.c:162
msgid "Move to given synctex position"
msgstr ""
-#: zathura/main.c:159
+#: zathura/main.c:163
msgid "Highlight given position in the given process"
msgstr ""
-#: zathura/main.c:161
+#: zathura/main.c:165
msgid "Start in a non-default mode"
msgstr ""
@@ -644,26 +661,26 @@ msgstr ""
msgid "This document does not contain any index"
msgstr "Індекс відсутній в цьому документі"
-#: zathura/zathura.c:292 zathura/zathura.c:1356
+#: zathura/zathura.c:295 zathura/zathura.c:1367
msgid "[No name]"
msgstr "[Без назви]"
-#: zathura/zathura.c:721
+#: zathura/zathura.c:732
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
-#: zathura/zathura.c:737
+#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
-#: zathura/zathura.c:826
+#: zathura/zathura.c:837
msgid "Enter password:"
msgstr ""
-#: zathura/zathura.c:861
+#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
-#: zathura/zathura.c:871
+#: zathura/zathura.c:882
msgid "Document does not contain any pages"
msgstr ""
From a647b921d534c8fc997bd2b717ca675eb96c258b Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Mon, 12 Mar 2018 13:39:39 +0100
Subject: [PATCH 124/126] Update build instructions
---
README | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/README b/README
index 8c8d2c8..092d492 100644
--- a/README
+++ b/README
@@ -22,20 +22,20 @@ doxygen (optional, for HTML documentation)
breathe (optional, for HTML documentation)
sphinx_rtd_theme (optional, for HTML documentation)
-Also note that Sphinx is needed to build the manpages. If it is not
-installed, the man pages won't be built. For the HTML documentation, doxygen,
-breathe and sphinx_rtd_theme are needed in addition to Sphinx.
+Note that Sphinx is needed to build the manpages. If it is not installed, the
+man pages won't be built. For the HTML documentation, doxygen, breathe and
+sphinx_rtd_theme are needed in addition to Sphinx.
-If you don't want to build with support for sqlite databases, you can set
-enable-sqlite=off and sqlite support won't be available.
+If you don't want to build with support for sqlite databases, you can configure
+the build system with -Denable-sqlite=false and sqlite support won't be available.
-The use of magic to detect mime types is optional and can be disabled by setting
-enable-magic=off.
+The use of magic to detect mime types is optional and can be disabled by
+configuring the build system with -Denable-magic=false.
The use of seccomp to create a sandboxed environment is optional and can be
-enabled by setting enable-seccomp=on. Note that the sandbox is currently only
-available as experimental preview. Some commands, shortcuts and other
-functionality might break.
+enabled by configure the build system with -Denable-seccomp=true. Note that the
+sandbox is currently only available as experimental preview. Some commands,
+shortcuts and other functionality might break.
Installation
------------
From 0ba79b28364e9c616feb58ec64ff76aa06e162b1 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Fri, 16 Mar 2018 01:07:55 +0100
Subject: [PATCH 125/126] Update translations
---
po/ca.po | 13 +++++--------
po/cs.po | 25 +++++++++++--------------
po/de.po | 20 +++++++++-----------
po/el.po | 13 +++++--------
po/eo.po | 17 +++++++----------
po/es.po | 14 +++++---------
po/es_CL.po | 13 +++++--------
po/et.po | 15 ++++++---------
po/fr.po | 14 +++++---------
po/he.po | 8 +++-----
po/hr.po | 8 ++++----
po/id_ID.po | 48 +++++++++++++++++++++++-------------------------
po/it.po | 16 ++++++----------
po/lt.po | 15 ++++++---------
po/nl.po | 28 ++++++++++++++++------------
po/no.po | 15 ++++++---------
po/pl.po | 19 ++++++++-----------
po/pt_BR.po | 35 ++++++++++++++++-------------------
po/ru.po | 50 ++++++++++++++++++++++++--------------------------
po/ta_IN.po | 15 ++++++---------
po/tr.po | 16 ++++++----------
po/uk_UA.po | 15 ++++++---------
22 files changed, 188 insertions(+), 244 deletions(-)
diff --git a/po/ca.po b/po/ca.po
index 76468d0..03bf737 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -8,21 +8,19 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2018-02-25 18:24+0100\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-11 19:53+0000\n"
"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: Catalan (http://www.transifex.com/projects/p/zathura/language/"
-"ca/)\n"
+"Language-Team: Catalan (http://www.transifex.com/pwmt/zathura/language/ca/)\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 2.0.6\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
-msgstr ""
+msgstr "Zathura"
#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
@@ -41,9 +39,8 @@ msgid "SyncTeX forward and backward synchronization support."
msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:22
-#, fuzzy
msgid "Quickmarks and bookmarks."
-msgstr "Llista tots els marcadors"
+msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:23
msgid "Automatic document reloading."
diff --git a/po/cs.po b/po/cs.po
index 2d49663..7b15210 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2018-02-25 18:25+0100\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-11 19:53+0000\n"
"Last-Translator: Sebastian Ramacher \n"
"Language-Team: Czech (http://www.transifex.com/pwmt/zathura/language/cs/)\n"
"Language: cs\n"
@@ -16,11 +16,10 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
-"X-Generator: Poedit 2.0.6\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
-msgstr ""
+msgstr "Zathura"
#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
@@ -39,9 +38,8 @@ msgid "SyncTeX forward and backward synchronization support."
msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:22
-#, fuzzy
msgid "Quickmarks and bookmarks."
-msgstr "Vypsat všechny záložky"
+msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:23
msgid "Automatic document reloading."
@@ -79,9 +77,9 @@ msgid "Copied selected text to selection %s: %s"
msgstr "Vybraný text zkopírován do výběru %s: %s"
#: zathura/callbacks.c:698
-#, fuzzy, c-format
+#, c-format
msgid "Copied selected image to selection %s"
-msgstr "Vybraný text zkopírován do výběru %s: %s"
+msgstr ""
#: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103
#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313
@@ -126,9 +124,8 @@ msgid "Failed to remove bookmark: %s"
msgstr "Nepodařilo se smazat záložku: %s"
#: zathura/commands.c:119
-#, fuzzy
msgid "No bookmarks available."
-msgstr "Nejsou dostupné žádné informace."
+msgstr ""
#: zathura/commands.c:129
#, c-format
@@ -250,7 +247,7 @@ msgstr "Databázová vrstva"
#: zathura/config.c:146
msgid "File monitor backend"
-msgstr ""
+msgstr "Vrstva pro sledování souboru"
#: zathura/config.c:148
msgid "Zoom step"
@@ -370,7 +367,7 @@ msgstr "Vodorovně vystředěné přiblížení"
#: zathura/config.c:203
msgid "Vertically center pages"
-msgstr ""
+msgstr "Vystředit strany svisle"
#: zathura/config.c:205
msgid "Align link target to the left"
@@ -458,7 +455,7 @@ msgstr "Povolit službu D-Bus"
#: zathura/config.c:247
msgid "Save history at each page change"
-msgstr ""
+msgstr "Uložit historii při každé změně strany"
#: zathura/config.c:249
msgid "The clipboard into which mouse-selected data will be written"
@@ -648,7 +645,7 @@ msgstr "Nepodařilo se vytisknout: %s"
#: zathura/shortcuts.c:105
#, c-format
msgid "Invalid adjust mode: %d"
-msgstr ""
+msgstr "Neplatný režim úprav: %d"
#: zathura/shortcuts.c:977
#, c-format
diff --git a/po/de.po b/po/de.po
index 6a1a287..ee02f1b 100644
--- a/po/de.po
+++ b/po/de.po
@@ -8,17 +8,15 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2018-02-25 18:19+0100\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-16 01:11+0100\n"
"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: German (http://www.transifex.com/projects/p/zathura/language/"
-"de/)\n"
+"Language-Team: German (http://www.transifex.com/pwmt/zathura/language/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 2.0.6\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
@@ -38,16 +36,15 @@ msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:21
msgid "SyncTeX forward and backward synchronization support."
-msgstr ""
+msgstr "Unterstützung für SyncTeX-Synchronisation"
#: data/org.pwmt.zathura.appdata.xml.in:22
-#, fuzzy
msgid "Quickmarks and bookmarks."
-msgstr "Liste all Lesezeichen auf"
+msgstr "Markierungen und Lesezeichen."
#: data/org.pwmt.zathura.appdata.xml.in:23
msgid "Automatic document reloading."
-msgstr ""
+msgstr "Automatisches Neuladen von Dokumenten."
#. Translators: Icon of the desktop entry.
#: data/org.pwmt.zathura.desktop.in:9
@@ -182,7 +179,7 @@ msgstr "Keine Argumente angegeben."
#: zathura/commands.c:286
msgid "Printing is not permitted in strict sandbox mode"
-msgstr ""
+msgstr "Im strikten Sandkastenmodus ist Drucken nicht erlaubt"
#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
@@ -474,7 +471,7 @@ msgstr "Benachrichtigung nach Text-Selektion"
#: zathura/config.c:252
msgid "Sandbox level"
-msgstr ""
+msgstr "Sandkasten-Niveau"
#. define default inputbar commands
#: zathura/config.c:441
@@ -557,6 +554,7 @@ msgstr "Zeige Versionsinformationen an"
#: zathura/links.c:211
msgid "Opening external applications in strict sandbox mode is not permitted"
msgstr ""
+"Ausführen externer Anwendungen ist im strikten Sandkastenmodus nicht erlaubt"
#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
diff --git a/po/el.po b/po/el.po
index 9ca703c..336a207 100644
--- a/po/el.po
+++ b/po/el.po
@@ -8,21 +8,19 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2018-02-25 18:26+0100\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-11 19:53+0000\n"
"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: Greek (http://www.transifex.com/projects/p/zathura/language/"
-"el/)\n"
+"Language-Team: Greek (http://www.transifex.com/pwmt/zathura/language/el/)\n"
"Language: el\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 2.0.6\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
-msgstr ""
+msgstr "Zathura"
#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
@@ -41,9 +39,8 @@ msgid "SyncTeX forward and backward synchronization support."
msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:22
-#, fuzzy
msgid "Quickmarks and bookmarks."
-msgstr "Εμφάνιση όλων των σελιδοδεικτών"
+msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:23
msgid "Automatic document reloading."
diff --git a/po/eo.po b/po/eo.po
index 5dfe90e..1afb2ca 100644
--- a/po/eo.po
+++ b/po/eo.po
@@ -7,21 +7,20 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2018-02-25 18:26+0100\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-11 19:53+0000\n"
"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: Esperanto (http://www.transifex.com/projects/p/zathura/"
-"language/eo/)\n"
+"Language-Team: Esperanto (http://www.transifex.com/pwmt/zathura/language/"
+"eo/)\n"
"Language: eo\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 2.0.6\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
-msgstr ""
+msgstr "Zathura"
#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
@@ -40,9 +39,8 @@ msgid "SyncTeX forward and backward synchronization support."
msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:22
-#, fuzzy
msgid "Quickmarks and bookmarks."
-msgstr "Listigu ĉiujn paĝosignojn"
+msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:23
msgid "Automatic document reloading."
@@ -127,9 +125,8 @@ msgid "Failed to remove bookmark: %s"
msgstr "Neeble forigi paĝosignon: %s"
#: zathura/commands.c:119
-#, fuzzy
msgid "No bookmarks available."
-msgstr "Neniu informacio disponebla."
+msgstr ""
#: zathura/commands.c:129
#, c-format
diff --git a/po/es.po b/po/es.po
index fd1a942..2a5a0c6 100644
--- a/po/es.po
+++ b/po/es.po
@@ -6,17 +6,15 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2018-02-25 18:34+0100\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-11 19:53+0000\n"
"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: Spanish (Castilian) (http://www.transifex.net/projects/p/"
-"zathura/language/es/)\n"
+"Language-Team: Spanish (http://www.transifex.com/pwmt/zathura/language/es/)\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 1.8.7.1\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
@@ -39,9 +37,8 @@ msgid "SyncTeX forward and backward synchronization support."
msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:22
-#, fuzzy
msgid "Quickmarks and bookmarks."
-msgstr "Listar favoritos"
+msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:23
msgid "Automatic document reloading."
@@ -126,9 +123,8 @@ msgid "Failed to remove bookmark: %s"
msgstr "Error al eliminar el favorito: %s"
#: zathura/commands.c:119
-#, fuzzy
msgid "No bookmarks available."
-msgstr "No hay información disponible."
+msgstr ""
#: zathura/commands.c:129
#, c-format
diff --git a/po/es_CL.po b/po/es_CL.po
index f2edc11..88bbbc3 100644
--- a/po/es_CL.po
+++ b/po/es_CL.po
@@ -7,17 +7,16 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2018-02-25 18:27+0100\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-11 19:53+0000\n"
"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: Spanish (Chile) (http://www.transifex.net/projects/p/zathura/"
+"Language-Team: Spanish (Chile) (http://www.transifex.com/pwmt/zathura/"
"language/es_CL/)\n"
"Language: es_CL\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 2.0.6\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
@@ -40,9 +39,8 @@ msgid "SyncTeX forward and backward synchronization support."
msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:22
-#, fuzzy
msgid "Quickmarks and bookmarks."
-msgstr "Listar todos los marcadores"
+msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:23
msgid "Automatic document reloading."
@@ -127,9 +125,8 @@ msgid "Failed to remove bookmark: %s"
msgstr "Error al eliminar marcador: %s"
#: zathura/commands.c:119
-#, fuzzy
msgid "No bookmarks available."
-msgstr "No hay información disponible."
+msgstr ""
#: zathura/commands.c:129
#, c-format
diff --git a/po/et.po b/po/et.po
index f80e200..6e5d4d1 100644
--- a/po/et.po
+++ b/po/et.po
@@ -7,22 +7,20 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2015-10-15 23:07+0200\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-11 19:53+0000\n"
"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: Estonian (http://www.transifex.net/projects/p/zathura/"
-"language/et/)\n"
+"Language-Team: Estonian (http://www.transifex.com/pwmt/zathura/language/"
+"et/)\n"
"Language: et\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 1.8.5\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
-#, fuzzy
msgid "Zathura"
-msgstr "Sule zathura"
+msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:8 data/org.pwmt.zathura.desktop.in:6
msgid "A minimalistic document viewer"
@@ -41,9 +39,8 @@ msgid "SyncTeX forward and backward synchronization support."
msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:22
-#, fuzzy
msgid "Quickmarks and bookmarks."
-msgstr "Näita kõiki järjehoidjaid"
+msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:23
msgid "Automatic document reloading."
diff --git a/po/fr.po b/po/fr.po
index c92ba7b..ddeefb5 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -11,17 +11,15 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2018-02-25 18:27+0100\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-11 19:53+0000\n"
"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: French (http://www.transifex.com/projects/p/zathura/language/"
-"fr/)\n"
+"Language-Team: French (http://www.transifex.com/pwmt/zathura/language/fr/)\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
-"X-Generator: Poedit 2.0.6\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
@@ -44,9 +42,8 @@ msgid "SyncTeX forward and backward synchronization support."
msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:22
-#, fuzzy
msgid "Quickmarks and bookmarks."
-msgstr "Lister tous les marque-pages"
+msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:23
msgid "Automatic document reloading."
@@ -131,9 +128,8 @@ msgid "Failed to remove bookmark: %s"
msgstr "Échec lors de la suppression du marque-page : %s"
#: zathura/commands.c:119
-#, fuzzy
msgid "No bookmarks available."
-msgstr "Aucune information disponible."
+msgstr ""
#: zathura/commands.c:129
#, c-format
diff --git a/po/he.po b/po/he.po
index 1772663..ebb0747 100644
--- a/po/he.po
+++ b/po/he.po
@@ -6,17 +6,15 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2018-02-25 18:28+0100\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-11 19:53+0000\n"
"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: Hebrew (http://www.transifex.com/projects/p/zathura/language/"
-"he/)\n"
+"Language-Team: Hebrew (http://www.transifex.com/pwmt/zathura/language/he/)\n"
"Language: he\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 2.0.6\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
diff --git a/po/hr.po b/po/hr.po
index b1e695a..8a94376 100644
--- a/po/hr.po
+++ b/po/hr.po
@@ -6,11 +6,11 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2014-01-31 09:37+0000\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-11 19:53+0000\n"
"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: Croatian (http://www.transifex.com/projects/p/zathura/"
-"language/hr/)\n"
+"Language-Team: Croatian (http://www.transifex.com/pwmt/zathura/language/"
+"hr/)\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
diff --git a/po/id_ID.po b/po/id_ID.po
index 31d4bbd..48c5e82 100644
--- a/po/id_ID.po
+++ b/po/id_ID.po
@@ -7,17 +7,16 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2018-02-25 18:28+0100\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-11 19:53+0000\n"
"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: Indonesian (Indonesia) (http://www.transifex.com/projects/p/"
-"zathura/language/id_ID/)\n"
+"Language-Team: Indonesian (Indonesia) (http://www.transifex.com/pwmt/zathura/"
+"language/id_ID/)\n"
"Language: id_ID\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
-"X-Generator: Poedit 2.0.6\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
@@ -40,9 +39,8 @@ msgid "SyncTeX forward and backward synchronization support."
msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:22
-#, fuzzy
msgid "Quickmarks and bookmarks."
-msgstr "Perlihatkan semua bookmark"
+msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:23
msgid "Automatic document reloading."
@@ -62,7 +60,7 @@ msgstr ""
#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
-msgstr ""
+msgstr "'%s' tidak boleh 0. Diatur ke 1."
#: zathura/callbacks.c:390
#, c-format
@@ -127,9 +125,8 @@ msgid "Failed to remove bookmark: %s"
msgstr "Gagal menghapus bookmark: %s"
#: zathura/commands.c:119
-#, fuzzy
msgid "No bookmarks available."
-msgstr "Tidak ada informasi tersedia"
+msgstr ""
#: zathura/commands.c:129
#, c-format
@@ -279,7 +276,7 @@ msgstr "Tingkat penggulungan horisontal"
#: zathura/config.c:160
msgid "Full page scroll overlap"
-msgstr ""
+msgstr "Geser laman utuh"
#: zathura/config.c:162
msgid "Zoom minimum"
@@ -296,6 +293,7 @@ msgstr "Jumlah laman yang disimpan pada cache"
#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
msgstr ""
+"Ukuran maksimal gambar thumbnail dalam piksel yang disimpan di tembolok"
#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
@@ -327,19 +325,19 @@ msgstr "'Memuat ...' warna depan"
#: zathura/config.c:183
msgid "Index mode foreground color"
-msgstr ""
+msgstr "Warna depan mode indeks"
#: zathura/config.c:184
msgid "Index mode background color"
-msgstr ""
+msgstr "Warna latar mode indeks"
#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
-msgstr ""
+msgstr "Warna depan mode indeks (elemen aktif)"
#: zathura/config.c:186
msgid "Index mode background color (active element)"
-msgstr ""
+msgstr "Warna latar mode indeks (elemen aktif)"
#: zathura/config.c:189
msgid "Recolor pages"
@@ -351,11 +349,11 @@ msgstr "Ketika mewarnai ulang, jaga hue dan sesuaikan kecerahan saja"
#: zathura/config.c:193
msgid "When recoloring keep original image colors"
-msgstr ""
+msgstr "Warna citra tetap sama saat mewarnai ulang"
#: zathura/config.c:195
msgid "Wrap scrolling"
-msgstr ""
+msgstr "Lipat gulung"
#: zathura/config.c:197
msgid "Page aware scrolling"
@@ -451,11 +449,11 @@ msgstr "Support synctex"
#: zathura/config.c:243
msgid "Synctex editor command"
-msgstr ""
+msgstr "Penyunting perintah Synctex"
#: zathura/config.c:245
msgid "Enable D-Bus service"
-msgstr ""
+msgstr "Aktifkan layanan D-Bus"
#: zathura/config.c:247
msgid "Save history at each page change"
@@ -467,7 +465,7 @@ msgstr "Data yang dipilih tetikus akan ditulis ke clipboard"
#: zathura/config.c:251
msgid "Enable notification after selecting text"
-msgstr ""
+msgstr "Aktifkan pemberitahuan setelah menyeleksi teks"
#: zathura/config.c:252
msgid "Sandbox level"
@@ -587,7 +585,7 @@ msgstr "Path ke direktori data"
#: zathura/main.c:153
msgid "Path to the cache directory"
-msgstr ""
+msgstr "Path ke direktori tembolok"
#: zathura/main.c:154
msgid "Path to the directories containing plugins"
@@ -619,15 +617,15 @@ msgstr "Synctex editor (diteruskan ke perintah synctex)"
#: zathura/main.c:162
msgid "Move to given synctex position"
-msgstr ""
+msgstr "Pindahkan ke posisi synctex yang diberikan"
#: zathura/main.c:163
msgid "Highlight given position in the given process"
-msgstr ""
+msgstr "Sorot posisi pada proses yang diberikan"
#: zathura/main.c:165
msgid "Start in a non-default mode"
-msgstr ""
+msgstr "Mulai pada mode non-bawaan"
#: zathura/page-widget.c:660
msgid "Loading..."
@@ -644,7 +642,7 @@ msgstr "Simpan gambar sebagai"
#: zathura/print.c:64 zathura/print.c:227
#, c-format
msgid "Printing failed: %s"
-msgstr ""
+msgstr "Gagal mencetak: %s"
#: zathura/shortcuts.c:105
#, c-format
diff --git a/po/it.po b/po/it.po
index f0c4cb2..ae8c552 100644
--- a/po/it.po
+++ b/po/it.po
@@ -5,22 +5,20 @@
# TheLemonMan , 2015
# TheLemonMan , 2012
# Simone Guercio , 2015
-# TheLemonMan , 2012
+# TheLemonMan , 2012,2015
msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2018-02-25 18:29+0100\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-11 19:53+0000\n"
"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: Italian (http://www.transifex.com/projects/p/zathura/language/"
-"it/)\n"
+"Language-Team: Italian (http://www.transifex.com/pwmt/zathura/language/it/)\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 2.0.6\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
@@ -43,9 +41,8 @@ msgid "SyncTeX forward and backward synchronization support."
msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:22
-#, fuzzy
msgid "Quickmarks and bookmarks."
-msgstr "Mostra i segnalibri"
+msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:23
msgid "Automatic document reloading."
@@ -130,9 +127,8 @@ msgid "Failed to remove bookmark: %s"
msgstr "Impossibile rimuovere il segnalibro: %s"
#: zathura/commands.c:119
-#, fuzzy
msgid "No bookmarks available."
-msgstr "Nessun' informazione disponibile."
+msgstr ""
#: zathura/commands.c:129
#, c-format
diff --git a/po/lt.po b/po/lt.po
index 625bdd2..2bec30f 100644
--- a/po/lt.po
+++ b/po/lt.po
@@ -7,18 +7,17 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2018-02-25 18:29+0100\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-11 19:53+0000\n"
"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: Lithuanian (http://www.transifex.com/projects/p/zathura/"
-"language/lt/)\n"
+"Language-Team: Lithuanian (http://www.transifex.com/pwmt/zathura/language/"
+"lt/)\n"
"Language: lt\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n"
"%100<10 || n%100>=20) ? 1 : 2);\n"
-"X-Generator: Poedit 2.0.6\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
@@ -41,9 +40,8 @@ msgid "SyncTeX forward and backward synchronization support."
msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:22
-#, fuzzy
msgid "Quickmarks and bookmarks."
-msgstr "Žymių sąrašas"
+msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:23
msgid "Automatic document reloading."
@@ -128,9 +126,8 @@ msgid "Failed to remove bookmark: %s"
msgstr "Žymė negalėjo būti panaikinta: %s"
#: zathura/commands.c:119
-#, fuzzy
msgid "No bookmarks available."
-msgstr "Nėra informacijos."
+msgstr ""
#: zathura/commands.c:129
#, c-format
diff --git a/po/nl.po b/po/nl.po
index 606b3a4..70fbd71 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -8,16 +8,15 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2018-02-25 18:33+0100\n"
-"Last-Translator: Sebastian Ramacher \n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-12 11:19+0000\n"
+"Last-Translator: Heimen Stoffels \n"
"Language-Team: Dutch (http://www.transifex.com/pwmt/zathura/language/nl/)\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 2.0.6\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
@@ -34,30 +33,33 @@ msgid ""
"mainly focuses on keyboard interaction. Zathura makes it possible to "
"completely view and navigate through documents without using a mouse."
msgstr ""
+"Zathrua is een zeer aanpasbare en functionele documentweergave-applicatie. "
+"Het biedt een minimalistisch en ruimtebesparend uiterlijk en is vooral "
+"gefocust op eenvoudig navigeren middels het toetsenbord. Zathura maakt het "
+"mogelijk om volledig zonder muis door documenten te kunnen bladeren."
#: data/org.pwmt.zathura.appdata.xml.in:21
msgid "SyncTeX forward and backward synchronization support."
-msgstr ""
+msgstr "SyncTeX vooruit- en achteruitsynchronisatie."
#: data/org.pwmt.zathura.appdata.xml.in:22
-#, fuzzy
msgid "Quickmarks and bookmarks."
-msgstr "Alle bladwijzers weergeven"
+msgstr "Verwijzingen en bladwijzers."
#: data/org.pwmt.zathura.appdata.xml.in:23
msgid "Automatic document reloading."
-msgstr ""
+msgstr "Automatische documentherlading."
#. Translators: Icon of the desktop entry.
#: data/org.pwmt.zathura.desktop.in:9
msgid "org.pwmt.zathura"
-msgstr ""
+msgstr "org.pwmt.zathura"
#. Translators: Search terms to find this application. Do not translate or
#. localize the semicolons. The list must also end with a semicolon.
#: data/org.pwmt.zathura.desktop.in:14
msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;"
-msgstr ""
+msgstr "PDF;PS;PostScript;DjVU;document;presentatie;weergave;"
#: zathura/callbacks.c:308
#, c-format
@@ -181,7 +183,7 @@ msgstr "Geen argumenten opgegeven."
#: zathura/commands.c:286
msgid "Printing is not permitted in strict sandbox mode"
-msgstr ""
+msgstr "Afdrukken is niet toegestaan in de strenge sandbox-modus"
#: zathura/commands.c:319 zathura/commands.c:345
msgid "Document saved."
@@ -476,7 +478,7 @@ msgstr "Melding inschakelen na selecteren van tekst"
#: zathura/config.c:252
msgid "Sandbox level"
-msgstr ""
+msgstr "Sandbox-niveau"
#. define default inputbar commands
#: zathura/config.c:441
@@ -559,6 +561,8 @@ msgstr "Versie-informatie weergeven"
#: zathura/links.c:211
msgid "Opening external applications in strict sandbox mode is not permitted"
msgstr ""
+"Het openen van externe applicaties is niet toegestaan in de strenge sandbox-"
+"modus"
#: zathura/links.c:214 zathura/links.c:295
msgid "Failed to run xdg-open."
diff --git a/po/no.po b/po/no.po
index 0a18820..d4c9f17 100644
--- a/po/no.po
+++ b/po/no.po
@@ -7,17 +7,16 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2018-02-25 18:29+0100\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-11 19:53+0000\n"
"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: Norwegian (http://www.transifex.com/projects/p/zathura/"
-"language/no/)\n"
+"Language-Team: Norwegian (http://www.transifex.com/pwmt/zathura/language/"
+"no/)\n"
"Language: no\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 2.0.6\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
@@ -40,9 +39,8 @@ msgid "SyncTeX forward and backward synchronization support."
msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:22
-#, fuzzy
msgid "Quickmarks and bookmarks."
-msgstr "List alle bokmerker"
+msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:23
msgid "Automatic document reloading."
@@ -127,9 +125,8 @@ msgid "Failed to remove bookmark: %s"
msgstr "Kunne ikke fjerne bokmerke: %s"
#: zathura/commands.c:119
-#, fuzzy
msgid "No bookmarks available."
-msgstr "Ingen informasjon tilgjengelig."
+msgstr ""
#: zathura/commands.c:129
#, c-format
diff --git a/po/pl.po b/po/pl.po
index 6086d9b..3531a9a 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -8,18 +8,17 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2018-02-25 18:30+0100\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-11 19:53+0000\n"
"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: Polish (http://www.transifex.com/projects/p/zathura/language/"
-"pl/)\n"
+"Language-Team: Polish (http://www.transifex.com/pwmt/zathura/language/pl/)\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
-"|| n%100>=20) ? 1 : 2);\n"
-"X-Generator: Poedit 2.0.6\n"
+"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n"
+"%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n"
+"%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
@@ -42,9 +41,8 @@ msgid "SyncTeX forward and backward synchronization support."
msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:22
-#, fuzzy
msgid "Quickmarks and bookmarks."
-msgstr "Wyświetl zakładki"
+msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:23
msgid "Automatic document reloading."
@@ -129,9 +127,8 @@ msgid "Failed to remove bookmark: %s"
msgstr "Nie można usunąć zakładki: %s"
#: zathura/commands.c:119
-#, fuzzy
msgid "No bookmarks available."
-msgstr "Brak informacji o pliku"
+msgstr ""
#: zathura/commands.c:129
#, c-format
diff --git a/po/pt_BR.po b/po/pt_BR.po
index d2420ee..23b5aae 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -7,17 +7,16 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2018-02-25 18:30+0100\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-11 19:53+0000\n"
"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/"
-"zathura/language/pt_BR/)\n"
+"Language-Team: Portuguese (Brazil) (http://www.transifex.com/pwmt/zathura/"
+"language/pt_BR/)\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
-"X-Generator: Poedit 2.0.6\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
@@ -40,9 +39,8 @@ msgid "SyncTeX forward and backward synchronization support."
msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:22
-#, fuzzy
msgid "Quickmarks and bookmarks."
-msgstr "Listar todos favoritos"
+msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:23
msgid "Automatic document reloading."
@@ -62,7 +60,7 @@ msgstr ""
#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
-msgstr ""
+msgstr "'%s' não deve ser 0. Defina para 1."
#: zathura/callbacks.c:390
#, c-format
@@ -127,9 +125,8 @@ msgid "Failed to remove bookmark: %s"
msgstr "Falha ao remover favorito: %s"
#: zathura/commands.c:119
-#, fuzzy
msgid "No bookmarks available."
-msgstr "Nenhuma informação disponível."
+msgstr ""
#: zathura/commands.c:129
#, c-format
@@ -295,7 +292,7 @@ msgstr "Número máximo de páginas para manter no cache"
#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
-msgstr ""
+msgstr "Tamanho máximo em pixels de miniaturas para manter no cache"
#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
@@ -327,19 +324,19 @@ msgstr "'Carregando ...' cor de primeiro plano"
#: zathura/config.c:183
msgid "Index mode foreground color"
-msgstr ""
+msgstr "Cor modo de índice no primeiro plano"
#: zathura/config.c:184
msgid "Index mode background color"
-msgstr ""
+msgstr "Cor modo de índice, fundo"
#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
-msgstr ""
+msgstr "Cor modo de índice no primeiro plano (elemento ativo)"
#: zathura/config.c:186
msgid "Index mode background color (active element)"
-msgstr ""
+msgstr "Cor modo de índice, fundo (elemento ativo)"
#: zathura/config.c:189
msgid "Recolor pages"
@@ -352,7 +349,7 @@ msgstr ""
#: zathura/config.c:193
msgid "When recoloring keep original image colors"
-msgstr ""
+msgstr "Quando recolorir, manter cores de imagens originais"
#: zathura/config.c:195
msgid "Wrap scrolling"
@@ -452,7 +449,7 @@ msgstr "Ativar suporte synctex"
#: zathura/config.c:243
msgid "Synctex editor command"
-msgstr ""
+msgstr "Comando editor Synctex"
#: zathura/config.c:245
msgid "Enable D-Bus service"
@@ -470,7 +467,7 @@ msgstr ""
#: zathura/config.c:251
msgid "Enable notification after selecting text"
-msgstr ""
+msgstr "Habilitar notificação após a seleção de texto"
#: zathura/config.c:252
msgid "Sandbox level"
@@ -590,7 +587,7 @@ msgstr "Caminho para diretório de dados"
#: zathura/main.c:153
msgid "Path to the cache directory"
-msgstr ""
+msgstr "Caminho para o diretório de cache"
#: zathura/main.c:154
msgid "Path to the directories containing plugins"
diff --git a/po/ru.po b/po/ru.po
index a0e0a34..ae91e54 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -10,18 +10,17 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2018-02-25 18:30+0100\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-11 19:53+0000\n"
"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: Russian (http://www.transifex.com/projects/p/zathura/language/"
-"ru/)\n"
+"Language-Team: Russian (http://www.transifex.com/pwmt/zathura/language/ru/)\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
-"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
-"X-Generator: Poedit 2.0.6\n"
+"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n"
+"%100>=11 && n%100<=14)? 2 : 3);\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
@@ -44,9 +43,8 @@ msgid "SyncTeX forward and backward synchronization support."
msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:22
-#, fuzzy
msgid "Quickmarks and bookmarks."
-msgstr "Показать все закладки"
+msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:23
msgid "Automatic document reloading."
@@ -66,7 +64,7 @@ msgstr ""
#: zathura/callbacks.c:308
#, c-format
msgid "'%s' must not be 0. Set to 1."
-msgstr ""
+msgstr "«%s» не может быть 0, установлен как 1."
#: zathura/callbacks.c:390
#, c-format
@@ -81,7 +79,7 @@ msgstr "Получен неверный индекс: %s."
#: zathura/callbacks.c:665
#, c-format
msgid "Copied selected text to selection %s: %s"
-msgstr ""
+msgstr "Выделенный текст скопирован в выделение %s: %s"
#: zathura/callbacks.c:698
#, c-format
@@ -131,9 +129,8 @@ msgid "Failed to remove bookmark: %s"
msgstr "Не удалось удалить закладку %s"
#: zathura/commands.c:119
-#, fuzzy
msgid "No bookmarks available."
-msgstr "Нет доступной информации."
+msgstr ""
#: zathura/commands.c:129
#, c-format
@@ -299,7 +296,7 @@ msgstr "Максимальное количество страниц храни
#: zathura/config.c:168
msgid "Maximum size in pixels of thumbnails to keep in the cache"
-msgstr ""
+msgstr "Максимальный размер в пикселях для миниатюр хранимых в кэше"
#: zathura/config.c:170
msgid "Number of positions to remember in the jumplist"
@@ -331,19 +328,19 @@ msgstr "Цвет загрузочной заставки"
#: zathura/config.c:183
msgid "Index mode foreground color"
-msgstr ""
+msgstr "Основной цвет в режиме указателя"
#: zathura/config.c:184
msgid "Index mode background color"
-msgstr ""
+msgstr "Фоновый цвет в режиме указателя"
#: zathura/config.c:185
msgid "Index mode foreground color (active element)"
-msgstr ""
+msgstr "Основной цвет в режиме указателя (активный элемент)"
#: zathura/config.c:186
msgid "Index mode background color (active element)"
-msgstr ""
+msgstr "Фоновый цвет в режиме указателя (активный элемент)"
#: zathura/config.c:189
msgid "Recolor pages"
@@ -355,7 +352,7 @@ msgstr "При перекраске сохранять оттенок и изм
#: zathura/config.c:193
msgid "When recoloring keep original image colors"
-msgstr ""
+msgstr "При перекраске сохранять исходные цвета изображения"
#: zathura/config.c:195
msgid "Wrap scrolling"
@@ -411,7 +408,7 @@ msgstr "Показывать каталоги"
#: zathura/config.c:220
msgid "Show recent files"
-msgstr ""
+msgstr "Показывать последние файлы"
#: zathura/config.c:222
msgid "Always open on first page"
@@ -435,7 +432,7 @@ msgstr "Использовать базовое имя файла в загол
#: zathura/config.c:233
msgid "Use ~ instead of $HOME in the filename in the window title"
-msgstr ""
+msgstr "Использовать ~ вместо $HOME в имени файла в заголовке"
#: zathura/config.c:235
msgid "Display the page number in the window title"
@@ -447,7 +444,7 @@ msgstr "Использовать базовое имя файла в строк
#: zathura/config.c:239
msgid "Use ~ instead of $HOME in the filename in the statusbar"
-msgstr ""
+msgstr "Использовать ~ вместо $HOME в имени файла в строке состояния"
#: zathura/config.c:241
msgid "Enable synctex support"
@@ -455,7 +452,7 @@ msgstr "Включить поддержку synctex"
#: zathura/config.c:243
msgid "Synctex editor command"
-msgstr ""
+msgstr "Команда редактору от synctex"
#: zathura/config.c:245
msgid "Enable D-Bus service"
@@ -471,7 +468,7 @@ msgstr "Буфер для записи данных из области выде
#: zathura/config.c:251
msgid "Enable notification after selecting text"
-msgstr ""
+msgstr "Включить уведомления после выделения текста"
#: zathura/config.c:252
msgid "Sandbox level"
@@ -591,7 +588,7 @@ msgstr "Путь к каталогу с данными"
#: zathura/main.c:153
msgid "Path to the cache directory"
-msgstr ""
+msgstr "Путь к каталогу с кэшем"
#: zathura/main.c:154
msgid "Path to the directories containing plugins"
@@ -677,10 +674,11 @@ msgstr ""
#: zathura/zathura.c:748
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
+"Не удалось прочитать файл через GIO и скопировать его во временный файл."
#: zathura/zathura.c:837
msgid "Enter password:"
-msgstr ""
+msgstr "Введите пароль:"
#: zathura/zathura.c:872
msgid "Unsupported file type. Please install the necessary plugin."
diff --git a/po/ta_IN.po b/po/ta_IN.po
index 4d5e271..15b4147 100644
--- a/po/ta_IN.po
+++ b/po/ta_IN.po
@@ -7,17 +7,16 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2018-02-25 18:31+0100\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-11 19:53+0000\n"
"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: Tamil (India) (http://www.transifex.net/projects/p/zathura/"
-"language/ta_IN/)\n"
+"Language-Team: Tamil (India) (http://www.transifex.com/pwmt/zathura/language/"
+"ta_IN/)\n"
"Language: ta_IN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 2.0.6\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
@@ -40,9 +39,8 @@ msgid "SyncTeX forward and backward synchronization support."
msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:22
-#, fuzzy
msgid "Quickmarks and bookmarks."
-msgstr "அனைத்து bookmark-களையும் பட்டியலிடு"
+msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:23
msgid "Automatic document reloading."
@@ -127,9 +125,8 @@ msgid "Failed to remove bookmark: %s"
msgstr "Bookmark-ஐ அழிக்க இயலவில்லை: %s"
#: zathura/commands.c:119
-#, fuzzy
msgid "No bookmarks available."
-msgstr "எந்தத் தகவலும் இல்லை"
+msgstr ""
#: zathura/commands.c:129
#, c-format
diff --git a/po/tr.po b/po/tr.po
index 015c422..cb553af 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -8,17 +8,15 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2018-02-25 18:31+0100\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-11 19:53+0000\n"
"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: Turkish (http://www.transifex.net/projects/p/zathura/language/"
-"tr/)\n"
+"Language-Team: Turkish (http://www.transifex.com/pwmt/zathura/language/tr/)\n"
"Language: tr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=1; plural=0;\n"
-"X-Generator: Poedit 2.0.6\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
@@ -41,9 +39,8 @@ msgid "SyncTeX forward and backward synchronization support."
msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:22
-#, fuzzy
msgid "Quickmarks and bookmarks."
-msgstr "Yer imlerini listele"
+msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:23
msgid "Automatic document reloading."
@@ -128,9 +125,8 @@ msgid "Failed to remove bookmark: %s"
msgstr "Yer imi silinemedi: %s"
#: zathura/commands.c:119
-#, fuzzy
msgid "No bookmarks available."
-msgstr "Bilgi mevcut değil."
+msgstr ""
#: zathura/commands.c:129
#, c-format
diff --git a/po/uk_UA.po b/po/uk_UA.po
index e0363b0..8fc6315 100644
--- a/po/uk_UA.po
+++ b/po/uk_UA.po
@@ -7,18 +7,17 @@ msgid ""
msgstr ""
"Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-03-11 20:56+0100\n"
-"PO-Revision-Date: 2018-02-25 18:31+0100\n"
+"POT-Creation-Date: 2018-03-16 01:11+0100\n"
+"PO-Revision-Date: 2018-03-11 19:53+0000\n"
"Last-Translator: Sebastian Ramacher \n"
-"Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/projects/p/"
-"zathura/language/uk_UA/)\n"
+"Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/pwmt/zathura/"
+"language/uk_UA/)\n"
"Language: uk_UA\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
-"X-Generator: Poedit 2.0.6\n"
#: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5
msgid "Zathura"
@@ -41,9 +40,8 @@ msgid "SyncTeX forward and backward synchronization support."
msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:22
-#, fuzzy
msgid "Quickmarks and bookmarks."
-msgstr "Дивитись усі закладки"
+msgstr ""
#: data/org.pwmt.zathura.appdata.xml.in:23
msgid "Automatic document reloading."
@@ -128,9 +126,8 @@ msgid "Failed to remove bookmark: %s"
msgstr "Видалення закладки невдалося: %s"
#: zathura/commands.c:119
-#, fuzzy
msgid "No bookmarks available."
-msgstr "Інформація недоступна."
+msgstr ""
#: zathura/commands.c:129
#, c-format
From f46ea6a5967764d74d3ba75dcb4d524f3b250814 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher
Date: Fri, 16 Mar 2018 01:25:23 +0100
Subject: [PATCH 126/126] Version 0.3.9
---
meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meson.build b/meson.build
index 6fcf00a..9dce1ae 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
project('zathura', 'c',
- version: '0.3.8',
+ version: '0.3.9',
meson_version: '>=0.45',
default_options: 'c_std=c11',
)
@@ -37,7 +37,7 @@ plugindir = join_paths(get_option('libdir'), 'zathura')
# required dependencies
libm = cc.find_library('libm')
-girara = dependency('girara-gtk3', version: '>=0.2.8')
+girara = dependency('girara-gtk3', version: '>=0.2.9')
glib = dependency('glib-2.0', version: '>=2.50')
gthread = dependency('gthread-2.0', version: '>=2.50')
gmodule = dependency('gmodule-no-export-2.0', version: '>=2.50')