Merge branch 'release/0.3.4'

This commit is contained in:
Moritz Lipp 2015-12-21 11:19:18 +01:00
commit 6218ee887a
67 changed files with 7388 additions and 11707 deletions

5
.gitignore vendored
View file

@ -24,13 +24,10 @@ zathura-*.tar.gz
# build dirs # build dirs
.depend .depend
.tx .tx
build/
gcov/ gcov/
doc/_build doc/_build
# binaries
zathura
zathura-debug
# version file # version file
version.h version.h
.version-checks/ .version-checks/

View file

@ -21,20 +21,10 @@ LIBS += $(MAGIC_LIB)
CPPFLAGS += -DWITH_MAGIC CPPFLAGS += -DWITH_MAGIC
endif endif
ifneq ($(WITH_SYSTEM_SYNCTEX),0) ifneq ($(WITH_SYNCTEX),0)
INCS += $(SYNCTEX_INC) INCS += $(SYNCTEX_INC)
LIBS += $(SYNCTEX_LIB) LIBS += $(SYNCTEX_LIB)
else CPPFLAGS += -DWITH_SYNCTEX
INCS += $(ZLIB_INC)
LIBS += $(ZLIB_LIB)
SOURCE += $(wildcard ${PROJECT}/synctex/*.c)
ifeq (,$(findstring -Isynctex,${CPPFLAGS}))
CPPFLAGS += -I${PROJECT}/synctex
endif
ifeq (,$(findstring -DSYNCTEX_VERBOSE=0,${CPPFLAGS}))
CPPFLAGS += -DSYNCTEX_VERBOSE=0
endif
endif endif
ifneq ($(wildcard ${VALGRIND_SUPPRESSION_FILE}),) ifneq ($(wildcard ${VALGRIND_SUPPRESSION_FILE}),)
@ -111,9 +101,9 @@ ${OBJECTS}: config.mk ${PROJECT}/version.h \
${BUILDDIR_RELEASE}/%.o: %.c ${BUILDDIR_RELEASE}/%.o: %.c
$(call colorecho,CC,$<) $(call colorecho,CC,$<)
@mkdir -p ${DEPENDDIR}/$(dir $(abspath $@)) @mkdir -p ${DEPENDDIR}/$(dir $@)
@mkdir -p $(dir $(abspath $@)) @mkdir -p $(dir $(abspath $@))
$(QUIET)${CC} -c ${CPPFLAGS} ${CFLAGS} -o $@ $< -MMD -MF ${DEPENDDIR}/$(abspath $@).dep $(QUIET)${CC} -c ${CPPFLAGS} ${CFLAGS} -o $@ $< -MMD -MF ${DEPENDDIR}/$@.dep
${BUILDDIR_RELEASE}/${BINDIR}/${PROJECT}: ${OBJECTS} ${BUILDDIR_RELEASE}/${BINDIR}/${PROJECT}: ${OBJECTS}
$(call colorecho,CC,$@) $(call colorecho,CC,$@)
@ -135,10 +125,10 @@ ${OBJECTS_DEBUG}: config.mk ${PROJECT}/version.h \
${BUILDDIR_DEBUG}/%.o: %.c ${BUILDDIR_DEBUG}/%.o: %.c
$(call colorecho,CC,$<) $(call colorecho,CC,$<)
@mkdir -p ${DEPENDDIR}/$(dir $(abspath $@)) @mkdir -p ${DEPENDDIR}/$(dir $@)
@mkdir -p $(dir $(abspath $@)) @mkdir -p $(dir $(abspath $@))
$(QUIET)${CC} -c ${CPPFLAGS} ${CFLAGS} ${DFLAGS} \ $(QUIET)${CC} -c ${CPPFLAGS} ${CFLAGS} ${DFLAGS} \
-o $@ $< -MMD -MF ${DEPENDDIR}/$(abspath $@).dep -o $@ $< -MMD -MF ${DEPENDDIR}/$@.dep
${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}: ${OBJECTS_DEBUG} ${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}: ${OBJECTS_DEBUG}
$(call colorecho,CC,$@) $(call colorecho,CC,$@)
@ -158,10 +148,10 @@ ${OBJECTS_GCOV}: config.mk ${PROJECT}/version.h \
${BUILDDIR_GCOV}/%.o: %.c ${BUILDDIR_GCOV}/%.o: %.c
$(call colorecho,CC,$<) $(call colorecho,CC,$<)
@mkdir -p ${DEPENDDIR}/$(dir $(abspath $@)) @mkdir -p ${DEPENDDIR}/$(dir $@)
@mkdir -p $(dir $(abspath $@)) @mkdir -p $(dir $(abspath $@))
$(QUIET)${CC} -c ${CPPFLAGS} ${CFLAGS} ${GCOV_CFLAGS} \ $(QUIET)${CC} -c ${CPPFLAGS} ${CFLAGS} ${GCOV_CFLAGS} \
-o $@ $< -MMD -MF ${DEPENDDIR}/$(abspath $@).dep -o $@ $< -MMD -MF ${DEPENDDIR}/$@.dep
${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}: ${OBJECTS_GCOV} ${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}: ${OBJECTS_GCOV}
$(call colorecho,CC,$@) $(call colorecho,CC,$@)
@ -298,7 +288,8 @@ uninstall: uninstall-headers
$(QUIET)rm -f $(DESTDIR)$(APPDATAPREFIX)/$(PROJECT).appdata.xml $(QUIET)rm -f $(DESTDIR)$(APPDATAPREFIX)/$(PROJECT).appdata.xml
$(MAKE) -C po uninstall $(MAKE) -C po uninstall
-include $(wildcard ${DEPENDDIR}/*.dep) DEPENDS = ${DEPENDDIRS:^=${DEPENDDIR}/}$(addprefix ${DEPENDDIR}/,${OBJECTS:.o=.o.dep})
-include ${DEPENDS}
.PHONY: all options clean doc debug valgrind gdb dist doc install uninstall \ .PHONY: all options clean doc debug valgrind gdb dist doc install uninstall \
test po install-headers uninstall-headers update-po install-manpages \ test po install-headers uninstall-headers update-po install-manpages \

9
README
View file

@ -5,13 +5,14 @@ girara user interface library and several document libraries.
Requirements Requirements
------------ ------------
gtk3 gtk3 (>= 3.6)
glib (>= 2.28) glib (>= 2.32)
girara (>= 0.2.4) girara (>= 0.2.4)
sqlite3 (optional, >= 3.5.9) sqlite3 (optional, >= 3.5.9)
check (for tests) check (for tests)
intltool intltool
libmagic from file(1) (optional, for mime-type detection) libmagic from file(1) (optional, for mime-type detection)
libsynctex from TeXLive (option, for SyncTeX support)
Sphinx (optional, for manpages and HTML documentation) Sphinx (optional, for manpages and HTML documentation)
doxygen (optional, for HTML documentation) doxygen (optional, for HTML documentation)
breathe (optional, for HTML documentation) breathe (optional, for HTML documentation)
@ -24,7 +25,7 @@ SQLITE_INC and SQLITE_LIB variables accordingly.
Also note that Sphinx is needed to build the manpages. If it is not 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, installed, the man pages won't be built. For the HTML documentation, doxygen,
breathe and sphinx_rtd_theme are needed in additioan to Sphinx. 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 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. WITH_SQLITE=0 and sqlite support won't be available.
@ -35,7 +36,7 @@ WITH_MAGIC=0.
If you pass these flags as a command line argument to make, you have to ensure 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. to pass the same flags when executing the install target.
If you want to build zathuras documentation, please install all python If you want to build zathura's documentation, please install all python
dependencies from the ./doc/requirements.txt file. dependencies from the ./doc/requirements.txt file.
Installation Installation

View file

@ -1,16 +1,21 @@
# See LICENSE file for license and copyright information # 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 >/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 ?= /usr/bin/tput
TPUT_AVAILABLE ?= $(shell ${TPUT} -V 2>/dev/null) TPUT_AVAILABLE ?= $(shell ${TPUT} -V 2>/dev/null)
ifdef TPUT_AVAILABLE ifdef TPUT_AVAILABLE
ifeq ($(COLOR),1)
COLOR_NORMAL = `$(TPUT) sgr0` COLOR_NORMAL = `$(TPUT) sgr0`
COLOR_ACTION = `$(TPUT) bold``$(TPUT) setaf 3` COLOR_ACTION = `$(TPUT) bold``$(TPUT) setaf 3`
COLOR_COMMENT = `$(TPUT) bold``$(TPUT) setaf 2` COLOR_COMMENT = `$(TPUT) bold``$(TPUT) setaf 2`
COLOR_BRACKET = `$(TPUT) setaf 4` COLOR_BRACKET = `$(TPUT) setaf 4`
CC += -fdiagnostics-color=always
define colorecho define colorecho
@echo $(COLOR_BRACKET)" ["$(COLOR_ACTION)$1$(COLOR_BRACKET)"] "$(COLOR_COMMENT)$2$(COLOR_BRACKET) $(COLOR_NORMAL) @echo $(COLOR_BRACKET)" ["$(COLOR_ACTION)$1$(COLOR_BRACKET)"] "$(COLOR_COMMENT)$2$(COLOR_BRACKET) $(COLOR_NORMAL)
endef endef

View file

@ -6,7 +6,7 @@ PROJECT = zathura
ZATHURA_VERSION_MAJOR = 0 ZATHURA_VERSION_MAJOR = 0
ZATHURA_VERSION_MINOR = 3 ZATHURA_VERSION_MINOR = 3
ZATHURA_VERSION_REV = 3 ZATHURA_VERSION_REV = 4
# If the API changes, the API version and the ABI version have to be bumped. # If the API changes, the API version and the ABI version have to be bumped.
ZATHURA_API_VERSION = 2 ZATHURA_API_VERSION = 2
# If the ABI breaks for any reason, this has to be bumped. # If the ABI breaks for any reason, this has to be bumped.
@ -18,15 +18,15 @@ VERSION = ${ZATHURA_VERSION_MAJOR}.${ZATHURA_VERSION_MINOR}.${ZATHURA_VERSION_RE
# girara # girara
GIRARA_VERSION_CHECK ?= 1 GIRARA_VERSION_CHECK ?= 1
GIRARA_MIN_VERSION = 0.2.4 GIRARA_MIN_VERSION = 0.2.5
GIRARA_PKG_CONFIG_NAME = girara-gtk3 GIRARA_PKG_CONFIG_NAME = girara-gtk3
# glib # glib
GLIB_VERSION_CHECK ?= 1 GLIB_VERSION_CHECK ?= 1
GLIB_MIN_VERSION = 2.28 GLIB_MIN_VERSION = 2.32
GLIB_PKG_CONFIG_NAME = glib-2.0 GLIB_PKG_CONFIG_NAME = glib-2.0
# GTK # GTK
GTK_VERSION_CHECK ?= 1 GTK_VERSION_CHECK ?= 1
GTK_MIN_VERSION = 3.0 GTK_MIN_VERSION = 3.6
GTK_PKG_CONFIG_NAME = gtk+-3.0 GTK_PKG_CONFIG_NAME = gtk+-3.0
# pkg-config binary # pkg-config binary
@ -37,8 +37,8 @@ PKG_CONFIG ?= pkg-config
WITH_SQLITE ?= $(shell (${PKG_CONFIG} --atleast-version=3.5.9 sqlite3 && echo 1) || echo 0) WITH_SQLITE ?= $(shell (${PKG_CONFIG} --atleast-version=3.5.9 sqlite3 && echo 1) || echo 0)
# synctex # synctex
# To use the embedded copy of the syntex parser set WITH_SYSTEM_SYNCTEX to 0. # To disable support for synctex with libsynctex set WITH_SYNCTEX to 0.
WITH_SYSTEM_SYNCTEX ?= $(shell (${PKG_CONFIG} synctex && echo 1) || echo 0) WITH_SYNCTEX ?= $(shell (${PKG_CONFIG} synctex && echo 1) || echo 0)
# mimetype detection # mimetype detection
# To disable support for mimetype detction with libmagic set WITH_MAGIC to 0. # To disable support for mimetype detction with libmagic set WITH_MAGIC to 0.
@ -91,24 +91,24 @@ MAGIC_INC ?=
MAGIC_LIB ?= -lmagic MAGIC_LIB ?= -lmagic
endif endif
ifneq ($(WITH_SYSTEM_SYNCTEX),0) ifneq ($(WITH_SYNCTEX),0)
SYNCTEX_INC ?= $(shell ${PKG_CONFIG} --cflags synctex) SYNCTEX_INC ?= $(shell ${PKG_CONFIG} --cflags synctex)
SYNCTEX_LIB ?= $(shell ${PKG_CONFIG} --libs synctex) SYNCTEX_LIB ?= $(shell ${PKG_CONFIG} --libs synctex)
else
ZLIB_INC ?= $(shell ${PKG_CONFIG} --cflags zlib)
ZLIB_LIB ?= $(shell ${PKG_CONFIG} --libs zlib)
endif endif
INCS = ${GIRARA_INC} ${GTK_INC} ${GTHREAD_INC} ${GMODULE_INC} ${GLIB_INC} INCS = ${GIRARA_INC} ${GTK_INC} ${GTHREAD_INC} ${GMODULE_INC} ${GLIB_INC}
LIBS = ${GIRARA_LIB} ${GTK_LIB} ${GTHREAD_LIB} ${GMODULE_LIB} ${GLIB_LIB} -lpthread -lm LIBS = ${GIRARA_LIB} ${GTK_LIB} ${GTHREAD_LIB} ${GMODULE_LIB} ${GLIB_LIB} -lpthread -lm
# flags # pre-processor flags
CFLAGS += -std=c99 -pedantic -Wall -Wno-format-zero-length -Wextra $(INCS) CPPFLAGS += -D_FILE_OFFSET_BITS=64
# compiler flags
CFLAGS += -std=c11 -pedantic -Wall -Wno-format-zero-length -Wextra $(INCS)
# debug # debug
DFLAGS ?= -g DFLAGS ?= -g
# ld # linker flags
LDFLAGS += -rdynamic LDFLAGS += -rdynamic
# compiler # compiler
@ -139,6 +139,9 @@ VALGRIND_SUPPRESSION_FILE = zathura.suppression
# set to something != 0 if you want verbose build output # set to something != 0 if you want verbose build output
VERBOSE ?= 0 VERBOSE ?= 0
# gettext package name
GETTEXT_PACKAGE ?= ${PROJECT}
# colors # colors
COLOR ?= 1 COLOR ?= 1

View file

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 pwmt.org --> <!-- Copyright 2014-2015 pwmt.org -->
<application> <component type="desktop">
<id type="desktop">zathura.desktop</id> <id>zathura.desktop</id>
<metadata_license>CC0-1.0</metadata_license> <metadata_license>CC0-1.0</metadata_license>
<project_license>Zlib</project_license> <project_license>Zlib</project_license>
<description> <description>
@ -22,12 +22,21 @@
</ul> </ul>
</p> </p>
</description> </description>
<url type="homepage">http://pwmt.org/projects/zathura</url> <url type="homepage">https://pwmt.org/projects/zathura</url>
<url type="bugtracker">https://bugs.pwmt.org/project/zathura</url>
<screenshots> <screenshots>
<screenshot type="default">http://pwmt.org/projects/zathura/img/zathura-cover.png</screenshot> <screenshot type="default">
<screenshot>http://pwmt.org/projects/zathura/img/zathura-completion.png</screenshot> <image>https://pwmt.org/projects/zathura/img/zathura-cover.png</image>
<screenshot>http://pwmt.org/projects/zathura/img/zathura-follow.png</screenshot> </screenshot>
<screenshot>http://pwmt.org/projects/zathura/img/zathura-bookmarks.png</screenshot> <screenshot>
<image>https://pwmt.org/projects/zathura/img/zathura-completion.png</image>
</screenshot>
<screenshot>
<image>https://pwmt.org/projects/zathura/img/zathura-follow.png</image>
</screenshot>
<screenshot>
<image>https://pwmt.org/projects/zathura/img/zathura-bookmarks.png</image>
</screenshot>
</screenshots> </screenshots>
<updatecontact>zathura@lists.pwmt.org</updatecontact> <update_contact>zathura@lists.pwmt.org</update_contact>
</application> </component>

View file

@ -2,11 +2,25 @@
# #
# See LICENSE file for license and copyright information # See LICENSE file for license and copyright information
import os.path
import glob
import time
dirname = os.path.dirname(__file__)
files = glob.glob(os.path.join(dirname, '*.rst'))
files.extend(glob.glob(os.path.join(dirname, '*.txt')))
maxdate = 0
for path in files:
s = os.stat(path)
maxdate = max(maxdate, s.st_mtime)
# -- General configuration ------------------------------------------------ # -- General configuration ------------------------------------------------
source_suffix = '.rst' source_suffix = '.rst'
master_doc = 'zathura.1' master_doc = 'zathura.1'
templates_path = ['_templates'] templates_path = ['_templates']
today = time.strftime('%Y-%m-%d', time.gmtime(maxdate))
# -- Project configuration ------------------------------------------------ # -- Project configuration ------------------------------------------------

View file

@ -74,9 +74,9 @@ the *zathurarc* file to make those changes permanent:
include - Including another config file include - Including another config file
--------------------------------------- ---------------------------------------
This commands allows to include other configuration files. If a relative path is This commands allows one to include other configuration files. If a relative
given, the path will be resolved relative to the configuration file that is path is given, the path will be resolved relative to the configuration file that
currently processed. is currently processed.
:: ::
@ -731,9 +731,12 @@ Defines the number of pages that are rendered next to each other in a row.
first-page-column first-page-column
^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^
Defines the column in which the first page will be displayed. Defines the column in which the first page will be displayed.
This setting is stored separately for every value of pages-per-row according to
the following pattern <1 page per row>:[<2 pages per row>[: ...]]. Per default,
the first column is set to 2 for double-page layout.
* Value type: Integer * Value type: String
* Default value: 1 * Default value: 1:2
recolor recolor
^^^^^^^ ^^^^^^^
@ -820,6 +823,30 @@ Defines if the last/first page should be wrapped
* Value type: Boolean * Value type: Boolean
* Default value: false * Default value: false
show-directories
^^^^^^^^^^^^^^^^
Defines if the directories should be displayed in completion.
* Value type: Boolean
* Default value: true
show-hidden
^^^^^^^^^^^
Defines if hidden files and directories should be displayed in completion.
* Value type: Boolean
* Default value: false
show-recent
^^^^^^^^^^^
Defines the number of recent files that should be displayed in completion.
If the value is negative, no upper bounds are applied. If the value is 0, no
recent files are shown.
* Value type: Integer
* Default value: 10
scroll-page-aware scroll-page-aware
^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^
Defines if scrolling by half or full pages stops at page boundaries. Defines if scrolling by half or full pages stops at page boundaries.
@ -863,6 +890,13 @@ Use basename of the file in the window title.
* Value type: Boolean * Value type: Boolean
* Default value: false * Default value: false
window-title-home-tilde
^^^^^^^^^^^^^^^^^^^^^^^
Display a short version of the file path, which replaces $HOME with ~, in the window title.
* Value type: Boolean
* Default value: false
window-title-page window-title-page
^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^
Display the page number in the window title. Display the page number in the window title.
@ -877,6 +911,13 @@ Use basename of the file in the statusbar.
* Value type: Boolean * Value type: Boolean
* Default value: false * Default value: false
statusbar-home-tilde
^^^^^^^^^^^^^^^^^^^^
Display a short version of the file path, which replaces $HOME with ~, in the statusbar.
* Value type: Boolean
* Default value: false
zoom-center zoom-center
^^^^^^^^^^^ ^^^^^^^^^^^
En/Disables horizontally centered zooming. En/Disables horizontally centered zooming.

View file

@ -1,8 +1,11 @@
# See LICENSE file for license and copyright information # See LICENSE file for license and copyright information
include ../config.mk
include ../common.mk
include ../colors.mk
PROJECT = zathura PROJECT = zathura
GETTEXT_PACKAGE = $(PROJECT) CATALOGS = $(sort $(wildcard *.po))
CATALOGS = $(wildcard *.po)
LINGUAS ?= $(patsubst %.po, %, $(CATALOGS)) LINGUAS ?= $(patsubst %.po, %, $(CATALOGS))
ifeq ($(LINGUAS),) ifeq ($(LINGUAS),)
ALINGUAS = ALINGUAS =
@ -11,48 +14,45 @@ ALINGUAS = $(shell find $(patsubst %, %.po, $(LINGUAS)) 2>/dev/null)
endif endif
MOS = $(patsubst %, %/LC_MESSAGES/${GETTEXT_PACKAGE}.mo, $(patsubst %.po, %, $(ALINGUAS))) MOS = $(patsubst %, %/LC_MESSAGES/${GETTEXT_PACKAGE}.mo, $(patsubst %.po, %, $(ALINGUAS)))
include ../config.mk
include ../common.mk
all: ${MOS} all: ${MOS}
clean: clean:
$(QUIET)rm -rf POTFILES.in POTFILES.in.tmp $(patsubst %.po, %, $(CATALOGS)) ${PROJECT}.pot $(QUIET)rm -rf POTFILES.in POTFILES.in.tmp $(patsubst %.po, %, $(CATALOGS)) ${PROJECT}.pot
POTFILES.in: $(wildcard ../zathura/*.c) POTFILES.in: $(sort $(wildcard ../girara/*.c))
$(QUIET) set -e && rm -f $@.tmp && touch $@.tmp && \ $(QUIET) set -e && rm -f $@.tmp && touch $@.tmp && \
for f in $(^F) ; do \ for f in $(^F) ; do \
echo zathura/$$f >> $@.tmp ; \ echo girara/$$f >> $@.tmp ; \
done && \ done && \
mv $@.tmp $@ mv $@.tmp $@
${PROJECT}.pot: POTFILES.in ${GETTEXT_PACKAGE}.pot: POTFILES.in
$(ECHO) regenerate ${PROJECT}.pot $(ECHO) regenerate $@
$(QUIET)intltool-update --pot --gettext-package=${PROJECT} $(QUIET)intltool-update --pot --gettext-package=${GETTEXT_PACKAGE}
update-po: ${PROJECT}.pot update-po: ${GETTEXT_PACKAGE}.pot
$(ECHO) updating po: files ${CATALOGS} $(call colorecho,PO,"Updating po files ${CATALOGS}")
$(QUIET)set -e && for f in ${CATALOGS} ; do \ $(QUIET)set -e && for f in ${CATALOGS} ; do \
intltool-update --dist --gettext-package=${PROJECT} `echo $$f | sed 's/\.po//'` ; \ 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" ; \ sed -i 's/Report-Msgid-Bugs-To: \\n/Report-Msgid-Bugs-To: http:\/\/bugs.pwmt.org\\n/' "$$f" ; \
done done
%/LC_MESSAGES/${PROJECT}.mo: %.po %/LC_MESSAGES/${GETTEXT_PACKAGE}.mo: %.po
@mkdir -p $(@D) @mkdir -p $(@D)
$(ECHO) msgfmt $(shell echo $< | sed 's/\.po//') $(call colorecho,MSGFMT,$(shell echo $< | sed 's/\.po//'))
$(QUIET)${MSGFMT} ${MSGFMTFLAGS} -c $< -o $@ $(QUIET)${MSGFMT} ${MSGFMTFLAGS} -c $< -o $@
install: ${MOS} install: ${MOS}
$(ECHO) installing translations $(call colorecho,INSTALL,"Install translations")
$(QUIET)set -e && for f in $^ ; do \ $(QUIET)set -e && for f in $^ ; do \
mkdir -p -m 755 $(DESTDIR)$(LOCALEDIR)/`dirname $$f`; \ mkdir -p -m 755 $(DESTDIR)$(LOCALEDIR)/`dirname $$f`; \
install -m 644 $$f $(DESTDIR)$(LOCALEDIR)/`dirname $$f` ; \ install -m 644 $$f $(DESTDIR)$(LOCALEDIR)/`dirname $$f` ; \
done done
uninstall: ${MOS} uninstall: ${MOS}
$(ECHO) removing translations $(call colorecho,UNINSTALL,"Uninstall translations")
$(QUIET)set -e && for f in $^ ; do \ $(QUIET)set -e && for f in $^ ; do \
rm -f $(DESTDIR)$(LOCALEDIR)/$$f; \ rm -f $(LOCALEDIR)/$$f; \
done done
.PHONY: all clean update-po install uninstall .PHONY: all clean install uninstall update-po

542
po/ca.po
View file

@ -8,8 +8,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2015-04-13 19:45+0200\n" "PO-Revision-Date: 2015-10-15 23:09+0200\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Catalan (http://www.transifex.com/projects/p/zathura/language/" "Language-Team: Catalan (http://www.transifex.com/projects/p/zathura/language/"
"ca/)\n" "ca/)\n"
@ -18,28 +18,181 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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 1.5.4\n" "X-Generator: Poedit 1.8.5\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Entrada invàlida '%s'." msgstr "Entrada invàlida '%s'."
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Índex invàlid '%s'." msgstr "Índex invàlid '%s'."
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr "No s'ha obert cap document."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Nombre d'arguments invàlids."
#: ../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
#, c-format
msgid "Could not create bookmark: %s"
msgstr "No s'ha pogut crear el marcador: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Marcador actualitzat correctament: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Marcador creat correctament: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Esborrat el marcador: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "No s'ha pogut esborrar el marcador: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Marcador no existent: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Cap informació disponible."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Massa arguments."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Cap argument subministrat."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Document desat."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "No s'ha pogut desar el document."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Nombre d'arguments invàlids."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "No s'ha pogut escriure el fitxer adjunt '%s' a '%s'."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "S'ha escrit el fitxer adjunt '%s' a '%s'."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "S'ha escrit la imatge '%s' a '%s'."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "No s'ha pogut escriure la imatge '%s' a '%s'."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Imatge desconeguda '%s'."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Imatge o fitxer adjunt desconegut '%s'."
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "L'argument ha de ser un nombre."
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr "Pàgina %d"
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr "Fitxers adjunts"
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr "Imatges"
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -194,293 +347,143 @@ msgid "Show directories"
msgstr "Mostra els directoris" msgstr "Mostra els directoris"
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Show recent files"
msgstr ""
#: ../zathura/config.c:218
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Obrir sempre la primera pàgina" msgstr "Obrir sempre la primera pàgina"
#: ../zathura/config.c:218 #: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Realça els resultats de recerca" msgstr "Realça els resultats de recerca"
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "Habilita la cerca incremental" msgstr "Habilita la cerca incremental"
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Esborra els resultats de recerca a l'interrompre" msgstr "Esborra els resultats de recerca a l'interrompre"
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "Utilitza el nom base del fitxer en el títol de la finestra" msgstr "Utilitza el nom base del fitxer en el títol de la finestra"
#: ../zathura/config.c:227
msgid "Display the page number in the window title"
msgstr ""
#: ../zathura/config.c:229 #: ../zathura/config.c:229
msgid "Use basename of the file in the statusbar" msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:231 #: ../zathura/config.c:231
msgid "Enable synctex support" msgid "Display the page number in the window title"
msgstr "Habilitar la compatibilitat amb synctex" msgstr ""
#: ../zathura/config.c:233 #: ../zathura/config.c:233
msgid "Synctex editor command" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:235 #: ../zathura/config.c:235
msgid "Enable D-Bus service" msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:237 #: ../zathura/config.c:237
msgid "Enable synctex support"
msgstr "Habilitar la compatibilitat amb synctex"
#: ../zathura/config.c:239
msgid "Synctex editor command"
msgstr ""
#: ../zathura/config.c:241
msgid "Enable D-Bus service"
msgstr ""
#: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written" msgid "The clipboard into which mouse-selected data will be written"
msgstr "" msgstr ""
#: ../zathura/config.c:239 #: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "" msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Afegir un marcador" msgstr "Afegir un marcador"
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Esborrar un marcador" msgstr "Esborrar un marcador"
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Llista tots els marcadors" msgstr "Llista tots els marcadors"
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "Tancar el fitxer actual" msgstr "Tancar el fitxer actual"
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "Mostra informació sobre el fitxer" msgstr "Mostra informació sobre el fitxer"
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "Executar una comanda" msgstr "Executar una comanda"
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "Mostrar l'ajuda" msgstr "Mostrar l'ajuda"
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "Obrir document" msgstr "Obrir document"
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "Tancar Zathura" msgstr "Tancar Zathura"
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "Imprimir document" msgstr "Imprimir document"
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "Desar document" msgstr "Desar document"
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Desar document (i forçar la sobreescritura)" msgstr "Desar document (i forçar la sobreescritura)"
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "Desa els fitxers adjunts" msgstr "Desa els fitxers adjunts"
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "Assigna el desplaçament de pàgina" msgstr "Assigna el desplaçament de pàgina"
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Marca la posició actual dins el document" msgstr "Marca la posició actual dins el document"
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Esborrar les marques especificades" msgstr "Esborrar les marques especificades"
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "No realcis els resultats de la recerca actual" msgstr "No realcis els resultats de la recerca actual"
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Realça els resultats de recerca actual" msgstr "Realça els resultats de recerca actual"
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "Mostra informació sobre la versió" msgstr "Mostra informació sobre la versió"
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr "No s'ha obert cap document."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Nombre d'arguments invàlids."
#: ../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
#, c-format
msgid "Could not create bookmark: %s"
msgstr "No s'ha pogut crear el marcador: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Marcador actualitzat correctament: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Marcador creat correctament: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Esborrat el marcador: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "No s'ha pogut esborrar el marcador: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Marcador no existent: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Cap informació disponible."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Massa arguments."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Cap argument subministrat."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Document desat."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "No s'ha pogut desar el document."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Nombre d'arguments invàlids."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "No s'ha pogut escriure el fitxer adjunt '%s' a '%s'."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "S'ha escrit el fitxer adjunt '%s' a '%s'."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "S'ha escrit la imatge '%s' a '%s'."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "No s'ha pogut escriure la imatge '%s' a '%s'."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Imatge desconeguda '%s'."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Imatge o fitxer adjunt desconegut '%s'."
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "L'argument ha de ser un nombre."
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr "Pàgina %d"
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr "Fitxers adjunts"
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr "Imatges"
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr "Aquest document no conté cap índex"
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "No s'ha pogut executar xdg-open." msgstr "No s'ha pogut executar xdg-open."
@ -499,6 +502,62 @@ msgstr "Enllaç: %s"
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Enllaç: Invàlid" msgstr "Enllaç: Invàlid"
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr "Reassigna a la finestra especificada per xid"
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr "Ruta al directori de configuració"
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr "Camí al directori de dades"
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr "Camí al directori que conté els plugins"
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr "Bifurca en segon pla"
#: ../zathura/main.c:162
msgid "Document password"
msgstr "Contrasenya del document"
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr "Nivell de registre (depuració, informació, advertiments, errors)"
#: ../zathura/main.c:165
msgid "Print version information"
msgstr "Imprimeix informació sobre la versió"
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor synctex (reenviat a l'ordre synctex)"
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:171
msgid "Start in a non-default mode"
msgstr ""
#: ../zathura/page-widget.c:561 #: ../zathura/page-widget.c:561
msgid "Loading..." msgid "Loading..."
msgstr "Carregant..." msgstr "Carregant..."
@ -511,74 +570,35 @@ msgstr "Copia la imatge"
msgid "Save image as" msgid "Save image as"
msgstr "Desa imatge com a" msgstr "Desa imatge com a"
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr "Aquest document no conté cap índex"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "[Sense nom]" msgstr "[Sense nom]"
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
#: ../zathura/zathura.c:683
msgid "Enter password:"
msgstr ""
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr "Reassigna a la finestra especificada per xid"
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr "Ruta al directori de configuració"
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr "Camí al directori de dades"
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr "Camí al directori que conté els plugins"
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr "Bifurca en segon pla"
#: ../zathura/main.c:63
msgid "Document password"
msgstr "Contrasenya del document"
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr "Nivell de registre (depuració, informació, advertiments, errors)"
#: ../zathura/main.c:66
msgid "Print version information"
msgstr "Imprimeix informació sobre la versió"
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor synctex (reenviat a l'ordre synctex)"
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr ""

540
po/cs.po
View file

@ -5,36 +5,189 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2015-04-13 19:45+0200\n" "PO-Revision-Date: 2015-10-15 23:09+0200\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: pwmt.org <mail@pwmt.org>\n" "Language-Team: pwmt.org <mail@pwmt.org>\n"
"Language: cs\n" "Language: cs\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.5.4\n" "X-Generator: Poedit 1.8.5\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Neplatný vstup: %s" msgstr "Neplatný vstup: %s"
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Neplatný index: %s" msgstr "Neplatný index: %s"
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr "Není otevřený žádný dokument."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Špatný počet argumentů."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Nemůžu vytvořit záložku: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Nemůžu vytvořit záložku: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Záložka úspěšně aktualizována: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Záložka úspěšně vytvořena: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Záložka smazána: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Nemůžu smazat záložku: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Záložka neexistuje: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Nejsou dostupné žádné informace."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Příliš mnoho argumentů."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Nezadali jste argumenty."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Dokument uložen."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Nepovedlo se uložit dokument."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Špatný počet argumentů."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Nepovedlo se zapsat přílohu '%s' do '%s'."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Příloha '%s' zapsána do '%s'."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Obrázek '%s' zapsán do '%s'."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Nepovedlo se zapsat obrázek '%s' do '%s'."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Neznámý obrázek '%s'."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Neznámá příloha nebo obrázek '%s'."
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Argumentem musí být číslo."
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr "Strana %d"
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr "Přílohy"
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr "Obrázky"
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -189,293 +342,143 @@ msgid "Show directories"
msgstr "Zobrazovat adresáře" msgstr "Zobrazovat adresáře"
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Show recent files"
msgstr ""
#: ../zathura/config.c:218
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Vždy otevírat na první straně" msgstr "Vždy otevírat na první straně"
#: ../zathura/config.c:218 #: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Zvýrazňovat výsledky hledání" msgstr "Zvýrazňovat výsledky hledání"
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Při abortu smazat výsledky hledání" msgstr "Při abortu smazat výsledky hledání"
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:227
msgid "Display the page number in the window title"
msgstr ""
#: ../zathura/config.c:229 #: ../zathura/config.c:229
msgid "Use basename of the file in the statusbar" msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:231 #: ../zathura/config.c:231
msgid "Enable synctex support" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:233 #: ../zathura/config.c:233
msgid "Synctex editor command" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:235 #: ../zathura/config.c:235
msgid "Enable D-Bus service" msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:237 #: ../zathura/config.c:237
msgid "The clipboard into which mouse-selected data will be written" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../zathura/config.c:239 #: ../zathura/config.c:239
msgid "Synctex editor command"
msgstr ""
#: ../zathura/config.c:241
msgid "Enable D-Bus service"
msgstr ""
#: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "" msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Přidat záložku" msgstr "Přidat záložku"
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Smazat záložku" msgstr "Smazat záložku"
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Vypsat záložky" msgstr "Vypsat záložky"
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "Zavřít tenhle soubor" msgstr "Zavřít tenhle soubor"
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "Zobrazit informace o souboru" msgstr "Zobrazit informace o souboru"
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "" msgstr ""
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "Zobrazit nápovědu" msgstr "Zobrazit nápovědu"
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "Otevřít dokument" msgstr "Otevřít dokument"
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "Zavřít zathuru" msgstr "Zavřít zathuru"
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "Tisknout dokument" msgstr "Tisknout dokument"
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "Uložit dokument" msgstr "Uložit dokument"
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Uložit a přepsat dokument" msgstr "Uložit a přepsat dokument"
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "Uložit přílohy" msgstr "Uložit přílohy"
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "" msgstr ""
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Označit současnou pozici v dokumentu" msgstr "Označit současnou pozici v dokumentu"
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Smazat vybrané značky" msgstr "Smazat vybrané značky"
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "Nezvýrazňovat výsledky tohoto hledání" msgstr "Nezvýrazňovat výsledky tohoto hledání"
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Zvýrazňovat výsledky tohoto hledání" msgstr "Zvýrazňovat výsledky tohoto hledání"
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr "Není otevřený žádný dokument."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Špatný počet argumentů."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Nemůžu vytvořit záložku: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Nemůžu vytvořit záložku: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Záložka úspěšně aktualizována: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Záložka úspěšně vytvořena: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Záložka smazána: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Nemůžu smazat záložku: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Záložka neexistuje: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Nejsou dostupné žádné informace."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Příliš mnoho argumentů."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Nezadali jste argumenty."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Dokument uložen."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Nepovedlo se uložit dokument."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Špatný počet argumentů."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Nepovedlo se zapsat přílohu '%s' do '%s'."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Příloha '%s' zapsána do '%s'."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Obrázek '%s' zapsán do '%s'."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Nepovedlo se zapsat obrázek '%s' do '%s'."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Neznámý obrázek '%s'."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Neznámá příloha nebo obrázek '%s'."
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Argumentem musí být číslo."
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr "Strana %d"
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr "Přílohy"
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr "Obrázky"
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr "Tenhle dokument neobsahuje žádné indexy"
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Nepovedlo se spustit xdg-open." msgstr "Nepovedlo se spustit xdg-open."
@ -494,6 +497,62 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr ""
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr "Cesta k souboru s nastavením"
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr "Cesta k adresáři s daty"
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr "Cesta k adresářům s pluginy"
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr "Forknout se na pozadí"
#: ../zathura/main.c:162
msgid "Document password"
msgstr "Heslo"
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr "Úroveň logování (debug, info, warning, error)"
#: ../zathura/main.c:165
msgid "Print version information"
msgstr "Zobrazit informace o souboru"
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:171
msgid "Start in a non-default mode"
msgstr ""
#: ../zathura/page-widget.c:561 #: ../zathura/page-widget.c:561
msgid "Loading..." msgid "Loading..."
msgstr "Načítám ..." msgstr "Načítám ..."
@ -506,74 +565,35 @@ msgstr "Zkopíruj obrázek"
msgid "Save image as" msgid "Save image as"
msgstr "Ulož obrázek jako" msgstr "Ulož obrázek jako"
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr "Tenhle dokument neobsahuje žádné indexy"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "[Nepojmenovaný]" msgstr "[Nepojmenovaný]"
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
#: ../zathura/zathura.c:683
msgid "Enter password:"
msgstr ""
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr ""
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr "Cesta k souboru s nastavením"
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr "Cesta k adresáři s daty"
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr "Cesta k adresářům s pluginy"
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr "Forknout se na pozadí"
#: ../zathura/main.c:63
msgid "Document password"
msgstr "Heslo"
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr "Úroveň logování (debug, info, warning, error)"
#: ../zathura/main.c:66
msgid "Print version information"
msgstr "Zobrazit informace o souboru"
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr ""

538
po/de.po
View file

@ -8,38 +8,191 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2015-04-13 19:46+0200\n" "PO-Revision-Date: 2015-12-14 22:15+0100\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: German (http://www.transifex.com/projects/p/zathura/language/" "Language-Team: German (http://www.transifex.com/projects/p/zathura/language/"
"de/)\n" "de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.6.10\n" "X-Generator: Poedit 1.8.6\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "'%s' darf nicht 0 sein. Auf 1 gesetzt." msgstr "'%s' darf nicht 0 sein. Auf 1 gesetzt."
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Ungültige Eingabe '%s' angegeben." msgstr "Ungültige Eingabe '%s' angegeben."
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Ungültiger Index '%s' angegeben." msgstr "Ungültiger Index '%s' angegeben."
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "Der gewählte Text wurde in die Zwischenablage %s kopiert: %s" msgstr "Der gewählte Text wurde in die Zwischenablage %s kopiert: %s"
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr "Kein Dokument geöffnet."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Ungültige Anzahl an Argumenten angegeben."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Konnte Lesezeichen nicht aktualisieren: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Konnte Lesezeichen nicht erstellen: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Lesezeichen erfolgreich aktualisiert: %s."
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Lesezeichen erfolgreich erstellt: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Lesezeichen entfernt: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Konnte Lesezeichen nicht entfernen: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Lesezeichen existiert nicht: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr "Titel"
#: ../zathura/commands.c:163
msgid "Author"
msgstr "Autor"
#: ../zathura/commands.c:164
msgid "Subject"
msgstr "Betreff"
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr "Schlagwörter"
#: ../zathura/commands.c:166
msgid "Creator"
msgstr "Ersteller"
#: ../zathura/commands.c:167
msgid "Producer"
msgstr "Produzent"
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr "Erstellungsdatum"
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr "Modifikationsdatum"
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Keine Information verfügbar."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Zu viele Argumente angegeben."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Keine Argumente angegeben."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Dokument gespeichert."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Konnte Dokument nicht speichern."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Ungültige Anzahl an Argumenten."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Anhang '%s' nach '%s' geschrieben."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Anhang '%s' nach '%s' geschrieben."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Unbekanntes Bild '%s'."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Unbekannter Anhanng oder Bild '%s'."
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Das Argument ist keine Zahl."
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr "Seite %d"
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr "Speichere Anhänge"
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr "Bilder"
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -197,293 +350,143 @@ msgid "Show directories"
msgstr "Zeige Ordner an" msgstr "Zeige Ordner an"
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Show recent files"
msgstr "Zeige zuletzt geöffnete Dateien an"
#: ../zathura/config.c:218
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Öffne Dokument immer auf der ersten Seite" msgstr "Öffne Dokument immer auf der ersten Seite"
#: ../zathura/config.c:218 #: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Hebe Suchergebnisse hervor" msgstr "Hebe Suchergebnisse hervor"
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "Aktiviere inkrementelle Suche" msgstr "Aktiviere inkrementelle Suche"
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Lösche Suchergebnisse bei Abbruch" msgstr "Lösche Suchergebnisse bei Abbruch"
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "Verwende den Dateinamen der Datei im Fenstertitel" msgstr "Verwende den Dateinamen der Datei im Fenstertitel"
#: ../zathura/config.c:227 #: ../zathura/config.c:229
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr "Verwende ~ statt $HOME im Dateinamen im Fenstertitel"
#: ../zathura/config.c:231
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "Verwende die Seitenzal im Fenstertitel" msgstr "Verwende die Seitenzal im Fenstertitel"
#: ../zathura/config.c:229 #: ../zathura/config.c:233
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "Verwende den Dateinamen der Datei in der Statusleiste" msgstr "Verwende den Dateinamen der Datei in der Statusleiste"
#: ../zathura/config.c:231 #: ../zathura/config.c:235
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr "Verwende ~ statt $HOME im Dateinamen in der Statusleiste"
#: ../zathura/config.c:237
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "Aktiviere SyncTeX-Unterstützung" msgstr "Aktiviere SyncTeX-Unterstützung"
#: ../zathura/config.c:233 #: ../zathura/config.c:239
msgid "Synctex editor command" msgid "Synctex editor command"
msgstr "Synctex Editor Befehl" msgstr "Synctex Editor Befehl"
#: ../zathura/config.c:235 #: ../zathura/config.c:241
msgid "Enable D-Bus service" msgid "Enable D-Bus service"
msgstr "D-Bus-Dienst aktivieren" msgstr "D-Bus-Dienst aktivieren"
#: ../zathura/config.c:237 #: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written" msgid "The clipboard into which mouse-selected data will be written"
msgstr "Zwischenablage, in die mit der Maus gewählte Text kopiert wird" msgstr "Zwischenablage, in die mit der Maus gewählte Text kopiert wird"
#: ../zathura/config.c:239 #: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "Benachrichtigung nach Text-Selektion" msgstr "Benachrichtigung nach Text-Selektion"
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Füge Lesezeichen hinzu" msgstr "Füge Lesezeichen hinzu"
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Lösche ein Lesezeichen" msgstr "Lösche ein Lesezeichen"
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Liste all Lesezeichen auf" msgstr "Liste all Lesezeichen auf"
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "Schließe das aktuelle Dokument" msgstr "Schließe das aktuelle Dokument"
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "Zeige Dokumentinformationen an" msgstr "Zeige Dokumentinformationen an"
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "Führe einen Befehl aus" msgstr "Führe einen Befehl aus"
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "Zeige Hilfe an" msgstr "Zeige Hilfe an"
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "Öffne Dokument" msgstr "Öffne Dokument"
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "Beende zathura" msgstr "Beende zathura"
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "Drucke Dokument" msgstr "Drucke Dokument"
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "Speichere Dokument" msgstr "Speichere Dokument"
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Speichere Dokument (und überschreibe bestehende)" msgstr "Speichere Dokument (und überschreibe bestehende)"
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "Speichere Anhänge" msgstr "Speichere Anhänge"
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "Setze den Seitenabstand" msgstr "Setze den Seitenabstand"
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Markiere aktuelle Position im Doukument" msgstr "Markiere aktuelle Position im Doukument"
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Lösche angegebene Markierung" msgstr "Lösche angegebene Markierung"
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "Hebe aktuelle Suchergebnisse nicht hervor" msgstr "Hebe aktuelle Suchergebnisse nicht hervor"
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Hebe aktuelle Suchergebnisse hervor" msgstr "Hebe aktuelle Suchergebnisse hervor"
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "Zeige Versionsinformationen an" msgstr "Zeige Versionsinformationen an"
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr "Kein Dokument geöffnet."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Ungültige Anzahl an Argumenten angegeben."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Konnte Lesezeichen nicht aktualisieren: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Konnte Lesezeichen nicht erstellen: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Lesezeichen erfolgreich aktualisiert: %s."
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Lesezeichen erfolgreich erstellt: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Lesezeichen entfernt: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Konnte Lesezeichen nicht entfernen: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Lesezeichen existiert nicht: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr "Titel"
#: ../zathura/commands.c:163
msgid "Author"
msgstr "Autor"
#: ../zathura/commands.c:164
msgid "Subject"
msgstr "Betreff"
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr "Schlagwörter"
#: ../zathura/commands.c:166
msgid "Creator"
msgstr "Ersteller"
#: ../zathura/commands.c:167
msgid "Producer"
msgstr "Produzent"
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr "Erstellungsdatum"
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr "Modifikationsdatum"
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Keine Information verfügbar."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Zu viele Argumente angegeben."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Keine Argumente angegeben."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Dokument gespeichert."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Konnte Dokument nicht speichern."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Ungültige Anzahl an Argumenten."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Anhang '%s' nach '%s' geschrieben."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Anhang '%s' nach '%s' geschrieben."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Unbekanntes Bild '%s'."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Unbekannter Anhanng oder Bild '%s'."
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Das Argument ist keine Zahl."
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr "Seite %d"
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr "Speichere Anhänge"
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr "Bilder"
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr "Drucken fehlgeschlagen: %s"
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis."
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Konnte xdg-open nicht ausführen." msgstr "Konnte xdg-open nicht ausführen."
@ -502,6 +505,62 @@ msgstr "Verknüpfung: %s"
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Verknüpfung: ungültig" msgstr "Verknüpfung: ungültig"
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr "Reparentiert zathura an das Fenster mit der xid"
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr "Pfad zum Konfigurationsverzeichnis"
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr "Pfad zum Datenverzeichnis"
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr "Pfad zum Cacheverzeichnis"
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr "Pfad zum Pluginverzeichnis"
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr "Forkt den Prozess in den Hintergrund"
#: ../zathura/main.c:162
msgid "Document password"
msgstr "Dokument Passwort"
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr "Zur Seite springen"
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr "Log-Stufe (debug, info, warning, error)"
#: ../zathura/main.c:165
msgid "Print version information"
msgstr "Zeige Versionsinformationen an"
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex Editor (wird an synctex weitergeleitet)"
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr "Zur gewählten SyncTeX-Position springen"
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr "Gewählte Position im Prozess hervorheben"
#: ../zathura/main.c:171
msgid "Start in a non-default mode"
msgstr "In einem Nicht-Standardmodus starten"
#: ../zathura/page-widget.c:561 #: ../zathura/page-widget.c:561
msgid "Loading..." msgid "Loading..."
msgstr "Lädt..." msgstr "Lädt..."
@ -514,74 +573,35 @@ msgstr "Bild kopieren"
msgid "Save image as" msgid "Save image as"
msgstr "Bild speichern als" msgstr "Bild speichern als"
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr "Drucken fehlgeschlagen: %s"
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis."
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "[Kein Name]" msgstr "[Kein Name]"
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." 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." msgstr "Konnte Datei nicht von stdin lesen und in temporäre Datei schreiben."
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
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:683
msgid "Enter password:"
msgstr "Passwort:"
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Dateityp ist nicht unterstützt. Installiere das benötigete Plugin." msgstr "Dateityp ist nicht unterstützt. Installiere das benötigete Plugin."
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "Dieses Dokument beinhaltet keine Seiten" msgstr "Dieses Dokument beinhaltet keine Seiten"
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr "Reparentiert zathura an das Fenster mit der xid"
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr "Pfad zum Konfigurationsverzeichnis"
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr "Pfad zum Datenverzeichnis"
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr "Pfad zum Cacheverzeichnis"
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr "Pfad zum Pluginverzeichnis"
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr "Forkt den Prozess in den Hintergrund"
#: ../zathura/main.c:63
msgid "Document password"
msgstr "Dokument Passwort"
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr "Zur Seite springen"
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr "Log-Stufe (debug, info, warning, error)"
#: ../zathura/main.c:66
msgid "Print version information"
msgstr "Zeige Versionsinformationen an"
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex Editor (wird an synctex weitergeleitet)"
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr "Zur gewählten SyncTeX-Position springen"
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr "Gewählte Position im Prozess hervorheben"
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr "In einem Nicht-Standardmodus starten"

542
po/el.po
View file

@ -8,8 +8,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2015-04-13 19:46+0200\n" "PO-Revision-Date: 2015-10-15 23:07+0200\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Greek (http://www.transifex.com/projects/p/zathura/language/" "Language-Team: Greek (http://www.transifex.com/projects/p/zathura/language/"
"el/)\n" "el/)\n"
@ -18,28 +18,181 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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 1.5.4\n" "X-Generator: Poedit 1.8.5\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Η είσοδος '%s' είναι άκυρη." msgstr "Η είσοδος '%s' είναι άκυρη."
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Ο δείκτης '%s' είναι άκυρος." msgstr "Ο δείκτης '%s' είναι άκυρος."
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr "Δεν άνοιξε κανένα αρχείο. "
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Μη έγκυρος αριθμός παραμέτρων."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Η δημιουργία του σελιδοδείκτη: %s δεν ήταν δυνατή."
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Η δημιουργία του σελιδοδείκτη: %s δεν ήταν δυνατή."
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Η ενημέρωση του σελιδοδείκτη: %s ήταν επιτυχής. "
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Η δημιουργία του σελιδοδείκτη: %s ήταν επιτυχής."
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Ο σελιδοδείκτης: %s διεγράφει. "
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Η διαγραφή του σελιδοδείκτη: %s απέτυχε. "
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Ο σελιδοδείκτης: %s δεν βρέθηκε. "
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Δεν υπάρχουν διαθέσιμες πληροφορίες."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Εισήχθησαν πολλές παράμετροι. "
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Δεν εισήχθησαν παράμετροι. "
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Το αρχείο αποθηκεύτηκε."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Η αποθήκευση του αρχείου απέτυχε. "
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Μη έγκυρος ο αριθμός των παραμέτρων. "
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Μη επιτυχής η εγγραγή της προσάρτησης '%s' στην '%s'."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Επιτυχής η εγγραφή της προσάρτησης '%s' στην '%s'."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Ενεγράφει η εικόνα '%s' στην '%s'"
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Δεν ενεγράφει η εικόνα '%s' στην '%s'."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Άγνωστη εικόνα '%s'. "
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Άγνωστο προσάρτημα είτε εικόνα '%s'. "
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Η παράμετρος πρέπει να είναι αριθμός."
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr "Σελίδα %d"
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr "Προσαρτήσεις"
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr "Εικόνες"
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -196,293 +349,143 @@ msgid "Show directories"
msgstr "Εμφάνιση καταλόγων" msgstr "Εμφάνιση καταλόγων"
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Show recent files"
msgstr ""
#: ../zathura/config.c:218
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Άνοιγμα πάντα στην πρώτη σελίδα" msgstr "Άνοιγμα πάντα στην πρώτη σελίδα"
#: ../zathura/config.c:218 #: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Τονισμός αποτελεσμάτων αναζήτησης" msgstr "Τονισμός αποτελεσμάτων αναζήτησης"
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Εκκαθάριση των απολεσμάτων αναζήτησης κατά την διακοπή" msgstr "Εκκαθάριση των απολεσμάτων αναζήτησης κατά την διακοπή"
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "Χρήση του ονόματος του αρχείο στο τίτλο του παραθύρου" msgstr "Χρήση του ονόματος του αρχείο στο τίτλο του παραθύρου"
#: ../zathura/config.c:227
msgid "Display the page number in the window title"
msgstr ""
#: ../zathura/config.c:229 #: ../zathura/config.c:229
msgid "Use basename of the file in the statusbar" msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:231 #: ../zathura/config.c:231
msgid "Enable synctex support" msgid "Display the page number in the window title"
msgstr "Ενεργοποίηση υποστήριξης synctex" msgstr ""
#: ../zathura/config.c:233 #: ../zathura/config.c:233
msgid "Synctex editor command" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:235 #: ../zathura/config.c:235
msgid "Enable D-Bus service" msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:237 #: ../zathura/config.c:237
msgid "Enable synctex support"
msgstr "Ενεργοποίηση υποστήριξης synctex"
#: ../zathura/config.c:239
msgid "Synctex editor command"
msgstr ""
#: ../zathura/config.c:241
msgid "Enable D-Bus service"
msgstr ""
#: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written" msgid "The clipboard into which mouse-selected data will be written"
msgstr "" msgstr ""
#: ../zathura/config.c:239 #: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "" msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Προσθήκη σελιδοδείκτη" msgstr "Προσθήκη σελιδοδείκτη"
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Διαγραφή σελιδοδείκτη" msgstr "Διαγραφή σελιδοδείκτη"
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Εμφάνιση όλων των σελιδοδεικτών" msgstr "Εμφάνιση όλων των σελιδοδεικτών"
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "Κλείσιμο αρχείου" msgstr "Κλείσιμο αρχείου"
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "Προβολή πληροφοριών αρχείου" msgstr "Προβολή πληροφοριών αρχείου"
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "Εκτέλεση εντολής" msgstr "Εκτέλεση εντολής"
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "Εμφάνιση βοήθειας" msgstr "Εμφάνιση βοήθειας"
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "Άνοιγμα αρχείου" msgstr "Άνοιγμα αρχείου"
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "Κλείσιμο" msgstr "Κλείσιμο"
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "Εκτύπωση αρχείου" msgstr "Εκτύπωση αρχείου"
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "Αποθήκευση αρχείου" msgstr "Αποθήκευση αρχείου"
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Αποθήκευση αρχείου (και αντικατάσταση)" msgstr "Αποθήκευση αρχείου (και αντικατάσταση)"
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "Αποθήκευση προσαρτήσεων. " msgstr "Αποθήκευση προσαρτήσεων. "
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "Ρύθμιση αντιστάθμισης σελίδας" msgstr "Ρύθμιση αντιστάθμισης σελίδας"
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Επισήμανση τρέχουσας θέσης στο κείμενο" msgstr "Επισήμανση τρέχουσας θέσης στο κείμενο"
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Διαγραφή επιλεγμένων σημείων" msgstr "Διαγραφή επιλεγμένων σημείων"
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "Χωρίς τονισμό τα τρέχοντα αποτελέσματα της αναζήτησης" msgstr "Χωρίς τονισμό τα τρέχοντα αποτελέσματα της αναζήτησης"
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Τονισμός στα τρέχοντα αποτελέσματα της αναζήτησης" msgstr "Τονισμός στα τρέχοντα αποτελέσματα της αναζήτησης"
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "Εμφάνιση πληροφοριών έκδοσης" msgstr "Εμφάνιση πληροφοριών έκδοσης"
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr "Δεν άνοιξε κανένα αρχείο. "
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Μη έγκυρος αριθμός παραμέτρων."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Η δημιουργία του σελιδοδείκτη: %s δεν ήταν δυνατή."
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Η δημιουργία του σελιδοδείκτη: %s δεν ήταν δυνατή."
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Η ενημέρωση του σελιδοδείκτη: %s ήταν επιτυχής. "
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Η δημιουργία του σελιδοδείκτη: %s ήταν επιτυχής."
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Ο σελιδοδείκτης: %s διεγράφει. "
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Η διαγραφή του σελιδοδείκτη: %s απέτυχε. "
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Ο σελιδοδείκτης: %s δεν βρέθηκε. "
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Δεν υπάρχουν διαθέσιμες πληροφορίες."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Εισήχθησαν πολλές παράμετροι. "
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Δεν εισήχθησαν παράμετροι. "
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Το αρχείο αποθηκεύτηκε."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Η αποθήκευση του αρχείου απέτυχε. "
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Μη έγκυρος ο αριθμός των παραμέτρων. "
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Μη επιτυχής η εγγραγή της προσάρτησης '%s' στην '%s'."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Επιτυχής η εγγραφή της προσάρτησης '%s' στην '%s'."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Ενεγράφει η εικόνα '%s' στην '%s'"
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Δεν ενεγράφει η εικόνα '%s' στην '%s'."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Άγνωστη εικόνα '%s'. "
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Άγνωστο προσάρτημα είτε εικόνα '%s'. "
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Η παράμετρος πρέπει να είναι αριθμός."
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr "Σελίδα %d"
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr "Προσαρτήσεις"
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr "Εικόνες"
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr "Το αρχείο δεν περιέχει κανένα δείκτη"
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Απέτυχε η εκτέλεση του xdg-open. " msgstr "Απέτυχε η εκτέλεση του xdg-open. "
@ -501,6 +504,62 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr "Reparents to window specified by xid"
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr "Διαδρομή του αρχείου ρυθμίσεων"
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr "Διαδρομή του φακέλου δεδομένων"
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr "Διαδρομή φακέλου που περιέχει τα πρόσθετα"
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr "Διακλάδωση στο παρασκήνιο"
#: ../zathura/main.c:162
msgid "Document password"
msgstr "Κωδικός αρχείου"
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr "Επίπεδο καταγραφής (debug, info, warning, error)"
#: ../zathura/main.c:165
msgid "Print version information"
msgstr "Εκτύπωση πληροφοριών έκδοσης"
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex editor (Προώθηση στην εντολή synctex)"
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:171
msgid "Start in a non-default mode"
msgstr ""
#: ../zathura/page-widget.c:561 #: ../zathura/page-widget.c:561
msgid "Loading..." msgid "Loading..."
msgstr "Φορτώνει ..." msgstr "Φορτώνει ..."
@ -513,74 +572,35 @@ msgstr "Αντιγραφή εικόνας"
msgid "Save image as" msgid "Save image as"
msgstr "Αποθήκευση εικόνας ως..." msgstr "Αποθήκευση εικόνας ως..."
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr "Το αρχείο δεν περιέχει κανένα δείκτη"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "[Χωρίς όνομα]" msgstr "[Χωρίς όνομα]"
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
#: ../zathura/zathura.c:683
msgid "Enter password:"
msgstr ""
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr "Reparents to window specified by xid"
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr "Διαδρομή του αρχείου ρυθμίσεων"
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr "Διαδρομή του φακέλου δεδομένων"
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr "Διαδρομή φακέλου που περιέχει τα πρόσθετα"
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr "Διακλάδωση στο παρασκήνιο"
#: ../zathura/main.c:63
msgid "Document password"
msgstr "Κωδικός αρχείου"
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr "Επίπεδο καταγραφής (debug, info, warning, error)"
#: ../zathura/main.c:66
msgid "Print version information"
msgstr "Εκτύπωση πληροφοριών έκδοσης"
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex editor (Προώθηση στην εντολή synctex)"
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr ""

540
po/eo.po
View file

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2015-04-13 19:46+0200\n" "PO-Revision-Date: 2015-10-15 23:07+0200\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Esperanto (http://www.transifex.com/projects/p/zathura/" "Language-Team: Esperanto (http://www.transifex.com/projects/p/zathura/"
"language/eo/)\n" "language/eo/)\n"
@ -17,28 +17,181 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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 1.5.4\n" "X-Generator: Poedit 1.8.5\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Nevalida enigo '%s' uzata." msgstr "Nevalida enigo '%s' uzata."
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Nevalida indekso '%s' uzata." msgstr "Nevalida indekso '%s' uzata."
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr "Neniu dokumento malfermita."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Nevalida nombro da argumentoj uzata."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Neeble krei paĝosignon: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Neeble krei paĝosignon: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Paĝosigno sukcese aktualigita: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Paĝosigno sukcese kreita: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Paĝosigno forigita: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Neeble forigi paĝosignon: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Neniu paĝosigno: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Neniu informacio disponebla."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Tro multe da argumentoj."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Neniuj argumentoj uzata."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Dokumento konservita."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Neeble konservi dokumenton."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Nevalida nombro da argumentoj."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Neeble skribi kunsendaĵon '%s' en '%s'."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Skribis kunsendaĵon '%s' en '%s'."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Skribis kunsendaĵon '%s' en '%s'."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Neeble skribi kunsendaĵon '%s' en '%s'."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Nekonata bildo '%s'."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Argumento devas esti nombro."
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr "Paĝo %d"
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr "Konservu kunsendaĵojn"
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr "Bildoj"
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -193,293 +346,143 @@ msgid "Show directories"
msgstr "Montru dosierujojn" msgstr "Montru dosierujojn"
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Show recent files"
msgstr ""
#: ../zathura/config.c:218
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Ĉiam malfermu ĉe unua paĝo" msgstr "Ĉiam malfermu ĉe unua paĝo"
#: ../zathura/config.c:218 #: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "" msgstr ""
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "" msgstr ""
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:227
msgid "Display the page number in the window title"
msgstr ""
#: ../zathura/config.c:229 #: ../zathura/config.c:229
msgid "Use basename of the file in the statusbar" msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:231 #: ../zathura/config.c:231
msgid "Enable synctex support" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:233 #: ../zathura/config.c:233
msgid "Synctex editor command" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:235 #: ../zathura/config.c:235
msgid "Enable D-Bus service" msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:237 #: ../zathura/config.c:237
msgid "The clipboard into which mouse-selected data will be written" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../zathura/config.c:239 #: ../zathura/config.c:239
msgid "Synctex editor command"
msgstr ""
#: ../zathura/config.c:241
msgid "Enable D-Bus service"
msgstr ""
#: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "" msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Aldonu paĝosignon" msgstr "Aldonu paĝosignon"
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Forigu paĝosignon" msgstr "Forigu paĝosignon"
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Listigu ĉiujn paĝosignojn" msgstr "Listigu ĉiujn paĝosignojn"
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "Fermu nunan dosieron" msgstr "Fermu nunan dosieron"
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "Montru dosiera informacio" msgstr "Montru dosiera informacio"
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "" msgstr ""
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "Montru helpon" msgstr "Montru helpon"
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "Malfermu dokumenton" msgstr "Malfermu dokumenton"
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "Fermu zathura" msgstr "Fermu zathura"
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "Presu dokumenton" msgstr "Presu dokumenton"
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "Konservu dokumenton" msgstr "Konservu dokumenton"
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Konservu dokumenton (deviga anstataŭo)" msgstr "Konservu dokumenton (deviga anstataŭo)"
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "Konservu kunsendaĵojn" msgstr "Konservu kunsendaĵojn"
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "Agordu paĝdelokado" msgstr "Agordu paĝdelokado"
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "" msgstr ""
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "" msgstr ""
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "" msgstr ""
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "" msgstr ""
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr "Neniu dokumento malfermita."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Nevalida nombro da argumentoj uzata."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Neeble krei paĝosignon: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Neeble krei paĝosignon: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Paĝosigno sukcese aktualigita: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Paĝosigno sukcese kreita: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Paĝosigno forigita: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Neeble forigi paĝosignon: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Neniu paĝosigno: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Neniu informacio disponebla."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Tro multe da argumentoj."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Neniuj argumentoj uzata."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Dokumento konservita."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Neeble konservi dokumenton."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Nevalida nombro da argumentoj."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Neeble skribi kunsendaĵon '%s' en '%s'."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Skribis kunsendaĵon '%s' en '%s'."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Skribis kunsendaĵon '%s' en '%s'."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Neeble skribi kunsendaĵon '%s' en '%s'."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Nekonata bildo '%s'."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Argumento devas esti nombro."
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr "Paĝo %d"
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr "Konservu kunsendaĵojn"
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr "Bildoj"
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr "Ĉi-tiu dokumento enhavas neniam indekson."
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Fiaskis iro de xdg-open" msgstr "Fiaskis iro de xdg-open"
@ -498,6 +501,62 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr ""
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr "Vojo al la agorda dosierujo"
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr "Vojo al la datuma dosierujo"
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr "Vojoj al dosierujoj enhavantaj kromaĵojn"
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr ""
#: ../zathura/main.c:162
msgid "Document password"
msgstr ""
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr "Nivelo de ĵurnalo (debug, info, warning, error)"
#: ../zathura/main.c:165
msgid "Print version information"
msgstr "Montru dosiera informacio"
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:171
msgid "Start in a non-default mode"
msgstr ""
#: ../zathura/page-widget.c:561 #: ../zathura/page-widget.c:561
msgid "Loading..." msgid "Loading..."
msgstr "Ŝargado ..." msgstr "Ŝargado ..."
@ -510,74 +569,35 @@ msgstr "Kopiu bildon"
msgid "Save image as" msgid "Save image as"
msgstr "Savi bildojn kiel" msgstr "Savi bildojn kiel"
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr "Ĉi-tiu dokumento enhavas neniam indekson."
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "[Neniu nomo]" msgstr "[Neniu nomo]"
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
#: ../zathura/zathura.c:683
msgid "Enter password:"
msgstr ""
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr ""
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr "Vojo al la agorda dosierujo"
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr "Vojo al la datuma dosierujo"
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr "Vojoj al dosierujoj enhavantaj kromaĵojn"
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr ""
#: ../zathura/main.c:63
msgid "Document password"
msgstr ""
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr "Nivelo de ĵurnalo (debug, info, warning, error)"
#: ../zathura/main.c:66
msgid "Print version information"
msgstr "Montru dosiera informacio"
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr ""

542
po/es.po
View file

@ -6,8 +6,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2015-04-13 19:46+0200\n" "PO-Revision-Date: 2015-10-15 23:07+0200\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Spanish (Castilian) (http://www.transifex.net/projects/p/" "Language-Team: Spanish (Castilian) (http://www.transifex.net/projects/p/"
"zathura/language/es/)\n" "zathura/language/es/)\n"
@ -16,28 +16,181 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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 1.5.4\n" "X-Generator: Poedit 1.8.5\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Entrada inválida: '%s'." msgstr "Entrada inválida: '%s'."
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Índice invalido: '%s'." msgstr "Índice invalido: '%s'."
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr "Ningún documento abierto."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Número de argumentos inválido."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Error al crear favorito: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Error al crear favorito: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Favorito actualizado con éxitosamente: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Favorito creado con éxitosamente: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Favorito eliminado: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Error al eliminar el favorito: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "No existe el favorito: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "No hay información disponible."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Demasiados argumentos."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Ningún argumento recibido."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Documento guardado."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Error al guardar el documento."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Número de argumentos inválido."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Escrito fichero adjunto '%s' a '%s'."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Escrito fichero adjunto '%s' a '%s'."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Imagen desconocida '%s'."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Adjunto o imagen desconocidos '%s'."
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "El argumento ha de ser un número."
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr "Página %d"
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr "Guardar ficheros adjuntos"
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr "Imágenes"
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -194,293 +347,143 @@ msgid "Show directories"
msgstr "Mostrar directorios" msgstr "Mostrar directorios"
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Show recent files"
msgstr ""
#: ../zathura/config.c:218
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Abrir siempre la primera página" msgstr "Abrir siempre la primera página"
#: ../zathura/config.c:218 #: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Destacar los resultados de búsqueda" msgstr "Destacar los resultados de búsqueda"
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "Habilitar la búsqueda incremental" msgstr "Habilitar la búsqueda incremental"
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Borrar resultados de búsqueda al abortar" msgstr "Borrar resultados de búsqueda al abortar"
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "Usar el nombre del archivo en el título de la ventana" msgstr "Usar el nombre del archivo en el título de la ventana"
#: ../zathura/config.c:227
msgid "Display the page number in the window title"
msgstr ""
#: ../zathura/config.c:229 #: ../zathura/config.c:229
msgid "Use basename of the file in the statusbar" msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:231 #: ../zathura/config.c:231
msgid "Enable synctex support" msgid "Display the page number in the window title"
msgstr "Habilitar soporte synctex" msgstr ""
#: ../zathura/config.c:233 #: ../zathura/config.c:233
msgid "Synctex editor command" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:235 #: ../zathura/config.c:235
msgid "Enable D-Bus service" msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:237 #: ../zathura/config.c:237
msgid "Enable synctex support"
msgstr "Habilitar soporte synctex"
#: ../zathura/config.c:239
msgid "Synctex editor command"
msgstr ""
#: ../zathura/config.c:241
msgid "Enable D-Bus service"
msgstr ""
#: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written" msgid "The clipboard into which mouse-selected data will be written"
msgstr "" msgstr ""
#: ../zathura/config.c:239 #: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "" msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Añadir Favorito" msgstr "Añadir Favorito"
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Eliminar Favorito" msgstr "Eliminar Favorito"
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Listar favoritos" msgstr "Listar favoritos"
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "Cerrar fichero actual" msgstr "Cerrar fichero actual"
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "Mostrar información del fichero" msgstr "Mostrar información del fichero"
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "Ejecutar un comando" msgstr "Ejecutar un comando"
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "Mostrar ayuda" msgstr "Mostrar ayuda"
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "Abrir documento" msgstr "Abrir documento"
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "Salir de zathura" msgstr "Salir de zathura"
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "Imprimir documento" msgstr "Imprimir documento"
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "Guardar documento" msgstr "Guardar documento"
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Guardar documento (y sobreescribir)" msgstr "Guardar documento (y sobreescribir)"
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "Guardar ficheros adjuntos" msgstr "Guardar ficheros adjuntos"
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "Asignar el desplazamiento de página" msgstr "Asignar el desplazamiento de página"
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Marcar la posición actual en el documento" msgstr "Marcar la posición actual en el documento"
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Borrar las marcas especificadas" msgstr "Borrar las marcas especificadas"
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "No destacar los resultados de la búsqueda actual" msgstr "No destacar los resultados de la búsqueda actual"
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Destacar los resultados de la búsqueda actual" msgstr "Destacar los resultados de la búsqueda actual"
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "Mostrar versión" msgstr "Mostrar versión"
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr "Ningún documento abierto."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Número de argumentos inválido."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Error al crear favorito: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Error al crear favorito: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Favorito actualizado con éxitosamente: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Favorito creado con éxitosamente: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Favorito eliminado: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Error al eliminar el favorito: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "No existe el favorito: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "No hay información disponible."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Demasiados argumentos."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Ningún argumento recibido."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Documento guardado."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Error al guardar el documento."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Número de argumentos inválido."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Escrito fichero adjunto '%s' a '%s'."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Escrito fichero adjunto '%s' a '%s'."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Imagen desconocida '%s'."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Adjunto o imagen desconocidos '%s'."
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "El argumento ha de ser un número."
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr "Página %d"
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr "Guardar ficheros adjuntos"
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr "Imágenes"
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr "Este documento no contiene ningún índice"
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Error al tratar de ejecutar xdg-open" msgstr "Error al tratar de ejecutar xdg-open"
@ -499,6 +502,62 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr "Reasignar a la ventana especificada por xid"
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr "Ruta al directorio de configuración"
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr "Ruta para el directorio de datos"
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr "Ruta a los directorios que contienen los plugins"
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr "Fork, ejecutándose en background"
#: ../zathura/main.c:162
msgid "Document password"
msgstr "Contraseña del documento"
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr "Nivel de log (debug, info, warning, error)"
#: ../zathura/main.c:165
msgid "Print version information"
msgstr "Mostrar información del fichero"
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor de Synctex (reenvíado al commando synctex)"
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:171
msgid "Start in a non-default mode"
msgstr ""
#: ../zathura/page-widget.c:561 #: ../zathura/page-widget.c:561
msgid "Loading..." msgid "Loading..."
msgstr "Cargando ..." msgstr "Cargando ..."
@ -511,74 +570,35 @@ msgstr "Copiar imagen"
msgid "Save image as" msgid "Save image as"
msgstr "Salvar imagen como" msgstr "Salvar imagen como"
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr "Este documento no contiene ningún índice"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "[Sin nombre]" msgstr "[Sin nombre]"
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
#: ../zathura/zathura.c:683
msgid "Enter password:"
msgstr ""
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr "Reasignar a la ventana especificada por xid"
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr "Ruta al directorio de configuración"
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr "Ruta para el directorio de datos"
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr "Ruta a los directorios que contienen los plugins"
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr "Fork, ejecutándose en background"
#: ../zathura/main.c:63
msgid "Document password"
msgstr "Contraseña del documento"
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr "Nivel de log (debug, info, warning, error)"
#: ../zathura/main.c:66
msgid "Print version information"
msgstr "Mostrar información del fichero"
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor de Synctex (reenvíado al commando synctex)"
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr ""

View file

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2015-04-13 19:47+0200\n" "PO-Revision-Date: 2015-10-15 23:07+0200\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Spanish (Chile) (http://www.transifex.net/projects/p/zathura/" "Language-Team: Spanish (Chile) (http://www.transifex.net/projects/p/zathura/"
"language/es_CL/)\n" "language/es_CL/)\n"
@ -17,28 +17,181 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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 1.5.4\n" "X-Generator: Poedit 1.8.5\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Entrada inválida: '%s'." msgstr "Entrada inválida: '%s'."
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Índice invalido: '%s'." msgstr "Índice invalido: '%s'."
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr "Ningún documento abierto."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Número de argumentos inválido."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "No se pudo crear marcador: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "No se pudo crear marcador: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Marcador actualizado exitosamente: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Marcador creado exitosamente: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Marcador eliminado: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Error al eliminar marcador: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "No existe marcador: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "No hay información disponible."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Demasiados argumentos."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Ningún argumento recibido."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Documento guardado."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Error al guardar el documento."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Número de argumentos inválido."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Fichero adjunto escrito '%s' a '%s'."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Fichero adjunto escrito '%s' a '%s'."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr ""
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "El argumento debe ser un número."
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr ""
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr "Guardar archivos adjuntos"
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr ""
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -193,293 +346,143 @@ msgid "Show directories"
msgstr "Mostrar directorios" msgstr "Mostrar directorios"
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Show recent files"
msgstr ""
#: ../zathura/config.c:218
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Siempre abrir en primera página" msgstr "Siempre abrir en primera página"
#: ../zathura/config.c:218 #: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "" msgstr ""
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "" msgstr ""
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:227
msgid "Display the page number in the window title"
msgstr ""
#: ../zathura/config.c:229 #: ../zathura/config.c:229
msgid "Use basename of the file in the statusbar" msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:231 #: ../zathura/config.c:231
msgid "Enable synctex support" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:233 #: ../zathura/config.c:233
msgid "Synctex editor command" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:235 #: ../zathura/config.c:235
msgid "Enable D-Bus service" msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:237 #: ../zathura/config.c:237
msgid "The clipboard into which mouse-selected data will be written" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../zathura/config.c:239 #: ../zathura/config.c:239
msgid "Synctex editor command"
msgstr ""
#: ../zathura/config.c:241
msgid "Enable D-Bus service"
msgstr ""
#: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "" msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Agregar un marcador" msgstr "Agregar un marcador"
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Eliminar un marcador" msgstr "Eliminar un marcador"
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Listar todos los marcadores" msgstr "Listar todos los marcadores"
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "Cerrar archivo actual" msgstr "Cerrar archivo actual"
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "Mostrar información del archivo" msgstr "Mostrar información del archivo"
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "" msgstr ""
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "Mostrar ayuda" msgstr "Mostrar ayuda"
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "Abrir documento" msgstr "Abrir documento"
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "Cerrar zathura" msgstr "Cerrar zathura"
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "Imprimir documento" msgstr "Imprimir documento"
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "Guardar documento" msgstr "Guardar documento"
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Guardar documento (y forzar sobreescritura)" msgstr "Guardar documento (y forzar sobreescritura)"
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "Guardar archivos adjuntos" msgstr "Guardar archivos adjuntos"
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "Asignar desplazamiento de la página" msgstr "Asignar desplazamiento de la página"
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "" msgstr ""
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "" msgstr ""
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "" msgstr ""
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "" msgstr ""
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr "Ningún documento abierto."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Número de argumentos inválido."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "No se pudo crear marcador: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "No se pudo crear marcador: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Marcador actualizado exitosamente: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Marcador creado exitosamente: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Marcador eliminado: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Error al eliminar marcador: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "No existe marcador: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "No hay información disponible."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Demasiados argumentos."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Ningún argumento recibido."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Documento guardado."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Error al guardar el documento."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Número de argumentos inválido."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Fichero adjunto escrito '%s' a '%s'."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Fichero adjunto escrito '%s' a '%s'."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr ""
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "El argumento debe ser un número."
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr ""
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr "Guardar archivos adjuntos"
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr ""
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr "Este document no contiene índice"
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Error al ejecutar xdg-open." msgstr "Error al ejecutar xdg-open."
@ -498,6 +501,62 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr "Reasignar a la ventana especificada por xid"
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr "Ruta al directorio de configuración"
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr "Ruta al directorio de datos"
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr "Ruta al directorio que contiene plugins"
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr "Ejecución en background"
#: ../zathura/main.c:162
msgid "Document password"
msgstr ""
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr "Nivel de log (debug, info, warning, error)"
#: ../zathura/main.c:165
msgid "Print version information"
msgstr "Mostrar información del archivo"
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:171
msgid "Start in a non-default mode"
msgstr ""
#: ../zathura/page-widget.c:561 #: ../zathura/page-widget.c:561
msgid "Loading..." msgid "Loading..."
msgstr "Cargando..." msgstr "Cargando..."
@ -510,74 +569,35 @@ msgstr "Copiar imagen"
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr "Este document no contiene índice"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "[Sin nombre]" msgstr "[Sin nombre]"
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
#: ../zathura/zathura.c:683
msgid "Enter password:"
msgstr ""
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr "Reasignar a la ventana especificada por xid"
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr "Ruta al directorio de configuración"
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr "Ruta al directorio de datos"
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr "Ruta al directorio que contiene plugins"
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr "Ejecución en background"
#: ../zathura/main.c:63
msgid "Document password"
msgstr ""
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr "Nivel de log (debug, info, warning, error)"
#: ../zathura/main.c:66
msgid "Print version information"
msgstr "Mostrar información del archivo"
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr ""

543
po/et.po
View file

@ -7,37 +7,191 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2014-01-31 09:37+0000\n" "PO-Revision-Date: 2015-10-15 23:07+0200\n"
"Last-Translator: Rivo Zängov <eraser@eraser.ee>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Estonian (http://www.transifex.net/projects/p/zathura/" "Language-Team: Estonian (http://www.transifex.net/projects/p/zathura/"
"language/et/)\n" "language/et/)\n"
"Language: et\n" "Language: et\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.5\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr ""
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr ""
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr ""
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr ""
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr ""
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr ""
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr ""
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr ""
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr ""
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr ""
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr ""
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr ""
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr ""
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr ""
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr ""
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr ""
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr ""
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr ""
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr "Salvesta manused"
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr ""
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -192,293 +346,143 @@ msgid "Show directories"
msgstr "Näita kaustasid" msgstr "Näita kaustasid"
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Show recent files"
msgstr ""
#: ../zathura/config.c:218
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Ava alati esimene leht" msgstr "Ava alati esimene leht"
#: ../zathura/config.c:218 #: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "" msgstr ""
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "" msgstr ""
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:227
msgid "Display the page number in the window title"
msgstr ""
#: ../zathura/config.c:229 #: ../zathura/config.c:229
msgid "Use basename of the file in the statusbar" msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:231 #: ../zathura/config.c:231
msgid "Enable synctex support" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:233 #: ../zathura/config.c:233
msgid "Synctex editor command" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:235 #: ../zathura/config.c:235
msgid "Enable D-Bus service" msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:237 #: ../zathura/config.c:237
msgid "The clipboard into which mouse-selected data will be written" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../zathura/config.c:239 #: ../zathura/config.c:239
msgid "Synctex editor command"
msgstr ""
#: ../zathura/config.c:241
msgid "Enable D-Bus service"
msgstr ""
#: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "" msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Lisa järjehoidja" msgstr "Lisa järjehoidja"
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Kustuta järjehoidja" msgstr "Kustuta järjehoidja"
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Näita kõiki järjehoidjaid" msgstr "Näita kõiki järjehoidjaid"
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "Sulge praegune fail" msgstr "Sulge praegune fail"
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "Näita faili infot" msgstr "Näita faili infot"
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "" msgstr ""
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "Näita abiinfot" msgstr "Näita abiinfot"
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "Ava dokument" msgstr "Ava dokument"
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "Sule zathura" msgstr "Sule zathura"
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "Prindi dokument" msgstr "Prindi dokument"
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "Salvesta dokument" msgstr "Salvesta dokument"
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "" msgstr ""
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "Salvesta manused" msgstr "Salvesta manused"
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "" msgstr ""
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "" msgstr ""
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "" msgstr ""
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "" msgstr ""
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "" msgstr ""
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr ""
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr ""
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr ""
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr ""
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr ""
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr ""
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr ""
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr ""
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr ""
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr ""
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr ""
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr ""
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr ""
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr ""
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr ""
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr ""
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr ""
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr ""
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr "Salvesta manused"
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr ""
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr ""
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "" msgstr ""
@ -497,6 +501,62 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr ""
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr ""
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr ""
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr ""
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr ""
#: ../zathura/main.c:162
msgid "Document password"
msgstr ""
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr ""
#: ../zathura/main.c:165
msgid "Print version information"
msgstr "Näita faili infot"
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:171
msgid "Start in a non-default mode"
msgstr ""
#: ../zathura/page-widget.c:561 #: ../zathura/page-widget.c:561
msgid "Loading..." msgid "Loading..."
msgstr "" msgstr ""
@ -509,74 +569,35 @@ msgstr "Kopeeri pilt"
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr ""
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "[Nime pole]" msgstr "[Nime pole]"
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
#: ../zathura/zathura.c:683
msgid "Enter password:"
msgstr ""
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr ""
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr ""
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr ""
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr ""
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr ""
#: ../zathura/main.c:63
msgid "Document password"
msgstr ""
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr ""
#: ../zathura/main.c:66
msgid "Print version information"
msgstr "Näita faili infot"
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr ""

536
po/fr.po
View file

@ -11,8 +11,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2015-04-13 19:47+0200\n" "PO-Revision-Date: 2015-10-15 23:07+0200\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: French (http://www.transifex.com/projects/p/zathura/language/" "Language-Team: French (http://www.transifex.com/projects/p/zathura/language/"
"fr/)\n" "fr/)\n"
@ -21,28 +21,181 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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 1.6.10\n" "X-Generator: Poedit 1.8.5\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Entrée invalide : '%s'" msgstr "Entrée invalide : '%s'"
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Index invalide : '%s'" msgstr "Index invalide : '%s'"
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr "Aucun document ouvert."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Nombre d'arguments invalide."
#: ../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
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Impossible de créer le marque-page : %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Marque page mis à jour avec succès : %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Marque page créé avec succès : %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Marque page supprimé : %s"
#: ../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:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Aucun marque-page correspondant : %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr "Titre"
#: ../zathura/commands.c:163
msgid "Author"
msgstr "Auteur"
#: ../zathura/commands.c:164
msgid "Subject"
msgstr "Sujet"
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr "Mots clé"
#: ../zathura/commands.c:166
msgid "Creator"
msgstr "Créateur"
#: ../zathura/commands.c:167
msgid "Producer"
msgstr "Producteur"
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr "Date de création"
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr "Date de modification"
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Aucune information disponible."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Trop d'arguments."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Aucun argument passé."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Document enregistré."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Échec lors de l'enregistrement du document."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Nombre d'arguments invalide."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Impossible d'écrire la pièce jointe '%s' dans '%s'."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Pièce jointe '%s' écrite dans '%s'."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Image '%s' écrite dans '%s'."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Impossible d'écrire l'image '%s' dans '%s'."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Image '%s' inconnue."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Pièce jointe ou image '%s' inconnue."
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "L'argument doit être un nombre."
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr "Page %d"
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr "Pièces jointes"
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr "Images"
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -199,293 +352,143 @@ msgid "Show directories"
msgstr "Montrer les dossiers" msgstr "Montrer les dossiers"
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Show recent files"
msgstr ""
#: ../zathura/config.c:218
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Toujours ouvrir à la première page" msgstr "Toujours ouvrir à la première page"
#: ../zathura/config.c:218 #: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Surligner les résultats de la recherche" msgstr "Surligner les résultats de la recherche"
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "Activer la recherche incrémentale" msgstr "Activer la recherche incrémentale"
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Effacer les résultats de recherche en cas d'annulation" msgstr "Effacer les résultats de recherche en cas d'annulation"
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" 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" msgstr "Utiliser le nom de base du fichier dans le titre de la fenêtre"
#: ../zathura/config.c:227 #: ../zathura/config.c:229
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
#: ../zathura/config.c:231
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "Afficher le numéro de page dans le titre de la fenêtre" msgstr "Afficher le numéro de page dans le titre de la fenêtre"
#: ../zathura/config.c:229 #: ../zathura/config.c:233
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "Utiliser le nom de base du fichier dans la barre d'état" msgstr "Utiliser le nom de base du fichier dans la barre d'état"
#: ../zathura/config.c:231 #: ../zathura/config.c:235
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
#: ../zathura/config.c:237
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "Activer la prise en charge de synctex" msgstr "Activer la prise en charge de synctex"
#: ../zathura/config.c:233 #: ../zathura/config.c:239
msgid "Synctex editor command" msgid "Synctex editor command"
msgstr "" msgstr ""
#: ../zathura/config.c:235 #: ../zathura/config.c:241
msgid "Enable D-Bus service" msgid "Enable D-Bus service"
msgstr "Activer le service D-Bus" msgstr "Activer le service D-Bus"
#: ../zathura/config.c:237 #: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written" 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" msgstr "Le presse-papiers qui recevra les données sélectionnées avec la souris"
#: ../zathura/config.c:239 #: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "" msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Ajouter un marque-page" msgstr "Ajouter un marque-page"
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Supprimer un marque-page" msgstr "Supprimer un marque-page"
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Lister tous les marque-pages" msgstr "Lister tous les marque-pages"
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "Fermer le fichier actuel" msgstr "Fermer le fichier actuel"
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "Montrer les informations sur le fichier" msgstr "Montrer les informations sur le fichier"
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "Exécuter une commande" msgstr "Exécuter une commande"
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "Afficher l'aide" msgstr "Afficher l'aide"
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "Ouvrir un document" msgstr "Ouvrir un document"
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "Quitter zathura" msgstr "Quitter zathura"
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "Imprimer le document" msgstr "Imprimer le document"
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "Sauver le document" msgstr "Sauver le document"
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Sauver le document (et forcer l'écrasement)" msgstr "Sauver le document (et forcer l'écrasement)"
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "Enregistrer les pièces jointes" msgstr "Enregistrer les pièces jointes"
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "Définir le décalage de page" msgstr "Définir le décalage de page"
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Marquer l'emplacement actuel dans le document" msgstr "Marquer l'emplacement actuel dans le document"
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Supprimer les marques indiquées" msgstr "Supprimer les marques indiquées"
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "Ne pas surligner les résultats de la recherche en cours" msgstr "Ne pas surligner les résultats de la recherche en cours"
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Surligner les résultats de la recherche en cours" msgstr "Surligner les résultats de la recherche en cours"
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "Afficher les informations de version" msgstr "Afficher les informations de version"
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr "Aucun document ouvert."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Nombre d'arguments invalide."
#: ../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
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Impossible de créer le marque-page : %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Marque page mis à jour avec succès : %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Marque page créé avec succès : %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Marque page supprimé : %s"
#: ../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:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Aucun marque-page correspondant : %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr "Titre"
#: ../zathura/commands.c:163
msgid "Author"
msgstr "Auteur"
#: ../zathura/commands.c:164
msgid "Subject"
msgstr "Sujet"
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr "Mots clé"
#: ../zathura/commands.c:166
msgid "Creator"
msgstr "Créateur"
#: ../zathura/commands.c:167
msgid "Producer"
msgstr "Producteur"
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr "Date de création"
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr "Date de modification"
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Aucune information disponible."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Trop d'arguments."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Aucun argument passé."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Document enregistré."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Échec lors de l'enregistrement du document."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Nombre d'arguments invalide."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Impossible d'écrire la pièce jointe '%s' dans '%s'."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Pièce jointe '%s' écrite dans '%s'."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Image '%s' écrite dans '%s'."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Impossible d'écrire l'image '%s' dans '%s'."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Image '%s' inconnue."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Pièce jointe ou image '%s' inconnue."
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "L'argument doit être un nombre."
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr "Page %d"
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr "Pièces jointes"
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr "Images"
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr "Echec d'impression : %s"
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr "Ce document ne contient pas d'index"
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Échec lors du lancement de xdg-open." msgstr "Échec lors du lancement de xdg-open."
@ -504,6 +507,62 @@ msgstr "Lien : %s"
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Lien : Invalide" msgstr "Lien : Invalide"
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr "Rattacher à la fenêtre spécifiée par xid"
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr "Chemin vers le dossier de configuration"
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr "Chemin vers le dossier de données"
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr "Chemin vers le dossier de plugins"
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr "Détacher en arrière-plan"
#: ../zathura/main.c:162
msgid "Document password"
msgstr "Mot de passe du document"
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr "Numéro de page où aller"
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr "Niveau de journalisation (debug, info, warning, error)"
#: ../zathura/main.c:165
msgid "Print version information"
msgstr "Afficher les informations de version"
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Éditeur synctex (transféré à la commande synctex)"
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:171
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:561
msgid "Loading..." msgid "Loading..."
msgstr "Chargement..." msgstr "Chargement..."
@ -516,77 +575,38 @@ msgstr "Copier l'image"
msgid "Save image as" msgid "Save image as"
msgstr "Enregistrer l'image sous" msgstr "Enregistrer l'image sous"
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr "Echec d'impression : %s"
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr "Ce document ne contient pas d'index"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "[Sans nom]" msgstr "[Sans nom]"
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
"Impossible de lire le fichier depuis stdin et de le sauvegarder dans un " "Impossible de lire le fichier depuis stdin et de le sauvegarder dans un "
"fichier temporaire." "fichier temporaire."
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
#: ../zathura/zathura.c:683
msgid "Enter password:"
msgstr ""
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
"Type de fichier non supporté. Veuillez installer l'extension nécessaire." "Type de fichier non supporté. Veuillez installer l'extension nécessaire."
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "Ce document ne contient aucune page" msgstr "Ce document ne contient aucune page"
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr "Rattacher à la fenêtre spécifiée par xid"
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr "Chemin vers le dossier de configuration"
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr "Chemin vers le dossier de données"
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr "Chemin vers le dossier de plugins"
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr "Détacher en arrière-plan"
#: ../zathura/main.c:63
msgid "Document password"
msgstr "Mot de passe du document"
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr "Numéro de page où aller"
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr "Niveau de journalisation (debug, info, warning, error)"
#: ../zathura/main.c:66
msgid "Print version information"
msgstr "Afficher les informations de version"
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Éditeur synctex (transféré à la commande synctex)"
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr "Démarrer dans un mode non-défaut"

536
po/he.po
View file

@ -6,7 +6,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2014-01-31 09:37+0000\n" "PO-Revision-Date: 2014-01-31 09:37+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Hebrew (http://www.transifex.com/projects/p/zathura/language/" "Language-Team: Hebrew (http://www.transifex.com/projects/p/zathura/language/"
@ -22,21 +22,174 @@ msgstr ""
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr ""
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr ""
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr ""
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr ""
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr ""
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr ""
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr ""
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr ""
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr ""
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr ""
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr ""
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr ""
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr ""
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr ""
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr ""
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr ""
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr ""
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr ""
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr ""
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr ""
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -191,293 +344,143 @@ msgid "Show directories"
msgstr "" msgstr ""
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Always open on first page" msgid "Show recent files"
msgstr "" msgstr ""
#: ../zathura/config.c:218 #: ../zathura/config.c:218
msgid "Always open on first page"
msgstr ""
#: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "" msgstr ""
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "" msgstr ""
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:227
msgid "Display the page number in the window title"
msgstr ""
#: ../zathura/config.c:229 #: ../zathura/config.c:229
msgid "Use basename of the file in the statusbar" msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:231 #: ../zathura/config.c:231
msgid "Enable synctex support" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:233 #: ../zathura/config.c:233
msgid "Synctex editor command" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:235 #: ../zathura/config.c:235
msgid "Enable D-Bus service" msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:237 #: ../zathura/config.c:237
msgid "The clipboard into which mouse-selected data will be written" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../zathura/config.c:239 #: ../zathura/config.c:239
msgid "Synctex editor command"
msgstr ""
#: ../zathura/config.c:241
msgid "Enable D-Bus service"
msgstr ""
#: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "" msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "" msgstr ""
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "" msgstr ""
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "" msgstr ""
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "" msgstr ""
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "" msgstr ""
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "" msgstr ""
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "" msgstr ""
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "" msgstr ""
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "" msgstr ""
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "" msgstr ""
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "" msgstr ""
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "" msgstr ""
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "" msgstr ""
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "" msgstr ""
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "" msgstr ""
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "" msgstr ""
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "" msgstr ""
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "" msgstr ""
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr ""
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr ""
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr ""
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr ""
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr ""
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr ""
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr ""
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr ""
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr ""
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr ""
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr ""
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr ""
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr ""
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr ""
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr ""
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr ""
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr ""
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr ""
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr ""
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr ""
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr ""
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "" msgstr ""
@ -496,6 +499,62 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr ""
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr ""
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr ""
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr ""
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr ""
#: ../zathura/main.c:162
msgid "Document password"
msgstr ""
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr ""
#: ../zathura/main.c:165
msgid "Print version information"
msgstr ""
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:171
msgid "Start in a non-default mode"
msgstr ""
#: ../zathura/page-widget.c:561 #: ../zathura/page-widget.c:561
msgid "Loading..." msgid "Loading..."
msgstr "" msgstr ""
@ -508,74 +567,35 @@ msgstr ""
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr ""
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "" msgstr ""
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
#: ../zathura/zathura.c:683
msgid "Enter password:"
msgstr ""
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr ""
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr ""
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr ""
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr ""
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr ""
#: ../zathura/main.c:63
msgid "Document password"
msgstr ""
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr ""
#: ../zathura/main.c:66
msgid "Print version information"
msgstr ""
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr ""

536
po/hr.po
View file

@ -6,7 +6,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2014-01-31 09:37+0000\n" "PO-Revision-Date: 2014-01-31 09:37+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Croatian (http://www.transifex.com/projects/p/zathura/" "Language-Team: Croatian (http://www.transifex.com/projects/p/zathura/"
@ -23,21 +23,174 @@ msgstr ""
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr ""
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr ""
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr ""
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr ""
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr ""
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr ""
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr ""
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr ""
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr ""
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr ""
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr ""
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr ""
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr ""
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr ""
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr ""
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr ""
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr ""
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr ""
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr ""
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr ""
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -192,293 +345,143 @@ msgid "Show directories"
msgstr "" msgstr ""
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Always open on first page" msgid "Show recent files"
msgstr "" msgstr ""
#: ../zathura/config.c:218 #: ../zathura/config.c:218
msgid "Always open on first page"
msgstr ""
#: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "" msgstr ""
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "" msgstr ""
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:227
msgid "Display the page number in the window title"
msgstr ""
#: ../zathura/config.c:229 #: ../zathura/config.c:229
msgid "Use basename of the file in the statusbar" msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:231 #: ../zathura/config.c:231
msgid "Enable synctex support" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:233 #: ../zathura/config.c:233
msgid "Synctex editor command" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:235 #: ../zathura/config.c:235
msgid "Enable D-Bus service" msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:237 #: ../zathura/config.c:237
msgid "The clipboard into which mouse-selected data will be written" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../zathura/config.c:239 #: ../zathura/config.c:239
msgid "Synctex editor command"
msgstr ""
#: ../zathura/config.c:241
msgid "Enable D-Bus service"
msgstr ""
#: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "" msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "" msgstr ""
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "" msgstr ""
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "" msgstr ""
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "" msgstr ""
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "" msgstr ""
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "" msgstr ""
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "" msgstr ""
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "" msgstr ""
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "" msgstr ""
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "" msgstr ""
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "" msgstr ""
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "" msgstr ""
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "" msgstr ""
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "" msgstr ""
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "" msgstr ""
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "" msgstr ""
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "" msgstr ""
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "" msgstr ""
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr ""
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr ""
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr ""
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr ""
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr ""
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr ""
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr ""
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr ""
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr ""
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr ""
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr ""
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr ""
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr ""
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr ""
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr ""
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr ""
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr ""
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr ""
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr ""
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr ""
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr ""
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "" msgstr ""
@ -497,6 +500,62 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr ""
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr ""
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr ""
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr ""
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr ""
#: ../zathura/main.c:162
msgid "Document password"
msgstr ""
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr ""
#: ../zathura/main.c:165
msgid "Print version information"
msgstr ""
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:171
msgid "Start in a non-default mode"
msgstr ""
#: ../zathura/page-widget.c:561 #: ../zathura/page-widget.c:561
msgid "Loading..." msgid "Loading..."
msgstr "" msgstr ""
@ -509,74 +568,35 @@ msgstr ""
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr ""
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "" msgstr ""
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
#: ../zathura/zathura.c:683
msgid "Enter password:"
msgstr ""
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr ""
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr ""
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr ""
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr ""
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr ""
#: ../zathura/main.c:63
msgid "Document password"
msgstr ""
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr ""
#: ../zathura/main.c:66
msgid "Print version information"
msgstr ""
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr ""

View file

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2015-04-13 19:47+0200\n" "PO-Revision-Date: 2015-10-15 23:06+0200\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Indonesian (Indonesia) (http://www.transifex.com/projects/p/" "Language-Team: Indonesian (Indonesia) (http://www.transifex.com/projects/p/"
"zathura/language/id_ID/)\n" "zathura/language/id_ID/)\n"
@ -17,28 +17,181 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 1.6.10\n" "X-Generator: Poedit 1.8.5\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Masukan '%s' tidak valid" msgstr "Masukan '%s' tidak valid"
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Index '%s' tidak valid" msgstr "Index '%s' tidak valid"
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr "Tidak ada dokumen yang terbuka."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "jumlah argumen yang diberikan tidak valid"
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Tidak dapat membuat bookmark: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Tidak dapat membuat bookmark: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "bookmark yang sukses terupdate : %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Bookmark yang sukses dibuat: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Bookmark %s telah sukses dihapus"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Gagal menghapus bookmark: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Tidak ada bookmark: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr "Judul"
#: ../zathura/commands.c:163
msgid "Author"
msgstr "Penulis"
#: ../zathura/commands.c:164
msgid "Subject"
msgstr "Subjek"
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr "Kata kunci"
#: ../zathura/commands.c:166
msgid "Creator"
msgstr "Pembuat"
#: ../zathura/commands.c:167
msgid "Producer"
msgstr "Produser"
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr "Tanggal pembuatan"
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr "Tanggal ubahan"
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Tidak ada informasi tersedia"
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Argumen terlalu banyak"
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Tidak ada argumen yang diberikan"
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Dokumen telah disimpan"
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Gagal menyimpan dokumen"
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Jumlah argumen tidak valid"
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Tidak dapat menulis lampiran '%s' ke '%s'"
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Tidak dapat menyimpan lampiran '%s' ke '%s'"
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Menulis citra dari '%s' ke '%s'"
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Tidak dapat menulis citra '%s' ke %s'"
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Citra tidak diketahui '%s'"
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Lampiran atau gambar tidak diketahui '%s'"
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Argumen harus berupa angka."
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr "Halaman %d"
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr "Lampiran"
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr "Citra"
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -193,293 +346,143 @@ msgid "Show directories"
msgstr "Perlihatkan direktori" msgstr "Perlihatkan direktori"
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Show recent files"
msgstr ""
#: ../zathura/config.c:218
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Selalu buka halaman pertama" msgstr "Selalu buka halaman pertama"
#: ../zathura/config.c:218 #: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Sorot hasil pencarian" msgstr "Sorot hasil pencarian"
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "Fungsikan pencarian berkelanjutan" msgstr "Fungsikan pencarian berkelanjutan"
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Hapus hasil pencarian ketika batal mencari" msgstr "Hapus hasil pencarian ketika batal mencari"
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "Gunakan nama dasar file pada judul jendela" msgstr "Gunakan nama dasar file pada judul jendela"
#: ../zathura/config.c:227 #: ../zathura/config.c:229
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
#: ../zathura/config.c:231
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "Tampilkan nomor laman pada jendela judul" msgstr "Tampilkan nomor laman pada jendela judul"
#: ../zathura/config.c:229 #: ../zathura/config.c:233
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "Gunakan nama dasar berkas pada statusbar" msgstr "Gunakan nama dasar berkas pada statusbar"
#: ../zathura/config.c:231
msgid "Enable synctex support"
msgstr "Support synctex"
#: ../zathura/config.c:233
msgid "Synctex editor command"
msgstr ""
#: ../zathura/config.c:235 #: ../zathura/config.c:235
msgid "Enable D-Bus service" msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:237 #: ../zathura/config.c:237
msgid "Enable synctex support"
msgstr "Support synctex"
#: ../zathura/config.c:239
msgid "Synctex editor command"
msgstr ""
#: ../zathura/config.c:241
msgid "Enable D-Bus service"
msgstr ""
#: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written" msgid "The clipboard into which mouse-selected data will be written"
msgstr "Data yang dipilih tetikus akan ditulis ke clipboard" msgstr "Data yang dipilih tetikus akan ditulis ke clipboard"
#: ../zathura/config.c:239 #: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "" msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Tambahkan pada bookmark" msgstr "Tambahkan pada bookmark"
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Hapus bookmark" msgstr "Hapus bookmark"
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Perlihatkan semua bookmark" msgstr "Perlihatkan semua bookmark"
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "Tutup file ini" msgstr "Tutup file ini"
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "Informasi file" msgstr "Informasi file"
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "Jalankan perintah" msgstr "Jalankan perintah"
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "Bantuan" msgstr "Bantuan"
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "Buka dokumen" msgstr "Buka dokumen"
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "Tutup zathura" msgstr "Tutup zathura"
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "Cetak dokumen" msgstr "Cetak dokumen"
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "Simpan dokumen" msgstr "Simpan dokumen"
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Simpan dokumen (dan menimpa berkas)" msgstr "Simpan dokumen (dan menimpa berkas)"
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "Simpan lampiran" msgstr "Simpan lampiran"
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "Set offset halaman" msgstr "Set offset halaman"
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Tandai lokasi sekarang dalam dokumen" msgstr "Tandai lokasi sekarang dalam dokumen"
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Hapus tanda terpilih" msgstr "Hapus tanda terpilih"
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "Jangan menyorot hasil cari sekarang" msgstr "Jangan menyorot hasil cari sekarang"
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Sorot hasil pencarian sekarang" msgstr "Sorot hasil pencarian sekarang"
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "Tunjukan informasi versi" msgstr "Tunjukan informasi versi"
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr "Tidak ada dokumen yang terbuka."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "jumlah argumen yang diberikan tidak valid"
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Tidak dapat membuat bookmark: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Tidak dapat membuat bookmark: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "bookmark yang sukses terupdate : %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Bookmark yang sukses dibuat: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Bookmark %s telah sukses dihapus"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Gagal menghapus bookmark: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Tidak ada bookmark: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr "Judul"
#: ../zathura/commands.c:163
msgid "Author"
msgstr "Penulis"
#: ../zathura/commands.c:164
msgid "Subject"
msgstr "Subjek"
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr "Kata kunci"
#: ../zathura/commands.c:166
msgid "Creator"
msgstr "Pembuat"
#: ../zathura/commands.c:167
msgid "Producer"
msgstr "Produser"
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr "Tanggal pembuatan"
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr "Tanggal ubahan"
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Tidak ada informasi tersedia"
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Argumen terlalu banyak"
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Tidak ada argumen yang diberikan"
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Dokumen telah disimpan"
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Gagal menyimpan dokumen"
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Jumlah argumen tidak valid"
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Tidak dapat menulis lampiran '%s' ke '%s'"
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Tidak dapat menyimpan lampiran '%s' ke '%s'"
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Menulis citra dari '%s' ke '%s'"
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Tidak dapat menulis citra '%s' ke %s'"
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Citra tidak diketahui '%s'"
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Lampiran atau gambar tidak diketahui '%s'"
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Argumen harus berupa angka."
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr "Halaman %d"
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr "Lampiran"
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr "Citra"
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr "Dokumen ini tidak mempunyai indeks"
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Gagal menjalankan program xdg-open" msgstr "Gagal menjalankan program xdg-open"
@ -498,6 +501,62 @@ msgstr "Link: %s"
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Link: Tidak valid" msgstr "Link: Tidak valid"
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr "Mengembalikan jendela sesuai dengan xid yang ditentukan"
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr "Path ke direktori konfigurasi"
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr "Path ke direktori data"
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr "Path ke direktori plugin"
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr "Jalankan pada latar"
#: ../zathura/main.c:162
msgid "Document password"
msgstr "Kata sandi dokumen"
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr "Nomor halaman tujuan"
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr "Tingkat log (debug, info, peringatan, error)"
#: ../zathura/main.c:165
msgid "Print version information"
msgstr "Cetak informasi versi"
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex editor (diteruskan ke perintah synctex)"
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:171
msgid "Start in a non-default mode"
msgstr ""
#: ../zathura/page-widget.c:561 #: ../zathura/page-widget.c:561
msgid "Loading..." msgid "Loading..."
msgstr "Memuat....." msgstr "Memuat....."
@ -510,75 +569,36 @@ msgstr "Salin gambar"
msgid "Save image as" msgid "Save image as"
msgstr "Simpan gambar sebagai" msgstr "Simpan gambar sebagai"
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr "Dokumen ini tidak mempunyai indeks"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "[Tidak berjudul]" msgstr "[Tidak berjudul]"
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
"Tidak dapat membaca berkas dari stdin dan menulisnya ke berkas sementar" "Tidak dapat membaca berkas dari stdin dan menulisnya ke berkas sementar"
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
#: ../zathura/zathura.c:683
msgid "Enter password:"
msgstr ""
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Tipe berkas tidak didukung. Silakan memasang plugin yang dibutuhkan." msgstr "Tipe berkas tidak didukung. Silakan memasang plugin yang dibutuhkan."
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "Dokumen tidak mempunyai laman apapun" msgstr "Dokumen tidak mempunyai laman apapun"
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr "Mengembalikan jendela sesuai dengan xid yang ditentukan"
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr "Path ke direktori konfigurasi"
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr "Path ke direktori data"
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr "Path ke direktori plugin"
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr "Jalankan pada latar"
#: ../zathura/main.c:63
msgid "Document password"
msgstr "Kata sandi dokumen"
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr "Nomor halaman tujuan"
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr "Tingkat log (debug, info, peringatan, error)"
#: ../zathura/main.c:66
msgid "Print version information"
msgstr "Cetak informasi versi"
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex editor (diteruskan ke perintah synctex)"
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr ""

543
po/it.po
View file

@ -10,9 +10,9 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2015-04-13 19:48+0200\n" "PO-Revision-Date: 2015-10-15 23:06+0200\n"
"Last-Translator: Simone Guercio <s.guercio@gmail.com>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Italian (http://www.transifex.com/projects/p/zathura/language/" "Language-Team: Italian (http://www.transifex.com/projects/p/zathura/language/"
"it/)\n" "it/)\n"
"Language: it\n" "Language: it\n"
@ -20,27 +20,181 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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 1.8.5\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "'%s' non può essere 0. Imposta ad 1." msgstr "'%s' non può essere 0. Imposta ad 1."
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Input inserito '%s' non valido." msgstr "Input inserito '%s' non valido."
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Indice inserito '%s' non valido." msgstr "Indice inserito '%s' non valido."
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr "Nessun documento aperto."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Numero di argomenti errato."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Impossibile creare il segnalibro: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Impossibile creare il segnalibro: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Segnalibro aggiornato con successo: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Segnalibro creato con successo: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Segnalibro rimosso: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Impossibile rimuovere il segnalibro: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Nessun segnalibro corrispondente: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr "Titolo"
#: ../zathura/commands.c:163
msgid "Author"
msgstr "Autore"
#: ../zathura/commands.c:164
msgid "Subject"
msgstr "Argomento"
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr "Parole chiave"
#: ../zathura/commands.c:166
msgid "Creator"
msgstr "Creato da"
#: ../zathura/commands.c:167
msgid "Producer"
msgstr "Prodotto da"
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr "Data di creazione"
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr "Data di modifica"
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Nessun' informazione disponibile."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Numero di argomenti eccessivo."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Nessun argomento specificato."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Documento salvato."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Impossibile salvare il documento."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Numero di argomenti non valido."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Impossibile salvare l' allegato '%s' in '%s'"
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Allegato '%s' salvato in '%s'"
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Immagine '%s' salvata come '%s'"
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Impossibile salvare l' immagine '%s' come '%s'"
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Immagine sconosciuta '%s'"
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Immagine o allegato sconosciuti '%s"
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "L' argomento dev' essere un numero."
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr "Pagina %d"
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr "Allegati"
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr "Immagini"
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -195,293 +349,143 @@ msgid "Show directories"
msgstr "Mostra cartelle" msgstr "Mostra cartelle"
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Show recent files"
msgstr ""
#: ../zathura/config.c:218
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Apri sempre alla prima pagina" msgstr "Apri sempre alla prima pagina"
#: ../zathura/config.c:218 #: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Evidenzia i risultati della ricerca" msgstr "Evidenzia i risultati della ricerca"
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "Abilita la ricerca incrementale" msgstr "Abilita la ricerca incrementale"
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "" msgstr ""
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:227
msgid "Display the page number in the window title"
msgstr "Mostra il numero di pagina nel titolo della finestra"
#: ../zathura/config.c:229 #: ../zathura/config.c:229
msgid "Use basename of the file in the statusbar" msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:231 #: ../zathura/config.c:231
msgid "Enable synctex support" msgid "Display the page number in the window title"
msgstr "Abilita il supporto per synctex" msgstr "Mostra il numero di pagina nel titolo della finestra"
#: ../zathura/config.c:233 #: ../zathura/config.c:233
msgid "Synctex editor command" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:235 #: ../zathura/config.c:235
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
#: ../zathura/config.c:237
msgid "Enable synctex support"
msgstr "Abilita il supporto per synctex"
#: ../zathura/config.c:239
msgid "Synctex editor command"
msgstr ""
#: ../zathura/config.c:241
msgid "Enable D-Bus service" msgid "Enable D-Bus service"
msgstr "Abilita il servizio D-Bus" msgstr "Abilita il servizio D-Bus"
#: ../zathura/config.c:237 #: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written" msgid "The clipboard into which mouse-selected data will be written"
msgstr "" msgstr ""
#: ../zathura/config.c:239 #: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "Attiva la notifica dopo aver selezionato del testo" msgstr "Attiva la notifica dopo aver selezionato del testo"
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Aggiungi un segnalibro" msgstr "Aggiungi un segnalibro"
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Elimina un segnalibro" msgstr "Elimina un segnalibro"
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Mostra i segnalibri" msgstr "Mostra i segnalibri"
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "Chiudi il file corrente" msgstr "Chiudi il file corrente"
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "Mostra le informazioni sul file" msgstr "Mostra le informazioni sul file"
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "Esegui un comando" msgstr "Esegui un comando"
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "Mostra l' aiuto" msgstr "Mostra l' aiuto"
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "Apri un documento" msgstr "Apri un documento"
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "Chiudi zathura" msgstr "Chiudi zathura"
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "Stampa il documento" msgstr "Stampa il documento"
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "Salva il documento" msgstr "Salva il documento"
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Salva il documento (e sovrascrivi)" msgstr "Salva il documento (e sovrascrivi)"
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "Salva allegati" msgstr "Salva allegati"
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "Imposta l' offset della pagina" msgstr "Imposta l' offset della pagina"
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Segna la posizione attuale all'interno del documento" msgstr "Segna la posizione attuale all'interno del documento"
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "" msgstr ""
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "Non evidenziare i risultati della ricerca in corso" msgstr "Non evidenziare i risultati della ricerca in corso"
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Evidenzia i risultati della ricerca in corso" msgstr "Evidenzia i risultati della ricerca in corso"
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "Mostra informazioni sulla versione" msgstr "Mostra informazioni sulla versione"
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr "Nessun documento aperto."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Numero di argomenti errato."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Impossibile creare il segnalibro: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Impossibile creare il segnalibro: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Segnalibro aggiornato con successo: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Segnalibro creato con successo: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Segnalibro rimosso: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Impossibile rimuovere il segnalibro: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Nessun segnalibro corrispondente: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr "Titolo"
#: ../zathura/commands.c:163
msgid "Author"
msgstr "Autore"
#: ../zathura/commands.c:164
msgid "Subject"
msgstr "Argomento"
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr "Parole chiave"
#: ../zathura/commands.c:166
msgid "Creator"
msgstr "Creato da"
#: ../zathura/commands.c:167
msgid "Producer"
msgstr "Prodotto da"
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr "Data di creazione"
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr "Data di modifica"
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Nessun' informazione disponibile."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Numero di argomenti eccessivo."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Nessun argomento specificato."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Documento salvato."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Impossibile salvare il documento."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Numero di argomenti non valido."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Impossibile salvare l' allegato '%s' in '%s'"
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Allegato '%s' salvato in '%s'"
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Immagine '%s' salvata come '%s'"
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Impossibile salvare l' immagine '%s' come '%s'"
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Immagine sconosciuta '%s'"
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Immagine o allegato sconosciuti '%s"
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "L' argomento dev' essere un numero."
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr "Pagina %d"
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr "Allegati"
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr "Immagini"
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr "Impossibile stampare: %s"
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr "Questo documento non contiene l' indice"
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Impossibile eseguire xdg-open." msgstr "Impossibile eseguire xdg-open."
@ -500,6 +504,62 @@ msgstr "Link: %s"
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Link: non valido" msgstr "Link: non valido"
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr ""
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr "Percorso della directory della configurazione"
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr "Percorso della directory dei dati"
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr "Percorso della cartella di cache"
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr "Percorso della directory contenente i plugin"
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr "Crea un processo separato"
#: ../zathura/main.c:162
msgid "Document password"
msgstr "Password del documento"
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr "Livello di log (debug, info, warning, error)"
#: ../zathura/main.c:165
msgid "Print version information"
msgstr "Mostra le informazioni sul file"
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:171
msgid "Start in a non-default mode"
msgstr ""
#: ../zathura/page-widget.c:561 #: ../zathura/page-widget.c:561
msgid "Loading..." msgid "Loading..."
msgstr "Caricamento..." msgstr "Caricamento..."
@ -512,76 +572,37 @@ msgstr "Copia immagine"
msgid "Save image as" msgid "Save image as"
msgstr "Salva immagine come" msgstr "Salva immagine come"
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr "Impossibile stampare: %s"
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr "Questo documento non contiene l' indice"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "[Nessun nome]" msgstr "[Nessun nome]"
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
"Impossibile leggere il file dall' stdin e scriverlo in un file temporaneo." "Impossibile leggere il file dall' stdin e scriverlo in un file temporaneo."
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
#: ../zathura/zathura.c:683
msgid "Enter password:"
msgstr ""
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
"Tipo di file non supportato. Per favore, installa il plugin necessario." "Tipo di file non supportato. Per favore, installa il plugin necessario."
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "Il documento non contiene alcuna pagina" msgstr "Il documento non contiene alcuna pagina"
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr ""
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr "Percorso della directory della configurazione"
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr "Percorso della directory dei dati"
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr "Percorso della cartella di cache"
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr "Percorso della directory contenente i plugin"
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr "Crea un processo separato"
#: ../zathura/main.c:63
msgid "Document password"
msgstr "Password del documento"
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr "Livello di log (debug, info, warning, error)"
#: ../zathura/main.c:66
msgid "Print version information"
msgstr "Mostra le informazioni sul file"
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr ""

546
po/lt.po
View file

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2015-04-13 19:48+0200\n" "PO-Revision-Date: 2015-10-15 23:06+0200\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Lithuanian (http://www.transifex.com/projects/p/zathura/" "Language-Team: Lithuanian (http://www.transifex.com/projects/p/zathura/"
"language/lt/)\n" "language/lt/)\n"
@ -18,28 +18,181 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (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" "%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 1.6.10\n" "X-Generator: Poedit 1.8.5\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Netinkama įvestis: „%s“." msgstr "Netinkama įvestis: „%s“."
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Duotas netinkamas indeksas: „%s“." msgstr "Duotas netinkamas indeksas: „%s“."
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr "Nėra atidarytų dokumentų."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Duotų parametrų skaičius yra neteisingas."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Žymė negalėjo būti atnaujinta: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Žymė negalėjo būti sukurta: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Žymė sėkmingai atnaujinta: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Žymė sėkmingai sukurta: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Žymė ištrinta: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Žymė negalėjo būti panaikinta: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Nėra tokios žymės: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr "Pavadinimas"
#: ../zathura/commands.c:163
msgid "Author"
msgstr "Autorius"
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr "Raktažodžiai"
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr "Gamintojas"
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr "Sukūrimo data"
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr "Pakeitimo data"
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Nėra informacijos."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Per daug parametrų."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Parametrai neduoti."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Dokumentas išsaugotas."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Dokumento išsaugoti nepavyko."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Neteisingas parametrų skaičius."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Priedas „%s“ negalėjo būti įrašytas į „%s“."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Priedas „%s“ įrašytas į „%s“."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Atvaizdas „%s“ įrašytas į „%s“."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Atvaizdas „%s“ negalėjo būti įrašytas į „%s“,"
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Nežinomas atvaizdas „%s“."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Nežinomas priedas ar atvaizdas „%s“."
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Parametras turi būti skaičius."
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr "%d puslapis"
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr "Priedai"
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr "Atvaizdai"
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -194,293 +347,143 @@ msgid "Show directories"
msgstr "Rodyti katalogų sąrašą" msgstr "Rodyti katalogų sąrašą"
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Show recent files"
msgstr ""
#: ../zathura/config.c:218
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Visada atverti pirmą puslapį" msgstr "Visada atverti pirmą puslapį"
#: ../zathura/config.c:218 #: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Pažymėti paieškos rezultatus" msgstr "Pažymėti paieškos rezultatus"
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "Įjungti prieauginę paiešką" msgstr "Įjungti prieauginę paiešką"
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Išvalyti paieškos rezultatus nutraukiant" msgstr "Išvalyti paieškos rezultatus nutraukiant"
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:227 #: ../zathura/config.c:229
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
#: ../zathura/config.c:231
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "Rodyti puslapio skaičių lango pavadinime" msgstr "Rodyti puslapio skaičių lango pavadinime"
#: ../zathura/config.c:229 #: ../zathura/config.c:233
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "Naudoti bylos vardą būsenos juostoje" msgstr "Naudoti bylos vardą būsenos juostoje"
#: ../zathura/config.c:231
msgid "Enable synctex support"
msgstr "Įjungti synctex palaikymą"
#: ../zathura/config.c:233
msgid "Synctex editor command"
msgstr ""
#: ../zathura/config.c:235 #: ../zathura/config.c:235
msgid "Enable D-Bus service" msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:237 #: ../zathura/config.c:237
msgid "Enable synctex support"
msgstr "Įjungti synctex palaikymą"
#: ../zathura/config.c:239
msgid "Synctex editor command"
msgstr ""
#: ../zathura/config.c:241
msgid "Enable D-Bus service"
msgstr ""
#: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written" msgid "The clipboard into which mouse-selected data will be written"
msgstr "" msgstr ""
#: ../zathura/config.c:239 #: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "" msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Pridėti žymę" msgstr "Pridėti žymę"
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Ištrinti žymę" msgstr "Ištrinti žymę"
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Žymių sąrašas" msgstr "Žymių sąrašas"
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "Uždaryti dabartinę bylą" msgstr "Uždaryti dabartinę bylą"
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "Rodyti bylos informaciją" msgstr "Rodyti bylos informaciją"
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "" msgstr ""
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "Rodyti pagalbą" msgstr "Rodyti pagalbą"
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "Atidryti dokumentą" msgstr "Atidryti dokumentą"
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "Uždaryti zathura" msgstr "Uždaryti zathura"
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "Atspausdinti dokumentą" msgstr "Atspausdinti dokumentą"
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "Išsaugoti dokumentą" msgstr "Išsaugoti dokumentą"
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Išsaugoti dokumentą (ir priverstinai perašyti)" msgstr "Išsaugoti dokumentą (ir priverstinai perašyti)"
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "Išsaugoti priedus" msgstr "Išsaugoti priedus"
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "Nustatyti puslapio poslinkį" msgstr "Nustatyti puslapio poslinkį"
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Pažymėti dabartinę dokumento vietą" msgstr "Pažymėti dabartinę dokumento vietą"
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Ištrinti šias žymes" msgstr "Ištrinti šias žymes"
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "Nežymėti dabartinės paieškos rezultatų" msgstr "Nežymėti dabartinės paieškos rezultatų"
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Pažymėti dabartinės paieškos rezultatus" msgstr "Pažymėti dabartinės paieškos rezultatus"
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "Rodyti versijos informaciją" msgstr "Rodyti versijos informaciją"
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr "Nėra atidarytų dokumentų."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Duotų parametrų skaičius yra neteisingas."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Žymė negalėjo būti atnaujinta: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Žymė negalėjo būti sukurta: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Žymė sėkmingai atnaujinta: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Žymė sėkmingai sukurta: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Žymė ištrinta: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Žymė negalėjo būti panaikinta: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Nėra tokios žymės: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr "Pavadinimas"
#: ../zathura/commands.c:163
msgid "Author"
msgstr "Autorius"
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr "Raktažodžiai"
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr "Gamintojas"
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr "Sukūrimo data"
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr "Pakeitimo data"
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Nėra informacijos."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Per daug parametrų."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Parametrai neduoti."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Dokumentas išsaugotas."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Dokumento išsaugoti nepavyko."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Neteisingas parametrų skaičius."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Priedas „%s“ negalėjo būti įrašytas į „%s“."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Priedas „%s“ įrašytas į „%s“."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Atvaizdas „%s“ įrašytas į „%s“."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Atvaizdas „%s“ negalėjo būti įrašytas į „%s“,"
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Nežinomas atvaizdas „%s“."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Nežinomas priedas ar atvaizdas „%s“."
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Parametras turi būti skaičius."
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr "%d puslapis"
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr "Priedai"
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr "Atvaizdai"
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr "Šit dokumentas neturi turinio"
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Klaida xdg-open paleidime." msgstr "Klaida xdg-open paleidime."
@ -499,6 +502,62 @@ msgstr "Nuoroda: %s"
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Neteisinga nuoroda" msgstr "Neteisinga nuoroda"
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr ""
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr "Konfigūracinių failų aplanko adresas"
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr "Duomenų aplanko adresas"
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr "Įskiepių aplanko adresas"
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr ""
#: ../zathura/main.c:162
msgid "Document password"
msgstr "Dokumento slaptažodis"
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr "Pereiti į puslapį"
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr "Registravimo lygis (derinimas, informacija, įspėjimai, klaidos)"
#: ../zathura/main.c:165
msgid "Print version information"
msgstr "Spausdinti versijos informaciją"
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex redaktorius (naudojama synctex komandoje)"
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:171
msgid "Start in a non-default mode"
msgstr ""
#: ../zathura/page-widget.c:561 #: ../zathura/page-widget.c:561
msgid "Loading..." msgid "Loading..."
msgstr "Kraunama..." msgstr "Kraunama..."
@ -511,74 +570,35 @@ msgstr "Kopijuoti atvaizdą"
msgid "Save image as" msgid "Save image as"
msgstr "Irašyti atvaizdą kaip" msgstr "Irašyti atvaizdą kaip"
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr "Šit dokumentas neturi turinio"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "[Bevardis]" msgstr "[Bevardis]"
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
#: ../zathura/zathura.c:683
msgid "Enter password:"
msgstr ""
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Bylos tipas nepalaikomas. Įdiekite tam skirtus įskiepius." msgstr "Bylos tipas nepalaikomas. Įdiekite tam skirtus įskiepius."
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "Dokumente puslapių nėra" msgstr "Dokumente puslapių nėra"
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr ""
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr "Konfigūracinių failų aplanko adresas"
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr "Duomenų aplanko adresas"
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr "Įskiepių aplanko adresas"
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr ""
#: ../zathura/main.c:63
msgid "Document password"
msgstr "Dokumento slaptažodis"
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr "Pereiti į puslapį"
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr "Registravimo lygis (derinimas, informacija, įspėjimai, klaidos)"
#: ../zathura/main.c:66
msgid "Print version information"
msgstr "Spausdinti versijos informaciją"
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex redaktorius (naudojama synctex komandoje)"
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr ""

544
po/no.po
View file

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2015-04-13 19:48+0200\n" "PO-Revision-Date: 2015-10-15 23:06+0200\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Norwegian (http://www.transifex.com/projects/p/zathura/" "Language-Team: Norwegian (http://www.transifex.com/projects/p/zathura/"
"language/no/)\n" "language/no/)\n"
@ -17,28 +17,181 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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 1.6.10\n" "X-Generator: Poedit 1.8.5\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Ugyldig inndata '%s' gitt." msgstr "Ugyldig inndata '%s' gitt."
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Ugyldig index '%s' gitt." msgstr "Ugyldig index '%s' gitt."
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr "Ingen dokumenter åpnet."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Ugyldig nummer av argumenter gitt."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Kunne ikke oppdatere bokmerke: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Kunne ikke lage bokmerke: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Bokmerke er oppdatert: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Bokmerket er laget: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Fjernet bokmerke: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Kunne ikke fjerne bokmerke: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Bokmerke eksisterer ikke: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr "Tittel"
#: ../zathura/commands.c:163
msgid "Author"
msgstr "Forfatter"
#: ../zathura/commands.c:164
msgid "Subject"
msgstr "Subjekt"
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr "Nøkkelord"
#: ../zathura/commands.c:166
msgid "Creator"
msgstr "Laget av"
#: ../zathura/commands.c:167
msgid "Producer"
msgstr "Produsent"
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr "Laget dato"
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr "Modifisert dato"
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Ingen informasjon tilgjengelig."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "For mange argumenter."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Ingen argumenter gitt."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Dokumentet er lagret."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Kunne ikke lagre dokumentet."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Ugyldig nummer av argumenter."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Kunne ikke skrive vedlegg '%s' til '%s'."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Skrev vedlegg '%s' til '%s'."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Skrev bilde '%s' til '%s'."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Kunne ikke skrive bilde '%s' til '%s'."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Ukjent bilde '%s'."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Ukjent vedlegg eller bilde '%s'."
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Argumentet må være et tall."
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr "Side %d"
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr "Vedlegg"
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr "Bilder"
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -193,293 +346,143 @@ msgid "Show directories"
msgstr "Vis mapper" msgstr "Vis mapper"
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Show recent files"
msgstr ""
#: ../zathura/config.c:218
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Alltid åpne på første side" msgstr "Alltid åpne på første side"
#: ../zathura/config.c:218 #: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Uthev søkeresultater" msgstr "Uthev søkeresultater"
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Stryk ut søkeresulteter ved avbrytelse" msgstr "Stryk ut søkeresulteter ved avbrytelse"
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:227
msgid "Display the page number in the window title"
msgstr "Vis nummer av sider i vinduestittelen"
#: ../zathura/config.c:229 #: ../zathura/config.c:229
msgid "Use basename of the file in the statusbar" msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:231 #: ../zathura/config.c:231
msgid "Enable synctex support" msgid "Display the page number in the window title"
msgstr "" msgstr "Vis nummer av sider i vinduestittelen"
#: ../zathura/config.c:233 #: ../zathura/config.c:233
msgid "Synctex editor command" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:235 #: ../zathura/config.c:235
msgid "Enable D-Bus service" msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr "Aktiv D-Bus servicen" msgstr ""
#: ../zathura/config.c:237 #: ../zathura/config.c:237
msgid "The clipboard into which mouse-selected data will be written" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../zathura/config.c:239 #: ../zathura/config.c:239
msgid "Synctex editor command"
msgstr ""
#: ../zathura/config.c:241
msgid "Enable D-Bus service"
msgstr "Aktiv D-Bus servicen"
#: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "" msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Legg til bokmerke" msgstr "Legg til bokmerke"
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Slett bokmerke" msgstr "Slett bokmerke"
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "List alle bokmerker" msgstr "List alle bokmerker"
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "Lukk den gjeldende filen" msgstr "Lukk den gjeldende filen"
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "Vis filinformasjon" msgstr "Vis filinformasjon"
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "Kjør en kommando" msgstr "Kjør en kommando"
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "Vis hjelp" msgstr "Vis hjelp"
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "Åpne dokument" msgstr "Åpne dokument"
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "Lukk zathura" msgstr "Lukk zathura"
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "Skriv ut dokument" msgstr "Skriv ut dokument"
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "Lagre dokument" msgstr "Lagre dokument"
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Lagre dokument (og tving til å skrive over)" msgstr "Lagre dokument (og tving til å skrive over)"
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "Lagre vedlegg" msgstr "Lagre vedlegg"
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "" msgstr ""
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Marker nåværende lokalasjon i dokumentet" msgstr "Marker nåværende lokalasjon i dokumentet"
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Slett spesifiserte merker" msgstr "Slett spesifiserte merker"
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "Ikke uthev gjeldende søkeresultater" msgstr "Ikke uthev gjeldende søkeresultater"
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Uthev følgende søkeresultater" msgstr "Uthev følgende søkeresultater"
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "Vis versjonsinformasjon" msgstr "Vis versjonsinformasjon"
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr "Ingen dokumenter åpnet."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Ugyldig nummer av argumenter gitt."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Kunne ikke oppdatere bokmerke: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Kunne ikke lage bokmerke: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Bokmerke er oppdatert: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Bokmerket er laget: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Fjernet bokmerke: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Kunne ikke fjerne bokmerke: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Bokmerke eksisterer ikke: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr "Tittel"
#: ../zathura/commands.c:163
msgid "Author"
msgstr "Forfatter"
#: ../zathura/commands.c:164
msgid "Subject"
msgstr "Subjekt"
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr "Nøkkelord"
#: ../zathura/commands.c:166
msgid "Creator"
msgstr "Laget av"
#: ../zathura/commands.c:167
msgid "Producer"
msgstr "Produsent"
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr "Laget dato"
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr "Modifisert dato"
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Ingen informasjon tilgjengelig."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "For mange argumenter."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Ingen argumenter gitt."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Dokumentet er lagret."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Kunne ikke lagre dokumentet."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Ugyldig nummer av argumenter."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Kunne ikke skrive vedlegg '%s' til '%s'."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Skrev vedlegg '%s' til '%s'."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Skrev bilde '%s' til '%s'."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Kunne ikke skrive bilde '%s' til '%s'."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Ukjent bilde '%s'."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Ukjent vedlegg eller bilde '%s'."
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Argumentet må være et tall."
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr "Side %d"
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr "Vedlegg"
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr "Bilder"
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr "Utskrift feilet: %s"
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr "Dette dokumenetet inneholder ikke noen index"
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Klarte ikke å kjøre xdg-open." msgstr "Klarte ikke å kjøre xdg-open."
@ -498,6 +501,62 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Link: Ugyldig" msgstr "Link: Ugyldig"
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr ""
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr "Sti til konfigureringsmappe"
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr "Sti til data-mappe"
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr "Sti til mapper som inneholder plugins"
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr ""
#: ../zathura/main.c:162
msgid "Document password"
msgstr "Dokument passord"
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr "Sidetall å gå til"
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr "Logg nivå (diagnostisering, info, advarsler, feil)"
#: ../zathura/main.c:165
msgid "Print version information"
msgstr "Skriv ut versjonsinformasjon"
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:171
msgid "Start in a non-default mode"
msgstr "Start i ikke-standard modus"
#: ../zathura/page-widget.c:561 #: ../zathura/page-widget.c:561
msgid "Loading..." msgid "Loading..."
msgstr "Laster..." msgstr "Laster..."
@ -510,74 +569,35 @@ msgstr "Kopier bilde"
msgid "Save image as" msgid "Save image as"
msgstr "Lagre bilde som" msgstr "Lagre bilde som"
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr "Utskrift feilet: %s"
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr "Dette dokumenetet inneholder ikke noen index"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "[Inget navn]" msgstr "[Inget navn]"
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." 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." msgstr "Kunne ikke lese fil fra stdin og skrive til temporærfil."
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
#: ../zathura/zathura.c:683
msgid "Enter password:"
msgstr ""
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Usupportert filtype. Vennligst innstaller den nødvendige pluginen." msgstr "Usupportert filtype. Vennligst innstaller den nødvendige pluginen."
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "Dokumentet inneholder ingen sider" msgstr "Dokumentet inneholder ingen sider"
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr ""
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr "Sti til konfigureringsmappe"
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr "Sti til data-mappe"
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr "Sti til mapper som inneholder plugins"
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr ""
#: ../zathura/main.c:63
msgid "Document password"
msgstr "Dokument passord"
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr "Sidetall å gå til"
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr "Logg nivå (diagnostisering, info, advarsler, feil)"
#: ../zathura/main.c:66
msgid "Print version information"
msgstr "Skriv ut versjonsinformasjon"
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr "Start i ikke-standard modus"

536
po/pl.po
View file

@ -8,8 +8,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2015-04-13 19:48+0200\n" "PO-Revision-Date: 2015-10-15 23:06+0200\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Polish (http://www.transifex.com/projects/p/zathura/language/" "Language-Team: Polish (http://www.transifex.com/projects/p/zathura/language/"
"pl/)\n" "pl/)\n"
@ -19,28 +19,181 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2);\n" "|| n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 1.6.10\n" "X-Generator: Poedit 1.8.5\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Nieprawidłowy argument: %s" msgstr "Nieprawidłowy argument: %s"
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Nieprawidłowy indeks: %s" msgstr "Nieprawidłowy indeks: %s"
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr "Nie otwarto żadnego pliku"
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Nieprawidłowa liczba parametrów polecenia"
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Nie można stworzyć zakładki: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Nie można stworzyć zakładki: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Zaktualizowano zakładkę: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Utworzono zakładkę: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Usunięto zakładkę: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Nie można usunąć zakładki: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Nie znaleziono zakładki: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr "Tytuł"
#: ../zathura/commands.c:163
msgid "Author"
msgstr "Autor"
#: ../zathura/commands.c:164
msgid "Subject"
msgstr "Temat"
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr "Słowa kluczowe"
#: ../zathura/commands.c:166
msgid "Creator"
msgstr "Twórca"
#: ../zathura/commands.c:167
msgid "Producer"
msgstr "Producent"
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr "Data utworzenia"
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr "Data modyfikacji"
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Brak informacji o pliku"
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Za dużo parametrów polecenia"
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Nie podano parametrów polecenia"
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Zapisano dokument"
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Błąd zapisu"
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Niewłaściwa liczba parametrów polecenia"
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Nie można dodać załącznika %s do pliku %s"
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Zapisano załącznik %s do pliku %s"
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Obrazek %s zapisano do pliku %s"
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Nie można dodać obrazka %s do pliku %s"
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Nieznany obrazek '%s'."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Nieznany załącznik lub obrazek '%s'."
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Parametr polecenia musi być liczbą"
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr "Strona %d"
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr "Załączniki"
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr "Obrazki"
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -195,293 +348,143 @@ msgid "Show directories"
msgstr "Wyświetl katalogi" msgstr "Wyświetl katalogi"
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Show recent files"
msgstr ""
#: ../zathura/config.c:218
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Zawsze otwieraj na pierwszej stronie" msgstr "Zawsze otwieraj na pierwszej stronie"
#: ../zathura/config.c:218 #: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Podświetl wyniki wyszukiwania" msgstr "Podświetl wyniki wyszukiwania"
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "Włącz wyszukiwanie przyrostowe" msgstr "Włącz wyszukiwanie przyrostowe"
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Wyczyść wyniki wyszukiwania po przerwaniu" msgstr "Wyczyść wyniki wyszukiwania po przerwaniu"
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "Pokaż nazwę pliku w pasku tytułu" msgstr "Pokaż nazwę pliku w pasku tytułu"
#: ../zathura/config.c:227 #: ../zathura/config.c:229
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
#: ../zathura/config.c:231
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "Wyświetl numer strony w pasku tytułu" msgstr "Wyświetl numer strony w pasku tytułu"
#: ../zathura/config.c:229 #: ../zathura/config.c:233
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "Nazwa pliku w pasku stanu" msgstr "Nazwa pliku w pasku stanu"
#: ../zathura/config.c:231 #: ../zathura/config.c:235
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
#: ../zathura/config.c:237
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "Włącz synctex" msgstr "Włącz synctex"
#: ../zathura/config.c:233 #: ../zathura/config.c:239
msgid "Synctex editor command" msgid "Synctex editor command"
msgstr "" msgstr ""
#: ../zathura/config.c:235 #: ../zathura/config.c:241
msgid "Enable D-Bus service" msgid "Enable D-Bus service"
msgstr "Uruchom serwis D-Bus" msgstr "Uruchom serwis D-Bus"
#: ../zathura/config.c:237 #: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written" msgid "The clipboard into which mouse-selected data will be written"
msgstr "" msgstr ""
#: ../zathura/config.c:239 #: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "" msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Dodaj zakładkę" msgstr "Dodaj zakładkę"
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Usuń zakładkę" msgstr "Usuń zakładkę"
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Wyświetl zakładki" msgstr "Wyświetl zakładki"
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "Zamknij plik" msgstr "Zamknij plik"
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "Wyświetl informacje o pliku" msgstr "Wyświetl informacje o pliku"
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "Wykonaj polecenie" msgstr "Wykonaj polecenie"
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "Wyświetl pomoc" msgstr "Wyświetl pomoc"
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "Otwórz plik" msgstr "Otwórz plik"
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "Zakończ" msgstr "Zakończ"
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "Wydrukuj" msgstr "Wydrukuj"
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "Zapisz" msgstr "Zapisz"
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Zapisz (nadpisując istniejący plik)" msgstr "Zapisz (nadpisując istniejący plik)"
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "Zapisz załączniki" msgstr "Zapisz załączniki"
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "Ustaw przesunięcie numerów stron" msgstr "Ustaw przesunięcie numerów stron"
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Zaznacz aktualną pozycję w dokumencie" msgstr "Zaznacz aktualną pozycję w dokumencie"
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Skasuj określone zakładki" msgstr "Skasuj określone zakładki"
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "Nie podświetlaj aktualnych wyników wyszukiwania " msgstr "Nie podświetlaj aktualnych wyników wyszukiwania "
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Podświetl aktualne wyniki wyszukiwania" msgstr "Podświetl aktualne wyniki wyszukiwania"
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "Wyświetl informacje o wersji" msgstr "Wyświetl informacje o wersji"
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr "Nie otwarto żadnego pliku"
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Nieprawidłowa liczba parametrów polecenia"
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Nie można stworzyć zakładki: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Nie można stworzyć zakładki: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Zaktualizowano zakładkę: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Utworzono zakładkę: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Usunięto zakładkę: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Nie można usunąć zakładki: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Nie znaleziono zakładki: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr "Tytuł"
#: ../zathura/commands.c:163
msgid "Author"
msgstr "Autor"
#: ../zathura/commands.c:164
msgid "Subject"
msgstr "Temat"
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr "Słowa kluczowe"
#: ../zathura/commands.c:166
msgid "Creator"
msgstr "Twórca"
#: ../zathura/commands.c:167
msgid "Producer"
msgstr "Producent"
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr "Data utworzenia"
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr "Data modyfikacji"
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Brak informacji o pliku"
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Za dużo parametrów polecenia"
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Nie podano parametrów polecenia"
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Zapisano dokument"
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Błąd zapisu"
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Niewłaściwa liczba parametrów polecenia"
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Nie można dodać załącznika %s do pliku %s"
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Zapisano załącznik %s do pliku %s"
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Obrazek %s zapisano do pliku %s"
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Nie można dodać obrazka %s do pliku %s"
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Nieznany obrazek '%s'."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Nieznany załącznik lub obrazek '%s'."
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Parametr polecenia musi być liczbą"
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr "Strona %d"
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr "Załączniki"
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr "Obrazki"
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr "Nie można wydrukować: %s"
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr "Dokument nie zawiera indeksu"
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Wystąpił problem z uruchomieniem xdg-open" msgstr "Wystąpił problem z uruchomieniem xdg-open"
@ -500,6 +503,62 @@ msgstr "Link: %s"
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Nieprawidłowy link" msgstr "Nieprawidłowy link"
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr "Przypisz proces do rodzica o danym xid"
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr "Położenie katalogu konfiguracyjnego"
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr "Położenie katalogu danych"
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr "Położenie katalogu wtyczek"
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr "Forkuj w tle"
#: ../zathura/main.c:162
msgid "Document password"
msgstr "Hasło dokumentu"
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr "Szczegółowość komunikatów (debug, info, warning, error)"
#: ../zathura/main.c:165
msgid "Print version information"
msgstr "Wyświetl informacje o wersji"
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Edytor synctex (przekierowanie do komendy synctex)"
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:171
msgid "Start in a non-default mode"
msgstr ""
#: ../zathura/page-widget.c:561 #: ../zathura/page-widget.c:561
msgid "Loading..." msgid "Loading..."
msgstr "Wczytywanie pliku..." msgstr "Wczytywanie pliku..."
@ -512,74 +571,35 @@ msgstr "Skopiuj obrazek"
msgid "Save image as" msgid "Save image as"
msgstr "Zapisz obrazek jako" msgstr "Zapisz obrazek jako"
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr "Nie można wydrukować: %s"
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr "Dokument nie zawiera indeksu"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "[bez nazwy]" msgstr "[bez nazwy]"
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
#: ../zathura/zathura.c:683
msgid "Enter password:"
msgstr ""
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Niewspierany rodzaj pliku. Zainstaluj wymagane wtyczki" msgstr "Niewspierany rodzaj pliku. Zainstaluj wymagane wtyczki"
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "Dokument nie zawiera żadnej strony" msgstr "Dokument nie zawiera żadnej strony"
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr "Przypisz proces do rodzica o danym xid"
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr "Położenie katalogu konfiguracyjnego"
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr "Położenie katalogu danych"
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr "Położenie katalogu wtyczek"
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr "Forkuj w tle"
#: ../zathura/main.c:63
msgid "Document password"
msgstr "Hasło dokumentu"
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr "Szczegółowość komunikatów (debug, info, warning, error)"
#: ../zathura/main.c:66
msgid "Print version information"
msgstr "Wyświetl informacje o wersji"
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Edytor synctex (przekierowanie do komendy synctex)"
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr ""

View file

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2015-04-13 19:49+0200\n" "PO-Revision-Date: 2015-10-15 23:06+0200\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/" "Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/"
"zathura/language/pt_BR/)\n" "zathura/language/pt_BR/)\n"
@ -17,28 +17,181 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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 1.6.10\n" "X-Generator: Poedit 1.8.5\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Dados de entrada inválida '%s' ." msgstr "Dados de entrada inválida '%s' ."
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Dados de índice invalido '%s'." msgstr "Dados de índice invalido '%s'."
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr "Nenhum documento aberto."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Número de argumentos dados inválidos."
#: ../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
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Não foi possível criar favorito: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Favorito atualizado com sucesso: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Favorito criado com sucesso: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Favorito removido: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Falha ao remover favorito: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Não há favoritos: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr "Título"
#: ../zathura/commands.c:163
msgid "Author"
msgstr "Autor"
#: ../zathura/commands.c:164
msgid "Subject"
msgstr "Assunto"
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr "Palavras-chave"
#: ../zathura/commands.c:166
msgid "Creator"
msgstr "Criador"
#: ../zathura/commands.c:167
msgid "Producer"
msgstr "Produtor"
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr "Data de criação"
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr "Data de modificação"
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Nenhuma informação disponível."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Muitos argumentos."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Nenhum argumento dado."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Documento salvo."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Falha ao salvar o documento."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Número de argumento invalido."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Não foi possível gravar anexo '%s' para '%s'."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Escreveu anexo '%s' para '%s'."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Escreveu imagem '%s' para '%s'."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Não foi possível gravar imagem '%s' para '%s'."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Imagem desconhecida '%s'."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Anexo desconhecido ou imagem '%s'."
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "O argumento deve ser um número."
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr "Página %d"
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr "Anexos"
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr "Imagens"
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -194,295 +347,145 @@ msgid "Show directories"
msgstr "Mostrar diretórios" msgstr "Mostrar diretórios"
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Show recent files"
msgstr ""
#: ../zathura/config.c:218
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Sempre abrir na primeira página" msgstr "Sempre abrir na primeira página"
#: ../zathura/config.c:218 #: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Destaque resultados de busca" msgstr "Destaque resultados de busca"
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "Ativar pesquisa incremental" msgstr "Ativar pesquisa incremental"
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Limpar resultados de busca ou abortar" msgstr "Limpar resultados de busca ou abortar"
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "Usar nome do arquivo na barra de titulo" msgstr "Usar nome do arquivo na barra de titulo"
#: ../zathura/config.c:227 #: ../zathura/config.c:229
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
#: ../zathura/config.c:231
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "Exibir o número da página no título da janela." msgstr "Exibir o número da página no título da janela."
#: ../zathura/config.c:229 #: ../zathura/config.c:233
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "Use o nome do arquivo na barra de status" msgstr "Use o nome do arquivo na barra de status"
#: ../zathura/config.c:231 #: ../zathura/config.c:235
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
#: ../zathura/config.c:237
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "Ativar suporte synctex" msgstr "Ativar suporte synctex"
#: ../zathura/config.c:233 #: ../zathura/config.c:239
msgid "Synctex editor command" msgid "Synctex editor command"
msgstr "" msgstr ""
#: ../zathura/config.c:235 #: ../zathura/config.c:241
msgid "Enable D-Bus service" msgid "Enable D-Bus service"
msgstr "Habilitar serviço D-Bus" msgstr "Habilitar serviço D-Bus"
#: ../zathura/config.c:237 #: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written" msgid "The clipboard into which mouse-selected data will be written"
msgstr "" msgstr ""
"A área de transferência em que o dados selecionados com o mouse vão ser " "A área de transferência em que o dados selecionados com o mouse vão ser "
"escritos" "escritos"
#: ../zathura/config.c:239 #: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "" msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Adicionar um favorito" msgstr "Adicionar um favorito"
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Deletar um favorito" msgstr "Deletar um favorito"
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Listar todos favoritos" msgstr "Listar todos favoritos"
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "Fechar arquivo atual" msgstr "Fechar arquivo atual"
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "Mostrar informações do arquivo" msgstr "Mostrar informações do arquivo"
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "Executar um comando" msgstr "Executar um comando"
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "Mostrar ajuda" msgstr "Mostrar ajuda"
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "Abrir documento" msgstr "Abrir documento"
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "Fechar zathura" msgstr "Fechar zathura"
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "Imprimir documento" msgstr "Imprimir documento"
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "Salvar documento" msgstr "Salvar documento"
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Salvar documento (e forçar sobrescrever)" msgstr "Salvar documento (e forçar sobrescrever)"
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "Salvar anexos" msgstr "Salvar anexos"
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "Definir deslocamento da página" msgstr "Definir deslocamento da página"
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Marcar localização atual no documento" msgstr "Marcar localização atual no documento"
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Apagar as marcas especificadas" msgstr "Apagar as marcas especificadas"
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "Não destacar resultados de busca atual" msgstr "Não destacar resultados de busca atual"
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Destacar resultado de busca atual" msgstr "Destacar resultado de busca atual"
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "Mostrar informações sobre a versão" msgstr "Mostrar informações sobre a versão"
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr "Nenhum documento aberto."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Número de argumentos dados inválidos."
#: ../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
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Não foi possível criar favorito: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Favorito atualizado com sucesso: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Favorito criado com sucesso: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Favorito removido: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Falha ao remover favorito: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Não há favoritos: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr "Título"
#: ../zathura/commands.c:163
msgid "Author"
msgstr "Autor"
#: ../zathura/commands.c:164
msgid "Subject"
msgstr "Assunto"
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr "Palavras-chave"
#: ../zathura/commands.c:166
msgid "Creator"
msgstr "Criador"
#: ../zathura/commands.c:167
msgid "Producer"
msgstr "Produtor"
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr "Data de criação"
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr "Data de modificação"
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Nenhuma informação disponível."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Muitos argumentos."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Nenhum argumento dado."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Documento salvo."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Falha ao salvar o documento."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Número de argumento invalido."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Não foi possível gravar anexo '%s' para '%s'."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Escreveu anexo '%s' para '%s'."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Escreveu imagem '%s' para '%s'."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Não foi possível gravar imagem '%s' para '%s'."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Imagem desconhecida '%s'."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Anexo desconhecido ou imagem '%s'."
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "O argumento deve ser um número."
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr "Página %d"
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr "Anexos"
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr "Imagens"
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr "Impressão falhou: %s"
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr "Este documento não contem qualquer índice"
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Falha ao executar xdg-open." msgstr "Falha ao executar xdg-open."
@ -501,6 +504,62 @@ msgstr "Link: %s"
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Link: Inválido" msgstr "Link: Inválido"
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr "Reparar a janela especificada por xid"
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr "Caminho de diretório para configuração"
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr "Caminho para diretório de dados"
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr "Caminho de diretório que contenham plugins"
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr "Deslocar no fundo"
#: ../zathura/main.c:162
msgid "Document password"
msgstr "Senha do documento"
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr "Número da página para ir"
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr "Nível de log (depurar, informação, aviso, erro)"
#: ../zathura/main.c:165
msgid "Print version information"
msgstr "Imprimir informações sobre a versão"
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor synctex (encaminhado para o comando synctex)"
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr "Mover para determinada posição synctex"
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr "Destacar determinada posição no determinado processo"
#: ../zathura/main.c:171
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:561
msgid "Loading..." msgid "Loading..."
msgstr "Carregando..." msgstr "Carregando..."
@ -513,77 +572,38 @@ msgstr "Copiar imagem"
msgid "Save image as" msgid "Save image as"
msgstr "Salvar imagem para" msgstr "Salvar imagem para"
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr "Impressão falhou: %s"
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr "Este documento não contem qualquer índice"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "[Sem nome]" msgstr "[Sem nome]"
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
"Não foi possível ler o arquivo a partir de stdin e gravá-lo em um arquivo " "Não foi possível ler o arquivo a partir de stdin e gravá-lo em um arquivo "
"temporário." "temporário."
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
#: ../zathura/zathura.c:683
msgid "Enter password:"
msgstr ""
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
"Formato de arquivo não suportado. Por favor, instale o plugin necessário." "Formato de arquivo não suportado. Por favor, instale o plugin necessário."
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "Documento não contém quaisquer páginas" msgstr "Documento não contém quaisquer páginas"
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr "Reparar a janela especificada por xid"
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr "Caminho de diretório para configuração"
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr "Caminho para diretório de dados"
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr "Caminho de diretório que contenham plugins"
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr "Deslocar no fundo"
#: ../zathura/main.c:63
msgid "Document password"
msgstr "Senha do documento"
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr "Número da página para ir"
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr "Nível de log (depurar, informação, aviso, erro)"
#: ../zathura/main.c:66
msgid "Print version information"
msgstr "Imprimir informações sobre a versão"
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor synctex (encaminhado para o comando synctex)"
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr "Mover para determinada posição synctex"
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr "Destacar determinada posição no determinado processo"
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr "Começar em um modo não padrão"

536
po/ru.po
View file

@ -10,8 +10,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2015-04-13 19:49+0200\n" "PO-Revision-Date: 2015-10-15 23:06+0200\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Russian (http://www.transifex.com/projects/p/zathura/language/" "Language-Team: Russian (http://www.transifex.com/projects/p/zathura/language/"
"ru/)\n" "ru/)\n"
@ -21,28 +21,181 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && 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" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 1.6.10\n" "X-Generator: Poedit 1.8.5\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Неправильный ввод: %s." msgstr "Неправильный ввод: %s."
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Получен неверный индекс: %s." msgstr "Получен неверный индекс: %s."
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr "Нет открытых документов."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Указано неверное число аргументов."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Не могу создать закладку %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Не удалось создать закладку %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Закладка %s успешно обновлена"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Закладка %s успешно создана"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Закладка %s удалена"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Не удалось удалить закладку %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Закладки %s не существует"
#: ../zathura/commands.c:162
msgid "Title"
msgstr "Заголовок"
#: ../zathura/commands.c:163
msgid "Author"
msgstr "Автор"
#: ../zathura/commands.c:164
msgid "Subject"
msgstr "Тема"
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr "Ключевые слова"
#: ../zathura/commands.c:166
msgid "Creator"
msgstr "Создатель"
#: ../zathura/commands.c:167
msgid "Producer"
msgstr "Производитель"
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr "Время создания"
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr "Время изменения"
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Нет доступной информации."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Слишком много аргументов."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Отсутствуют аргументы."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Документ сохранён."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Не удалось сохранить документ."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Неверное количество аргументов."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Не удалось сохранить приложенный файл «%s» в «%s»."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Файл «%s» сохранён в «%s»."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Изображение «%s» сохранено в «%s»."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Не удалось записать изображение «%s» в «%s»."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Неизвестное изображение «%s»."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Неизвестное вложение или изображение «%s»."
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Аргумент должен быть числом."
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr "Страница %d"
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr "Прикреплённые файлы"
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr "Изображения"
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -197,293 +350,143 @@ msgid "Show directories"
msgstr "Показывать каталоги" msgstr "Показывать каталоги"
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Show recent files"
msgstr ""
#: ../zathura/config.c:218
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Всегда открывать на первой странице" msgstr "Всегда открывать на первой странице"
#: ../zathura/config.c:218 #: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Подсветить результаты поиска" msgstr "Подсветить результаты поиска"
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "Включить инкрементальный поиск" msgstr "Включить инкрементальный поиск"
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Сбросить результаты при отмене поиска" msgstr "Сбросить результаты при отмене поиска"
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "Использовать базовое имя файла в заголовке" msgstr "Использовать базовое имя файла в заголовке"
#: ../zathura/config.c:227 #: ../zathura/config.c:229
msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr ""
#: ../zathura/config.c:231
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "Показывать номер страницы в заголовке" msgstr "Показывать номер страницы в заголовке"
#: ../zathura/config.c:229 #: ../zathura/config.c:233
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "Использовать базовое имя файла в строке состояния" msgstr "Использовать базовое имя файла в строке состояния"
#: ../zathura/config.c:231 #: ../zathura/config.c:235
msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr ""
#: ../zathura/config.c:237
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "Включить поддержку synctex" msgstr "Включить поддержку synctex"
#: ../zathura/config.c:233 #: ../zathura/config.c:239
msgid "Synctex editor command" msgid "Synctex editor command"
msgstr "" msgstr ""
#: ../zathura/config.c:235 #: ../zathura/config.c:241
msgid "Enable D-Bus service" msgid "Enable D-Bus service"
msgstr "Включить сервис D-Bus" msgstr "Включить сервис D-Bus"
#: ../zathura/config.c:237 #: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written" msgid "The clipboard into which mouse-selected data will be written"
msgstr "Буфер для записи данных из области выделенных мышкой" msgstr "Буфер для записи данных из области выделенных мышкой"
#: ../zathura/config.c:239 #: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "" msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Добавить закладку" msgstr "Добавить закладку"
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Удалить закладку" msgstr "Удалить закладку"
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Показать все закладки" msgstr "Показать все закладки"
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "Закрыть текущий файл" msgstr "Закрыть текущий файл"
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "Показать информацию о файле" msgstr "Показать информацию о файле"
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "Выполнить команду" msgstr "Выполнить команду"
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "Помощь" msgstr "Помощь"
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "Открыть документ" msgstr "Открыть документ"
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "Выход" msgstr "Выход"
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "Печать" msgstr "Печать"
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "Сохранить документ" msgstr "Сохранить документ"
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Сохранить документ (с перезаписью)" msgstr "Сохранить документ (с перезаписью)"
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "Сохранить прикреплённые файлы" msgstr "Сохранить прикреплённые файлы"
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "Сохранить смещение страницы" msgstr "Сохранить смещение страницы"
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Пометить текущую позицию в документе" msgstr "Пометить текущую позицию в документе"
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Удалить указанные пометки" msgstr "Удалить указанные пометки"
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "Не подсвечивать результаты текущего поиска" msgstr "Не подсвечивать результаты текущего поиска"
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Подсветить результаты текущего поиска" msgstr "Подсветить результаты текущего поиска"
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "Показать информацию о версии файла" msgstr "Показать информацию о версии файла"
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr "Нет открытых документов."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Указано неверное число аргументов."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Не могу создать закладку %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Не удалось создать закладку %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Закладка %s успешно обновлена"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Закладка %s успешно создана"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Закладка %s удалена"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Не удалось удалить закладку %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Закладки %s не существует"
#: ../zathura/commands.c:162
msgid "Title"
msgstr "Заголовок"
#: ../zathura/commands.c:163
msgid "Author"
msgstr "Автор"
#: ../zathura/commands.c:164
msgid "Subject"
msgstr "Тема"
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr "Ключевые слова"
#: ../zathura/commands.c:166
msgid "Creator"
msgstr "Создатель"
#: ../zathura/commands.c:167
msgid "Producer"
msgstr "Производитель"
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr "Время создания"
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr "Время изменения"
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Нет доступной информации."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Слишком много аргументов."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Отсутствуют аргументы."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Документ сохранён."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Не удалось сохранить документ."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Неверное количество аргументов."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Не удалось сохранить приложенный файл «%s» в «%s»."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Файл «%s» сохранён в «%s»."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "Изображение «%s» сохранено в «%s»."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "Не удалось записать изображение «%s» в «%s»."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Неизвестное изображение «%s»."
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Неизвестное вложение или изображение «%s»."
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Аргумент должен быть числом."
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr "Страница %d"
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr "Прикреплённые файлы"
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr "Изображения"
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr "Не удалось напечатать %s"
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr "В документе нет индекса"
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Не удалось запустить xdg-open" msgstr "Не удалось запустить xdg-open"
@ -502,6 +505,62 @@ msgstr "Ссылка: %s"
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Ссылка: неправильная" msgstr "Ссылка: неправильная"
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr "Сменить материнское окно на окно, указанное в xid"
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr "Путь к каталогу с настройкой"
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr "Путь к каталогу с данными"
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr "Путь к каталогу с плагинами"
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr "Запустить в фоне"
#: ../zathura/main.c:162
msgid "Document password"
msgstr "Пароль документа"
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr "Перейти к странице номер"
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr "Уровень журналирования (debug, info, warning, error)"
#: ../zathura/main.c:165
msgid "Print version information"
msgstr "Показать информацию о файле"
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Редактор для synctex (передаётся далее программе synctex)"
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr "Перейти к указанному положению synctex"
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr "Подсветка заданного положения в заданном процессе"
#: ../zathura/main.c:171
msgid "Start in a non-default mode"
msgstr "Запустить в специальном режиме"
#: ../zathura/page-widget.c:561 #: ../zathura/page-widget.c:561
msgid "Loading..." msgid "Loading..."
msgstr "Загрузка..." msgstr "Загрузка..."
@ -514,76 +573,37 @@ msgstr "Скопировать изображение"
msgid "Save image as" msgid "Save image as"
msgstr "Сохранить изображение как" msgstr "Сохранить изображение как"
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr "Не удалось напечатать %s"
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr "В документе нет индекса"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "[Без названия]" msgstr "[Без названия]"
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
"Не удалось прочитать файл со стандартного входа и записать его во временный " "Не удалось прочитать файл со стандартного входа и записать его во временный "
"файл." "файл."
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
#: ../zathura/zathura.c:683
msgid "Enter password:"
msgstr ""
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Тип файла не поддерживается. Установите соответствующий плагин." msgstr "Тип файла не поддерживается. Установите соответствующий плагин."
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "В документе нет страниц" msgstr "В документе нет страниц"
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr "Сменить материнское окно на окно, указанное в xid"
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr "Путь к каталогу с настройкой"
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr "Путь к каталогу с данными"
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr "Путь к каталогу с плагинами"
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr "Запустить в фоне"
#: ../zathura/main.c:63
msgid "Document password"
msgstr "Пароль документа"
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr "Перейти к странице номер"
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr "Уровень журналирования (debug, info, warning, error)"
#: ../zathura/main.c:66
msgid "Print version information"
msgstr "Показать информацию о файле"
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Редактор для synctex (передаётся далее программе synctex)"
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr "Перейти к указанному положению synctex"
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr "Подсветка заданного положения в заданном процессе"
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr "Запустить в специальном режиме"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2014-01-31 09:37+0000\n" "PO-Revision-Date: 2014-01-31 09:37+0000\n"
"Last-Translator: mankand007 <mankand007@gmail.com>\n" "Last-Translator: mankand007 <mankand007@gmail.com>\n"
"Language-Team: Tamil (India) (http://www.transifex.net/projects/p/zathura/" "Language-Team: Tamil (India) (http://www.transifex.net/projects/p/zathura/"
@ -23,21 +23,174 @@ msgstr ""
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "கொடுக்கப்பட்ட உள்ளீடு(input) '%s' தவறு" msgstr "கொடுக்கப்பட்ட உள்ளீடு(input) '%s' தவறு"
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "கொடுக்கப்பட்ட index '%s' தவறு" msgstr "கொடுக்கப்பட்ட index '%s' தவறு"
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr "எந்தக் ஆவணமும் திறக்கப்படவில்லை"
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "கொடுக்கப்பட்ட arguments-களின் எண்ணிக்கை தவறு"
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Bookmark-ஐ உருவாக்க முடியவில்லை: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Bookmark-ஐ உருவாக்க முடியவில்லை: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Bookmark வெற்றிகரமாக நிகழ்நிலை(update) படுத்தப்பட்டது: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Bookmark வெற்றிகரமாக உருவாக்கப்பட்டது: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Bookmark அழிக்கப்பட்டது: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Bookmark-ஐ அழிக்க இயலவில்லை: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "அந்தப் பெயரில் எந்த bookmark-ம் இல்லை: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "எந்தத் தகவலும் இல்லை"
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Argumentகளின் எண்ணிக்கை மிகவும் அதிகம்"
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "எந்த argument-ம் தரப்படவில்லை"
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "கோப்பு சேமிக்கப்பட்டது"
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "ஆவணத்தை சேமிக்க இயலவில்லை"
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "கொடுக்கப்பட்ட argument-களின் எண்ணிக்கை தவறு"
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr ""
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Argument ஒரு எண்ணாக இருக்க வேண்டும்"
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr ""
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr "இணைப்புகளைச் சேமிக்கவும்"
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr ""
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -192,293 +345,143 @@ msgid "Show directories"
msgstr "" msgstr ""
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Always open on first page" msgid "Show recent files"
msgstr "" msgstr ""
#: ../zathura/config.c:218 #: ../zathura/config.c:218
msgid "Always open on first page"
msgstr ""
#: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "" msgstr ""
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "" msgstr ""
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:227
msgid "Display the page number in the window title"
msgstr ""
#: ../zathura/config.c:229 #: ../zathura/config.c:229
msgid "Use basename of the file in the statusbar" msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:231 #: ../zathura/config.c:231
msgid "Enable synctex support" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:233 #: ../zathura/config.c:233
msgid "Synctex editor command" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:235 #: ../zathura/config.c:235
msgid "Enable D-Bus service" msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:237 #: ../zathura/config.c:237
msgid "The clipboard into which mouse-selected data will be written" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../zathura/config.c:239 #: ../zathura/config.c:239
msgid "Synctex editor command"
msgstr ""
#: ../zathura/config.c:241
msgid "Enable D-Bus service"
msgstr ""
#: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "" msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "புதிய bookmark உருவாக்கு" msgstr "புதிய bookmark உருவாக்கு"
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Bookmark-ஐ அழித்துவிடு" msgstr "Bookmark-ஐ அழித்துவிடு"
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "அனைத்து bookmark-களையும் பட்டியலிடு" msgstr "அனைத்து bookmark-களையும் பட்டியலிடு"
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "" msgstr ""
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு" msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு"
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "" msgstr ""
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "உதவியைக் காட்டு" msgstr "உதவியைக் காட்டு"
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "ஒரு ஆவணத்தைத் திற" msgstr "ஒரு ஆவணத்தைத் திற"
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "zathura-வை விட்டு வெளியேறு" msgstr "zathura-வை விட்டு வெளியேறு"
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "ஆவணத்தை அச்சிடு" msgstr "ஆவணத்தை அச்சிடு"
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "ஆவணத்தை சேமிக்கவும்" msgstr "ஆவணத்தை சேமிக்கவும்"
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "" msgstr ""
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "இணைப்புகளைச் சேமிக்கவும்" msgstr "இணைப்புகளைச் சேமிக்கவும்"
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "" msgstr ""
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "" msgstr ""
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "" msgstr ""
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "" msgstr ""
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "" msgstr ""
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr "எந்தக் ஆவணமும் திறக்கப்படவில்லை"
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "கொடுக்கப்பட்ட arguments-களின் எண்ணிக்கை தவறு"
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Bookmark-ஐ உருவாக்க முடியவில்லை: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Bookmark-ஐ உருவாக்க முடியவில்லை: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Bookmark வெற்றிகரமாக நிகழ்நிலை(update) படுத்தப்பட்டது: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Bookmark வெற்றிகரமாக உருவாக்கப்பட்டது: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Bookmark அழிக்கப்பட்டது: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Bookmark-ஐ அழிக்க இயலவில்லை: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "அந்தப் பெயரில் எந்த bookmark-ம் இல்லை: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "எந்தத் தகவலும் இல்லை"
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Argumentகளின் எண்ணிக்கை மிகவும் அதிகம்"
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "எந்த argument-ம் தரப்படவில்லை"
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "கோப்பு சேமிக்கப்பட்டது"
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "ஆவணத்தை சேமிக்க இயலவில்லை"
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "கொடுக்கப்பட்ட argument-களின் எண்ணிக்கை தவறு"
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr ""
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Argument ஒரு எண்ணாக இருக்க வேண்டும்"
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr ""
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr "இணைப்புகளைச் சேமிக்கவும்"
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr ""
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr "இந்த ஆவணத்தில் எந்த index-ம் இல்லை"
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "xdg-open-ஐ இயக்க முடியவில்லை" msgstr "xdg-open-ஐ இயக்க முடியவில்லை"
@ -497,6 +500,62 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr ""
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr ""
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr ""
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr ""
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr ""
#: ../zathura/main.c:162
msgid "Document password"
msgstr ""
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr ""
#: ../zathura/main.c:165
msgid "Print version information"
msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு"
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:171
msgid "Start in a non-default mode"
msgstr ""
#: ../zathura/page-widget.c:561 #: ../zathura/page-widget.c:561
msgid "Loading..." msgid "Loading..."
msgstr "" msgstr ""
@ -509,74 +568,35 @@ msgstr "படத்தை ஒரு பிரதியெடு"
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr "இந்த ஆவணத்தில் எந்த index-ம் இல்லை"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "பெயரற்ற ஆவணம்" msgstr "பெயரற்ற ஆவணம்"
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
#: ../zathura/zathura.c:683
msgid "Enter password:"
msgstr ""
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr ""
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr ""
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr ""
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr ""
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr ""
#: ../zathura/main.c:63
msgid "Document password"
msgstr ""
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr ""
#: ../zathura/main.c:66
msgid "Print version information"
msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு"
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr ""

540
po/tr.po
View file

@ -8,8 +8,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2015-04-13 19:49+0200\n" "PO-Revision-Date: 2015-10-15 23:05+0200\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Turkish (http://www.transifex.net/projects/p/zathura/language/" "Language-Team: Turkish (http://www.transifex.net/projects/p/zathura/language/"
"tr/)\n" "tr/)\n"
@ -18,28 +18,181 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 1.5.4\n" "X-Generator: Poedit 1.8.5\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Hatalı girdi '%s'" msgstr "Hatalı girdi '%s'"
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Hatalı dizin '%s'" msgstr "Hatalı dizin '%s'"
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr "Açık belge yok."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Yanlış sayıda argüman"
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Yer imi yaratılamadı: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Yer imi yaratılamadı: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Yer imi başarıyla güncellendi: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Yer imi yaratıldı: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Yer imi silindi: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Yer imi silinemedi: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Böyle bir yer imi yok: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Bilgi mevcut değil."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Çok fazla sayıda argüman."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Argüman verilmedi."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Belge kaydedildi."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Belge kaydedilemedi."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Yanlış sayıda argüman."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazılamadı."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazıldı."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazıldı."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazılamadı."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Tanınmayan resim dosyası '%s'"
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Tanınmayan eklenti veya resim dosyası '%s'"
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Argüman bir sayı olmalı."
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr "Sayfa %d"
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr "Ekleri kaydet"
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr "Resimler"
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -194,293 +347,143 @@ msgid "Show directories"
msgstr "Dizinleri göster" msgstr "Dizinleri göster"
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Show recent files"
msgstr ""
#: ../zathura/config.c:218
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Her zaman ilk sayfayı aç" msgstr "Her zaman ilk sayfayı aç"
#: ../zathura/config.c:218 #: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Arama sonuçlarını vurgula" msgstr "Arama sonuçlarını vurgula"
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "Artımlı aramayı etkinleştir" msgstr "Artımlı aramayı etkinleştir"
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Kapatınca arama sonuçlarını temizle" msgstr "Kapatınca arama sonuçlarını temizle"
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "Pencere başlığı olarak dosyanın adını kullan" msgstr "Pencere başlığı olarak dosyanın adını kullan"
#: ../zathura/config.c:227
msgid "Display the page number in the window title"
msgstr ""
#: ../zathura/config.c:229 #: ../zathura/config.c:229
msgid "Use basename of the file in the statusbar" msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:231 #: ../zathura/config.c:231
msgid "Enable synctex support" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:233 #: ../zathura/config.c:233
msgid "Synctex editor command" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:235 #: ../zathura/config.c:235
msgid "Enable D-Bus service" msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:237 #: ../zathura/config.c:237
msgid "The clipboard into which mouse-selected data will be written" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../zathura/config.c:239 #: ../zathura/config.c:239
msgid "Synctex editor command"
msgstr ""
#: ../zathura/config.c:241
msgid "Enable D-Bus service"
msgstr ""
#: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "" msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Yer imi ekle" msgstr "Yer imi ekle"
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Yer imi sil" msgstr "Yer imi sil"
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Yer imlerini listele" msgstr "Yer imlerini listele"
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "Geçerli dosyayı kapat" msgstr "Geçerli dosyayı kapat"
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "Dosya bilgisi göster" msgstr "Dosya bilgisi göster"
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "Bir komut çalıştır" msgstr "Bir komut çalıştır"
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "Yardım bilgisi göster" msgstr "Yardım bilgisi göster"
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "Belge aç" msgstr "Belge aç"
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "Zathura'yı kapat" msgstr "Zathura'yı kapat"
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "Belge yazdır" msgstr "Belge yazdır"
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "Belgeyi kaydet" msgstr "Belgeyi kaydet"
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Belgeyi kaydet (ve sormadan üzerine yaz)" msgstr "Belgeyi kaydet (ve sormadan üzerine yaz)"
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "Ekleri kaydet" msgstr "Ekleri kaydet"
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "Sayfa derinliğini ayarla" msgstr "Sayfa derinliğini ayarla"
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Bu belgede bu konumu işaretle" msgstr "Bu belgede bu konumu işaretle"
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Seçilen işaretlemeleri sil" msgstr "Seçilen işaretlemeleri sil"
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "Şuanki arama sonuçlarını vurgulama" msgstr "Şuanki arama sonuçlarını vurgulama"
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Şuanki arama sonuçlarını vurgula" msgstr "Şuanki arama sonuçlarını vurgula"
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "Versiyon bilgisi göster" msgstr "Versiyon bilgisi göster"
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr "Açık belge yok."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Yanlış sayıda argüman"
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Yer imi yaratılamadı: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Yer imi yaratılamadı: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Yer imi başarıyla güncellendi: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Yer imi yaratıldı: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Yer imi silindi: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Yer imi silinemedi: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Böyle bir yer imi yok: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Bilgi mevcut değil."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Çok fazla sayıda argüman."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Argüman verilmedi."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Belge kaydedildi."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Belge kaydedilemedi."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Yanlış sayıda argüman."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazılamadı."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazıldı."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazıldı."
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazılamadı."
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr "Tanınmayan resim dosyası '%s'"
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr "Tanınmayan eklenti veya resim dosyası '%s'"
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Argüman bir sayı olmalı."
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr "Sayfa %d"
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr "Ekleri kaydet"
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr "Resimler"
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr "Bu belge fihrist içermiyor"
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "xdg-open çalıştırılamadı" msgstr "xdg-open çalıştırılamadı"
@ -499,6 +502,62 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr "Xid tarafından belirlendiği gibi bir üst seviye pencereye bağlı"
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr "Ayar dizini adresi"
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr "Veri dizini adresi"
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr "Eklentileri içeren dizinin adresi"
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr "Arka planda işlemden çocuk oluştur"
#: ../zathura/main.c:162
msgid "Document password"
msgstr "Belge şifresi"
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr "Kayıt seviyesi (hata ayıklama, bilgi, uyarı, hata)"
#: ../zathura/main.c:165
msgid "Print version information"
msgstr "Dosya bilgisi göster"
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:171
msgid "Start in a non-default mode"
msgstr ""
#: ../zathura/page-widget.c:561 #: ../zathura/page-widget.c:561
msgid "Loading..." msgid "Loading..."
msgstr "Yüklüyor ..." msgstr "Yüklüyor ..."
@ -511,74 +570,35 @@ msgstr "Resim kopyala"
msgid "Save image as" msgid "Save image as"
msgstr "Resmi farklı kaydet" msgstr "Resmi farklı kaydet"
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr "Bu belge fihrist içermiyor"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "[İsimsiz]" msgstr "[İsimsiz]"
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
#: ../zathura/zathura.c:683
msgid "Enter password:"
msgstr ""
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr "Xid tarafından belirlendiği gibi bir üst seviye pencereye bağlı"
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr "Ayar dizini adresi"
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr "Veri dizini adresi"
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr "Eklentileri içeren dizinin adresi"
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr "Arka planda işlemden çocuk oluştur"
#: ../zathura/main.c:63
msgid "Document password"
msgstr "Belge şifresi"
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr "Kayıt seviyesi (hata ayıklama, bilgi, uyarı, hata)"
#: ../zathura/main.c:66
msgid "Print version information"
msgstr "Dosya bilgisi göster"
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr ""

View file

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2015-04-13 19:42+0200\n" "POT-Creation-Date: 2015-12-14 22:03+0100\n"
"PO-Revision-Date: 2015-04-13 19:49+0200\n" "PO-Revision-Date: 2015-10-15 23:05+0200\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/projects/p/" "Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/projects/p/"
"zathura/language/uk_UA/)\n" "zathura/language/uk_UA/)\n"
@ -18,28 +18,181 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && 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" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 1.5.4\n" "X-Generator: Poedit 1.8.5\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
msgid "'%s' must not be 0. Set to 1." msgid "'%s' must not be 0. Set to 1."
msgstr "" msgstr ""
#: ../zathura/callbacks.c:310 #: ../zathura/callbacks.c:315
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Вказано невірний аргумент: %s." msgstr "Вказано невірний аргумент: %s."
#: ../zathura/callbacks.c:346 #: ../zathura/callbacks.c:351
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Вказано невірний індекс: %s" msgstr "Вказано невірний індекс: %s"
#: ../zathura/callbacks.c:588 #: ../zathura/callbacks.c:594
#, c-format #, c-format
msgid "Copied selected text to selection %s: %s" msgid "Copied selected text to selection %s: %s"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:406 ../zathura/shortcuts.c:1216
#: ../zathura/shortcuts.c:1245 ../zathura/shortcuts.c:1272
msgid "No document opened."
msgstr "Документ не відкрито."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Вказана невірна кількість аргументів."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Не можу створити закладку: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Не можу створити закладку: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Закладку вдало поновлено: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Закладку створено вдало: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Закладку видалено: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Видалення закладки невдалося: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Такої закладки немає: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Інформація недоступна."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Забагато аргументів."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Жодного аргументу не вказано."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Документ збережено."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Документ не вдалося зберегти."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Невірна кількість аргументів."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Неможливо записати прикріплення '%s' до '%s'."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Прикріплення записано %s до %s."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr ""
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Аргумент повинен бути цифрою."
#: ../zathura/completion.c:285
#, c-format
msgid "Page %d"
msgstr ""
#: ../zathura/completion.c:328
msgid "Attachments"
msgstr ""
#. add images
#: ../zathura/completion.c:359
msgid "Images"
msgstr ""
#. zathura settings #. zathura settings
#: ../zathura/config.c:144 #: ../zathura/config.c:144
msgid "Database backend" msgid "Database backend"
@ -194,293 +347,143 @@ msgid "Show directories"
msgstr "Показати диреторії" msgstr "Показати диреторії"
#: ../zathura/config.c:216 #: ../zathura/config.c:216
msgid "Show recent files"
msgstr ""
#: ../zathura/config.c:218
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Завжди відкривати на першій сторінці" msgstr "Завжди відкривати на першій сторінці"
#: ../zathura/config.c:218 #: ../zathura/config.c:220
msgid "Highlight search results" msgid "Highlight search results"
msgstr "" msgstr ""
#: ../zathura/config.c:221 #: ../zathura/config.c:223
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../zathura/config.c:223 #: ../zathura/config.c:225
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "" msgstr ""
#: ../zathura/config.c:225 #: ../zathura/config.c:227
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:227
msgid "Display the page number in the window title"
msgstr ""
#: ../zathura/config.c:229 #: ../zathura/config.c:229
msgid "Use basename of the file in the statusbar" msgid "Use ~ instead of $HOME in the filename in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:231 #: ../zathura/config.c:231
msgid "Enable synctex support" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../zathura/config.c:233 #: ../zathura/config.c:233
msgid "Synctex editor command" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:235 #: ../zathura/config.c:235
msgid "Enable D-Bus service" msgid "Use ~ instead of $HOME in the filename in the statusbar"
msgstr "" msgstr ""
#: ../zathura/config.c:237 #: ../zathura/config.c:237
msgid "The clipboard into which mouse-selected data will be written" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../zathura/config.c:239 #: ../zathura/config.c:239
msgid "Synctex editor command"
msgstr ""
#: ../zathura/config.c:241
msgid "Enable D-Bus service"
msgstr ""
#: ../zathura/config.c:243
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#: ../zathura/config.c:245
msgid "Enable notification after selecting text" msgid "Enable notification after selecting text"
msgstr "" msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../zathura/config.c:425 #: ../zathura/config.c:435
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Додати закладку" msgstr "Додати закладку"
#: ../zathura/config.c:426 #: ../zathura/config.c:436
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Вилучити закладку" msgstr "Вилучити закладку"
#: ../zathura/config.c:427 #: ../zathura/config.c:437
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Дивитись усі закладки" msgstr "Дивитись усі закладки"
#: ../zathura/config.c:428 #: ../zathura/config.c:438
msgid "Close current file" msgid "Close current file"
msgstr "Закрити документ" msgstr "Закрити документ"
#: ../zathura/config.c:429 #: ../zathura/config.c:439
msgid "Show file information" msgid "Show file information"
msgstr "Показати інформацію файлу" msgstr "Показати інформацію файлу"
#: ../zathura/config.c:430 ../zathura/config.c:431 #: ../zathura/config.c:440 ../zathura/config.c:441
msgid "Execute a command" msgid "Execute a command"
msgstr "" msgstr ""
#. like vim #. like vim
#: ../zathura/config.c:432 #: ../zathura/config.c:442
msgid "Show help" msgid "Show help"
msgstr "Показати довідку" msgstr "Показати довідку"
#: ../zathura/config.c:433 #: ../zathura/config.c:443
msgid "Open document" msgid "Open document"
msgstr "Відкрити документ" msgstr "Відкрити документ"
#: ../zathura/config.c:434 #: ../zathura/config.c:444
msgid "Close zathura" msgid "Close zathura"
msgstr "Вийти із zathura" msgstr "Вийти із zathura"
#: ../zathura/config.c:435 #: ../zathura/config.c:445
msgid "Print document" msgid "Print document"
msgstr "Друкувати документ" msgstr "Друкувати документ"
#: ../zathura/config.c:436 #: ../zathura/config.c:446
msgid "Save document" msgid "Save document"
msgstr "Зберегти документ" msgstr "Зберегти документ"
#: ../zathura/config.c:437 #: ../zathura/config.c:447
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Зберегти документ (форсувати перезапис)" msgstr "Зберегти документ (форсувати перезапис)"
#: ../zathura/config.c:438 #: ../zathura/config.c:448
msgid "Save attachments" msgid "Save attachments"
msgstr "Зберегти прикріплення" msgstr "Зберегти прикріплення"
#: ../zathura/config.c:439 #: ../zathura/config.c:449
msgid "Set page offset" msgid "Set page offset"
msgstr "Встановити зміщення сторінки" msgstr "Встановити зміщення сторінки"
#: ../zathura/config.c:440 #: ../zathura/config.c:450
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "" msgstr ""
#: ../zathura/config.c:441 #: ../zathura/config.c:451
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "" msgstr ""
#: ../zathura/config.c:442 #: ../zathura/config.c:452
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "" msgstr ""
#: ../zathura/config.c:443 #: ../zathura/config.c:453
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "" msgstr ""
#: ../zathura/config.c:444 #: ../zathura/config.c:454
msgid "Show version information" msgid "Show version information"
msgstr "" msgstr ""
#: ../zathura/commands.c:36 ../zathura/commands.c:76 ../zathura/commands.c:103
#: ../zathura/commands.c:152 ../zathura/commands.c:268
#: ../zathura/commands.c:298 ../zathura/commands.c:324
#: ../zathura/commands.c:423 ../zathura/commands.c:550
#: ../zathura/shortcuts.c:417 ../zathura/shortcuts.c:1227
#: ../zathura/shortcuts.c:1257 ../zathura/shortcuts.c:1284
msgid "No document opened."
msgstr "Документ не відкрито."
#: ../zathura/commands.c:42 ../zathura/commands.c:82 ../zathura/commands.c:109
#: ../zathura/commands.c:428
msgid "Invalid number of arguments given."
msgstr "Вказана невірна кількість аргументів."
#: ../zathura/commands.c:53
#, c-format
msgid "Could not update bookmark: %s"
msgstr "Не можу створити закладку: %s"
#: ../zathura/commands.c:55
#, c-format
msgid "Could not create bookmark: %s"
msgstr "Не можу створити закладку: %s"
#: ../zathura/commands.c:60
#, c-format
msgid "Bookmark successfully updated: %s"
msgstr "Закладку вдало поновлено: %s"
#: ../zathura/commands.c:62
#, c-format
msgid "Bookmark successfully created: %s"
msgstr "Закладку створено вдало: %s"
#: ../zathura/commands.c:88
#, c-format
msgid "Removed bookmark: %s"
msgstr "Закладку видалено: %s"
#: ../zathura/commands.c:90
#, c-format
msgid "Failed to remove bookmark: %s"
msgstr "Видалення закладки невдалося: %s"
#: ../zathura/commands.c:116
#, c-format
msgid "No such bookmark: %s"
msgstr "Такої закладки немає: %s"
#: ../zathura/commands.c:162
msgid "Title"
msgstr ""
#: ../zathura/commands.c:163
msgid "Author"
msgstr ""
#: ../zathura/commands.c:164
msgid "Subject"
msgstr ""
#: ../zathura/commands.c:165
msgid "Keywords"
msgstr ""
#: ../zathura/commands.c:166
msgid "Creator"
msgstr ""
#: ../zathura/commands.c:167
msgid "Producer"
msgstr ""
#: ../zathura/commands.c:168
msgid "Creation date"
msgstr ""
#: ../zathura/commands.c:169
msgid "Modification date"
msgstr ""
#: ../zathura/commands.c:174 ../zathura/commands.c:196
msgid "No information available."
msgstr "Інформація недоступна."
#: ../zathura/commands.c:234
msgid "Too many arguments."
msgstr "Забагато аргументів."
#: ../zathura/commands.c:245
msgid "No arguments given."
msgstr "Жодного аргументу не вказано."
#: ../zathura/commands.c:304 ../zathura/commands.c:330
msgid "Document saved."
msgstr "Документ збережено."
#: ../zathura/commands.c:306 ../zathura/commands.c:332
msgid "Failed to save document."
msgstr "Документ не вдалося зберегти."
#: ../zathura/commands.c:309 ../zathura/commands.c:335
msgid "Invalid number of arguments."
msgstr "Невірна кількість аргументів."
#: ../zathura/commands.c:447
#, c-format
msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Неможливо записати прикріплення '%s' до '%s'."
#: ../zathura/commands.c:449
#, c-format
msgid "Wrote attachment '%s' to '%s'."
msgstr "Прикріплення записано %s до %s."
#: ../zathura/commands.c:493
#, c-format
msgid "Wrote image '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:495
#, c-format
msgid "Couldn't write image '%s' to '%s'."
msgstr ""
#: ../zathura/commands.c:502
#, c-format
msgid "Unknown image '%s'."
msgstr ""
#: ../zathura/commands.c:506
#, c-format
msgid "Unknown attachment or image '%s'."
msgstr ""
#: ../zathura/commands.c:563
msgid "Argument must be a number."
msgstr "Аргумент повинен бути цифрою."
#: ../zathura/completion.c:250
#, c-format
msgid "Page %d"
msgstr ""
#: ../zathura/completion.c:293
msgid "Attachments"
msgstr ""
#. add images
#: ../zathura/completion.c:324
msgid "Images"
msgstr ""
#: ../zathura/print.c:64 ../zathura/print.c:211
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1137
msgid "This document does not contain any index"
msgstr "Індекс відсутній в цьому документі"
#: ../zathura/links.c:203 ../zathura/links.c:282 #: ../zathura/links.c:203 ../zathura/links.c:282
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Запуск xdg-open не вдався." msgstr "Запуск xdg-open не вдався."
@ -499,6 +502,62 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155
msgid "Reparents to window specified by xid"
msgstr "Вертатися до вікна, вказаного xid"
#: ../zathura/main.c:157
msgid "Path to the config directory"
msgstr "Шлях до теки конфігурації"
#: ../zathura/main.c:158
msgid "Path to the data directory"
msgstr "Шлях до теки з даними"
#: ../zathura/main.c:159
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:160
msgid "Path to the directories containing plugins"
msgstr "Шлях до теки з плаґінами"
#: ../zathura/main.c:161
msgid "Fork into the background"
msgstr "Працювати у фоні"
#: ../zathura/main.c:162
msgid "Document password"
msgstr ""
#: ../zathura/main.c:163
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:164
msgid "Log level (debug, info, warning, error)"
msgstr "Рівень логування (налагодження, інфо, застереження, помилка)"
#: ../zathura/main.c:165
msgid "Print version information"
msgstr "Показати інформацію файлу"
#: ../zathura/main.c:167
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:168
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:169
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:171
msgid "Start in a non-default mode"
msgstr ""
#: ../zathura/page-widget.c:561 #: ../zathura/page-widget.c:561
msgid "Loading..." msgid "Loading..."
msgstr "" msgstr ""
@ -511,74 +570,35 @@ msgstr "Копіювати картинку"
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../zathura/zathura.c:204 ../zathura/zathura.c:1051 #: ../zathura/print.c:64 ../zathura/print.c:209
#, c-format
msgid "Printing failed: %s"
msgstr ""
#: ../zathura/shortcuts.c:1126
msgid "This document does not contain any index"
msgstr "Індекс відсутній в цьому документі"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224
msgid "[No name]" msgid "[No name]"
msgstr "[Без назви]" msgstr "[Без назви]"
#: ../zathura/zathura.c:518 #: ../zathura/zathura.c:578
msgid "Could not read file from stdin and write it to a temporary file." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:579 #: ../zathura/zathura.c:594
msgid "Could not read file from GIO and copy it to a temporary file."
msgstr ""
#: ../zathura/zathura.c:683
msgid "Enter password:"
msgstr ""
#: ../zathura/zathura.c:719
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:589 #: ../zathura/zathura.c:731
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""
#: ../zathura/main.c:56
msgid "Reparents to window specified by xid"
msgstr "Вертатися до вікна, вказаного xid"
#: ../zathura/main.c:58
msgid "Path to the config directory"
msgstr "Шлях до теки конфігурації"
#: ../zathura/main.c:59
msgid "Path to the data directory"
msgstr "Шлях до теки з даними"
#: ../zathura/main.c:60
msgid "Path to the cache directory"
msgstr ""
#: ../zathura/main.c:61
msgid "Path to the directories containing plugins"
msgstr "Шлях до теки з плаґінами"
#: ../zathura/main.c:62
msgid "Fork into the background"
msgstr "Працювати у фоні"
#: ../zathura/main.c:63
msgid "Document password"
msgstr ""
#: ../zathura/main.c:64
msgid "Page number to go to"
msgstr ""
#: ../zathura/main.c:65
msgid "Log level (debug, info, warning, error)"
msgstr "Рівень логування (налагодження, інфо, застереження, помилка)"
#: ../zathura/main.c:66
msgid "Print version information"
msgstr "Показати інформацію файлу"
#: ../zathura/main.c:67
msgid "Synctex editor (forwarded to the synctex command)"
msgstr ""
#: ../zathura/main.c:68
msgid "Move to given synctex position"
msgstr ""
#: ../zathura/main.c:69
msgid "Highlight given position in the given process"
msgstr ""
#: ../zathura/main.c:70
msgid "Start in a non-default mode"
msgstr ""

View file

@ -33,21 +33,10 @@ LIBS += $(MAGIC_LIB)
CPPFLAGS += -DWITH_MAGIC CPPFLAGS += -DWITH_MAGIC
endif endif
ifneq ($(WITH_SYSTEM_SYNCTEX),0) ifneq ($(WITH_SYNCTEX),0)
INCS += $(SYNCTEX_INC) INCS += $(SYNCTEX_INC)
LIBS += $(SYNCTEX_LIB) LIBS += $(SYNCTEX_LIB)
else CPPFLAGS += -DWITH_SYNCTEX
ZATHURA_OBJECTS += $(wildcard ../${BUILDDIR_RELEASE}/zathura/synctex/*.o)
ZATHURA_OBJECTS_DEBUG += $(wildcard ../${BUILDDIR_DEBUG}/zathura/synctex/*.o)
ZATHURA_OBJECTS_GCOV += $(wildcard ../${BUILDDIR_GCOV}/zathura/synctex/*.o)
LIBS += $(ZLIB_LIB)
ifeq (,$(findstring -Isynctex,${CPPFLAGS}))
CPPFLAGS += -I../zathura/synctex
endif
ifeq (,$(findstring -DSYNCTEX_VERBOSE=0,${CPPFLAGS}))
CPPFLAGS += -DSYNCTEX_VERBOSE=0
endif
endif endif
ifneq ($(wildcard ${VALGRIND_SUPPRESSION_FILE}),) ifneq ($(wildcard ${VALGRIND_SUPPRESSION_FILE}),)

View file

@ -19,7 +19,7 @@ Comment[pt_BR]=Um visualizador de documentos minimalista
Comment[ru]=Минималистичный просмотрщик документов Comment[ru]=Минималистичный просмотрщик документов
Comment[tr]=Minimalist bir belge görüntüleyicisi Comment[tr]=Minimalist bir belge görüntüleyicisi
Comment[uk_UA]=Легкий переглядач документів Comment[uk_UA]=Легкий переглядач документів
Exec=zathura %f Exec=zathura %U
Terminal=false Terminal=false
Categories=Office;Viewer; Categories=Office;Viewer;
Keywords=PDF;PS;PostScript;DjVU;document;presentation; Keywords=PDF;PS;PostScript;DjVU;document;presentation;viewer;

View file

@ -243,8 +243,13 @@ cb_page_layout_value_changed(girara_session_t* session, const char* name, girara
unsigned int pages_per_row = 1; unsigned int pages_per_row = 1;
girara_setting_get(session, "pages-per-row", &pages_per_row); girara_setting_get(session, "pages-per-row", &pages_per_row);
unsigned int first_page_column = 1; /* get list of first_page_column settings */
girara_setting_get(session, "first-page-column", &first_page_column); char* first_page_column_list = NULL;
girara_setting_get(session, "first-page-column", &first_page_column_list);
/* find value for first_page_column */
unsigned int first_page_column = find_first_page_column(first_page_column_list, pages_per_row);
g_free(first_page_column_list);
unsigned int page_padding = 1; unsigned int page_padding = 1;
girara_setting_get(zathura->ui.session, "page-padding", &page_padding); girara_setting_get(zathura->ui.session, "page-padding", &page_padding);
@ -435,11 +440,12 @@ cb_password_dialog(GtkEntry* entry, zathura_password_dialog_info_t* dialog)
} }
/* try to open document again */ /* try to open document again */
if (document_open(dialog->zathura, dialog->path, input, if (document_open(dialog->zathura, dialog->path, dialog->uri, input,
ZATHURA_PAGE_NUMBER_UNSPECIFIED) == false) { ZATHURA_PAGE_NUMBER_UNSPECIFIED) == false) {
gdk_threads_add_idle(password_dialog, dialog); gdk_threads_add_idle(password_dialog, dialog);
} else { } else {
g_free(dialog->path); g_free(dialog->path);
g_free(dialog->uri);
free(dialog); free(dialog);
} }
@ -622,7 +628,8 @@ cb_page_widget_link(ZathuraPage* page, void* data)
bool enter = (bool) data; bool enter = (bool) data;
GdkWindow* window = gtk_widget_get_parent_window(GTK_WIDGET(page)); GdkWindow* window = gtk_widget_get_parent_window(GTK_WIDGET(page));
GdkCursor* cursor = gdk_cursor_new(enter == true ? GDK_HAND1 : GDK_LEFT_PTR); GdkDisplay* display = gtk_widget_get_display(GTK_WIDGET(page));
GdkCursor* cursor = gdk_cursor_new_for_display(display, enter == true ? GDK_HAND1 : GDK_LEFT_PTR);
gdk_window_set_cursor(window, cursor); gdk_window_set_cursor(window, cursor);
g_object_unref(cursor); g_object_unref(cursor);
} }

View file

@ -238,9 +238,9 @@ cmd_open(girara_session_t* session, girara_list_t* argument_list)
document_close(zathura, false); document_close(zathura, false);
} }
document_open(zathura, girara_list_nth(argument_list, 0), document_open_idle(zathura, girara_list_nth(argument_list, 0),
(argc == 2) ? girara_list_nth(argument_list, 1) : NULL, (argc == 2) ? girara_list_nth(argument_list, 1) : NULL,
ZATHURA_PAGE_NUMBER_UNSPECIFIED); ZATHURA_PAGE_NUMBER_UNSPECIFIED, NULL, NULL);
} else { } else {
girara_notify(session, GIRARA_ERROR, _("No arguments given.")); girara_notify(session, GIRARA_ERROR, _("No arguments given."));
return false; return false;

View file

@ -12,6 +12,7 @@
#include "completion.h" #include "completion.h"
#include "utils.h" #include "utils.h"
#include "page.h" #include "page.h"
#include "database.h"
#include <girara/session.h> #include <girara/session.h>
#include <girara/settings.h> #include <girara/settings.h>
@ -32,7 +33,7 @@ compare_case_insensitive(const char* str1, const char* str2)
static girara_list_t* static girara_list_t*
list_files(zathura_t* zathura, const char* current_path, const char* current_file, list_files(zathura_t* zathura, const char* current_path, const char* current_file,
unsigned int current_file_length, bool is_dir, bool check_file_ext) size_t current_file_length, bool is_dir, bool check_file_ext)
{ {
if (zathura == NULL || zathura->ui.session == NULL || current_path == NULL) { if (zathura == NULL || zathura->ui.session == NULL || current_path == NULL) {
return NULL; return NULL;
@ -113,15 +114,20 @@ error_free:
} }
static girara_completion_t* static girara_completion_t*
list_files_for_cc(zathura_t* zathura, const char* input, bool check_file_ext) list_files_for_cc(zathura_t* zathura, const char* input, bool check_file_ext, int show_recent)
{ {
girara_completion_t* completion = girara_completion_init(); girara_completion_t* completion = girara_completion_init();
girara_completion_group_t* group = girara_completion_group_create(zathura->ui.session, NULL); girara_completion_group_t* group = girara_completion_group_create(zathura->ui.session, "files");
girara_completion_group_t* history_group = NULL;
gchar* path = NULL; gchar* path = NULL;
gchar* current_path = NULL; gchar* current_path = NULL;
if (completion == NULL || group == NULL) { if (show_recent > 0) {
history_group = girara_completion_group_create(zathura->ui.session, "recent files");
}
if (completion == NULL || group == NULL || (show_recent > 0 && history_group == NULL)) {
goto error_free; goto error_free;
} }
@ -169,12 +175,12 @@ list_files_for_cc(zathura_t* zathura, const char* input, bool check_file_ext)
/* get current file */ /* get current file */
gchar* current_file = is_dir ? "" : basename(path); gchar* current_file = is_dir ? "" : basename(path);
int current_file_length = strlen(current_file); const size_t current_file_length = strlen(current_file);
/* read directory */ /* read directory */
if (g_file_test(current_path, G_FILE_TEST_IS_DIR) == TRUE) { if (g_file_test(current_path, G_FILE_TEST_IS_DIR) == TRUE) {
girara_list_t* names = list_files(zathura, current_path, current_file, current_file_length, is_dir, check_file_ext); girara_list_t* names = list_files(zathura, current_path, current_file, current_file_length, is_dir, check_file_ext);
if (!names) { if (names == NULL) {
goto error_free; goto error_free;
} }
@ -184,9 +190,32 @@ list_files_for_cc(zathura_t* zathura, const char* input, bool check_file_ext)
girara_list_free(names); girara_list_free(names);
} }
if (show_recent > 0) {
girara_list_t* recent_files = zathura_db_get_recent_files(zathura->database, show_recent);
if (recent_files == NULL) {
goto error_free;
}
if (girara_list_size(recent_files) != 0) {
const size_t path_len = strlen(path);
GIRARA_LIST_FOREACH(recent_files, const char*, iter, file)
if (strncmp(path, file, path_len) == 0) {
girara_completion_group_add_element(history_group, file, NULL);
}
GIRARA_LIST_FOREACH_END(recent_files, const char*, iter, file);
girara_list_free(recent_files);
} else {
girara_completion_group_free(history_group);
history_group = NULL;
}
}
g_free(path); g_free(path);
g_free(current_path); g_free(current_path);
if (history_group != NULL) {
girara_completion_add_group(completion, history_group);
}
girara_completion_add_group(completion, group); girara_completion_add_group(completion, group);
return completion; return completion;
@ -196,6 +225,9 @@ error_free:
if (completion) { if (completion) {
girara_completion_free(completion); girara_completion_free(completion);
} }
if (history_group) {
girara_completion_group_free(history_group);
}
if (group) { if (group) {
girara_completion_group_free(group); girara_completion_group_free(group);
} }
@ -213,7 +245,10 @@ cc_open(girara_session_t* session, const char* input)
g_return_val_if_fail(session->global.data != NULL, NULL); g_return_val_if_fail(session->global.data != NULL, NULL);
zathura_t* zathura = session->global.data; zathura_t* zathura = session->global.data;
return list_files_for_cc(zathura, input, true); int show_recent = 0;
girara_setting_get(zathura->ui.session, "show-recent", &show_recent);
return list_files_for_cc(zathura, input, true, show_recent);
} }
girara_completion_t* girara_completion_t*
@ -223,7 +258,7 @@ cc_write(girara_session_t* session, const char* input)
g_return_val_if_fail(session->global.data != NULL, NULL); g_return_val_if_fail(session->global.data != NULL, NULL);
zathura_t* zathura = session->global.data; zathura_t* zathura = session->global.data;
return list_files_for_cc(zathura, input, false); return list_files_for_cc(zathura, input, false, false);
} }
girara_completion_t* girara_completion_t*

View file

@ -149,7 +149,7 @@ config_load_default(zathura_t* zathura)
int_value = 1; int_value = 1;
girara_setting_add(gsession, "pages-per-row", &int_value, INT, false, _("Number of pages per row"), cb_page_layout_value_changed, NULL); girara_setting_add(gsession, "pages-per-row", &int_value, INT, false, _("Number of pages per row"), cb_page_layout_value_changed, NULL);
int_value = 1; int_value = 1;
girara_setting_add(gsession, "first-page-column", &int_value, INT, false, _("Column of the first page"), cb_page_layout_value_changed, NULL); girara_setting_add(gsession, "first-page-column", "1:2", STRING, false, _("Column of the first page"), cb_page_layout_value_changed, NULL);
float_value = 40; float_value = 40;
girara_setting_add(gsession, "scroll-step", &float_value, FLOAT, false, _("Scroll step"), NULL, NULL); girara_setting_add(gsession, "scroll-step", &float_value, FLOAT, false, _("Scroll step"), NULL, NULL);
float_value = 40; float_value = 40;
@ -212,6 +212,8 @@ config_load_default(zathura_t* zathura)
girara_setting_add(gsession, "show-hidden", &bool_value, BOOLEAN, false, _("Show hidden files and directories"), NULL, NULL); girara_setting_add(gsession, "show-hidden", &bool_value, BOOLEAN, false, _("Show hidden files and directories"), NULL, NULL);
bool_value = true; bool_value = true;
girara_setting_add(gsession, "show-directories", &bool_value, BOOLEAN, false, _("Show directories"), NULL, NULL); girara_setting_add(gsession, "show-directories", &bool_value, BOOLEAN, false, _("Show directories"), NULL, NULL);
int_value = 10;
girara_setting_add(gsession, "show-recent", &int_value, INT, false, _("Show recent files"), NULL, NULL);
bool_value = false; bool_value = false;
girara_setting_add(gsession, "open-first-page", &bool_value, BOOLEAN, false, _("Always open on first page"), NULL, NULL); girara_setting_add(gsession, "open-first-page", &bool_value, BOOLEAN, false, _("Always open on first page"), NULL, NULL);
bool_value = false; bool_value = false;
@ -224,9 +226,13 @@ config_load_default(zathura_t* zathura)
bool_value = false; bool_value = false;
girara_setting_add(gsession, "window-title-basename", &bool_value, BOOLEAN, false, _("Use basename of the file in the window title"), NULL, NULL); girara_setting_add(gsession, "window-title-basename", &bool_value, BOOLEAN, false, _("Use basename of the file in the window title"), NULL, NULL);
bool_value = false; bool_value = false;
girara_setting_add(gsession, "window-title-home-tilde", &bool_value, BOOLEAN, false, _("Use ~ instead of $HOME in the filename in the window title"), NULL, NULL);
bool_value = false;
girara_setting_add(gsession, "window-title-page", &bool_value, BOOLEAN, false, _("Display the page number in the window title"), NULL, NULL); girara_setting_add(gsession, "window-title-page", &bool_value, BOOLEAN, false, _("Display the page number in the window title"), NULL, NULL);
bool_value = false; bool_value = false;
girara_setting_add(gsession, "statusbar-basename", &bool_value, BOOLEAN, false, _("Use basename of the file in the statusbar"), NULL, NULL); girara_setting_add(gsession, "statusbar-basename", &bool_value, BOOLEAN, false, _("Use basename of the file in the statusbar"), NULL, NULL);
bool_value = false;
girara_setting_add(gsession, "statusbar-home-tilde", &bool_value, BOOLEAN, false, _("Use ~ instead of $HOME in the filename in the statusbar"), NULL, NULL);
bool_value = true; bool_value = true;
girara_setting_add(gsession, "synctex", &bool_value, BOOLEAN, false, _("Enable synctex support"), NULL, NULL); girara_setting_add(gsession, "synctex", &bool_value, BOOLEAN, false, _("Enable synctex support"), NULL, NULL);
string_value = ""; string_value = "";
@ -381,9 +387,13 @@ config_load_default(zathura_t* zathura)
girara_shortcut_add(gsession, 0, GDK_KEY_Right, NULL, sc_navigate_index, INDEX, EXPAND, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Right, NULL, sc_navigate_index, INDEX, EXPAND, NULL);
girara_shortcut_add(gsession, 0, GDK_KEY_space, NULL, sc_navigate_index, INDEX, SELECT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_space, NULL, sc_navigate_index, INDEX, SELECT, NULL);
girara_shortcut_add(gsession, 0, GDK_KEY_Return, NULL, sc_navigate_index, INDEX, SELECT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Return, NULL, sc_navigate_index, INDEX, SELECT, NULL);
girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_j, NULL, sc_navigate_index, INDEX, SELECT, NULL);
girara_shortcut_add(gsession, 0, GDK_KEY_q, NULL, sc_quit, INDEX, 0, NULL);
girara_shortcut_add(gsession, 0, 0, "gg", sc_navigate_index, INDEX, TOP, NULL); girara_shortcut_add(gsession, 0, 0, "gg", sc_navigate_index, INDEX, TOP, NULL);
girara_shortcut_add(gsession, 0, 0, "G", sc_navigate_index, INDEX, BOTTOM, NULL); girara_shortcut_add(gsession, 0, 0, "G", sc_navigate_index, INDEX, BOTTOM, NULL);
girara_shortcut_add(gsession, 0, GDK_KEY_Escape, NULL, sc_toggle_index, INDEX, 0, NULL);
girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_bracketleft, NULL, sc_toggle_index, INDEX, 0, NULL);
girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_c, NULL, sc_toggle_index, INDEX, 0, NULL);
/* Presentation mode */ /* Presentation mode */
girara_shortcut_add(gsession, 0, GDK_KEY_J, NULL, sc_navigate, PRESENTATION, NEXT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_J, NULL, sc_navigate, PRESENTATION, NEXT, NULL);

View file

@ -9,9 +9,11 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include <unistd.h> #include <unistd.h>
#include <errno.h>
#include <girara/utils.h> #include <girara/utils.h>
#include <girara/datastructures.h> #include <girara/datastructures.h>
#include <girara/input-history.h> #include <girara/input-history.h>
#include <time.h>
#include "database-plain.h" #include "database-plain.h"
#include "utils.h" #include "utils.h"
@ -29,6 +31,7 @@
#define KEY_POSITION_X "position-x" #define KEY_POSITION_X "position-x"
#define KEY_POSITION_Y "position-y" #define KEY_POSITION_Y "position-y"
#define KEY_JUMPLIST "jumplist" #define KEY_JUMPLIST "jumplist"
#define KEY_TIME "time"
#ifdef __GNU__ #ifdef __GNU__
#include <sys/file.h> #include <sys/file.h>
@ -60,6 +63,7 @@ static bool plain_get_fileinfo(zathura_database_t* db, const char* fil
static void plain_set_property(GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec); static void plain_set_property(GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec);
static void plain_io_append(GiraraInputHistoryIO* db, const char*); static void plain_io_append(GiraraInputHistoryIO* db, const char*);
static girara_list_t* plain_io_read(GiraraInputHistoryIO* db); static girara_list_t* plain_io_read(GiraraInputHistoryIO* db);
static girara_list_t* plain_get_recent_files(zathura_database_t* db, int max);
/* forward declaration */ /* forward declaration */
static bool zathura_db_check_file(const char* path); static bool zathura_db_check_file(const char* path);
@ -112,6 +116,7 @@ zathura_database_interface_init(ZathuraDatabaseInterface* iface)
iface->save_jumplist = plain_save_jumplist; iface->save_jumplist = plain_save_jumplist;
iface->set_fileinfo = plain_set_fileinfo; iface->set_fileinfo = plain_set_fileinfo;
iface->get_fileinfo = plain_get_fileinfo; iface->get_fileinfo = plain_get_fileinfo;
iface->get_recent_files = plain_get_recent_files;
} }
static void static void
@ -554,9 +559,10 @@ plain_set_fileinfo(zathura_database_t* db, const char* file, zathura_fileinfo_t*
g_key_file_set_double (priv->history, name, KEY_SCALE, file_info->scale); g_key_file_set_double (priv->history, name, KEY_SCALE, file_info->scale);
g_key_file_set_integer(priv->history, name, KEY_ROTATE, file_info->rotation); 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_integer(priv->history, name, KEY_PAGES_PER_ROW, file_info->pages_per_row);
g_key_file_set_integer(priv->history, name, KEY_FIRST_PAGE_COLUMN, file_info->first_page_column); g_key_file_set_string(priv->history, name, KEY_FIRST_PAGE_COLUMN, file_info->first_page_column_list);
g_key_file_set_double (priv->history, name, KEY_POSITION_X, file_info->position_x); g_key_file_set_double (priv->history, name, KEY_POSITION_X, file_info->position_x);
g_key_file_set_double (priv->history, name, KEY_POSITION_Y, file_info->position_y); g_key_file_set_double (priv->history, name, KEY_POSITION_Y, file_info->position_y);
g_key_file_set_integer(priv->history, name, KEY_TIME, time(NULL));
g_free(name); g_free(name);
@ -594,7 +600,7 @@ plain_get_fileinfo(zathura_database_t* db, const char* file, zathura_fileinfo_t*
file_info->pages_per_row = g_key_file_get_integer(priv->history, name, KEY_PAGES_PER_ROW, NULL); file_info->pages_per_row = g_key_file_get_integer(priv->history, name, KEY_PAGES_PER_ROW, NULL);
} }
if (g_key_file_has_key(priv->history, name, KEY_FIRST_PAGE_COLUMN, NULL) == TRUE) { if (g_key_file_has_key(priv->history, name, KEY_FIRST_PAGE_COLUMN, NULL) == TRUE) {
file_info->first_page_column = g_key_file_get_integer(priv->history, name, KEY_FIRST_PAGE_COLUMN, NULL); file_info->first_page_column_list = g_key_file_get_string(priv->history, name, KEY_FIRST_PAGE_COLUMN, NULL);
} }
if (g_key_file_has_key(priv->history, name, KEY_POSITION_X, NULL) == TRUE) { if (g_key_file_has_key(priv->history, name, KEY_POSITION_X, NULL) == TRUE) {
file_info->position_x = g_key_file_get_double(priv->history, name, KEY_POSITION_X, NULL); file_info->position_x = g_key_file_get_double(priv->history, name, KEY_POSITION_X, NULL);
@ -666,7 +672,12 @@ zathura_db_read_key_file_from_file(const char* path)
free(content); free(content);
content = malloc(sizeof(char) * (dummy_len + 1)); content = malloc(sizeof(char) * (dummy_len + 1));
content = memcpy(content, dummy_content, dummy_len + 1); if (content == NULL)
{
g_key_file_free(key_file);
return NULL;
}
g_strlcat(content, dummy_content, dummy_len + 1);
contentlen = dummy_len; contentlen = dummy_len;
} }
@ -781,8 +792,6 @@ plain_io_read(GiraraInputHistoryIO* db)
return res; return res;
} }
#include <errno.h>
static void static void
plain_io_append(GiraraInputHistoryIO* db, const char* input) plain_io_append(GiraraInputHistoryIO* db, const char* input)
{ {
@ -822,3 +831,57 @@ plain_io_append(GiraraInputHistoryIO* db, const char* input)
file_lock_set(fileno(file), F_UNLCK); file_lock_set(fileno(file), F_UNLCK);
fclose(file); fclose(file);
} }
static int
compare_time(const void* l, const void* r, void* data)
{
const gchar* lhs = *(const gchar**) l;
const gchar* rhs = *(const gchar**) r;
GKeyFile* keyfile = data;
time_t lhs_time = 0;
time_t rhs_time = 0;
if (g_key_file_has_key(keyfile, lhs, KEY_TIME, NULL) == TRUE) {
lhs_time = g_key_file_get_uint64(keyfile, lhs, KEY_TIME, NULL);
}
if (g_key_file_has_key(keyfile, rhs, KEY_TIME, NULL) == TRUE) {
rhs_time = g_key_file_get_uint64(keyfile, rhs, KEY_TIME, NULL);
}
if (lhs_time < rhs_time) {
return 1;
} else if (lhs_time > rhs_time) {
return -1;
}
return 0;
}
static girara_list_t*
plain_get_recent_files(zathura_database_t* db, int max)
{
zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db);
girara_list_t* result = girara_list_new2(g_free);
if (result == NULL) {
return NULL;
}
gsize groups_size = 0;
gchar** groups = g_key_file_get_groups(priv->history, &groups_size);
if (groups_size > 0) {
g_qsort_with_data(groups, groups_size, sizeof(gchar*), compare_time, priv->history);
}
if (max >= 0 && (gsize) max < groups_size) {
groups_size = max;
}
for (gsize s = 0; s != groups_size; ++s) {
girara_list_append(result, g_strdup(groups[s]));
}
g_strfreev(groups);
return result;
}

View file

@ -5,6 +5,7 @@
#include <girara/datastructures.h> #include <girara/datastructures.h>
#include <girara/input-history.h> #include <girara/input-history.h>
#include <string.h> #include <string.h>
#include <strings.h>
#include "database-sqlite.h" #include "database-sqlite.h"
#include "utils.h" #include "utils.h"
@ -17,6 +18,7 @@ G_DEFINE_TYPE_WITH_CODE(ZathuraSQLDatabase, zathura_sqldatabase, G_TYPE_OBJECT,
G_IMPLEMENT_INTERFACE(GIRARA_TYPE_INPUT_HISTORY_IO, io_interface_init)) G_IMPLEMENT_INTERFACE(GIRARA_TYPE_INPUT_HISTORY_IO, io_interface_init))
static bool check_column(sqlite3* session, const char* table, const char* col, bool* result); static bool check_column(sqlite3* session, const char* table, const char* col, bool* result);
static bool check_column_type(sqlite3* session, const char* table, const char* col, const char* type, bool* result);
static void sqlite_finalize(GObject* object); static void sqlite_finalize(GObject* object);
static bool sqlite_add_bookmark(zathura_database_t* db, const char* file, zathura_bookmark_t* bookmark); static bool sqlite_add_bookmark(zathura_database_t* db, const char* file, zathura_bookmark_t* bookmark);
static bool sqlite_remove_bookmark(zathura_database_t* db, const char* file, const char* id); static bool sqlite_remove_bookmark(zathura_database_t* db, const char* file, const char* id);
@ -28,6 +30,7 @@ static bool sqlite_get_fileinfo(zathura_database_t* db, const char* fi
static void sqlite_set_property(GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec); static void sqlite_set_property(GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec);
static void sqlite_io_append(GiraraInputHistoryIO* db, const char*); static void sqlite_io_append(GiraraInputHistoryIO* db, const char*);
static girara_list_t* sqlite_io_read(GiraraInputHistoryIO* db); static girara_list_t* sqlite_io_read(GiraraInputHistoryIO* db);
static girara_list_t* sqlite_get_recent_files(zathura_database_t* db, int max);
typedef struct zathura_sqldatabase_private_s { typedef struct zathura_sqldatabase_private_s {
sqlite3* session; sqlite3* session;
@ -52,6 +55,7 @@ zathura_database_interface_init(ZathuraDatabaseInterface* iface)
iface->save_jumplist = sqlite_save_jumplist; iface->save_jumplist = sqlite_save_jumplist;
iface->set_fileinfo = sqlite_set_fileinfo; iface->set_fileinfo = sqlite_set_fileinfo;
iface->get_fileinfo = sqlite_get_fileinfo; iface->get_fileinfo = sqlite_get_fileinfo;
iface->get_recent_files = sqlite_get_recent_files;
} }
static void static void
@ -146,9 +150,10 @@ sqlite_db_init(ZathuraSQLDatabase* db, const char* path)
"scale FLOAT," "scale FLOAT,"
"rotation INTEGER," "rotation INTEGER,"
"pages_per_row INTEGER," "pages_per_row INTEGER,"
"first_page_column INTEGER," "first_page_column TEXT,"
"position_x FLOAT," "position_x FLOAT,"
"position_y FLOAT" "position_y FLOAT,"
"time TIMESTAMP"
");"; ");";
/* create history table */ /* create history table */
@ -173,7 +178,11 @@ sqlite_db_init(ZathuraSQLDatabase* db, const char* path)
/* update fileinfo table (part 2) */ /* update fileinfo table (part 2) */
static const char SQL_FILEINFO_ALTER2[] = static const char SQL_FILEINFO_ALTER2[] =
"ALTER TABLE fileinfo ADD COLUMN first_page_column INTEGER;"; "ALTER TABLE fileinfo ADD COLUMN first_page_column TEXT;";
/* update fileinfo table (part 3) */
static const char SQL_FILEINFO_ALTER3[] =
"ALTER TABLE fileinfo ADD COLUMN time TIMESTAMP;";
/* update bookmark table */ /* update bookmark table */
static const char SQL_BOOKMARK_ALTER[] = static const char SQL_BOOKMARK_ALTER[] =
@ -216,6 +225,15 @@ sqlite_db_init(ZathuraSQLDatabase* db, const char* path)
} }
} }
ret1 = check_column(session, "fileinfo", "time", &res1);
if (ret1 == true && res1 == false) {
girara_debug("old database table layout detected; updating ...");
if (sqlite3_exec(session, SQL_FILEINFO_ALTER3, NULL, 0, NULL) != SQLITE_OK) {
girara_warning("failed to update database table layout");
}
}
ret1 = check_column(session, "bookmarks", "hadj_ratio", &res1); ret1 = check_column(session, "bookmarks", "hadj_ratio", &res1);
ret2 = check_column(session, "bookmarks", "vadj_ratio", &res2); ret2 = check_column(session, "bookmarks", "vadj_ratio", &res2);
@ -226,6 +244,32 @@ sqlite_db_init(ZathuraSQLDatabase* db, const char* path)
} }
} }
/* check existing tables for correct column types */
ret1 = check_column_type(session, "fileinfo", "first_page_column", "TEXT", &res1);
if (ret1 == true && res1 == false) {
girara_debug("old database table layout detected; updating ...");
/* prepare transaction */
static const char tx_begin[] =
"BEGIN TRANSACTION;"
"ALTER TABLE fileinfo RENAME TO tmp;";
static const char tx_end[] =
"INSERT INTO fileinfo SELECT * FROM tmp;"
"DROP TABLE tmp;"
"COMMIT;";
/* assemble transaction */
char transaction[sizeof(tx_begin) + sizeof(SQL_FILEINFO_INIT) + sizeof(tx_end) - 2] = { '\0' };
g_strlcat(transaction, tx_begin, sizeof(transaction));
g_strlcat(transaction, SQL_FILEINFO_INIT, sizeof(transaction));
g_strlcat(transaction, tx_end, sizeof(transaction));
if (sqlite3_exec(session, transaction, NULL, 0, NULL) != SQLITE_OK) {
girara_warning("failed to update database table layout");
}
}
priv->session = session; priv->session = session;
} }
@ -302,6 +346,42 @@ check_column(sqlite3* session, const char* table, const char* col, bool* res)
return true; return true;
} }
static bool
check_column_type(sqlite3* session, const char* table, const char* col, const char* type, bool* res)
{
/* we can't actually bind the argument with sqlite3_bind_text because
* sqlite3_prepare_v2 fails with "PRAGMA table_info(?);" */
char* query = sqlite3_mprintf("PRAGMA table_info(%Q);", table);
if (query == NULL) {
return false;
}
sqlite3_stmt* stmt = prepare_statement(session, query);
if (stmt == NULL) {
return false;
}
*res = false;
while (sqlite3_step(stmt) == SQLITE_ROW) {
if (strcmp((const char*) sqlite3_column_text(stmt, 1), col) == 0) {
if (strcmp((const char*) sqlite3_column_text(stmt, 2), type) == 0) {
*res = true;
break;
}
}
}
if (*res == false) {
girara_debug("column %s in table %s has wrong type", col, table);
}
sqlite3_finalize(stmt);
sqlite3_free(query);
return true;
}
static bool static bool
sqlite_add_bookmark(zathura_database_t* db, const char* file, sqlite_add_bookmark(zathura_database_t* db, const char* file,
zathura_bookmark_t* bookmark) zathura_bookmark_t* bookmark)
@ -488,6 +568,8 @@ sqlite_save_jumplist(zathura_database_t* db, const char* file, girara_list_t* ju
} }
} }
girara_list_iterator_free(cur);
if (status == false) { if (status == false) {
sqlite3_exec(priv->session, "ROLLBACK;", NULL, 0, NULL); sqlite3_exec(priv->session, "ROLLBACK;", NULL, 0, NULL);
return false; return false;
@ -558,7 +640,7 @@ sqlite_set_fileinfo(zathura_database_t* db, const char* file,
zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db); zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db);
static const char SQL_FILEINFO_SET[] = static const char SQL_FILEINFO_SET[] =
"REPLACE INTO fileinfo (file, page, offset, scale, rotation, pages_per_row, first_page_column, position_x, position_y) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?);"; "REPLACE INTO fileinfo (file, page, offset, scale, 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); sqlite3_stmt* stmt = prepare_statement(priv->session, SQL_FILEINFO_SET);
if (stmt == NULL) { if (stmt == NULL) {
@ -571,7 +653,8 @@ sqlite_set_fileinfo(zathura_database_t* db, const char* file,
sqlite3_bind_double(stmt, 4, file_info->scale) != SQLITE_OK || sqlite3_bind_double(stmt, 4, file_info->scale) != SQLITE_OK ||
sqlite3_bind_int(stmt, 5, file_info->rotation) != 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_int(stmt, 6, file_info->pages_per_row) != SQLITE_OK ||
sqlite3_bind_int(stmt, 7, file_info->first_page_column) != SQLITE_OK || sqlite3_bind_text(stmt, 7, file_info->first_page_column_list, -1, NULL)
!= SQLITE_OK ||
sqlite3_bind_double(stmt, 8, file_info->position_x) != SQLITE_OK || sqlite3_bind_double(stmt, 8, file_info->position_x) != SQLITE_OK ||
sqlite3_bind_double(stmt, 9, file_info->position_y) != SQLITE_OK) { sqlite3_bind_double(stmt, 9, file_info->position_y) != SQLITE_OK) {
sqlite3_finalize(stmt); sqlite3_finalize(stmt);
@ -620,7 +703,7 @@ sqlite_get_fileinfo(zathura_database_t* db, const char* file,
file_info->scale = sqlite3_column_double(stmt, 2); file_info->scale = sqlite3_column_double(stmt, 2);
file_info->rotation = sqlite3_column_int(stmt, 3); file_info->rotation = sqlite3_column_int(stmt, 3);
file_info->pages_per_row = sqlite3_column_int(stmt, 4); file_info->pages_per_row = sqlite3_column_int(stmt, 4);
file_info->first_page_column = sqlite3_column_int(stmt, 5); file_info->first_page_column_list = g_strdup((const char*) sqlite3_column_text(stmt, 5));
file_info->position_x = sqlite3_column_double(stmt, 6); file_info->position_x = sqlite3_column_double(stmt, 6);
file_info->position_y = sqlite3_column_double(stmt, 7); file_info->position_y = sqlite3_column_double(stmt, 7);
@ -677,3 +760,38 @@ sqlite_io_read(GiraraInputHistoryIO* db)
return list; return list;
} }
static girara_list_t*
sqlite_get_recent_files(zathura_database_t* db, int max)
{
static const char SQL_HISTORY_GET[] =
"SELECT file FROM fileinfo ORDER BY time DESC LIMIT ?";
zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db);
sqlite3_stmt* stmt = prepare_statement(priv->session, SQL_HISTORY_GET);
if (stmt == NULL) {
return NULL;
}
if (max < 0) {
max = INT_MAX;
}
if (sqlite3_bind_int(stmt, 1, max) != SQLITE_OK) {
sqlite3_finalize(stmt);
girara_error("Failed to bind arguments.");
return false;
}
girara_list_t* list = girara_list_new2((girara_free_function_t) g_free);
if (list == NULL) {
sqlite3_finalize(stmt);
return NULL;
}
while (sqlite3_step(stmt) == SQLITE_ROW) {
girara_list_append(list, g_strdup((const char*) sqlite3_column_text(stmt, 0)));
}
sqlite3_finalize(stmt);
return list;
}

View file

@ -68,3 +68,11 @@ zathura_db_get_fileinfo(zathura_database_t* db, const char* file,
return ZATHURA_DATABASE_GET_INTERFACE(db)->get_fileinfo(db, file, file_info); return ZATHURA_DATABASE_GET_INTERFACE(db)->get_fileinfo(db, file, file_info);
} }
girara_list_t*
zathura_db_get_recent_files(zathura_database_t* db, int max)
{
g_return_val_if_fail(ZATHURA_IS_DATABASE(db), NULL);
return ZATHURA_DATABASE_GET_INTERFACE(db)->get_recent_files(db, max);
}

View file

@ -15,7 +15,7 @@ typedef struct zathura_fileinfo_s {
double scale; double scale;
unsigned int rotation; unsigned int rotation;
unsigned int pages_per_row; unsigned int pages_per_row;
unsigned int first_page_column; char* first_page_column_list;
double position_x; double position_x;
double position_y; double position_y;
} zathura_fileinfo_t; } zathura_fileinfo_t;
@ -50,6 +50,8 @@ struct _ZathuraDatabaseInterface
bool (*set_fileinfo)(ZathuraDatabase* db, const char* file, zathura_fileinfo_t* file_info); bool (*set_fileinfo)(ZathuraDatabase* db, const char* file, zathura_fileinfo_t* file_info);
bool (*get_fileinfo)(ZathuraDatabase* db, const char* file, zathura_fileinfo_t* file_info); bool (*get_fileinfo)(ZathuraDatabase* db, const char* file, zathura_fileinfo_t* file_info);
girara_list_t* (*get_recent_files)(ZathuraDatabase* db, int max);
}; };
GType zathura_database_get_type(void); GType zathura_database_get_type(void);
@ -128,4 +130,15 @@ bool zathura_db_set_fileinfo(zathura_database_t* db, const char* file,
bool zathura_db_get_fileinfo(zathura_database_t* db, const char* file, bool zathura_db_get_fileinfo(zathura_database_t* db, const char* file,
zathura_fileinfo_t* file_info); zathura_fileinfo_t* file_info);
/* Get a list of recent files from the database. The most recent file is listed
* first.
*
* @param db The database instance
* @param max The maximum number of recent files. If max is less than zero, now
* limit is applied.
* @return list of files
*/
girara_list_t* zathura_db_get_recent_files(zathura_database_t* db, int max);
#endif // DATABASE_H #endif // DATABASE_H

View file

@ -192,77 +192,6 @@ zathura_dbus_edit(ZathuraDbus* edit, unsigned int page, unsigned int x, unsigned
/* D-Bus handler */ /* D-Bus handler */
static void
highlight_rects(zathura_t* zathura, unsigned int page,
girara_list_t** rectangles)
{
const unsigned int number_of_pages = zathura_document_get_number_of_pages(zathura->document);
for (unsigned int p = 0; p != number_of_pages; ++p) {
GObject* widget = G_OBJECT(zathura->pages[p]);
g_object_set(widget, "draw-links", FALSE, "search-results", rectangles[p],
NULL);
if (p == page) {
g_object_set(widget, "search-current", 0, NULL);
}
}
document_draw_search_results(zathura, true);
girara_list_t* rect_list = rectangles[page];
if (rect_list == NULL || girara_list_size(rect_list) == 0) {
girara_debug("No rectangles for the given page. Jumping to page %u.", page);
page_set(zathura, page);
return;
}
bool search_hadjust = true;
girara_setting_get(zathura->ui.session, "search-hadjust", &search_hadjust);
/* compute the position of the center of the page */
double pos_x = 0;
double pos_y = 0;
page_number_to_position(zathura->document, page, 0.5, 0.5, &pos_x, &pos_y);
/* correction to center the current result */
/* NOTE: rectangle is in viewport units, already scaled and rotated */
unsigned int cell_height = 0;
unsigned int cell_width = 0;
zathura_document_get_cell_size(zathura->document, &cell_height, &cell_width);
unsigned int doc_height = 0;
unsigned int doc_width = 0;
zathura_document_get_document_size(zathura->document, &doc_height, &doc_width);
/* Need to adjust rectangle to page scale and orientation */
zathura_page_t* doc_page = zathura_document_get_page(zathura->document, page);
zathura_rectangle_t* rect = girara_list_nth(rect_list, 0);
if (rect == NULL) {
girara_debug("List of rectangles is broken. Jumping to page %u.", page);
page_set(zathura, page);
return;
}
zathura_rectangle_t rectangle = recalc_rectangle(doc_page, *rect);
/* compute the center of the rectangle, which will be aligned to the center
of the viewport */
double center_x = (rectangle.x1 + rectangle.x2) / 2;
double center_y = (rectangle.y1 + rectangle.y2) / 2;
pos_y += (center_y - (double)cell_height/2) / (double)doc_height;
if (search_hadjust == true) {
pos_x += (center_x - (double)cell_width/2) / (double)doc_width;
}
/* move to position */
girara_debug("Jumping to page %u position (%f, %f).", page, pos_x, pos_y);
zathura_jumplist_add(zathura);
position_set(zathura, pos_x, pos_y);
zathura_jumplist_add(zathura);
}
static void static void
handle_method_call(GDBusConnection* UNUSED(connection), handle_method_call(GDBusConnection* UNUSED(connection),
const gchar* UNUSED(sender), const gchar* object_path, const gchar* UNUSED(sender), const gchar* object_path,
@ -284,13 +213,14 @@ handle_method_call(GDBusConnection* UNUSED(connection),
g_variant_get(parameters, "(ssi)", &filename, &password, &page); g_variant_get(parameters, "(ssi)", &filename, &password, &page);
document_close(priv->zathura, false); document_close(priv->zathura, false);
const bool ret = document_open(priv->zathura, filename, document_open_idle(priv->zathura, filename,
strlen(password) > 0 ? password : NULL, strlen(password) > 0 ? password : NULL,
page); page,
NULL, NULL);
g_free(filename); g_free(filename);
g_free(password); g_free(password);
GVariant* result = g_variant_new("(b)", ret); GVariant* result = g_variant_new("(b)", true);
g_dbus_method_invocation_return_value(invocation, result); g_dbus_method_invocation_return_value(invocation, result);
return; return;
} else if (g_strcmp0(method_name, "CloseDocument") == 0) { } else if (g_strcmp0(method_name, "CloseDocument") == 0) {
@ -416,7 +346,7 @@ handle_method_call(GDBusConnection* UNUSED(connection),
} }
g_variant_iter_free(secondary_iter); g_variant_iter_free(secondary_iter);
highlight_rects(priv->zathura, page, rectangles); synctex_highlight_rects(priv->zathura, page, rectangles);
g_free(rectangles); g_free(rectangles);
GVariant* result = g_variant_new("(b)", true); GVariant* result = g_variant_new("(b)", true);
@ -427,44 +357,11 @@ handle_method_call(GDBusConnection* UNUSED(connection),
guint column = 0; guint column = 0;
g_variant_get(parameters, "(suu)", &input_file, &line, &column); g_variant_get(parameters, "(suu)", &input_file, &line, &column);
unsigned int page = 0; const bool ret = synctex_view(priv->zathura, input_file, line, column);
girara_list_t* secondary_rects = NULL;
girara_list_t* rectangles = synctex_rectangles_from_position(
zathura_document_get_path(priv->zathura->document), input_file, line,
column, &page, &secondary_rects);
g_free(input_file); g_free(input_file);
if (rectangles == NULL) { GVariant* result = g_variant_new("(b)", ret);
GVariant* result = g_variant_new("(b)", false);
g_dbus_method_invocation_return_value(invocation, result); g_dbus_method_invocation_return_value(invocation, result);
return;
}
girara_list_t** all_rectangles = g_try_malloc0(number_of_pages * sizeof(girara_list_t*));
for (unsigned int p = 0; p != number_of_pages; ++p) {
if (p == page) {
all_rectangles[p] = rectangles;
} else {
all_rectangles[p] = girara_list_new2(g_free);
}
}
if (secondary_rects != NULL) {
GIRARA_LIST_FOREACH(secondary_rects, synctex_page_rect_t*, iter, rect)
zathura_rectangle_t* newrect = g_try_malloc0(sizeof(zathura_rectangle_t));
*newrect = rect->rect;
girara_list_append(all_rectangles[rect->page], newrect);
GIRARA_LIST_FOREACH_END(secondary_rects, synctex_page_rect_t*, iter, rect);
}
highlight_rects(priv->zathura, page, all_rectangles);
girara_list_free(secondary_rects);
g_free(all_rectangles);
GVariant* result = g_variant_new("(b)", true);
g_dbus_method_invocation_return_value(invocation, result);
} }
} }
@ -549,13 +446,13 @@ call_synctex_view(GDBusConnection* connection, const char* filename,
return true; return true;
} }
static bool static int
iterate_instances_call_synctex_view(const char* filename, iterate_instances_call_synctex_view(const char* filename,
const char* input_file, unsigned int line, const char* input_file, unsigned int line,
unsigned int column, pid_t hint) unsigned int column, pid_t hint)
{ {
if (filename == NULL) { if (filename == NULL) {
return false; return -1;
} }
GError* error = NULL; GError* error = NULL;
@ -564,7 +461,7 @@ iterate_instances_call_synctex_view(const char* filename,
if (connection == NULL) { if (connection == NULL) {
girara_error("Could not connect to session bus: %s", error->message); girara_error("Could not connect to session bus: %s", error->message);
g_error_free(error); g_error_free(error);
return false; return -1;
} }
if (hint != -1) { if (hint != -1) {
@ -572,7 +469,7 @@ iterate_instances_call_synctex_view(const char* filename,
const bool ret = call_synctex_view(connection, filename, well_known_name, const bool ret = call_synctex_view(connection, filename, well_known_name,
input_file, line, column); input_file, line, column);
g_free(well_known_name); g_free(well_known_name);
return ret; return ret ? 1 : 0;
} }
GVariant* vnames = g_dbus_connection_call_sync( GVariant* vnames = g_dbus_connection_call_sync(
@ -583,7 +480,7 @@ iterate_instances_call_synctex_view(const char* filename,
girara_error("Could not list available names: %s", error->message); girara_error("Could not list available names: %s", error->message);
g_error_free(error); g_error_free(error);
g_object_unref(connection); g_object_unref(connection);
return false; return -1;
} }
GVariantIter* iter = NULL; GVariantIter* iter = NULL;
@ -591,25 +488,22 @@ iterate_instances_call_synctex_view(const char* filename,
gchar* name = NULL; gchar* name = NULL;
bool found_one = false; bool found_one = false;
while (g_variant_iter_loop(iter, "s", &name) == TRUE) { while (found_one == false && g_variant_iter_loop(iter, "s", &name) == TRUE) {
if (g_str_has_prefix(name, "org.pwmt.zathura.PID") == FALSE) { if (g_str_has_prefix(name, "org.pwmt.zathura.PID") == FALSE) {
continue; continue;
} }
girara_debug("Found name: %s", name); girara_debug("Found name: %s", name);
if (call_synctex_view(connection, filename, name, input_file, line, column) found_one = call_synctex_view(connection, filename, name, input_file, line, column);
== true) {
found_one = true;
}
} }
g_variant_iter_free(iter); g_variant_iter_free(iter);
g_variant_unref(vnames); g_variant_unref(vnames);
g_object_unref(connection); g_object_unref(connection);
return found_one; return found_one ? 1 : 0;
} }
bool int
zathura_dbus_synctex_position(const char* filename, const char* input_file, zathura_dbus_synctex_position(const char* filename, const char* input_file,
int line, int column, pid_t hint) int line, int column, pid_t hint)
{ {

View file

@ -62,7 +62,7 @@ void zathura_dbus_edit(ZathuraDbus* dbus, unsigned int page, unsigned int x, uns
* @param column column index (starts at 0) * @param column column index (starts at 0)
* @param hint zathura process ID that has filename open * @param hint zathura process ID that has filename open
*/ */
bool zathura_dbus_synctex_position(const char* filename, const char* input_file, int zathura_dbus_synctex_position(const char* filename, const char* input_file,
int line, int column, pid_t hint); int line, int column, pid_t hint);
#endif #endif

View file

@ -22,6 +22,7 @@
*/ */
struct zathura_document_s { struct zathura_document_s {
char* file_path; /**< File path of the document */ char* file_path; /**< File path of the document */
char* uri; /**< URI of the document */
char* basename; /**< Basename of the document */ char* basename; /**< Basename of the document */
const char* password; /**< Password of the document */ const char* password; /**< Password of the document */
unsigned int current_page_number; /**< Current page number */ unsigned int current_page_number; /**< Current page number */
@ -61,7 +62,7 @@ check_set_error(zathura_error_t* error, zathura_error_t code) {
zathura_document_t* zathura_document_t*
zathura_document_open(zathura_plugin_manager_t* plugin_manager, const char* zathura_document_open(zathura_plugin_manager_t* plugin_manager, const char*
path, const char* password, zathura_error_t* error) path, const char *uri, const char* password, zathura_error_t* error)
{ {
if (path == NULL) { if (path == NULL) {
return NULL; return NULL;
@ -115,7 +116,15 @@ zathura_document_open(zathura_plugin_manager_t* plugin_manager, const char*
} }
document->file_path = real_path; document->file_path = real_path;
document->uri = g_strdup(uri);
if (document->uri == NULL) {
document->basename = g_file_get_basename(file); document->basename = g_file_get_basename(file);
}
else {
GFile *gf = g_file_new_for_uri(document->uri);
document->basename = g_file_get_basename(gf);
g_object_unref(gf);
}
document->password = password; document->password = password;
document->scale = 1.0; document->scale = 1.0;
document->plugin = plugin; document->plugin = plugin;
@ -216,9 +225,8 @@ zathura_document_free(zathura_document_t* document)
error = functions->document_free(document, document->data); error = functions->document_free(document, document->data);
} }
if (document->file_path != NULL) { g_free(document->file_path);
free(document->file_path); g_free(document->uri);
}
g_free(document->basename); g_free(document->basename);
g_free(document); g_free(document);
@ -236,6 +244,16 @@ zathura_document_get_path(zathura_document_t* document)
return document->file_path; return document->file_path;
} }
const char*
zathura_document_get_uri(zathura_document_t* document)
{
if (document == NULL) {
return NULL;
}
return document->uri;
}
const char* const char*
zathura_document_get_basename(zathura_document_t* document) zathura_document_get_basename(zathura_document_t* document)
{ {

View file

@ -18,7 +18,7 @@
* @return The document object and NULL if an error occurs * @return The document object and NULL if an error occurs
*/ */
zathura_document_t* zathura_document_open(zathura_plugin_manager_t* zathura_document_t* zathura_document_open(zathura_plugin_manager_t*
plugin_manager, const char* path, const char* password, zathura_error_t* plugin_manager, const char* path, const char *uri, const char* password, zathura_error_t*
error); error);
/** /**
@ -38,6 +38,14 @@ zathura_error_t zathura_document_free(zathura_document_t* document);
*/ */
const char* zathura_document_get_path(zathura_document_t* document); const char* zathura_document_get_path(zathura_document_t* document);
/**
* Returns the URI of the document
*
* @param document The document
* @return The URI of the document
*/
const char* zathura_document_get_uri(zathura_document_t* document);
/** /**
* Returns the basename of the document * Returns the basename of the document
* *

View file

@ -1,24 +0,0 @@
/* See LICENSE file for license and copyright information */
#ifndef GLIB_COMPAT_H
#define GLIB_COMPAT_H
#include <glib.h>
/* GStaticMutex is deprecated starting with glib 2.32 and got replaced with
* GMutex */
#if GLIB_CHECK_VERSION(2, 32, 0)
#define mutex GMutex
#define mutex_init(m) g_mutex_init((m))
#define mutex_lock(m) g_mutex_lock((m))
#define mutex_unlock(m) g_mutex_unlock((m))
#define mutex_free(m) g_mutex_clear((m))
#else
#define mutex GStaticMutex
#define mutex_init(m) g_static_mutex_init((m))
#define mutex_lock(m) g_static_mutex_lock((m))
#define mutex_unlock(m) g_static_mutex_unlock((m))
#define mutex_free(m) g_static_mutex_free((m))
#endif
#endif

View file

@ -12,6 +12,7 @@
typedef struct zathura_password_dialog_info_s typedef struct zathura_password_dialog_info_s
{ {
char* path; /**< Path to the file */ char* path; /**< Path to the file */
char* uri; /**< URI to the file */
zathura_t* zathura; /**< Zathura session */ zathura_t* zathura; /**< Zathura session */
} zathura_password_dialog_info_t; } zathura_password_dialog_info_t;

181
zathura/jumplist.c Normal file
View file

@ -0,0 +1,181 @@
#include "zathura.h"
#include "document.h"
#include "database.h"
#include <girara/utils.h>
static void zathura_jumplist_reset_current(zathura_t* zathura);
static void zathura_jumplist_append_jump(zathura_t* zathura);
static void zathura_jumplist_save(zathura_t* zathura);
bool
zathura_jumplist_has_previous(zathura_t* zathura)
{
return girara_list_iterator_has_previous(zathura->jumplist.cur);
}
bool
zathura_jumplist_has_next(zathura_t* zathura)
{
return girara_list_iterator_has_next(zathura->jumplist.cur);
}
zathura_jump_t*
zathura_jumplist_current(zathura_t* zathura)
{
if (zathura->jumplist.cur != NULL) {
return girara_list_iterator_data(zathura->jumplist.cur);
} else {
return NULL;
}
}
void
zathura_jumplist_forward(zathura_t* zathura)
{
if (girara_list_iterator_has_next(zathura->jumplist.cur)) {
girara_list_iterator_next(zathura->jumplist.cur);
}
}
void
zathura_jumplist_backward(zathura_t* zathura)
{
if (girara_list_iterator_has_previous(zathura->jumplist.cur)) {
girara_list_iterator_previous(zathura->jumplist.cur);
}
}
static void
zathura_jumplist_reset_current(zathura_t* zathura)
{
g_return_if_fail(zathura != NULL && zathura->jumplist.cur != NULL);
while (true) {
if (girara_list_iterator_has_next(zathura->jumplist.cur) == false) {
return;
}
girara_list_iterator_next(zathura->jumplist.cur);
}
}
static void
zathura_jumplist_append_jump(zathura_t* zathura)
{
g_return_if_fail(zathura != NULL && zathura->jumplist.list != NULL);
zathura_jump_t* jump = g_try_malloc0(sizeof(zathura_jump_t));
if (jump == NULL) {
return;
}
jump->page = 0;
jump->x = 0.0;
jump->y = 0.0;
girara_list_append(zathura->jumplist.list, jump);
if (zathura->jumplist.size == 0) {
zathura->jumplist.cur = girara_list_iterator(zathura->jumplist.list);
}
++zathura->jumplist.size;
zathura_jumplist_trim(zathura);
}
void
zathura_jumplist_trim(zathura_t* zathura)
{
g_return_if_fail(zathura != NULL && zathura->jumplist.list != NULL && zathura->jumplist.size != 0);
girara_list_iterator_t* cur = girara_list_iterator(zathura->jumplist.list);
while (zathura->jumplist.size > zathura->jumplist.max_size) {
if (girara_list_iterator_data(cur) == girara_list_iterator_data(zathura->jumplist.cur)) {
girara_list_iterator_free(zathura->jumplist.cur);
zathura->jumplist.cur = NULL;
}
girara_list_iterator_remove(cur);
--zathura->jumplist.size;
}
if (zathura->jumplist.size == 0 || (zathura->jumplist.size != 0 && zathura->jumplist.cur != NULL)) {
girara_list_iterator_free(cur);
} else {
zathura->jumplist.cur = cur;
}
}
void
zathura_jumplist_add(zathura_t* zathura)
{
g_return_if_fail(zathura != NULL && zathura->document != NULL && zathura->jumplist.list != NULL);
unsigned int pagenum = zathura_document_get_current_page_number(zathura->document);
double x = zathura_document_get_position_x(zathura->document);
double y = zathura_document_get_position_y(zathura->document);
if (zathura->jumplist.size != 0) {
zathura_jumplist_reset_current(zathura);
zathura_jump_t* cur = zathura_jumplist_current(zathura);
if (cur != NULL) {
if (cur->page == pagenum && cur->x == x && cur->y == y) {
return;
}
}
}
zathura_jumplist_append_jump(zathura);
zathura_jumplist_reset_current(zathura);
zathura_jumplist_save(zathura);
}
bool
zathura_jumplist_load(zathura_t* zathura, const char* file)
{
g_return_val_if_fail(zathura != NULL && file != NULL, false);
if (zathura->database == NULL) {
return false;
}
zathura->jumplist.list = zathura_db_load_jumplist(zathura->database, file);
if (zathura->jumplist.list == NULL) {
girara_error("Failed to load the jumplist from the database");
return false;
}
zathura->jumplist.size = girara_list_size(zathura->jumplist.list);
if (zathura->jumplist.size != 0) {
zathura->jumplist.cur = girara_list_iterator(zathura->jumplist.list);
zathura_jumplist_reset_current(zathura);
zathura_jumplist_trim(zathura);
girara_debug("Loaded the jumplist from the database");
} else {
girara_debug("No jumplist for this file in the database yet");
}
return true;
}
static void
zathura_jumplist_save(zathura_t* zathura)
{
g_return_if_fail(zathura != NULL && zathura->document != NULL);
zathura_jump_t* cur = zathura_jumplist_current(zathura);
unsigned int pagenum = zathura_document_get_current_page_number(zathura->document);
if (cur != NULL) {
cur->page = pagenum;
cur->x = zathura_document_get_position_x(zathura->document);
cur->y = zathura_document_get_position_y(zathura->document);
}
}

View file

@ -8,4 +8,12 @@
#define UNUSED(x) GIRARA_UNUSED(x) #define UNUSED(x) GIRARA_UNUSED(x)
#define DEPRECATED(x) GIRARA_DEPRECATED(x) #define DEPRECATED(x) GIRARA_DEPRECATED(x)
#ifndef MIN
#define MIN(a,b) (((a)<(b))?(a):(b))
#endif
#ifndef MAX
#define MAX(a,b) (((a)>(b))?(a):(b))
#endif
#endif #endif

View file

@ -4,6 +4,7 @@
#include <girara/settings.h> #include <girara/settings.h>
#include <glib/gi18n.h> #include <glib/gi18n.h>
#include <glib/gstdio.h> #include <glib/gstdio.h>
#include <errno.h>
#include <limits.h> #include <limits.h>
#include <locale.h> #include <locale.h>
#include <stdio.h> #include <stdio.h>
@ -13,25 +14,119 @@
#include "zathura.h" #include "zathura.h"
#include "utils.h" #include "utils.h"
#include "dbus-interface.h" #include "dbus-interface.h"
#ifdef WITH_SYNCTEX
#include "synctex.h"
#endif
/* Init locale */
static void
init_locale(void)
{
setlocale(LC_ALL, "");
bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
textdomain(GETTEXT_PACKAGE);
}
/* Set log level */
static void
set_log_level(const char* loglevel)
{
if (loglevel == NULL || g_strcmp0(loglevel, "info") == 0) {
girara_set_debug_level(GIRARA_INFO);
} else if (g_strcmp0(loglevel, "warning") == 0) {
girara_set_debug_level(GIRARA_WARNING);
} else if (g_strcmp0(loglevel, "error") == 0) {
girara_set_debug_level(GIRARA_ERROR);
}
}
/* Handle synctex forward synchronization */
#ifdef WITH_SYNCTEX
static int
run_synctex_forward(const char* synctex_fwd, const char* filename,
int synctex_pid)
{
GFile* file = g_file_new_for_commandline_arg(filename);
if (file == NULL) {
girara_error("Unable to handle argument '%s'.", filename);
return -1;
}
char* real_path = g_file_get_path(file);
g_object_unref(file);
if (real_path == NULL) {
girara_error("Failed to determine path for '%s'", filename);
return -1;
}
int line = 0;
int column = 0;
char* input_file = NULL;
if (synctex_parse_input(synctex_fwd, &input_file, &line, &column) == false) {
girara_error("Failed to parse argument to --synctex-forward.");
g_free(real_path);
return -1;
}
const int ret = zathura_dbus_synctex_position(real_path, input_file, line, column, synctex_pid);
g_free(input_file);
g_free(real_path);
if (ret == -1) {
/* D-Bus or SyncTeX failed */
girara_error("Got no usable data from SyncTeX or D-Bus failed in some way.");
}
return ret;
}
#endif
static zathura_t*
init_zathura(const char* config_dir, const char* data_dir,
const char* cache_dir, const char* plugin_path, char** argv,
#ifdef GDK_WINDOWING_X11
char* synctex_editor, Window embed)
#else
char* synctex_editor)
#endif
{
/* create zathura session */
zathura_t* zathura = zathura_create();
if (zathura == NULL) {
return NULL;
}
#ifdef GDK_WINDOWING_X11
zathura_set_xid(zathura, embed);
#endif
zathura_set_config_dir(zathura, config_dir);
zathura_set_data_dir(zathura, data_dir);
zathura_set_cache_dir(zathura, cache_dir);
zathura_set_plugin_dir(zathura, plugin_path);
zathura_set_argv(zathura, argv);
/* Init zathura */
if (zathura_init(zathura) == false) {
zathura_free(zathura);
return NULL;
}
#ifdef WITH_SYNCTEX
if (synctex_editor != NULL) {
girara_setting_set(zathura->ui.session, "synctex-editor-command", synctex_editor);
}
#endif
return zathura;
}
/* main function */ /* main function */
int int
main(int argc, char* argv[]) main(int argc, char* argv[])
{ {
/* init locale */ init_locale();
setlocale(LC_ALL, "");
bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
textdomain(GETTEXT_PACKAGE);
/* init gtk */
#if !GLIB_CHECK_VERSION(2, 31, 0)
g_thread_init(NULL);
#endif
#if !GTK_CHECK_VERSION(3, 6, 0)
gdk_threads_init();
#endif
gtk_init(&argc, &argv);
/* parse command line arguments */ /* parse command line arguments */
gchar* config_dir = NULL; gchar* config_dir = NULL;
@ -40,13 +135,17 @@ main(int argc, char* argv[])
gchar* plugin_path = NULL; gchar* plugin_path = NULL;
gchar* loglevel = NULL; gchar* loglevel = NULL;
gchar* password = NULL; gchar* password = NULL;
#ifdef WITH_SYNCTEX
gchar* synctex_editor = NULL; gchar* synctex_editor = NULL;
gchar* synctex_fwd = NULL; gchar* synctex_fwd = NULL;
#endif
gchar* mode = NULL; gchar* mode = NULL;
bool forkback = false; bool forkback = false;
bool print_version = false; bool print_version = false;
int page_number = ZATHURA_PAGE_NUMBER_UNSPECIFIED; int page_number = ZATHURA_PAGE_NUMBER_UNSPECIFIED;
#ifdef WITH_SYNCTEX
int synctex_pid = -1; int synctex_pid = -1;
#endif
#ifdef GDK_WINDOWING_X11 #ifdef GDK_WINDOWING_X11
Window embed = 0; Window embed = 0;
#endif #endif
@ -64,9 +163,11 @@ main(int argc, char* argv[])
{ "page", 'P', 0, G_OPTION_ARG_INT, &page_number, _("Page number to go to"), "number" }, { "page", 'P', 0, G_OPTION_ARG_INT, &page_number, _("Page number to go to"), "number" },
{ "debug", 'l', 0, G_OPTION_ARG_STRING, &loglevel, _("Log level (debug, info, warning, error)"), "level" }, { "debug", 'l', 0, G_OPTION_ARG_STRING, &loglevel, _("Log level (debug, info, warning, error)"), "level" },
{ "version", 'v', 0, G_OPTION_ARG_NONE, &print_version, _("Print version information"), NULL }, { "version", 'v', 0, G_OPTION_ARG_NONE, &print_version, _("Print version information"), NULL },
#ifdef WITH_SYNCTEX
{ "synctex-editor-command", 'x', 0, G_OPTION_ARG_STRING, &synctex_editor, _("Synctex editor (forwarded to the synctex command)"), "cmd" }, { "synctex-editor-command", 'x', 0, G_OPTION_ARG_STRING, &synctex_editor, _("Synctex editor (forwarded to the synctex command)"), "cmd" },
{ "synctex-forward", '\0', 0, G_OPTION_ARG_STRING, &synctex_fwd, _("Move to given synctex position"), "position" }, { "synctex-forward", '\0', 0, G_OPTION_ARG_STRING, &synctex_fwd, _("Move to given synctex position"), "position" },
{ "synctex-pid", '\0', 0, G_OPTION_ARG_INT, &synctex_pid, _("Highlight given position in the given process"), "pid" }, { "synctex-pid", '\0', 0, G_OPTION_ARG_INT, &synctex_pid, _("Highlight given position in the given process"), "pid" },
#endif
{ "mode", '\0', 0, G_OPTION_ARG_STRING, &mode, _("Start in a non-default mode"), "mode" }, { "mode", '\0', 0, G_OPTION_ARG_STRING, &mode, _("Start in a non-default mode"), "mode" },
{ NULL, '\0', 0, 0, NULL, NULL, NULL } { NULL, '\0', 0, 0, NULL, NULL, NULL }
}; };
@ -84,15 +185,9 @@ main(int argc, char* argv[])
} }
g_option_context_free(context); g_option_context_free(context);
/* Set log level. */ set_log_level(loglevel);
if (loglevel == NULL || g_strcmp0(loglevel, "info") == 0) {
girara_set_debug_level(GIRARA_INFO);
} else if (g_strcmp0(loglevel, "warning") == 0) {
girara_set_debug_level(GIRARA_WARNING);
} else if (g_strcmp0(loglevel, "error") == 0) {
girara_set_debug_level(GIRARA_ERROR);
}
#ifdef WITH_SYNCTEX
/* handle synctex forward synchronization */ /* handle synctex forward synchronization */
if (synctex_fwd != NULL) { if (synctex_fwd != NULL) {
if (argc != 2) { if (argc != 2) {
@ -100,48 +195,15 @@ main(int argc, char* argv[])
return -1; return -1;
} }
GFile* file = g_file_new_for_commandline_arg(argv[1]); const int ret = run_synctex_forward(synctex_fwd, argv[1], synctex_pid);
if (file == NULL) { if (ret != 0) {
girara_error("Unable to handle argument '%s'.", argv[1]); /* Error or instance found */
return -1; return ret;
} }
char* real_path = g_file_get_path(file); girara_debug("No instance found. Starting new one.");
g_object_unref(file);
if (real_path == NULL) {
girara_error("Failed to determine path for '%s'", argv[1]);
return -1;
}
char** split_fwd = g_strsplit(synctex_fwd, ":", 0);
if (split_fwd == NULL || split_fwd[0] == NULL || split_fwd[1] == NULL ||
split_fwd[2] == NULL || split_fwd[3] != NULL) {
girara_error("Failed to parse argument to --synctex-forward.");
g_free(real_path);
g_strfreev(split_fwd);
return -1;
}
int line = MIN(INT_MAX, g_ascii_strtoll(split_fwd[0], NULL, 10));
int column = MIN(INT_MAX, g_ascii_strtoll(split_fwd[1], NULL, 10));
/* SyncTeX starts indexing at 1, but we use 0 */
if (line > 0) {
--line;
}
if (column > 0) {
--column;
}
const bool ret = zathura_dbus_synctex_position(real_path, split_fwd[2], line, column, synctex_pid);
g_strfreev(split_fwd);
if (ret == false) {
girara_error("Could not find open instance for '%s' or got no usable data from synctex.", real_path);
}
g_free(real_path);
return ret == true ? 0 : -1;
} }
#endif
/* check mode */ /* check mode */
if (mode != NULL && g_strcmp0(mode, "presentation") != 0 && g_strcmp0(mode, "fullscreen") != 0) { if (mode != NULL && g_strcmp0(mode, "presentation") != 0 && g_strcmp0(mode, "fullscreen") != 0) {
@ -149,49 +211,61 @@ main(int argc, char* argv[])
return -1; return -1;
} }
size_t file_idx = argc > 1 ? 1 : 0;
/* Fork instances for other files. */
if (print_version == false && argc > 2) {
for (int idx = 2; idx < argc; ++idx) {
const pid_t pid = fork();
if (pid == 0) { /* child */
file_idx = idx;
if (setsid() == -1) {
girara_error("Could not start new process group: %s", strerror(errno));
return -1;
}
} else if (pid < 0) { /* error */
girara_error("Could not fork: %s", strerror(errno));
return -1;
}
}
}
/* Fork into the background if the user really wants to ... */ /* Fork into the background if the user really wants to ... */
if (forkback == true) { if (print_version == false && forkback == true && file_idx < 2) {
const int pid = fork(); const pid_t pid = fork();
if (pid > 0) { /* parent */ if (pid > 0) { /* parent */
return 0; return 0;
} else if (pid < 0) { /* error */ } else if (pid < 0) { /* error */
girara_error("Couldn't fork."); girara_error("Could not fork: %s", strerror(errno));
}
setsid();
}
/* create zathura session */
zathura_t* zathura = zathura_create();
if (zathura == NULL) {
return -1; return -1;
} }
if (setsid() == -1) {
girara_error("Could not start new process group: %s", strerror(errno));
return -1;
}
}
/* Initialize GTK+ */
gtk_init(&argc, &argv);
/* Create zathura session */
zathura_t* zathura = init_zathura(config_dir, data_dir, cache_dir,
#ifdef GDK_WINDOWING_X11 #ifdef GDK_WINDOWING_X11
zathura_set_xid(zathura, embed); plugin_path, argv, synctex_editor, embed);
#else
plugin_path, argv, synctex_editor);
#endif #endif
zathura_set_config_dir(zathura, config_dir); if (zathura == NULL) {
zathura_set_data_dir(zathura, data_dir);
zathura_set_cache_dir(zathura, cache_dir);
zathura_set_plugin_dir(zathura, plugin_path);
zathura_set_argv(zathura, argv);
/* Init zathura */
if (zathura_init(zathura) == false) {
girara_error("Could not initialize zathura."); girara_error("Could not initialize zathura.");
zathura_free(zathura);
return -1; return -1;
} }
if (synctex_editor != NULL) {
girara_setting_set(zathura->ui.session, "synctex-editor-command", synctex_editor);
}
/* Print version */ /* Print version */
if (print_version == true) { if (print_version == true) {
char* string = zathura_get_version_string(zathura, false); char* string = zathura_get_version_string(zathura, false);
if (string != NULL) { if (string != NULL) {
fprintf(stdout, "%s\n", string); fprintf(stdout, "%s\n", string);
g_free(string);
} }
zathura_free(zathura); zathura_free(zathura);
@ -199,31 +273,19 @@ main(int argc, char* argv[])
} }
/* open document if passed */ /* open document if passed */
if (argc > 1) { if (file_idx != 0) {
if (page_number > 0) if (page_number > 0) {
--page_number; --page_number;
document_open_idle(zathura, argv[1], password, page_number, mode);
/* open additional files */
for (int i = 2; i < argc; i++) {
char* new_argv[] = {
*(zathura->global.arguments),
argv[i],
NULL
};
g_spawn_async(NULL, new_argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL);
} }
#ifdef WITH_SYNCTEX
document_open_idle(zathura, argv[file_idx], password, page_number, mode, synctex_fwd);
#else
document_open_idle(zathura, argv[file_idx], password, page_number, mode, NULL);
#endif
} }
/* run zathura */ /* run zathura */
#if !GTK_CHECK_VERSION(3, 6, 0)
gdk_threads_enter();
#endif
gtk_main(); gtk_main();
#if !GTK_CHECK_VERSION(3, 6, 0)
gdk_threads_leave();
#endif
/* free zathura */ /* free zathura */
zathura_free(zathura); zathura_free(zathura);

View file

@ -52,7 +52,7 @@ static void zathura_plugin_free(zathura_plugin_t* plugin);
static void zathura_type_plugin_mapping_free(zathura_type_plugin_mapping_t* mapping); static void zathura_type_plugin_mapping_free(zathura_type_plugin_mapping_t* mapping);
zathura_plugin_manager_t* zathura_plugin_manager_t*
zathura_plugin_manager_new() zathura_plugin_manager_new(void)
{ {
zathura_plugin_manager_t* plugin_manager = g_try_malloc0(sizeof(zathura_plugin_manager_t)); zathura_plugin_manager_t* plugin_manager = g_try_malloc0(sizeof(zathura_plugin_manager_t));
if (plugin_manager == NULL) { if (plugin_manager == NULL) {

View file

@ -29,7 +29,7 @@ typedef struct zathura_plugin_version_s {
* *
* @return A plugin manager object or NULL if an error occured * @return A plugin manager object or NULL if an error occured
*/ */
zathura_plugin_manager_t* zathura_plugin_manager_new(); zathura_plugin_manager_t* zathura_plugin_manager_new(void);
/** /**
* Frees the plugin manager * Frees the plugin manager

View file

@ -78,12 +78,81 @@ cb_print_end(GtkPrintOperation* UNUSED(print_operation), GtkPrintContext*
return; return;
} }
const char* file_path = zathura_document_get_path(zathura->document); char* file_path = get_formatted_filename(zathura, true);
if (file_path != NULL) {
girara_statusbar_item_set_text(zathura->ui.session, girara_statusbar_item_set_text(zathura->ui.session,
zathura->ui.statusbar.file, file_path); zathura->ui.statusbar.file, file_path);
g_free(file_path);
} }
static bool
draw_page_cairo(cairo_t* cairo, zathura_t* zathura, zathura_page_t* page)
{
/* Try to render the page without a temporary surface. This only works with
* plugins that support rendering to any surface. */
zathura_renderer_lock(zathura->sync.render_thread);
const int err = zathura_page_render(page, cairo, true);
zathura_renderer_unlock(zathura->sync.render_thread);
return err == ZATHURA_ERROR_OK;
}
static bool
draw_page_image(cairo_t* cairo, GtkPrintContext* context, zathura_t* zathura,
zathura_page_t* page)
{
/* Try to render the page on a temporary image surface. */
const double width = gtk_print_context_get_width(context);
const double height = gtk_print_context_get_height(context);
const double scale_height = 5;
const double scale_width = 5;
/* Render to a surface that is 5 times larger to workaround quality issues. */
const double page_height = zathura_page_get_height(page) * scale_height;
const double page_width = zathura_page_get_width(page) * scale_width;
cairo_surface_t* surface = cairo_image_surface_create(CAIRO_FORMAT_RGB24, page_width, page_height);
if (surface == NULL) {
return false;
}
if (cairo_surface_status(surface) != CAIRO_STATUS_SUCCESS) {
cairo_surface_destroy(surface);
return false;
}
cairo_t* temp_cairo = cairo_create(surface);
if (cairo == NULL) {
cairo_surface_destroy(surface);
return false;
}
/* Draw a white background. */
cairo_save(temp_cairo);
cairo_set_source_rgb(temp_cairo, 1, 1, 1);
cairo_rectangle(temp_cairo, 0, 0, page_width, page_height);
cairo_fill(temp_cairo);
cairo_restore(temp_cairo);
/* Render the page to the temporary surface */
zathura_renderer_lock(zathura->sync.render_thread);
const int err = zathura_page_render(page, temp_cairo, true);
zathura_renderer_unlock(zathura->sync.render_thread);
if (err != ZATHURA_ERROR_OK) {
cairo_destroy(temp_cairo);
cairo_surface_destroy(surface);
return false;
}
/* Rescale the page and keep the aspect ratio */
const gdouble scale = MIN(width / page_width, height / page_height);
cairo_scale(cairo, scale, scale);
/* Blit temporary surface to original cairo object. */
cairo_set_source_surface(cairo, surface, 0.0, 0.0);
cairo_paint(cairo);
cairo_destroy(temp_cairo);
cairo_surface_destroy(surface);
return true;
} }
static void static void
@ -110,64 +179,15 @@ cb_print_draw_page(GtkPrintOperation* print_operation, GtkPrintContext*
return; return;
} }
/* Try to render the page without a temporary surface. This only works with
* plugins that support rendering to any surface. */
girara_debug("printing page %d ...", page_number); girara_debug("printing page %d ...", page_number);
zathura_renderer_lock(zathura->sync.render_thread); if (draw_page_cairo(cairo, zathura, page) == true) {
int err = zathura_page_render(page, cairo, true);
zathura_renderer_unlock(zathura->sync.render_thread);
if (err == ZATHURA_ERROR_OK) {
return; return;
} }
/* Try to render the page on a temporary image surface. */
const gdouble width = gtk_print_context_get_width(context);
const gdouble height = gtk_print_context_get_height(context);
/* Render to a surface that is 5 times larger to workaround quality issues. */
const double page_height = zathura_page_get_height(page) * 5;
const double page_width = zathura_page_get_width(page) * 5;
cairo_surface_t* surface = cairo_image_surface_create(CAIRO_FORMAT_RGB24, page_width, page_height);
if (surface == NULL) {
gtk_print_operation_cancel(print_operation);
return;
}
cairo_t* temp_cairo = cairo_create(surface);
if (cairo == NULL) {
gtk_print_operation_cancel(print_operation);
cairo_surface_destroy(surface);
return;
}
/* Draw a white background. */
cairo_save(temp_cairo);
cairo_set_source_rgb(temp_cairo, 1, 1, 1);
cairo_rectangle(temp_cairo, 0, 0, page_width, page_height);
cairo_fill(temp_cairo);
cairo_restore(temp_cairo);
/* Render the page to the temporary surface */
girara_debug("printing page %d (fallback) ...", page_number); girara_debug("printing page %d (fallback) ...", page_number);
zathura_renderer_lock(zathura->sync.render_thread); if (draw_page_image(cairo, context, zathura, page) == false) {
err = zathura_page_render(page, temp_cairo, true);
zathura_renderer_unlock(zathura->sync.render_thread);
if (err != ZATHURA_ERROR_OK) {
cairo_destroy(temp_cairo);
cairo_surface_destroy(surface);
gtk_print_operation_cancel(print_operation); gtk_print_operation_cancel(print_operation);
return;
} }
/* Rescale the page and keep the aspect ratio */
const gdouble scale = MIN(width / page_width, height / page_height);
cairo_scale(cairo, scale, scale);
/* Blit temporary surface to original cairo object. */
cairo_set_source_surface(cairo, surface, 0.0, 0.0);
cairo_paint(cairo);
cairo_destroy(temp_cairo);
cairo_surface_destroy(surface);
} }
static void static void

View file

@ -4,7 +4,6 @@
#include <string.h> #include <string.h>
#include <girara/datastructures.h> #include <girara/datastructures.h>
#include <girara/utils.h> #include <girara/utils.h>
#include "glib-compat.h"
#include "render.h" #include "render.h"
#include "adjustment.h" #include "adjustment.h"
@ -34,7 +33,7 @@ static bool page_cache_is_full(ZathuraRenderer* renderer, bool* result);
/* private data for ZathuraRenderer */ /* private data for ZathuraRenderer */
typedef struct private_s { typedef struct private_s {
GThreadPool* pool; /**< Pool of threads */ GThreadPool* pool; /**< Pool of threads */
mutex mutex; /**< Render lock */ GMutex mutex; /**< Render lock */
volatile bool about_to_close; /**< Render thread is to be freed */ volatile bool about_to_close; /**< Render thread is to be freed */
/** /**
@ -68,7 +67,7 @@ typedef struct request_private_s {
zathura_page_t* page; zathura_page_t* page;
gint64 last_view_time; gint64 last_view_time;
girara_list_t* active_jobs; girara_list_t* active_jobs;
mutex jobs_mutex; GMutex jobs_mutex;
} request_private_t; } request_private_t;
#define GET_PRIVATE(obj) \ #define GET_PRIVATE(obj) \
@ -103,7 +102,7 @@ zathura_renderer_init(ZathuraRenderer* renderer)
priv->pool = g_thread_pool_new(render_job, renderer, 1, TRUE, NULL); priv->pool = g_thread_pool_new(render_job, renderer, 1, TRUE, NULL);
priv->about_to_close = false; priv->about_to_close = false;
g_thread_pool_set_sort_function(priv->pool, render_thread_sort, NULL); g_thread_pool_set_sort_function(priv->pool, render_thread_sort, NULL);
mutex_init(&priv->mutex); g_mutex_init(&priv->mutex);
/* recolor */ /* recolor */
priv->recolor.enabled = false; priv->recolor.enabled = false;
@ -161,9 +160,9 @@ renderer_finalize(GObject* object)
if (priv->pool != NULL) { if (priv->pool != NULL) {
g_thread_pool_free(priv->pool, TRUE, TRUE); g_thread_pool_free(priv->pool, TRUE, TRUE);
} }
mutex_free(&(priv->mutex)); g_mutex_clear(&(priv->mutex));
free(priv->page_cache.cache); g_free(priv->page_cache.cache);
girara_list_free(priv->requests); girara_list_free(priv->requests);
} }
@ -265,7 +264,7 @@ zathura_render_request_new(ZathuraRenderer* renderer, zathura_page_t* page)
priv->renderer = g_object_ref(renderer); priv->renderer = g_object_ref(renderer);
priv->page = page; priv->page = page;
priv->active_jobs = girara_list_new(); priv->active_jobs = girara_list_new();
mutex_init(&priv->jobs_mutex); g_mutex_init(&priv->jobs_mutex);
/* register the request with the renderer */ /* register the request with the renderer */
renderer_register_request(renderer, request); renderer_register_request(renderer, request);
@ -299,7 +298,7 @@ render_request_finalize(GObject* object)
girara_error("This should not happen!"); girara_error("This should not happen!");
} }
girara_list_free(priv->active_jobs); girara_list_free(priv->active_jobs);
mutex_free(&priv->jobs_mutex); g_mutex_clear(&priv->jobs_mutex);
G_OBJECT_CLASS(zathura_render_request_parent_class)->finalize(object); G_OBJECT_CLASS(zathura_render_request_parent_class)->finalize(object);
} }
@ -407,7 +406,7 @@ zathura_renderer_lock(ZathuraRenderer* renderer)
g_return_if_fail(ZATHURA_IS_RENDERER(renderer)); g_return_if_fail(ZATHURA_IS_RENDERER(renderer));
private_t* priv = GET_PRIVATE(renderer); private_t* priv = GET_PRIVATE(renderer);
mutex_lock(&priv->mutex); g_mutex_lock(&priv->mutex);
} }
void void
@ -416,7 +415,7 @@ zathura_renderer_unlock(ZathuraRenderer* renderer)
g_return_if_fail(ZATHURA_IS_RENDERER(renderer)); g_return_if_fail(ZATHURA_IS_RENDERER(renderer));
private_t* priv = GET_PRIVATE(renderer); private_t* priv = GET_PRIVATE(renderer);
mutex_unlock(&priv->mutex); g_mutex_unlock(&priv->mutex);
} }
void void
@ -435,7 +434,7 @@ zathura_render_request(ZathuraRenderRequest* request, gint64 last_view_time)
g_return_if_fail(ZATHURA_IS_RENDER_REQUEST(request)); g_return_if_fail(ZATHURA_IS_RENDER_REQUEST(request));
request_private_t* request_priv = REQUEST_GET_PRIVATE(request); request_private_t* request_priv = REQUEST_GET_PRIVATE(request);
mutex_lock(&request_priv->jobs_mutex); g_mutex_lock(&request_priv->jobs_mutex);
bool unfinished_jobs = false; bool unfinished_jobs = false;
/* check if there are any active jobs left */ /* check if there are any active jobs left */
@ -462,7 +461,7 @@ zathura_render_request(ZathuraRenderRequest* request, gint64 last_view_time)
g_thread_pool_push(priv->pool, job, NULL); g_thread_pool_push(priv->pool, job, NULL);
} }
mutex_unlock(&request_priv->jobs_mutex); g_mutex_unlock(&request_priv->jobs_mutex);
} }
void void
@ -471,11 +470,11 @@ zathura_render_request_abort(ZathuraRenderRequest* request)
g_return_if_fail(ZATHURA_IS_RENDER_REQUEST(request)); g_return_if_fail(ZATHURA_IS_RENDER_REQUEST(request));
request_private_t* request_priv = REQUEST_GET_PRIVATE(request); request_private_t* request_priv = REQUEST_GET_PRIVATE(request);
mutex_lock(&request_priv->jobs_mutex); g_mutex_lock(&request_priv->jobs_mutex);
GIRARA_LIST_FOREACH(request_priv->active_jobs, render_job_t*, iter, job) GIRARA_LIST_FOREACH(request_priv->active_jobs, render_job_t*, iter, job)
job->aborted = true; job->aborted = true;
GIRARA_LIST_FOREACH_END(request_priv->active_jobs, render_job_t*, iter, job); GIRARA_LIST_FOREACH_END(request_priv->active_jobs, render_job_t*, iter, job);
mutex_unlock(&request_priv->jobs_mutex); g_mutex_unlock(&request_priv->jobs_mutex);
} }
void void
@ -494,9 +493,9 @@ remove_job_and_free(render_job_t* job)
{ {
request_private_t* request_priv = REQUEST_GET_PRIVATE(job->request); request_private_t* request_priv = REQUEST_GET_PRIVATE(job->request);
mutex_lock(&request_priv->jobs_mutex); g_mutex_lock(&request_priv->jobs_mutex);
girara_list_remove(request_priv->active_jobs, job); girara_list_remove(request_priv->active_jobs, job);
mutex_unlock(&request_priv->jobs_mutex); g_mutex_unlock(&request_priv->jobs_mutex);
g_object_unref(job->request); g_object_unref(job->request);
g_free(job); g_free(job);
@ -597,6 +596,8 @@ recolor(private_t* priv, zathura_page_t* page, unsigned int page_width,
* same effect. * same effect.
*/ */
cairo_surface_flush(surface);
const int rowstride = cairo_image_surface_get_stride(surface); const int rowstride = cairo_image_surface_get_stride(surface);
unsigned char* image = cairo_image_surface_get_data(surface); unsigned char* image = cairo_image_surface_get_data(surface);
@ -664,9 +665,9 @@ recolor(private_t* priv, zathura_page_t* page, unsigned int page_width,
/* Careful. data color components blue, green, red. */ /* Careful. data color components blue, green, red. */
const double rgb[3] = { const double rgb[3] = {
(double) data[2] / 256., data[2] / 255.,
(double) data[1] / 256., data[1] / 255.,
(double) data[0] / 256. data[0] / 255.
}; };
/* compute h, s, l data */ /* compute h, s, l data */
@ -714,6 +715,8 @@ recolor(private_t* priv, zathura_page_t* page, unsigned int page_width,
girara_list_free(rectangles); girara_list_free(rectangles);
} }
cairo_surface_mark_dirty(surface);
#undef rgb1 #undef rgb1
#undef rgb2 #undef rgb2
} }
@ -743,6 +746,10 @@ render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* render
if (surface == NULL) { if (surface == NULL) {
return false; return false;
} }
if (cairo_surface_status(surface) != CAIRO_STATUS_SUCCESS) {
cairo_surface_destroy(surface);
return false;
}
cairo_t* cairo = cairo_create(surface); cairo_t* cairo = cairo_create(surface);
if (cairo == NULL) { if (cairo == NULL) {

View file

@ -20,14 +20,6 @@
#include "adjustment.h" #include "adjustment.h"
#include <math.h> #include <math.h>
#ifndef MIN
#define MIN(a,b) (((a)<(b))?(a):(b))
#endif
#ifndef MAX
#define MAX(a,b) (((a)>(b))?(a):(b))
#endif
/* Helper function; see sc_display_link and sc_follow. */ /* Helper function; see sc_display_link and sc_follow. */
static bool static bool
draw_links(zathura_t* zathura) draw_links(zathura_t* zathura)
@ -35,7 +27,7 @@ draw_links(zathura_t* zathura)
/* set pages to draw links */ /* set pages to draw links */
bool show_links = false; bool show_links = false;
unsigned int page_offset = 0; unsigned int page_offset = 0;
unsigned int number_of_pages = zathura_document_get_number_of_pages(zathura->document); const unsigned int number_of_pages = zathura_document_get_number_of_pages(zathura->document);
for (unsigned int page_id = 0; page_id < number_of_pages; page_id++) { for (unsigned int page_id = 0; page_id < number_of_pages; page_id++) {
zathura_page_t* page = zathura_document_get_page(zathura->document, page_id); zathura_page_t* page = zathura_document_get_page(zathura->document, page_id);
if (page == NULL) { if (page == NULL) {
@ -74,7 +66,7 @@ sc_abort(girara_session_t* session, girara_argument_t* UNUSED(argument),
girara_setting_get(session, "abort-clear-search", &clear_search); girara_setting_get(session, "abort-clear-search", &clear_search);
if (zathura->document != NULL) { if (zathura->document != NULL) {
unsigned int number_of_pages = zathura_document_get_number_of_pages(zathura->document); const unsigned int number_of_pages = zathura_document_get_number_of_pages(zathura->document);
for (unsigned int page_id = 0; page_id < number_of_pages; ++page_id) { for (unsigned int page_id = 0; page_id < number_of_pages; ++page_id) {
zathura_page_t* page = zathura_document_get_page(zathura->document, page_id); zathura_page_t* page = zathura_document_get_page(zathura->document, page_id);
if (page == NULL) { if (page == NULL) {
@ -276,9 +268,6 @@ sc_mouse_scroll(girara_session_t* session, girara_argument_t* argument, girara_e
return false; return false;
} }
static int x = 0;
static int y = 0;
GtkAdjustment* x_adj = NULL; GtkAdjustment* x_adj = NULL;
GtkAdjustment* y_adj = NULL; GtkAdjustment* y_adj = NULL;
@ -293,12 +282,12 @@ sc_mouse_scroll(girara_session_t* session, girara_argument_t* argument, girara_e
/* drag */ /* drag */
case GIRARA_EVENT_BUTTON_PRESS: case GIRARA_EVENT_BUTTON_PRESS:
x = event->x; zathura->shortcut.mouse.x = event->x;
y = event->y; zathura->shortcut.mouse.y = event->y;
break; break;
case GIRARA_EVENT_BUTTON_RELEASE: case GIRARA_EVENT_BUTTON_RELEASE:
x = 0; zathura->shortcut.mouse.x = 0;
y = 0; zathura->shortcut.mouse.y = 0;
break; break;
case GIRARA_EVENT_MOTION_NOTIFY: case GIRARA_EVENT_MOTION_NOTIFY:
x_adj = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(session->gtk.view)); x_adj = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(session->gtk.view));
@ -309,9 +298,9 @@ sc_mouse_scroll(girara_session_t* session, girara_argument_t* argument, girara_e
} }
zathura_adjustment_set_value(x_adj, zathura_adjustment_set_value(x_adj,
gtk_adjustment_get_value(x_adj) - (event->x - x)); gtk_adjustment_get_value(x_adj) - (event->x - zathura->shortcut.mouse.x));
zathura_adjustment_set_value(y_adj, zathura_adjustment_set_value(y_adj,
gtk_adjustment_get_value(y_adj) - (event->y - y)); gtk_adjustment_get_value(y_adj) - (event->y - zathura->shortcut.mouse.y));
break; break;
/* unhandled events */ /* unhandled events */
@ -453,7 +442,7 @@ sc_reload(girara_session_t* session, girara_argument_t* UNUSED(argument),
document_close(zathura, true); document_close(zathura, true);
/* reopen document */ /* reopen document */
document_open(zathura, zathura->file_monitor.file_path, document_open(zathura, zathura->file_monitor.file_path, NULL,
zathura->file_monitor.password, zathura->file_monitor.password,
ZATHURA_PAGE_NUMBER_UNSPECIFIED); ZATHURA_PAGE_NUMBER_UNSPECIFIED);
@ -469,7 +458,7 @@ sc_rotate(girara_session_t* session, girara_argument_t* argument,
zathura_t* zathura = session->global.data; zathura_t* zathura = session->global.data;
g_return_val_if_fail(zathura->document != NULL, false); g_return_val_if_fail(zathura->document != NULL, false);
unsigned int page_number = zathura_document_get_current_page_number(zathura->document); const unsigned int page_number = zathura_document_get_current_page_number(zathura->document);
int angle = 90; int angle = 90;
if (argument != NULL && argument->n == ROTATE_CCW) { if (argument != NULL && argument->n == ROTATE_CCW) {
@ -1231,12 +1220,11 @@ sc_toggle_page_mode(girara_session_t* session, girara_argument_t*
int pages_per_row = 1; int pages_per_row = 1;
girara_setting_get(zathura->ui.session, "pages-per-row", &pages_per_row); girara_setting_get(zathura->ui.session, "pages-per-row", &pages_per_row);
static int tmp = 2;
int value = 1; int value = 1;
if (pages_per_row == 1) { if (pages_per_row == 1) {
value = tmp; value = zathura->shortcut.toggle_page_mode.pages;
} else { } else {
tmp = pages_per_row; zathura->shortcut.toggle_page_mode.pages = pages_per_row;
} }
girara_setting_set(zathura->ui.session, "pages-per-row", &value); girara_setting_set(zathura->ui.session, "pages-per-row", &value);
@ -1285,17 +1273,15 @@ sc_toggle_presentation(girara_session_t* session, girara_argument_t*
return false; return false;
} }
static int pages_per_row = 1;
static int first_page_column = 1;
static double zoom = 1.0;
const girara_mode_t old_mode = girara_mode_get(session); const girara_mode_t old_mode = girara_mode_get(session);
if (old_mode == zathura->modes.presentation) { if (old_mode == zathura->modes.presentation) {
/* reset pages per row */ /* reset pages per row */
girara_setting_set(session, "pages-per-row", &pages_per_row); girara_setting_set(session, "pages-per-row", &zathura->shortcut.toggle_presentation_mode.pages);
/* reset first page column */ /* reset first page column */
girara_setting_set(session, "first-page-column", &first_page_column); if (zathura->shortcut.toggle_presentation_mode.first_page_column_list != NULL) {
girara_setting_set(session, "first-page-column", zathura->shortcut.toggle_presentation_mode.first_page_column_list);
}
/* show status bar */ /* show status bar */
gtk_widget_show(GTK_WIDGET(session->gtk.statusbar)); gtk_widget_show(GTK_WIDGET(session->gtk.statusbar));
@ -1304,7 +1290,7 @@ sc_toggle_presentation(girara_session_t* session, girara_argument_t*
gtk_window_unfullscreen(GTK_WINDOW(session->gtk.window)); gtk_window_unfullscreen(GTK_WINDOW(session->gtk.window));
/* reset scale */ /* reset scale */
zathura_document_set_scale(zathura->document, zoom); zathura_document_set_scale(zathura->document, zathura->shortcut.toggle_presentation_mode.zoom);
render_all(zathura); render_all(zathura);
refresh_view(zathura); refresh_view(zathura);
@ -1312,17 +1298,20 @@ sc_toggle_presentation(girara_session_t* session, girara_argument_t*
girara_mode_set(session, zathura->modes.normal); girara_mode_set(session, zathura->modes.normal);
} else if (old_mode == zathura->modes.normal) { } else if (old_mode == zathura->modes.normal) {
/* backup pages per row */ /* backup pages per row */
girara_setting_get(session, "pages-per-row", &pages_per_row); girara_setting_get(session, "pages-per-row", &zathura->shortcut.toggle_presentation_mode.pages);
/* backup first page column */ /* backup first page column */
girara_setting_get(session, "first-page-column", &first_page_column); g_free(zathura->shortcut.toggle_presentation_mode.first_page_column_list);
zathura->shortcut.toggle_presentation_mode.first_page_column_list = NULL;
/* this will leak. we need to move the values somewhere else */
girara_setting_get(session, "first-page-column", &zathura->shortcut.toggle_presentation_mode.first_page_column_list);
/* set single view */ /* set single view */
int int_value = 1; int int_value = 1;
girara_setting_set(session, "pages-per-row", &int_value); girara_setting_set(session, "pages-per-row", &int_value);
/* back up zoom */ /* back up zoom */
zoom = zathura_document_get_scale(zathura->document); zathura->shortcut.toggle_presentation_mode.zoom = zathura_document_get_scale(zathura->document);
/* adjust window */ /* adjust window */
girara_argument_t argument = { ZATHURA_ADJUST_BESTFIT, NULL }; girara_argument_t argument = { ZATHURA_ADJUST_BESTFIT, NULL };

View file

@ -2,11 +2,10 @@
#include <glib.h> #include <glib.h>
#include <girara/utils.h> #include <girara/utils.h>
#include <girara/settings.h>
#ifdef WITH_SYSTEM_SYNCTEX #ifdef WITH_SYNCTEX
#include <synctex/synctex_parser.h> #include <synctex/synctex_parser.h>
#else
#include "synctex/synctex_parser.h"
#endif #endif
#include "synctex.h" #include "synctex.h"
@ -14,7 +13,9 @@
#include "page.h" #include "page.h"
#include "document.h" #include "document.h"
#include "utils.h" #include "utils.h"
#include "adjustment.h"
#ifdef WITH_SYNCTEX
bool bool
synctex_get_input_line_column(const char* filename, unsigned int page, int x, int y, synctex_get_input_line_column(const char* filename, unsigned int page, int x, int y,
char** input_file, unsigned int* line, unsigned int* column) char** input_file, unsigned int* line, unsigned int* column)
@ -191,4 +192,182 @@ synctex_rectangles_from_position(const char* filename, const char* input_file,
return hitlist; return hitlist;
} }
#else
bool
synctex_get_input_line_column(const char* UNUSED(filename),
unsigned int UNUSED(page), int UNUSED(x),
int UNUSED(y), char** UNUSED(input_file),
unsigned int* UNUSED(line),
unsigned int* UNUSED(column))
{
return false;
}
void
synctex_edit(const char* UNUSED(editor), zathura_page_t* UNUSED(page),
int UNUSED(x), int UNUSED(y))
{}
girara_list_t*
synctex_rectangles_from_position(const char* UNUSED(filename),
const char* UNUSED(input_file),
int UNUSED(line), int UNUSED(column),
unsigned int* UNUSED(page),
girara_list_t** UNUSED(secondary_rects))
{
return NULL;
}
#endif
bool
synctex_parse_input(const char* synctex, char** input_file, int* line,
int* column)
{
if (synctex == NULL || input_file == NULL || line == NULL || column == NULL) {
return false;
}
char** split_fwd = g_strsplit(synctex, ":", 0);
if (split_fwd == NULL || split_fwd[0] == NULL || split_fwd[1] == NULL ||
split_fwd[2] == NULL || split_fwd[3] != NULL) {
g_strfreev(split_fwd);
return false;
}
*line = MIN(INT_MAX, g_ascii_strtoll(split_fwd[0], NULL, 10));
*column = MIN(INT_MAX, g_ascii_strtoll(split_fwd[1], NULL, 10));
/* SyncTeX starts indexing at 1, but we use 0 */
if (*line > 0) {
--*line;
}
if (*column > 0) {
--*column;
}
*input_file = g_strdup(split_fwd[2]);
g_strfreev(split_fwd);
return true;
}
void
synctex_highlight_rects(zathura_t* zathura, unsigned int page,
girara_list_t** rectangles)
{
const unsigned int number_of_pages = zathura_document_get_number_of_pages(zathura->document);
for (unsigned int p = 0; p != number_of_pages; ++p) {
GObject* widget = G_OBJECT(zathura->pages[p]);
g_object_set(widget, "draw-links", FALSE, "search-results", rectangles[p],
NULL);
if (p == page) {
g_object_set(widget, "search-current", 0, NULL);
}
}
document_draw_search_results(zathura, true);
girara_list_t* rect_list = rectangles[page];
if (rect_list == NULL || girara_list_size(rect_list) == 0) {
girara_debug("No rectangles for the given page. Jumping to page %u.", page);
page_set(zathura, page);
return;
}
bool search_hadjust = true;
girara_setting_get(zathura->ui.session, "search-hadjust", &search_hadjust);
/* compute the position of the center of the page */
double pos_x = 0;
double pos_y = 0;
page_number_to_position(zathura->document, page, 0.5, 0.5, &pos_x, &pos_y);
/* correction to center the current result */
/* NOTE: rectangle is in viewport units, already scaled and rotated */
unsigned int cell_height = 0;
unsigned int cell_width = 0;
zathura_document_get_cell_size(zathura->document, &cell_height, &cell_width);
unsigned int doc_height = 0;
unsigned int doc_width = 0;
zathura_document_get_document_size(zathura->document, &doc_height, &doc_width);
/* Need to adjust rectangle to page scale and orientation */
zathura_page_t* doc_page = zathura_document_get_page(zathura->document, page);
zathura_rectangle_t* rect = girara_list_nth(rect_list, 0);
if (rect == NULL) {
girara_debug("List of rectangles is broken. Jumping to page %u.", page);
page_set(zathura, page);
return;
}
zathura_rectangle_t rectangle = recalc_rectangle(doc_page, *rect);
/* compute the center of the rectangle, which will be aligned to the center
of the viewport */
double center_x = (rectangle.x1 + rectangle.x2) / 2;
double center_y = (rectangle.y1 + rectangle.y2) / 2;
pos_y += (center_y - (double)cell_height/2) / (double)doc_height;
if (search_hadjust == true) {
pos_x += (center_x - (double)cell_width/2) / (double)doc_width;
}
/* move to position */
girara_debug("Jumping to page %u position (%f, %f).", page, pos_x, pos_y);
zathura_jumplist_add(zathura);
position_set(zathura, pos_x, pos_y);
zathura_jumplist_add(zathura);
}
bool
synctex_view(zathura_t* zathura, const char* input_file,
unsigned int line, unsigned int column)
{
if (zathura == NULL || input_file == NULL) {
return false;
}
const unsigned int number_of_pages = zathura_document_get_number_of_pages(zathura->document);
unsigned int page = 0;
girara_list_t* secondary_rects = NULL;
girara_list_t* rectangles = synctex_rectangles_from_position(
zathura_document_get_path(zathura->document), input_file, line,
column, &page, &secondary_rects);
if (rectangles == NULL) {
return false;
}
girara_list_t** all_rectangles = g_try_malloc0(number_of_pages * sizeof(girara_list_t*));
if (all_rectangles == NULL) {
girara_list_free(rectangles);
return false;
}
for (unsigned int p = 0; p != number_of_pages; ++p) {
if (p == page) {
all_rectangles[p] = rectangles;
} else {
all_rectangles[p] = girara_list_new2(g_free);
}
}
if (secondary_rects != NULL) {
GIRARA_LIST_FOREACH(secondary_rects, synctex_page_rect_t*, iter, 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);
girara_list_free(secondary_rects);
g_free(all_rectangles);
return true;
}

View file

@ -15,8 +15,17 @@ bool synctex_get_input_line_column(const char* filename, unsigned int page,
void synctex_edit(const char* editor, zathura_page_t* page, int x, int y); void synctex_edit(const char* editor, zathura_page_t* page, int x, int y);
bool synctex_parse_input(const char* synctex, char** input_file, int* line,
int* column);
girara_list_t* synctex_rectangles_from_position(const char* filename, girara_list_t* synctex_rectangles_from_position(const char* filename,
const char* input_file, int line, int column, unsigned int* page, const char* input_file, int line, int column, unsigned int* page,
girara_list_t** secondary_rects); girara_list_t** secondary_rects);
void synctex_highlight_rects(zathura_t* zathura, unsigned int page,
girara_list_t** rectangles);
bool synctex_view(zathura_t* zathura, const char* input_file,
unsigned int line, unsigned int column);
#endif #endif

View file

@ -1,27 +0,0 @@
Copyright (c) 2008, 2009, 2010, 2011 jerome DOT laurens AT u-bourgogne DOT fr
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE
Except as contained in this notice, the name of the copyright holder
shall not be used in advertising or otherwise to promote the sale,
use or other dealings in this Software without prior written
authorization from the copyright holder.

View file

@ -1,7 +0,0 @@
FILES=synctex_parser.c synctex_parser.h synctex_parser_utils.c synctex_parser_utils.h synctex_parser_version.txt
.PHONY: update
update:
set -e; for FILE in $(FILES) ; do \
wget -O "$$FILE" "http://www.tug.org/svn/texlive/trunk/Build/source/texk/web2c/synctexdir/$$FILE?view=co" ; \
done

File diff suppressed because it is too large Load diff

View file

@ -1,360 +0,0 @@
/*
Copyright (c) 2008, 2009, 2010 , 2011 jerome DOT laurens AT u-bourgogne DOT fr
This file is part of the SyncTeX package.
Latest Revision: Tue Jun 14 08:23:30 UTC 2011
Version: 1.17
See synctex_parser_readme.txt for more details
License:
--------
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE
Except as contained in this notice, the name of the copyright holder
shall not be used in advertising or otherwise to promote the sale,
use or other dealings in this Software without prior written
authorization from the copyright holder.
Acknowledgments:
----------------
The author received useful remarks from the pdfTeX developers, especially Hahn The Thanh,
and significant help from XeTeX developer Jonathan Kew
Nota Bene:
----------
If you include or use a significant part of the synctex package into a software,
I would appreciate to be listed as contributor and see "SyncTeX" highlighted.
Version 1
Thu Jun 19 09:39:21 UTC 2008
*/
#ifndef __SYNCTEX_PARSER__
# define __SYNCTEX_PARSER__
#ifdef __cplusplus
extern "C" {
#endif
/* synctex_node_t is the type for all synctex nodes.
* The synctex file is parsed into a tree of nodes, either sheet, boxes, math nodes... */
typedef struct _synctex_node * synctex_node_t;
/* The main synctex object is a scanner
* Its implementation is considered private.
* The basic workflow is
* - create a "synctex scanner" with the contents of a file
* - perform actions on that scanner like display or edit queries
* - free the scanner when the work is done
*/
typedef struct __synctex_scanner_t _synctex_scanner_t;
typedef _synctex_scanner_t * synctex_scanner_t;
/* This is the designated method to create a new synctex scanner object.
* output is the pdf/dvi/xdv file associated to the synctex file.
* If necessary, it can be the tex file that originated the synctex file
* but this might cause problems if the \jobname has a custom value.
* Despite this method can accept a relative path in practice,
* you should only pass a full path name.
* The path should be encoded by the underlying file system,
* assuming that it is based on 8 bits characters, including UTF8,
* not 16 bits nor 32 bits.
* The last file extension is removed and replaced by the proper extension.
* Then the private method _synctex_scanner_new_with_contents_of_file is called.
* NULL is returned in case of an error or non existent file.
* Once you have a scanner, use the synctex_display_query and synctex_edit_query below.
* The new "build_directory" argument is available since version 1.5.
* It is the directory where all the auxiliary stuff is created.
* Sometimes, the synctex output file and the pdf, dvi or xdv files are not created in the same directory.
* This is the case in MikTeX (I will include this into TeX Live).
* This directory path can be nil, it will be ignored then.
* It can be either absolute or relative to the directory of the output pdf (dvi or xdv) file.
* If no synctex file is found in the same directory as the output file, then we try to find one in the build directory.
* Please note that this new "build_directory" is provided as a convenient argument but should not be used.
* In fact, this is implempented as a work around of a bug in MikTeX where the synctex file does not follow the pdf file.
* The new "parse" argument is available since version 1.5. In general, use 1.
* Use 0 only if you do not want to parse the content but just check the existence.
*/
synctex_scanner_t synctex_scanner_new_with_output_file(const char * output, const char * build_directory, int parse);
/* This is the designated method to delete a synctex scanner object.
* Frees all the memory, you must call it when you are finished with the scanner.
*/
void synctex_scanner_free(synctex_scanner_t scanner);
/* Send this message to force the scanner to parse the contents of the synctex output file.
* Nothing is performed if the file was already parsed.
* In each query below, this message is sent, but if you need to access information more directly,
* you must be sure that the parsing did occur.
* Usage:
* if((my_scanner = synctex_scanner_parse(my_scanner))) {
* continue with my_scanner...
* } else {
* there was a problem
* }
*/
synctex_scanner_t synctex_scanner_parse(synctex_scanner_t scanner);
/* The main entry points.
* Given the file name, a line and a column number, synctex_display_query returns the number of nodes
* satisfying the contrain. Use code like
*
* if(synctex_display_query(scanner,name,line,column)>0) {
* synctex_node_t node;
* while((node = synctex_next_result(scanner))) {
* // do something with node
* ...
* }
* }
*
* For example, one can
* - highlight each resulting node in the output, using synctex_node_h and synctex_node_v
* - highlight all the rectangles enclosing those nodes, using synctex_box_... functions
* - highlight just the character using that information
*
* Given the page and the position in the page, synctex_edit_query returns the number of nodes
* satisfying the contrain. Use code like
*
* if(synctex_edit_query(scanner,page,h,v)>0) {
* synctex_node_t node;
* while(node = synctex_next_result(scanner)) {
* // do something with node
* ...
* }
* }
*
* For example, one can
* - highlight each resulting line in the input,
* - highlight just the character using that information
*
* page is 1 based
* h and v are coordinates in 72 dpi unit, relative to the top left corner of the page.
* If you make a new query, the result of the previous one is discarded.
* If one of this function returns a non positive integer,
* it means that an error occurred.
*
* Both methods are conservative, in the sense that matching is weak.
* If the exact column number is not found, there will be an answer with the whole line.
*
* Sumatra-PDF, Skim, iTeXMac2 and Texworks are examples of open source software that use this library.
* You can browse their code for a concrete implementation.
*/
int synctex_display_query(synctex_scanner_t scanner,const char * name,int line,int column);
int synctex_edit_query(synctex_scanner_t scanner,int page,float h,float v);
synctex_node_t synctex_next_result(synctex_scanner_t scanner);
/* Display all the information contained in the scanner object.
* If the records are too numerous, only the first ones are displayed.
* This is mainly for informatinal purpose to help developers.
*/
void synctex_scanner_display(synctex_scanner_t scanner);
/* The x and y offset of the origin in TeX coordinates. The magnification
These are used by pdf viewers that want to display the real box size.
For example, getting the horizontal coordinates of a node would require
synctex_node_box_h(node)*synctex_scanner_magnification(scanner)+synctex_scanner_x_offset(scanner)
Getting its TeX width would simply require
synctex_node_box_width(node)*synctex_scanner_magnification(scanner)
but direct methods are available for that below.
*/
int synctex_scanner_x_offset(synctex_scanner_t scanner);
int synctex_scanner_y_offset(synctex_scanner_t scanner);
float synctex_scanner_magnification(synctex_scanner_t scanner);
/* Managing the input file names.
* Given a tag, synctex_scanner_get_name will return the corresponding file name.
* Conversely, given a file name, synctex_scanner_get_tag will retur, the corresponding tag.
* The file name must be the very same as understood by TeX.
* For example, if you \input myDir/foo.tex, the file name is myDir/foo.tex.
* No automatic path expansion is performed.
* Finally, synctex_scanner_input is the first input node of the scanner.
* To browse all the input node, use a loop like
*
* if((input_node = synctex_scanner_input(scanner))){
* do {
* blah
* } while((input_node=synctex_node_sibling(input_node)));
* }
*
* The output is the name that was used to create the scanner.
* The synctex is the real name of the synctex file,
* it was obtained from output by setting the proper file extension.
*/
const char * synctex_scanner_get_name(synctex_scanner_t scanner,int tag);
int synctex_scanner_get_tag(synctex_scanner_t scanner,const char * name);
synctex_node_t synctex_scanner_input(synctex_scanner_t scanner);
const char * synctex_scanner_get_output(synctex_scanner_t scanner);
const char * synctex_scanner_get_synctex(synctex_scanner_t scanner);
/* Browsing the nodes
* parent, child and sibling are standard names for tree nodes.
* The parent is one level higher, the child is one level deeper,
* and the sibling is at the same level.
* The sheet of a node is the first ancestor, it is of type sheet.
* A node and its sibling have the same parent.
* A node is the parent of its child.
* A node is either the child of its parent,
* or belongs to the sibling chain of its parent's child.
* The next node is either the child, the sibling or the parent's sibling,
* unless the parent is a sheet.
* This allows to navigate through all the nodes of a given sheet node:
*
* synctex_node_t node = sheet;
* while((node = synctex_node_next(node))) {
* // do something with node
* }
*
* With synctex_sheet_content, you can retrieve the sheet node given the page.
* The page is 1 based, according to TeX standards.
* Conversely synctex_node_sheet allows to retrieve the sheet containing a given node.
*/
synctex_node_t synctex_node_parent(synctex_node_t node);
synctex_node_t synctex_node_sheet(synctex_node_t node);
synctex_node_t synctex_node_child(synctex_node_t node);
synctex_node_t synctex_node_sibling(synctex_node_t node);
synctex_node_t synctex_node_next(synctex_node_t node);
synctex_node_t synctex_sheet(synctex_scanner_t scanner,int page);
synctex_node_t synctex_sheet_content(synctex_scanner_t scanner,int page);
/* These are the types of the synctex nodes */
typedef enum {
synctex_node_type_error = 0,
synctex_node_type_input,
synctex_node_type_sheet,
synctex_node_type_vbox,
synctex_node_type_void_vbox,
synctex_node_type_hbox,
synctex_node_type_void_hbox,
synctex_node_type_kern,
synctex_node_type_glue,
synctex_node_type_math,
synctex_node_type_boundary,
synctex_node_number_of_types
} synctex_node_type_t;
/* synctex_node_type gives the type of a given node,
* synctex_node_isa gives the same information as a human readable text. */
synctex_node_type_t synctex_node_type(synctex_node_t node);
const char * synctex_node_isa(synctex_node_t node);
/* This is primarily used for debugging purpose.
* The second one logs information for the node and recursively displays information for its next node */
void synctex_node_log(synctex_node_t node);
void synctex_node_display(synctex_node_t node);
/* Given a node, access to the location in the synctex file where it is defined.
*/
typedef unsigned int synctex_charindex_t;
synctex_charindex_t synctex_node_charindex(synctex_node_t node);
/* Given a node, access to its tag, line and column.
* The line and column numbers are 1 based.
* The latter is not yet fully supported in TeX, the default implementation returns 0 which means the whole line.
* When the tag is known, the scanner of the node will give the corresponding file name.
* When the tag is known, the scanner of the node will give the name.
*/
int synctex_node_tag(synctex_node_t node);
int synctex_node_line(synctex_node_t node);
int synctex_node_column(synctex_node_t node);
/* In order to enhance forward synchronization,
* non void horizontal boxes have supplemental cached information.
* The mean line is the average of the line numbers of the included nodes.
* The child count is the number of chidren.
*/
int synctex_node_mean_line(synctex_node_t node);
int synctex_node_child_count(synctex_node_t node);
/* This is the page where the node appears.
* This is a 1 based index as given by TeX.
*/
int synctex_node_page(synctex_node_t node);
/* For quite all nodes, horizontal, vertical coordinates, and width.
* These are expressed in TeX small points coordinates, with origin at the top left corner.
*/
int synctex_node_h(synctex_node_t node);
int synctex_node_v(synctex_node_t node);
int synctex_node_width(synctex_node_t node);
/* For all nodes, dimensions of the enclosing box.
* These are expressed in TeX small points coordinates, with origin at the top left corner.
* A box is enclosing itself.
*/
int synctex_node_box_h(synctex_node_t node);
int synctex_node_box_v(synctex_node_t node);
int synctex_node_box_width(synctex_node_t node);
int synctex_node_box_height(synctex_node_t node);
int synctex_node_box_depth(synctex_node_t node);
/* For quite all nodes, horizontal, vertical coordinates, and width.
* The visible dimensions are bigger than real ones to compensate 0 width boxes
* that do contain nodes.
* These are expressed in page coordinates, with origin at the top left corner.
* A box is enclosing itself.
*/
float synctex_node_visible_h(synctex_node_t node);
float synctex_node_visible_v(synctex_node_t node);
float synctex_node_visible_width(synctex_node_t node);
/* For all nodes, visible dimensions of the enclosing box.
* A box is enclosing itself.
* The visible dimensions are bigger than real ones to compensate 0 width boxes
* that do contain nodes.
*/
float synctex_node_box_visible_h(synctex_node_t node);
float synctex_node_box_visible_v(synctex_node_t node);
float synctex_node_box_visible_width(synctex_node_t node);
float synctex_node_box_visible_height(synctex_node_t node);
float synctex_node_box_visible_depth(synctex_node_t node);
/* The main synctex updater object.
* This object is used to append information to the synctex file.
* Its implementation is considered private.
* It is used by the synctex command line tool to take into account modifications
* that could occur while postprocessing files by dvipdf like filters.
*/
typedef struct __synctex_updater_t _synctex_updater_t;
typedef _synctex_updater_t * synctex_updater_t;
/* Designated initializer.
* Once you are done with your whole job,
* free the updater */
synctex_updater_t synctex_updater_new_with_output_file(const char * output, const char * directory);
/* Use the next functions to append records to the synctex file,
* no consistency tests made on the arguments */
void synctex_updater_append_magnification(synctex_updater_t updater, char * magnification);
void synctex_updater_append_x_offset(synctex_updater_t updater, char * x_offset);
void synctex_updater_append_y_offset(synctex_updater_t updater, char * y_offset);
/* You MUST free the updater, once everything is properly appended */
void synctex_updater_free(synctex_updater_t updater);
#ifdef __cplusplus
}
#endif
#endif

View file

@ -1,502 +0,0 @@
/*
Copyright (c) 2008, 2009, 2010 , 2011 jerome DOT laurens AT u-bourgogne DOT fr
This file is part of the SyncTeX package.
Latest Revision: Tue Jun 14 08:23:30 UTC 2011
Version: 1.17
See synctex_parser_readme.txt for more details
License:
--------
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE
Except as contained in this notice, the name of the copyright holder
shall not be used in advertising or otherwise to promote the sale,
use or other dealings in this Software without prior written
authorization from the copyright holder.
*/
/* In this file, we find all the functions that may depend on the operating system. */
#include <synctex_parser_utils.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include <limits.h>
#include <ctype.h>
#include <string.h>
#include <sys/stat.h>
#include <time.h>
#if defined(_WIN32) || defined(__WIN32__) || defined(__TOS_WIN__) || defined(__WINDOWS__)
#define SYNCTEX_WINDOWS 1
#endif
#if defined(__OS2__)
#define SYNCTEX_OS2 1
#endif
#ifdef _WIN32_WINNT_WINXP
#define SYNCTEX_RECENT_WINDOWS 1
#endif
#ifdef SYNCTEX_WINDOWS
#include <windows.h>
#endif
void *_synctex_malloc(size_t size) {
void * ptr = malloc(size);
if(ptr) {
/* There used to be a switch to use bzero because it is more secure. JL */
memset(ptr,0, size);
}
return (void *)ptr;
}
int _synctex_error(const char * reason,...) {
va_list arg;
int result;
va_start (arg, reason);
# ifdef SYNCTEX_RECENT_WINDOWS
{/* This code is contributed by William Blum.
As it does not work on some older computers,
the _WIN32 conditional here is replaced with a SYNCTEX_RECENT_WINDOWS one.
According to http://msdn.microsoft.com/en-us/library/aa363362(VS.85).aspx
Minimum supported client Windows 2000 Professional
Minimum supported server Windows 2000 Server
People running Windows 2K standard edition will not have OutputDebugStringA.
JL.*/
char *buff;
size_t len;
OutputDebugStringA("SyncTeX ERROR: ");
len = _vscprintf(reason, arg) + 1;
buff = (char*)malloc( len * sizeof(char) );
result = vsprintf(buff, reason, arg) +strlen("SyncTeX ERROR: ");
OutputDebugStringA(buff);
OutputDebugStringA("\n");
free(buff);
}
# else
result = fprintf(stderr,"SyncTeX ERROR: ");
result += vfprintf(stderr, reason, arg);
result += fprintf(stderr,"\n");
# endif
va_end (arg);
return result;
}
/* strip the last extension of the given string, this string is modified! */
void _synctex_strip_last_path_extension(char * string) {
if(NULL != string){
char * last_component = NULL;
char * last_extension = NULL;
char * next = NULL;
/* first we find the last path component */
if(NULL == (last_component = strstr(string,"/"))){
last_component = string;
} else {
++last_component;
while((next = strstr(last_component,"/"))){
last_component = next+1;
}
}
# if defined(SYNCTEX_WINDOWS) || defined(SYNCTEX_OS2)
/* On Windows, the '\' is also a path separator. */
while((next = strstr(last_component,"\\"))){
last_component = next+1;
}
# endif
/* then we find the last path extension */
if((last_extension = strstr(last_component,"."))){
++last_extension;
while((next = strstr(last_extension,"."))){
last_extension = next+1;
}
--last_extension;/* back to the "." */
if(last_extension>last_component){/* filter out paths like ....my/dir/.hidden"*/
last_extension[0] = '\0';
}
}
}
}
synctex_bool_t synctex_ignore_leading_dot_slash_in_path(const char ** name_ref)
{
if (SYNCTEX_IS_DOT((*name_ref)[0]) && SYNCTEX_IS_PATH_SEPARATOR((*name_ref)[1])) {
do {
(*name_ref) += 2;
while (SYNCTEX_IS_PATH_SEPARATOR((*name_ref)[1])) {
++(*name_ref);
}
} while(SYNCTEX_IS_DOT((*name_ref)[0]) && SYNCTEX_IS_PATH_SEPARATOR((*name_ref)[1]));
return synctex_YES;
}
return synctex_NO;
}
/* The base name is necessary to deal with the 2011 file naming convention...
* path is a '\0' terminated string
* The return value is the trailing part of the argument,
* just following the first occurrence of the regexp pattern "[^|/|\].[\|/]+".*/
const char * _synctex_base_name(const char *path) {
const char * ptr = path;
do {
if (synctex_ignore_leading_dot_slash_in_path(&ptr)) {
return ptr;
}
do {
if (!*(++ptr)) {
return path;
}
} while (!SYNCTEX_IS_PATH_SEPARATOR(*ptr));
} while (*(++ptr));
return path;
}
/* Compare two file names, windows is sometimes case insensitive... */
synctex_bool_t _synctex_is_equivalent_file_name(const char *lhs, const char *rhs) {
/* Remove the leading regex '(\./+)*' in both rhs and lhs */
synctex_ignore_leading_dot_slash_in_path(&lhs);
synctex_ignore_leading_dot_slash_in_path(&rhs);
next_character:
if (SYNCTEX_IS_PATH_SEPARATOR(*lhs)) {/* lhs points to a path separator */
if (!SYNCTEX_IS_PATH_SEPARATOR(*rhs)) {/* but not rhs */
return synctex_NO;
}
++lhs;
++rhs;
synctex_ignore_leading_dot_slash_in_path(&lhs);
synctex_ignore_leading_dot_slash_in_path(&rhs);
goto next_character;
} else if (SYNCTEX_IS_PATH_SEPARATOR(*rhs)) {/* rhs points to a path separator but not lhs */
return synctex_NO;
} else if (SYNCTEX_ARE_PATH_CHARACTERS_EQUAL(*lhs,*rhs)){/* uppercase do not match */
return synctex_NO;
} else if (!*lhs) {/* lhs is at the end of the string */
return *rhs ? synctex_NO : synctex_YES;
} else if(!*rhs) {/* rhs is at the end of the string but not lhs */
return synctex_NO;
}
++lhs;
++rhs;
goto next_character;
}
synctex_bool_t _synctex_path_is_absolute(const char * name) {
if(!strlen(name)) {
return synctex_NO;
}
# if defined(SYNCTEX_WINDOWS) || defined(SYNCTEX_OS2)
if(strlen(name)>2) {
return (name[1]==':' && SYNCTEX_IS_PATH_SEPARATOR(name[2]))?synctex_YES:synctex_NO;
}
return synctex_NO;
# else
return SYNCTEX_IS_PATH_SEPARATOR(name[0])?synctex_YES:synctex_NO;
# endif
}
/* We do not take care of UTF-8 */
const char * _synctex_last_path_component(const char * name) {
const char * c = name+strlen(name);
if(c>name) {
if(!SYNCTEX_IS_PATH_SEPARATOR(*c)) {
do {
--c;
if(SYNCTEX_IS_PATH_SEPARATOR(*c)) {
return c+1;
}
} while(c>name);
}
return c;/* the last path component is the void string*/
}
return c;
}
int _synctex_copy_with_quoting_last_path_component(const char * src, char ** dest_ref, size_t size) {
const char * lpc;
if(src && dest_ref) {
# define dest (*dest_ref)
dest = NULL; /* Default behavior: no change and sucess. */
lpc = _synctex_last_path_component(src);
if(strlen(lpc)) {
if(strchr(lpc,' ') && lpc[0]!='"' && lpc[strlen(lpc)-1]!='"') {
/* We are in the situation where adding the quotes is allowed. */
/* Time to add the quotes. */
/* Consistency test: we must have dest+size>dest+strlen(dest)+2
* or equivalently: strlen(dest)+2<size (see below) */
if(strlen(src)<size) {
if((dest = (char *)malloc(size+2))) {
char * dpc = dest + (lpc-src); /* dpc is the last path component of dest. */
if(dest != strncpy(dest,src,size)) {
_synctex_error("! _synctex_copy_with_quoting_last_path_component: Copy problem");
free(dest);
dest = NULL;/* Don't forget to reinitialize. */
return -2;
}
memmove(dpc+1,dpc,strlen(dpc)+1); /* Also move the null terminating character. */
dpc[0]='"';
dpc[strlen(dpc)+1]='\0';/* Consistency test */
dpc[strlen(dpc)]='"';
return 0; /* Success. */
}
return -1; /* Memory allocation error. */
}
_synctex_error("! _synctex_copy_with_quoting_last_path_component: Internal inconsistency");
return -3;
}
return 0; /* Success. */
}
return 0; /* No last path component. */
# undef dest
}
return 1; /* Bad parameter, this value is subject to changes. */
}
/* The client is responsible of the management of the returned string, if any. */
char * _synctex_merge_strings(const char * first,...);
char * _synctex_merge_strings(const char * first,...) {
va_list arg;
size_t size = 0;
const char * temp;
/* First retrieve the size necessary to store the merged string */
va_start (arg, first);
temp = first;
do {
size_t len = strlen(temp);
if(UINT_MAX-len<size) {
_synctex_error("! _synctex_merge_strings: Capacity exceeded.");
return NULL;
}
size+=len;
} while( (temp = va_arg(arg, const char *)) != NULL);
va_end(arg);
if(size>0) {
char * result = NULL;
++size;
/* Create the memory storage */
if(NULL!=(result = (char *)malloc(size))) {
char * dest = result;
va_start (arg, first);
temp = first;
do {
if((size = strlen(temp))>0) {
/* There is something to merge */
if(dest != strncpy(dest,temp,size)) {
_synctex_error("! _synctex_merge_strings: Copy problem");
free(result);
result = NULL;
return NULL;
}
dest += size;
}
} while( (temp = va_arg(arg, const char *)) != NULL);
va_end(arg);
dest[0]='\0';/* Terminate the merged string */
return result;
}
_synctex_error("! _synctex_merge_strings: Memory problem");
return NULL;
}
return NULL;
}
/* The purpose of _synctex_get_name is to find the name of the synctex file.
* There is a list of possible filenames from which we return the most recent one and try to remove all the others.
* With two runs of pdftex or xetex we are sure the the synctex file is really the most appropriate.
*/
int _synctex_get_name(const char * output, const char * build_directory, char ** synctex_name_ref, synctex_io_mode_t * io_mode_ref)
{
if(output && synctex_name_ref && io_mode_ref) {
/* If output is already absolute, we just have to manage the quotes and the compress mode */
size_t size = 0;
char * synctex_name = NULL;
synctex_io_mode_t io_mode = *io_mode_ref;
const char * base_name = _synctex_last_path_component(output); /* do not free, output is the owner. base name of output*/
/* Do we have a real base name ? */
if(strlen(base_name)>0) {
/* Yes, we do. */
const char * temp = NULL;
char * core_name = NULL; /* base name of output without path extension. */
char * dir_name = NULL; /* dir name of output */
char * quoted_core_name = NULL;
char * basic_name = NULL;
char * gz_name = NULL;
char * quoted_name = NULL;
char * quoted_gz_name = NULL;
char * build_name = NULL;
char * build_gz_name = NULL;
char * build_quoted_name = NULL;
char * build_quoted_gz_name = NULL;
struct stat buf;
time_t the_time = 0;
/* Create core_name: let temp point to the dot before the path extension of base_name;
* We start form the \0 terminating character and scan the string upward until we find a dot.
* The leading dot is not accepted. */
if((temp = strrchr(base_name,'.')) && (size = temp - base_name)>0) {
/* There is a dot and it is not at the leading position */
if(NULL == (core_name = (char *)malloc(size+1))) {
_synctex_error("! _synctex_get_name: Memory problem 1");
return -1;
}
if(core_name != strncpy(core_name,base_name,size)) {
_synctex_error("! _synctex_get_name: Copy problem 1");
free(core_name);
dir_name = NULL;
return -2;
}
core_name[size] = '\0';
} else {
/* There is no path extension,
* Just make a copy of base_name */
core_name = _synctex_merge_strings(base_name);
}
/* core_name is properly set up, owned by "self". */
/* creating dir_name. */
size = strlen(output)-strlen(base_name);
if(size>0) {
/* output contains more than one path component */
if(NULL == (dir_name = (char *)malloc(size+1))) {
_synctex_error("! _synctex_get_name: Memory problem");
free(core_name);
dir_name = NULL;
return -1;
}
if(dir_name != strncpy(dir_name,output,size)) {
_synctex_error("! _synctex_get_name: Copy problem");
free(dir_name);
dir_name = NULL;
free(core_name);
dir_name = NULL;
return -2;
}
dir_name[size] = '\0';
}
/* dir_name is properly set up. It ends with a path separator, if non void. */
/* creating quoted_core_name. */
if(strchr(core_name,' ')) {
quoted_core_name = _synctex_merge_strings("\"",core_name,"\"");
}
/* quoted_core_name is properly set up. */
if(dir_name &&strlen(dir_name)>0) {
basic_name = _synctex_merge_strings(dir_name,core_name,synctex_suffix,NULL);
if(quoted_core_name && strlen(quoted_core_name)>0) {
quoted_name = _synctex_merge_strings(dir_name,quoted_core_name,synctex_suffix,NULL);
}
} else {
basic_name = _synctex_merge_strings(core_name,synctex_suffix,NULL);
if(quoted_core_name && strlen(quoted_core_name)>0) {
quoted_name = _synctex_merge_strings(quoted_core_name,synctex_suffix,NULL);
}
}
if(!_synctex_path_is_absolute(output) && build_directory && (size = strlen(build_directory))) {
temp = build_directory + size - 1;
if(_synctex_path_is_absolute(temp)) {
build_name = _synctex_merge_strings(build_directory,basic_name,NULL);
if(quoted_core_name && strlen(quoted_core_name)>0) {
build_quoted_name = _synctex_merge_strings(build_directory,quoted_name,NULL);
}
} else {
build_name = _synctex_merge_strings(build_directory,"/",basic_name,NULL);
if(quoted_core_name && strlen(quoted_core_name)>0) {
build_quoted_name = _synctex_merge_strings(build_directory,"/",quoted_name,NULL);
}
}
}
if(basic_name) {
gz_name = _synctex_merge_strings(basic_name,synctex_suffix_gz,NULL);
}
if(quoted_name) {
quoted_gz_name = _synctex_merge_strings(quoted_name,synctex_suffix_gz,NULL);
}
if(build_name) {
build_gz_name = _synctex_merge_strings(build_name,synctex_suffix_gz,NULL);
}
if(build_quoted_name) {
build_quoted_gz_name = _synctex_merge_strings(build_quoted_name,synctex_suffix_gz,NULL);
}
/* All the others names are properly set up... */
/* retain the most recently modified file */
# define TEST(FILENAME,COMPRESS_MODE) \
if(FILENAME) {\
if (stat(FILENAME, &buf)) { \
free(FILENAME);\
FILENAME = NULL;\
} else if (buf.st_mtime>the_time) { \
the_time=buf.st_mtime; \
synctex_name = FILENAME; \
if (COMPRESS_MODE) { \
io_mode |= synctex_io_gz_mask; \
} else { \
io_mode &= ~synctex_io_gz_mask; \
} \
} \
}
TEST(basic_name,synctex_DONT_COMPRESS);
TEST(gz_name,synctex_COMPRESS);
TEST(quoted_name,synctex_DONT_COMPRESS);
TEST(quoted_gz_name,synctex_COMPRESS);
TEST(build_name,synctex_DONT_COMPRESS);
TEST(build_gz_name,synctex_COMPRESS);
TEST(build_quoted_name,synctex_DONT_COMPRESS);
TEST(build_quoted_gz_name,synctex_COMPRESS);
# undef TEST
/* Free all the intermediate filenames, except the one that will be used as returned value. */
# define CLEAN_AND_REMOVE(FILENAME) \
if(FILENAME && (FILENAME!=synctex_name)) {\
remove(FILENAME);\
printf("synctex tool info: %s removed\n",FILENAME);\
free(FILENAME);\
FILENAME = NULL;\
}
CLEAN_AND_REMOVE(basic_name);
CLEAN_AND_REMOVE(gz_name);
CLEAN_AND_REMOVE(quoted_name);
CLEAN_AND_REMOVE(quoted_gz_name);
CLEAN_AND_REMOVE(build_name);
CLEAN_AND_REMOVE(build_gz_name);
CLEAN_AND_REMOVE(build_quoted_name);
CLEAN_AND_REMOVE(build_quoted_gz_name);
# undef CLEAN_AND_REMOVE
/* set up the returned values */
* synctex_name_ref = synctex_name;
* io_mode_ref = io_mode;
return 0;
}
return -1;/* bad argument */
}
return -2;
}
const char * _synctex_get_io_mode_name(synctex_io_mode_t io_mode) {
static const char * synctex_io_modes[4] = {"r","rb","a","ab"};
unsigned index = ((io_mode & synctex_io_gz_mask)?1:0) + ((io_mode & synctex_io_append_mask)?2:0);// bug pointed out by Jose Alliste
return synctex_io_modes[index];
}

View file

@ -1,152 +0,0 @@
/*
Copyright (c) 2008, 2009, 2010, 2011 jerome DOT laurens AT u-bourgogne DOT fr
This file is part of the SyncTeX package.
Latest Revision: Tue Jun 14 08:23:30 UTC 2011
Version: 1.17
See synctex_parser_readme.txt for more details
License:
--------
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE
Except as contained in this notice, the name of the copyright holder
shall not be used in advertising or otherwise to promote the sale,
use or other dealings in this Software without prior written
authorization from the copyright holder.
*/
/* The utilities declared here are subject to conditional implementation.
* All the operating system special stuff goes here.
* The problem mainly comes from file name management: path separator, encoding...
*/
# define synctex_bool_t int
# define synctex_YES -1
# define synctex_ADD_QUOTES -1
# define synctex_COMPRESS -1
# define synctex_NO 0
# define synctex_DONT_ADD_QUOTES 0
# define synctex_DONT_COMPRESS 0
#ifndef __SYNCTEX_PARSER_UTILS__
# define __SYNCTEX_PARSER_UTILS__
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
# if defined(_WIN32) || defined(__OS2__)
# define SYNCTEX_CASE_SENSITIVE_PATH 0
# define SYNCTEX_IS_PATH_SEPARATOR(c) ('/' == c || '\\' == c)
# else
# define SYNCTEX_CASE_SENSITIVE_PATH 1
# define SYNCTEX_IS_PATH_SEPARATOR(c) ('/' == c)
# endif
# if defined(_WIN32) || defined(__OS2__)
# define SYNCTEX_IS_DOT(c) ('.' == c)
# else
# define SYNCTEX_IS_DOT(c) ('.' == c)
# endif
# if SYNCTEX_CASE_SENSITIVE_PATH
# define SYNCTEX_ARE_PATH_CHARACTERS_EQUAL(left,right) (left != right)
# else
# define SYNCTEX_ARE_PATH_CHARACTERS_EQUAL(left,right) (toupper(left) != toupper(right))
# endif
/* This custom malloc functions initializes to 0 the newly allocated memory.
* There is no bzero function on windows. */
void *_synctex_malloc(size_t size);
/* This is used to log some informational message to the standard error stream.
* On Windows, the stderr stream is not exposed and another method is used.
* The return value is the number of characters printed. */
int _synctex_error(const char * reason,...);
/* strip the last extension of the given string, this string is modified!
* This function depends on the OS because the path separator may differ.
* This should be discussed more precisely. */
void _synctex_strip_last_path_extension(char * string);
/* Compare two file names, windows is sometimes case insensitive...
* The given strings may differ stricto sensu, but represent the same file name.
* It might not be the real way of doing things.
* The return value is an undefined non 0 value when the two file names are equivalent.
* It is 0 otherwise. */
synctex_bool_t _synctex_is_equivalent_file_name(const char *lhs, const char *rhs);
/* Description forthcoming.*/
synctex_bool_t _synctex_path_is_absolute(const char * name);
/* Description forthcoming...*/
const char * _synctex_last_path_component(const char * name);
/* Description forthcoming...*/
const char * _synctex_base_name(const char *path);
/* If the core of the last path component of src is not already enclosed with double quotes ('"')
* and contains a space character (' '), then a new buffer is created, the src is copied and quotes are added.
* In all other cases, no destination buffer is created and the src is not copied.
* 0 on success, which means no error, something non 0 means error, mainly due to memory allocation failure, or bad parameter.
* This is used to fix a bug in the first version of pdftex with synctex (1.40.9) for which names with spaces
* were not managed in a standard way.
* On success, the caller owns the buffer pointed to by dest_ref (is any) and
* is responsible of freeing the memory when done.
* The size argument is the size of the src buffer. On return the dest_ref points to a buffer sized size+2.*/
int _synctex_copy_with_quoting_last_path_component(const char * src, char ** dest_ref, size_t size);
/* These are the possible extensions of the synctex file */
extern const char * synctex_suffix;
extern const char * synctex_suffix_gz;
typedef unsigned int synctex_io_mode_t;
typedef enum {
synctex_io_append_mask = 1,
synctex_io_gz_mask = synctex_io_append_mask<<1
} synctex_io_mode_masks_t;
typedef enum {
synctex_compress_mode_none = 0,
synctex_compress_mode_gz = 1
} synctex_compress_mode_t;
int _synctex_get_name(const char * output, const char * build_directory, char ** synctex_name_ref, synctex_io_mode_t * io_mode_ref);
/* returns the correct mode required by fopen and gzopen from the given io_mode */
const char * _synctex_get_io_mode_name(synctex_io_mode_t io_mode);
synctex_bool_t synctex_ignore_leading_dot_slash_in_path(const char ** name);
#ifdef __cplusplus
}
#endif
#endif

View file

@ -1 +0,0 @@
1.17

View file

@ -4,9 +4,6 @@
#include <stdarg.h> #include <stdarg.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <math.h> #include <math.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <girara/datastructures.h> #include <girara/datastructures.h>
@ -195,9 +192,7 @@ zathura_get_version_string(zathura_t* zathura, bool markup)
GString* string = g_string_new(NULL); GString* string = g_string_new(NULL);
/* zathura version */ /* zathura version */
char* zathura_version = g_strdup_printf("zathura %d.%d.%d", ZATHURA_VERSION_MAJOR, ZATHURA_VERSION_MINOR, ZATHURA_VERSION_REV); g_string_append_printf(string, "zathura %d.%d.%d", ZATHURA_VERSION_MAJOR, ZATHURA_VERSION_MINOR, ZATHURA_VERSION_REV);
g_string_append(string, zathura_version);
g_free(zathura_version);
const char* format = (markup == true) ? "\n<i>(plugin)</i> %s (%d.%d.%d) <i>(%s)</i>" : "\n(plugin) %s (%d.%d.%d) (%s)"; const char* format = (markup == true) ? "\n<i>(plugin)</i> %s (%d.%d.%d) <i>(%s)</i>" : "\n(plugin) %s (%d.%d.%d) (%s)";
@ -207,15 +202,12 @@ zathura_get_version_string(zathura_t* zathura, bool markup)
GIRARA_LIST_FOREACH(plugins, zathura_plugin_t*, iter, plugin) { GIRARA_LIST_FOREACH(plugins, zathura_plugin_t*, iter, plugin) {
char* name = zathura_plugin_get_name(plugin); char* name = zathura_plugin_get_name(plugin);
zathura_plugin_version_t version = zathura_plugin_get_version(plugin); zathura_plugin_version_t version = zathura_plugin_get_version(plugin);
char* text = g_strdup_printf(format, g_string_append_printf(string, format,
(name == NULL) ? "-" : name, (name == NULL) ? "-" : name,
version.major, version.major,
version.minor, version.minor,
version.rev, version.rev,
zathura_plugin_get_path(plugin) zathura_plugin_get_path(plugin));
);
g_string_append(string, text);
g_free(text);
} GIRARA_LIST_FOREACH_END(plugins, zathura_plugin_t*, iter, plugin); } GIRARA_LIST_FOREACH_END(plugins, zathura_plugin_t*, iter, plugin);
} }
@ -225,7 +217,8 @@ zathura_get_version_string(zathura_t* zathura, bool markup)
return version; return version;
} }
GdkAtom* get_selection(zathura_t* zathura) GdkAtom*
get_selection(zathura_t* zathura)
{ {
g_return_val_if_fail(zathura != NULL, NULL); g_return_val_if_fail(zathura != NULL, NULL);
@ -257,3 +250,29 @@ GdkAtom* get_selection(zathura_t* zathura)
return selection; return selection;
} }
unsigned int
find_first_page_column(const char* first_page_column_list,
const unsigned int pages_per_row)
{
/* sanity checks */
unsigned int first_page_column = 1;
g_return_val_if_fail(first_page_column_list != NULL, first_page_column);
g_return_val_if_fail(strcmp(first_page_column_list, ""), first_page_column);
g_return_val_if_fail(pages_per_row > 0, first_page_column);
/* split settings list */
char** settings = g_strsplit(first_page_column_list, ":", pages_per_row+1);
const size_t settings_size = g_strv_length(settings);
/* read setting value corresponding to the specified pages per row */
unsigned int index = pages_per_row - 1;
if (settings_size > index && strcmp(settings[index], "")) {
first_page_column = atoi(settings[index]);
}
/* free buffers */
g_strfreev(settings);
return first_page_column;
}

View file

@ -107,4 +107,17 @@ GdkAtom* get_selection(zathura_t* zathura);
double zathura_correct_scale_value(girara_session_t* session, const double double zathura_correct_scale_value(girara_session_t* session, const double
scale); scale);
/**
* Extracts the column the first page should be rendered in from the specified
* list of settings corresponding to the specified pages per row
*
* @param[in] first_page_column_list The settings list
* @param[in] pages_per_row The current pages per row
*
* @return The column the first page should be rendered in
*/
unsigned int find_first_page_column(const char* first_page_column_list,
const unsigned int pages_per_row);
#endif // UTILS_H #endif // UTILS_H

View file

@ -7,6 +7,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <math.h> #include <math.h>
#include <string.h>
#include <girara/datastructures.h> #include <girara/datastructures.h>
#include <girara/utils.h> #include <girara/utils.h>
@ -41,25 +42,38 @@
#include "adjustment.h" #include "adjustment.h"
#include "dbus-interface.h" #include "dbus-interface.h"
#include "css-definitions.h" #include "css-definitions.h"
#include "synctex.h"
typedef struct zathura_document_info_s { typedef struct zathura_document_info_s {
zathura_t* zathura; zathura_t* zathura;
const char* path; char* path;
const char* password; char* password;
int page_number; int page_number;
const char* mode; char* mode;
char* synctex;
} zathura_document_info_t; } zathura_document_info_t;
static gboolean document_info_open(gpointer data); static gboolean document_info_open(gpointer data);
static void zathura_jumplist_reset_current(zathura_t* zathura);
static void zathura_jumplist_append_jump(zathura_t* zathura);
static void zathura_jumplist_save(zathura_t* zathura);
#ifdef G_OS_UNIX #ifdef G_OS_UNIX
static gboolean zathura_signal_sigterm(gpointer data); static gboolean zathura_signal_sigterm(gpointer data);
#endif #endif
static void
free_document_info(zathura_document_info_t* document_info)
{
if (document_info == NULL) {
return;
}
g_free(document_info->path);
g_free(document_info->password);
g_free(document_info->mode);
g_free(document_info->synctex);
g_free(document_info);
}
/* function implementation */ /* function implementation */
zathura_t* zathura_t*
zathura_create(void) zathura_create(void)
@ -275,6 +289,16 @@ zathura_init(zathura_t* zathura)
girara_template_set_base(csstemplate, css); girara_template_set_base(csstemplate, css);
g_free(css); g_free(css);
/* Shortcut helpers */
zathura->shortcut.mouse.x = 0;
zathura->shortcut.mouse.y = 0;
zathura->shortcut.toggle_page_mode.pages = 2;
zathura->shortcut.toggle_presentation_mode.pages = 1;
zathura->shortcut.toggle_presentation_mode.first_page_column_list = NULL;
zathura->shortcut.toggle_presentation_mode.zoom = 1.0;
/* Start D-Bus service */ /* Start D-Bus service */
bool dbus = true; bool dbus = true;
girara_setting_get(zathura->ui.session, "dbus-service", &dbus); girara_setting_get(zathura->ui.session, "dbus-service", &dbus);
@ -312,6 +336,9 @@ zathura_free(zathura_t* zathura)
girara_session_destroy(zathura->ui.session); girara_session_destroy(zathura->ui.session);
} }
/* shortcut */
g_free(zathura->shortcut.toggle_presentation_mode.first_page_column_list);
/* stdin support */ /* stdin support */
if (zathura->stdin_support.file != NULL) { if (zathura->stdin_support.file != NULL) {
g_unlink(zathura->stdin_support.file); g_unlink(zathura->stdin_support.file);
@ -440,10 +467,8 @@ zathura_set_argv(zathura_t* zathura, char** argv)
} }
static gchar* static gchar*
prepare_document_open_from_stdin(zathura_t* zathura, const char* path) prepare_document_open_from_stdin(const char* path)
{ {
g_return_val_if_fail(zathura, NULL);
int infileno = -1; int infileno = -1;
if (g_strcmp0(path, "-") == 0) { if (g_strcmp0(path, "-") == 0) {
infileno = fileno(stdin); infileno = fileno(stdin);
@ -502,17 +527,52 @@ prepare_document_open_from_stdin(zathura_t* zathura, const char* path)
return file; return file;
} }
static gchar*
prepare_document_open_from_gfile(GFile* source)
{
gchar* file = NULL;
GFileIOStream* iostream = NULL;
GError* error = NULL;
GFile *tmpfile = g_file_new_tmp("zathura.gio.XXXXXX", &iostream, &error);
if (tmpfile == NULL) {
if (error != NULL) {
girara_error("Can not create temporary file: %s", error->message);
g_error_free(error);
}
return NULL;
}
gboolean rc = g_file_copy(source, tmpfile, G_FILE_COPY_OVERWRITE, NULL, NULL, NULL, &error);
if (rc == FALSE) {
if (error != NULL) {
girara_error("Can not copy to temporary file: %s", error->message);
g_error_free(error);
}
g_object_unref(iostream);
g_object_unref(tmpfile);
return NULL;
}
file = g_file_get_path(tmpfile);
g_object_unref(iostream);
g_object_unref(tmpfile);
return file;
}
static gboolean static gboolean
document_info_open(gpointer data) document_info_open(gpointer data)
{ {
zathura_document_info_t* document_info = data; zathura_document_info_t* document_info = data;
g_return_val_if_fail(document_info != NULL, FALSE); g_return_val_if_fail(document_info != NULL, FALSE);
char* uri = NULL;
if (document_info->zathura != NULL && document_info->path != NULL) { if (document_info->zathura != NULL && document_info->path != NULL) {
char* file = NULL; char* file = NULL;
if (g_strcmp0(document_info->path, "-") == 0 || if (g_strcmp0(document_info->path, "-") == 0 ||
g_str_has_prefix(document_info->path, "/proc/self/fd/") == true) { g_str_has_prefix(document_info->path, "/proc/self/fd/") == true) {
file = prepare_document_open_from_stdin(document_info->zathura, document_info->path); file = prepare_document_open_from_stdin(document_info->path);
if (file == NULL) { if (file == NULL) {
girara_notify(document_info->zathura->ui.session, GIRARA_ERROR, girara_notify(document_info->zathura->ui.session, GIRARA_ERROR,
_("Could not read file from stdin and write it to a temporary file.")); _("Could not read file from stdin and write it to a temporary file."));
@ -520,13 +580,35 @@ document_info_open(gpointer data)
document_info->zathura->stdin_support.file = g_strdup(file); document_info->zathura->stdin_support.file = g_strdup(file);
} }
} else { } else {
file = g_strdup(document_info->path); GFile* gf = g_file_new_for_commandline_arg(document_info->path);
if (g_file_is_native(gf) == TRUE) {
/* file was given as a native path */
file = g_file_get_path(gf);
}
else {
/* copy file with GIO */
uri = g_file_get_uri(gf);
file = prepare_document_open_from_gfile(gf);
if (file == NULL) {
girara_notify(document_info->zathura->ui.session, GIRARA_ERROR,
_("Could not read file from GIO and copy it to a temporary file."));
} else {
document_info->zathura->stdin_support.file = g_strdup(file);
}
}
g_object_unref(gf);
} }
if (file != NULL) { if (file != NULL) {
document_open(document_info->zathura, file, document_info->password, if (document_info->synctex != NULL) {
document_open_synctex(document_info->zathura, file, uri,
document_info->password, document_info->synctex);
} else {
document_open(document_info->zathura, file, uri, document_info->password,
document_info->page_number); document_info->page_number);
}
g_free(file); g_free(file);
g_free(uri);
if (document_info->mode != NULL) { if (document_info->mode != NULL) {
if (g_strcmp0(document_info->mode, "presentation") == 0) { if (g_strcmp0(document_info->mode, "presentation") == 0) {
@ -542,12 +624,69 @@ document_info_open(gpointer data)
} }
} }
g_free(document_info); free_document_info(document_info);
return FALSE;
}
char*
get_formatted_filename(zathura_t* zathura, bool statusbar)
{
bool basename_only = false;
const char* file_path = zathura_document_get_uri(zathura->document);
if (file_path == NULL) {
file_path = zathura_document_get_path(zathura->document);
}
if (statusbar == true) {
girara_setting_get(zathura->ui.session, "statusbar-basename", &basename_only);
} else {
girara_setting_get(zathura->ui.session, "window-title-basename", &basename_only);
}
if (basename_only == false) {
bool home_tilde = false;
if (statusbar) {
girara_setting_get(zathura->ui.session, "statusbar-home-tilde", &home_tilde);
} else {
girara_setting_get(zathura->ui.session, "window-title-home-tilde", &home_tilde);
}
const size_t file_path_len = file_path ? strlen(file_path) : 0;
if (home_tilde == true) {
char* home = girara_get_home_directory(NULL);
const size_t home_len = home ? strlen(home) : 0;
if (home_len > 1
&& file_path_len >= home_len
&& g_str_has_prefix(file_path, home)
&& (!file_path[home_len] || file_path[home_len] == '/')) {
g_free(home);
return g_strdup_printf("~%s", &file_path[home_len]);
} else {
g_free(home);
return g_strdup(file_path);
}
} else {
return g_strdup(file_path);
}
} else {
const char* basename = zathura_document_get_basename(zathura->document);
return g_strdup(basename);
}
}
static gboolean
document_open_password_dialog(gpointer data)
{
zathura_password_dialog_info_t* password_dialog_info = data;
girara_dialog(password_dialog_info->zathura->ui.session, _("Enter password:"), true, NULL,
(girara_callback_inputbar_activate_t) cb_password_dialog, password_dialog_info);
return FALSE; return FALSE;
} }
bool bool
document_open(zathura_t* zathura, const char* path, const char* password, document_open(zathura_t* zathura, const char* path, const char* uri, const char* password,
int page_number) int page_number)
{ {
if (zathura == NULL || zathura->plugins.manager == NULL || path == NULL) { if (zathura == NULL || zathura->plugins.manager == NULL || path == NULL) {
@ -556,18 +695,19 @@ document_open(zathura_t* zathura, const char* path, const char* password,
gchar* file_uri = NULL; gchar* file_uri = NULL;
zathura_error_t error = ZATHURA_ERROR_OK; zathura_error_t error = ZATHURA_ERROR_OK;
zathura_document_t* document = zathura_document_open(zathura->plugins.manager, path, password, &error); zathura_document_t* document = zathura_document_open(zathura->plugins.manager, path, uri, password, &error);
if (document == NULL) { if (document == NULL) {
if (error == ZATHURA_ERROR_INVALID_PASSWORD) { if (error == ZATHURA_ERROR_INVALID_PASSWORD) {
girara_debug("Invalid or no password.");
zathura_password_dialog_info_t* password_dialog_info = malloc(sizeof(zathura_password_dialog_info_t)); zathura_password_dialog_info_t* password_dialog_info = malloc(sizeof(zathura_password_dialog_info_t));
if (password_dialog_info != NULL) { if (password_dialog_info != NULL) {
password_dialog_info->zathura = zathura; password_dialog_info->zathura = zathura;
if (path != NULL) {
password_dialog_info->path = g_strdup(path); password_dialog_info->path = g_strdup(path);
girara_dialog(zathura->ui.session, "Enter password:", true, NULL, password_dialog_info->uri = g_strdup(uri);
(girara_callback_inputbar_activate_t) cb_password_dialog, password_dialog_info);
if (password_dialog_info->path != NULL) {
gdk_threads_add_idle(document_open_password_dialog, password_dialog_info);
goto error_out; goto error_out;
} else { } else {
free(password_dialog_info); free(password_dialog_info);
@ -581,6 +721,8 @@ document_open(zathura_t* zathura, const char* path, const char* password,
goto error_out; goto error_out;
} }
zathura->document = document;
const char* file_path = zathura_document_get_path(document); const char* file_path = zathura_document_get_path(document);
unsigned int number_of_pages = zathura_document_get_number_of_pages(document); unsigned int number_of_pages = zathura_document_get_number_of_pages(document);
@ -597,7 +739,7 @@ document_open(zathura_t* zathura, const char* path, const char* password,
.scale = 1, .scale = 1,
.rotation = 0, .rotation = 0,
.pages_per_row = 0, .pages_per_row = 0,
.first_page_column = 0, .first_page_column_list = NULL,
.position_x = 0, .position_x = 0,
.position_y = 0 .position_y = 0
}; };
@ -665,13 +807,9 @@ document_open(zathura_t* zathura, const char* path, const char* password,
zathura->bisect.end = number_of_pages - 1; zathura->bisect.end = number_of_pages - 1;
/* update statusbar */ /* update statusbar */
bool basename_only = false; char* filename = get_formatted_filename(zathura, true);
girara_setting_get(zathura->ui.session, "statusbar-basename", &basename_only); girara_statusbar_item_set_text(zathura->ui.session, zathura->ui.statusbar.file, filename);
if (basename_only == false) { g_free(filename);
girara_statusbar_item_set_text(zathura->ui.session, zathura->ui.statusbar.file, file_path);
} else {
girara_statusbar_item_set_text(zathura->ui.session, zathura->ui.statusbar.file, zathura_document_get_basename(document));
}
/* install file monitor */ /* install file monitor */
file_uri = g_filename_to_uri(file_path, NULL, NULL); file_uri = g_filename_to_uri(file_path, NULL, NULL);
@ -715,8 +853,6 @@ document_open(zathura_t* zathura, const char* path, const char* password,
goto error_free; goto error_free;
} }
zathura->document = document;
/* page cache size */ /* page cache size */
int cache_size = 0; int cache_size = 0;
girara_setting_get(zathura->ui.session, "page-cache-size", &cache_size); girara_setting_get(zathura->ui.session, "page-cache-size", &cache_size);
@ -799,7 +935,7 @@ document_open(zathura_t* zathura, const char* path, const char* password,
/* view mode */ /* view mode */
unsigned int pages_per_row = 1; unsigned int pages_per_row = 1;
unsigned int first_page_column = 1; char* first_page_column_list = NULL;
unsigned int page_padding = 1; unsigned int page_padding = 1;
girara_setting_get(zathura->ui.session, "page-padding", &page_padding); girara_setting_get(zathura->ui.session, "page-padding", &page_padding);
@ -810,14 +946,21 @@ document_open(zathura_t* zathura, const char* path, const char* password,
girara_setting_get(zathura->ui.session, "pages-per-row", &pages_per_row); girara_setting_get(zathura->ui.session, "pages-per-row", &pages_per_row);
} }
if (file_info.first_page_column > 0) { /* read first_page_column list */
first_page_column = file_info.first_page_column; if (file_info.first_page_column_list != NULL && strcmp(file_info.first_page_column_list, "")) {
first_page_column_list = file_info.first_page_column_list;
file_info.first_page_column_list = NULL;
} else { } else {
girara_setting_get(zathura->ui.session, "first-page-column", &first_page_column); girara_setting_get(zathura->ui.session, "first-page-column", &first_page_column_list);
} }
/* find value for first_page_column */
unsigned int first_page_column = find_first_page_column(first_page_column_list, pages_per_row);
girara_setting_set(zathura->ui.session, "pages-per-row", &pages_per_row); girara_setting_set(zathura->ui.session, "pages-per-row", &pages_per_row);
girara_setting_set(zathura->ui.session, "first-page-column", &first_page_column); girara_setting_set(zathura->ui.session, "first-page-column", first_page_column_list);
g_free(file_info.first_page_column_list);
g_free(first_page_column_list);
page_widget_set_mode(zathura, page_padding, pages_per_row, first_page_column); page_widget_set_mode(zathura, page_padding, pages_per_row, first_page_column);
zathura_document_set_page_layout(zathura->document, page_padding, pages_per_row, first_page_column); zathura_document_set_page_layout(zathura->document, page_padding, pages_per_row, first_page_column);
@ -838,13 +981,9 @@ document_open(zathura_t* zathura, const char* path, const char* password,
} }
/* update title */ /* update title */
basename_only = false; char* formatted_filename = get_formatted_filename(zathura, false);
girara_setting_get(zathura->ui.session, "window-title-basename", &basename_only); girara_set_window_title(zathura->ui.session, formatted_filename);
if (basename_only == false) { g_free(formatted_filename);
girara_set_window_title(zathura->ui.session, file_path);
} else {
girara_set_window_title(zathura->ui.session, zathura_document_get_basename(document));
}
g_free(file_uri); g_free(file_uri);
@ -894,13 +1033,37 @@ error_out:
return false; return false;
} }
bool
document_open_synctex(zathura_t* zathura, const char* path, const char* uri,
const char* password, const char* synctex)
{
bool ret = document_open(zathura, path, password, uri,
ZATHURA_PAGE_NUMBER_UNSPECIFIED);
if (ret == false) {
return false;
}
if (synctex == NULL) {
return true;
}
int line = 0;
int column = 0;
char* input_file = NULL;
if (synctex_parse_input(synctex, &input_file, &line, &column) == false) {
return false;
}
ret = synctex_view(zathura, input_file, line, column);
g_free(input_file);
return ret;
}
void void
document_open_idle(zathura_t* zathura, const char* path, const char* password, document_open_idle(zathura_t* zathura, const char* path, const char* password,
int page_number, const char* mode) int page_number, const char* mode, const char* synctex)
{ {
if (zathura == NULL || path == NULL) { g_return_if_fail(zathura != NULL);
return; g_return_if_fail(path != NULL);
}
zathura_document_info_t* document_info = g_try_malloc0(sizeof(zathura_document_info_t)); zathura_document_info_t* document_info = g_try_malloc0(sizeof(zathura_document_info_t));
if (document_info == NULL) { if (document_info == NULL) {
@ -908,10 +1071,17 @@ document_open_idle(zathura_t* zathura, const char* path, const char* password,
} }
document_info->zathura = zathura; document_info->zathura = zathura;
document_info->path = path; document_info->path = g_strdup(path);
document_info->password = password; if (password != NULL) {
document_info->password = g_strdup(password);
}
document_info->page_number = page_number; document_info->page_number = page_number;
document_info->mode = mode; if (mode != NULL) {
document_info->mode = g_strdup(mode);
}
if (synctex != NULL) {
document_info->synctex = g_strdup(synctex);
}
gdk_threads_add_idle(document_info_open, document_info); gdk_threads_add_idle(document_info_open, document_info);
} }
@ -994,14 +1164,14 @@ document_close(zathura_t* zathura, bool keep_monitor)
/* store file information */ /* store file information */
const char* path = zathura_document_get_path(zathura->document); const char* path = zathura_document_get_path(zathura->document);
zathura_fileinfo_t file_info = { 0, 0, 1, 0, 1, 1, 0, 0 }; zathura_fileinfo_t file_info = { 0, 0, 1, 0, 1, "1:2", 0, 0 };
file_info.current_page = zathura_document_get_current_page_number(zathura->document); file_info.current_page = zathura_document_get_current_page_number(zathura->document);
file_info.page_offset = zathura_document_get_page_offset(zathura->document); file_info.page_offset = zathura_document_get_page_offset(zathura->document);
file_info.scale = zathura_document_get_scale(zathura->document); file_info.scale = zathura_document_get_scale(zathura->document);
file_info.rotation = zathura_document_get_rotation(zathura->document); file_info.rotation = zathura_document_get_rotation(zathura->document);
girara_setting_get(zathura->ui.session, "pages-per-row", &(file_info.pages_per_row)); girara_setting_get(zathura->ui.session, "pages-per-row", &(file_info.pages_per_row));
girara_setting_get(zathura->ui.session, "first-page-column", &(file_info.first_page_column)); girara_setting_get(zathura->ui.session, "first-page-column", &(file_info.first_page_column_list));
/* get position */ /* get position */
file_info.position_x = zathura_document_get_position_x(zathura->document); file_info.position_x = zathura_document_get_position_x(zathura->document);
@ -1015,6 +1185,9 @@ document_close(zathura_t* zathura, bool keep_monitor)
zathura_db_save_jumplist(zathura->database, path, zathura->jumplist.list); zathura_db_save_jumplist(zathura->database, path, zathura->jumplist.list);
} }
/* free buffers */
g_free(file_info.first_page_column_list);
girara_list_iterator_free(zathura->jumplist.cur); girara_list_iterator_free(zathura->jumplist.cur);
zathura->jumplist.cur = NULL; zathura->jumplist.cur = NULL;
girara_list_free(zathura->jumplist.list); girara_list_free(zathura->jumplist.list);
@ -1096,15 +1269,11 @@ statusbar_page_number_update(zathura_t* zathura)
girara_setting_get(zathura->ui.session, "window-title-page", &page_number_in_window_title); girara_setting_get(zathura->ui.session, "window-title-page", &page_number_in_window_title);
if (page_number_in_window_title == true) { if (page_number_in_window_title == true) {
bool basename_only = false; char* filename = get_formatted_filename(zathura, false);
girara_setting_get(zathura->ui.session, "window-title-basename", &basename_only); char* title = g_strdup_printf("%s %s", filename, page_number_text);
char* title = g_strdup_printf("%s %s",
(basename_only == true)
? zathura_document_get_basename(zathura->document)
: zathura_document_get_path(zathura->document),
page_number_text);
girara_set_window_title(zathura->ui.session, title); girara_set_window_title(zathura->ui.session, title);
g_free(title); g_free(title);
g_free(filename);
} }
g_free(page_number_text); g_free(page_number_text);
@ -1273,178 +1442,6 @@ error_ret:
return false; return false;
} }
bool
zathura_jumplist_has_previous(zathura_t* zathura)
{
return girara_list_iterator_has_previous(zathura->jumplist.cur);
}
bool
zathura_jumplist_has_next(zathura_t* zathura)
{
return girara_list_iterator_has_next(zathura->jumplist.cur);
}
zathura_jump_t*
zathura_jumplist_current(zathura_t* zathura)
{
if (zathura->jumplist.cur != NULL) {
return girara_list_iterator_data(zathura->jumplist.cur);
} else {
return NULL;
}
}
void
zathura_jumplist_forward(zathura_t* zathura)
{
if (girara_list_iterator_has_next(zathura->jumplist.cur)) {
girara_list_iterator_next(zathura->jumplist.cur);
}
}
void
zathura_jumplist_backward(zathura_t* zathura)
{
if (girara_list_iterator_has_previous(zathura->jumplist.cur)) {
girara_list_iterator_previous(zathura->jumplist.cur);
}
}
static void
zathura_jumplist_reset_current(zathura_t* zathura)
{
g_return_if_fail(zathura != NULL && zathura->jumplist.cur != NULL);
while (true) {
if (girara_list_iterator_has_next(zathura->jumplist.cur) == false) {
return;
}
girara_list_iterator_next(zathura->jumplist.cur);
}
}
static void
zathura_jumplist_append_jump(zathura_t* zathura)
{
g_return_if_fail(zathura != NULL && zathura->jumplist.list != NULL);
zathura_jump_t* jump = g_try_malloc0(sizeof(zathura_jump_t));
if (jump == NULL) {
return;
}
jump->page = 0;
jump->x = 0.0;
jump->y = 0.0;
girara_list_append(zathura->jumplist.list, jump);
if (zathura->jumplist.size == 0) {
zathura->jumplist.cur = girara_list_iterator(zathura->jumplist.list);
}
++zathura->jumplist.size;
zathura_jumplist_trim(zathura);
}
void
zathura_jumplist_trim(zathura_t* zathura)
{
g_return_if_fail(zathura != NULL && zathura->jumplist.list != NULL && zathura->jumplist.size != 0);
girara_list_iterator_t* cur = girara_list_iterator(zathura->jumplist.list);
while (zathura->jumplist.size > zathura->jumplist.max_size) {
if (girara_list_iterator_data(cur) == girara_list_iterator_data(zathura->jumplist.cur)) {
girara_list_iterator_free(zathura->jumplist.cur);
zathura->jumplist.cur = NULL;
}
girara_list_iterator_remove(cur);
--zathura->jumplist.size;
}
if (zathura->jumplist.size == 0 || (zathura->jumplist.size != 0 && zathura->jumplist.cur != NULL)) {
girara_list_iterator_free(cur);
} else {
zathura->jumplist.cur = cur;
}
}
void
zathura_jumplist_add(zathura_t* zathura)
{
g_return_if_fail(zathura != NULL && zathura->document != NULL && zathura->jumplist.list != NULL);
unsigned int pagenum = zathura_document_get_current_page_number(zathura->document);
double x = zathura_document_get_position_x(zathura->document);
double y = zathura_document_get_position_y(zathura->document);
if (zathura->jumplist.size != 0) {
zathura_jumplist_reset_current(zathura);
zathura_jump_t* cur = zathura_jumplist_current(zathura);
if (cur != NULL) {
if (cur->page == pagenum && cur->x == x && cur->y == y) {
return;
}
}
}
zathura_jumplist_append_jump(zathura);
zathura_jumplist_reset_current(zathura);
zathura_jumplist_save(zathura);
}
bool
zathura_jumplist_load(zathura_t* zathura, const char* file)
{
g_return_val_if_fail(zathura != NULL && file != NULL, false);
if (zathura->database == NULL) {
return false;
}
zathura->jumplist.list = zathura_db_load_jumplist(zathura->database, file);
if (zathura->jumplist.list == NULL) {
girara_error("Failed to load the jumplist from the database");
return false;
}
zathura->jumplist.size = girara_list_size(zathura->jumplist.list);
if (zathura->jumplist.size != 0) {
zathura->jumplist.cur = girara_list_iterator(zathura->jumplist.list);
zathura_jumplist_reset_current(zathura);
zathura_jumplist_trim(zathura);
girara_debug("Loaded the jumplist from the database");
} else {
girara_debug("No jumplist for this file in the database yet");
}
return true;
}
static void
zathura_jumplist_save(zathura_t* zathura)
{
g_return_if_fail(zathura != NULL && zathura->document != NULL);
zathura_jump_t* cur = zathura_jumplist_current(zathura);
unsigned int pagenum = zathura_document_get_current_page_number(zathura->document);
if (cur != NULL) {
cur->page = pagenum;
cur->x = zathura_document_get_position_x(zathura->document);
cur->y = zathura_document_get_position_y(zathura->document);
}
}
#ifdef G_OS_UNIX #ifdef G_OS_UNIX
static gboolean static gboolean
zathura_signal_sigterm(gpointer data) zathura_signal_sigterm(gpointer data)

View file

@ -204,6 +204,24 @@ struct zathura_s
unsigned int start; /**< Bisection range - start */ unsigned int start; /**< Bisection range - start */
unsigned int end; /**< Bisection range - end */ unsigned int end; /**< Bisection range - end */
} bisect; } bisect;
/**
* Storage for shortcuts.
*/
struct {
struct {
int x;
int y;
} mouse;
struct {
int pages;
} toggle_page_mode;
struct {
int pages;
char* first_page_column_list;
double zoom;
} toggle_presentation_mode;
} shortcut;
}; };
/** /**
@ -288,9 +306,22 @@ void zathura_set_argv(zathura_t* zathura, char** argv);
* *
* @return If no error occured true, otherwise false, is returned. * @return If no error occured true, otherwise false, is returned.
*/ */
bool document_open(zathura_t* zathura, const char* path, const char* password, bool document_open(zathura_t* zathura, const char* path, const char* uri, const char* password,
int page_number); int page_number);
/**
* Opens a file
*
* @param zathura The zathura session
* @param path The path to the file
* @param password The password of the file
* @param synctex Open at the given SyncTeX string
*
* @return If no error occured true, otherwise false, is returned.
*/
bool document_open_synctex(zathura_t* zathura, const char* path, const char* uri,
const char* password, const char* synctex);
/** /**
* Opens a file (idle) * Opens a file (idle)
* *
@ -299,10 +330,11 @@ bool document_open(zathura_t* zathura, const char* path, const char* password,
* @param password The password of the file * @param password The password of the file
* @param page_number Open given page number * @param page_number Open given page number
* @param mode Open in given page mode * @param mode Open in given page mode
* @param synctex SyncTeX string
*/ */
void document_open_idle(zathura_t* zathura, const char* path, void document_open_idle(zathura_t* zathura, const char* path,
const char* password, int page_number, const char* password, int page_number,
const char* mode); const char* mode, const char* synctex);
/** /**
* Save a open file * Save a open file
@ -438,4 +470,14 @@ void zathura_jumplist_trim(zathura_t* zathura);
*/ */
bool zathura_jumplist_load(zathura_t* zathura, const char* file); bool zathura_jumplist_load(zathura_t* zathura, const char* file);
/**
* Gets the nicely formatted filename of the loaded document according to settings
*
* @param zathura The zathura session
* @param statusbar Whether return value will be dispalyed in status bar
*
* return Printable filename. Free with g_free.
*/
char* get_formatted_filename(zathura_t* zathura, bool statusbar);
#endif // ZATHURA_H #endif // ZATHURA_H