Merge branch 'release/0.3.6'

This commit is contained in:
Moritz Lipp 2016-04-18 22:38:51 +02:00
commit cd711c9839
40 changed files with 980 additions and 851 deletions

2
.gitignore vendored
View file

@ -39,3 +39,5 @@ version.h
.frama-c .frama-c
compile_commands.json compile_commands.json
*.log *.log
.ycm_extra_conf.py
_*/

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 = 5 ZATHURA_VERSION_REV = 6
# 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,7 +18,7 @@ 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.5 GIRARA_MIN_VERSION = 0.2.6
GIRARA_PKG_CONFIG_NAME = girara-gtk3 GIRARA_PKG_CONFIG_NAME = girara-gtk3
# glib # glib
GLIB_VERSION_CHECK ?= 1 GLIB_VERSION_CHECK ?= 1

View file

@ -22,11 +22,17 @@ $(SPHINX_BUILDDIR)/html/index.html: $(HTML_SOURCES) $(SPHINX_BUILDDIR)/doxygen/x
$(call colorecho,DOC,"Build HTML documentation") $(call colorecho,DOC,"Build HTML documentation")
$(QUIET)$(SPHINX_BIN) -b html $(SPHINX_OPTS) . $(SPHINX_BUILDDIR)/html $(QUIET)$(SPHINX_BIN) -b html $(SPHINX_OPTS) . $(SPHINX_BUILDDIR)/html
$(SPHINX_BUILDDIR)/zathura.1 $(SPHINX_BUILDDIR)/zathurarc.5: $(MAN_SOURCES) $(SPHINX_BUILDDIR)/zathura.1: $(MAN_SOURCES)
$(QUIET)mkdir -p $(SPHINX_BUILDDIR) $(QUIET)mkdir -p $(SPHINX_BUILDDIR)
$(call colorecho,DOC,"Build man pages") $(call colorecho,DOC,"Build man pages")
$(QUIET)$(SPHINX_BIN) -b man $(SPHINX_OPTS) man $(SPHINX_BUILDDIR) $(QUIET)$(SPHINX_BIN) -b man $(SPHINX_OPTS) man $(SPHINX_BUILDDIR)
$(SPHINX_BUILDDIR)/zathurarc.5: $(SPHINX_BUILDDIR)/zathura.1
@if test -f $@; then :; else \
rm -f $(SPHINX_BUILDDIR)/zathura.1; \
$(MAKE) $(SPHINX_BUILDDIR)/zathura.1; \
fi
$(SPHINX_BUILDDIR)/doxygen/xml/index.xml: $(DOXYGEN_SOURCES) $(SPHINX_BUILDDIR)/doxygen/xml/index.xml: $(DOXYGEN_SOURCES)
$(QUIET)mkdir -p $(SPHINX_BUILDDIR)/doxygen/xml $(QUIET)mkdir -p $(SPHINX_BUILDDIR)/doxygen/xml
$(call colorecho,DOC,"Run doxygen") $(call colorecho,DOC,"Run doxygen")

View file

@ -16,144 +16,144 @@ General settings
Defines which auto adjustment mode should be used if a document is Defines which auto adjustment mode should be used if a document is
loaded. Possible options are "best-fit" and "width". loaded. Possible options are "best-fit" and "width".
:type: String :type: String
:default: best-fit :default: best-fit
.. describe:: advance-ds-per-row .. describe:: advance-ds-per-row
Defines if the number of pages per row should be honored when advancing Defines if the number of pages per row should be honored when advancing
a page. a page.
:type: Boolean :type: Boolean
:default: true :default: true
.. describe:: database .. describe:: database
Defines the used database backend. Possible options are 'plain' and Defines the used database backend. Possible options are 'plain' and
'sqlite' 'sqlite'
:type: String :type: String
:default: plain :default: plain
.. describe:: highlight-color .. describe:: highlight-color
Defines the color that is used for highlighting parts of the document Defines the color that is used for highlighting parts of the document
(e.g.: show search results) (e.g.: show search results)
:type: String :type: String
:default: #9FBC00 :default: #9FBC00
.. describe:: highlight-active-color .. describe:: highlight-active-color
Defines the color that is used to show the current selected highlighted Defines the color that is used to show the current selected highlighted
element (e.g: current search result) element (e.g: current search result)
:type: String :type: String
:default: #00BC00 :default: #00BC00
.. describe:: highlight-transparency .. describe:: highlight-transparency
Defines the opacity of a highlighted element Defines the opacity of a highlighted element
:type: Float :type: Float
:default: 0.5 :default: 0.5
.. describe:: page-padding .. describe:: page-padding
The page padding defines the gap in pixels between each rendered page. The page padding defines the gap in pixels between each rendered page.
:type: Integer :type: Integer
:default: 1 :default: 1
.. describe:: page-store-threshold .. describe:: page-store-threshold
Pages that are not visible get unloaded after some time. Every page that Pages that are not visible get unloaded after some time. Every page that
has not been visible for page-store-treshold seconds will be unloaded. has not been visible for page-store-treshold seconds will be unloaded.
:type: Integer :type: Integer
:default: 30 :default: 30
.. describe:: page-store-interval .. describe:: page-store-interval
Defines the amount of seconds between the check to unload invisible Defines the amount of seconds between the check to unload invisible
pages. pages.
:type: Integer :type: Integer
:default: 30 :default: 30
.. describe:: pages-per-row .. describe:: pages-per-row
Defines the number of pages that are rendered next to each other in a Defines the number of pages that are rendered next to each other in a
row. row.
:type: Integer :type: Integer
:default: 1 :default: 1
.. describe:: recolor .. describe:: recolor
En/Disables recoloring En/Disables recoloring
:type: Boolean :type: Boolean
:default: false :default: false
.. describe:: recolor-darkcolor .. describe:: recolor-darkcolor
Defines the color value that is used to represent dark colors in Defines the color value that is used to represent dark colors in
recoloring mode recoloring mode
:type: String :type: String
:default: #FFFFFF :default: #FFFFFF
.. describe:: recolor-lightcolor .. describe:: recolor-lightcolor
Defines the color value that is used to represent light colors in Defines the color value that is used to represent light colors in
recoloring mode recoloring mode
:type: String :type: String
:default: #000000 :default: #000000
.. describe:: render-loading .. describe:: render-loading
Defines if the "Loading..." text should be displayed if a page is Defines if the "Loading..." text should be displayed if a page is
rendered. rendered.
:type: Boolean :type: Boolean
:default: true :default: true
.. describe:: scroll-step .. describe:: scroll-step
Defines the step size of scrolling by calling the scroll command once Defines the step size of scrolling by calling the scroll command once
:type: Float :type: Float
:default: 40 :default: 40
.. describe:: scroll-wrap .. describe:: scroll-wrap
Defines if the last/first page should be wrapped Defines if the last/first page should be wrapped
:type: Boolean :type: Boolean
:default: false :default: false
.. describe:: zoom-max .. describe:: zoom-max
Defines the maximum percentage that the zoom level can be Defines the maximum percentage that the zoom level can be
:type: Integer :type: Integer
:default: 1000 :default: 1000
.. describe:: zoom-min .. describe:: zoom-min
Defines the minimum percentage that the zoom level can be Defines the minimum percentage that the zoom level can be
:type: Integer :type: Integer
:default: 10 :default: 10
.. describe:: zoom-step .. describe:: zoom-step
Defines the amount of percent that is zoomed in or out on each comand. Defines the amount of percent that is zoomed in or out on each comand.
:type: Integer :type: Integer
:default: 10 :default: 10
Girara settings Girara settings
--------------- ---------------

View file

@ -739,8 +739,11 @@ 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 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 following pattern <1 page per row>:[<2 pages per row>[: ...]]. The last
the first column is set to 2 for double-page layout. value in the list will be used for all other number of pages per row if not set
explicitely.
Per default, the first column is set to 2 for double-page layout.
* Value type: String * Value type: String
* Default value: 1:2 * Default value: 1:2

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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\n"
"PO-Revision-Date: 2015-10-15 23:09+0200\n" "PO-Revision-Date: 2016-04-18 21:11+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,7 +18,7 @@ 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" "X-Generator: Poedit 1.8.7.1\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
@ -502,59 +502,59 @@ msgstr "Enllaç: %s"
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Enllaç: Invàlid" msgstr "Enllaç: Invàlid"
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "Reassigna a la finestra especificada per xid" msgstr "Reassigna a la finestra especificada per xid (X11)"
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Ruta al directori de configuració" msgstr "Ruta al directori de configuració"
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Camí al directori de dades" msgstr "Camí al directori de dades"
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "" msgstr ""
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Camí al directori que conté els plugins" msgstr "Camí al directori que conté els plugins"
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Bifurca en segon pla" msgstr "Bifurca en segon pla"
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "Contrasenya del document" msgstr "Contrasenya del document"
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Nivell de registre (depuració, informació, advertiments, errors)" msgstr "Nivell de registre (depuració, informació, advertiments, errors)"
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "Imprimeix informació sobre la versió" msgstr "Imprimeix informació sobre la versió"
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor synctex (reenviat a l'ordre synctex)" msgstr "Editor synctex (reenviat a l'ordre synctex)"
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "" msgstr ""
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "" msgstr ""
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "" msgstr ""
@ -570,7 +570,7 @@ msgstr "Copia la imatge"
msgid "Save image as" msgid "Save image as"
msgstr "Desa imatge com a" msgstr "Desa imatge com a"
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "" msgstr ""
@ -579,26 +579,26 @@ msgstr ""
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Aquest document no conté cap índex" msgstr "Aquest document no conté cap índex"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "[Sense nom]" msgstr "[Sense nom]"
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "" msgstr ""
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:731 #: ../zathura/zathura.c:799
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

View file

@ -5,7 +5,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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\n"
"PO-Revision-Date: 2015-10-15 23:09+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"
@ -497,59 +497,59 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "" msgstr ""
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Cesta k souboru s nastavením" msgstr "Cesta k souboru s nastavením"
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Cesta k adresáři s daty" msgstr "Cesta k adresáři s daty"
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "" msgstr ""
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Cesta k adresářům s pluginy" msgstr "Cesta k adresářům s pluginy"
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Forknout se na pozadí" msgstr "Forknout se na pozadí"
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "Heslo" msgstr "Heslo"
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Úroveň logování (debug, info, warning, error)" msgstr "Úroveň logování (debug, info, warning, error)"
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "Zobrazit informace o souboru" msgstr "Zobrazit informace o souboru"
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "" msgstr ""
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "" msgstr ""
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "" msgstr ""
@ -565,7 +565,7 @@ msgstr "Zkopíruj obrázek"
msgid "Save image as" msgid "Save image as"
msgstr "Ulož obrázek jako" msgstr "Ulož obrázek jako"
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "" msgstr ""
@ -574,26 +574,26 @@ msgstr ""
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Tenhle dokument neobsahuje žádné indexy" msgstr "Tenhle dokument neobsahuje žádné indexy"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "[Nepojmenovaný]" msgstr "[Nepojmenovaný]"
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "" msgstr ""
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:731 #: ../zathura/zathura.c:799
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

View file

@ -8,17 +8,17 @@ 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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\n"
"PO-Revision-Date: 2015-12-14 22:15+0100\n" "PO-Revision-Date: 2016-04-18 21:11+0200\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.8.6\n" "X-Generator: Poedit 1.8.7.1\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
@ -505,59 +505,59 @@ msgstr "Verknüpfung: %s"
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Verknüpfung: ungültig" msgstr "Verknüpfung: ungültig"
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "Reparentiert zathura an das Fenster mit der xid" msgstr "Reparentiert zathura an das Fenster mit der xid (X11)"
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Pfad zum Konfigurationsverzeichnis" msgstr "Pfad zum Konfigurationsverzeichnis"
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Pfad zum Datenverzeichnis" msgstr "Pfad zum Datenverzeichnis"
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "Pfad zum Cacheverzeichnis" msgstr "Pfad zum Cacheverzeichnis"
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Pfad zum Pluginverzeichnis" msgstr "Pfad zum Pluginverzeichnis"
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Forkt den Prozess in den Hintergrund" msgstr "Forkt den Prozess in den Hintergrund"
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "Dokument Passwort" msgstr "Dokument Passwort"
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "Zur Seite springen" msgstr "Zur Seite springen"
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Log-Stufe (debug, info, warning, error)" msgstr "Log-Stufe (debug, info, warning, error)"
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "Zeige Versionsinformationen an" msgstr "Zeige Versionsinformationen an"
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex Editor (wird an synctex weitergeleitet)" msgstr "Synctex Editor (wird an synctex weitergeleitet)"
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "Zur gewählten SyncTeX-Position springen" msgstr "Zur gewählten SyncTeX-Position springen"
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "Gewählte Position im Prozess hervorheben" msgstr "Gewählte Position im Prozess hervorheben"
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "In einem Nicht-Standardmodus starten" msgstr "In einem Nicht-Standardmodus starten"
@ -573,7 +573,7 @@ msgstr "Bild kopieren"
msgid "Save image as" msgid "Save image as"
msgstr "Bild speichern als" msgstr "Bild speichern als"
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "Drucken fehlgeschlagen: %s" msgstr "Drucken fehlgeschlagen: %s"
@ -582,26 +582,26 @@ msgstr "Drucken fehlgeschlagen: %s"
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis." msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis."
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "[Kein Name]" msgstr "[Kein Name]"
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." 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." msgstr "Konnte Datei nicht mittels GIO in temporäre Datei kopieren."
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "Passwort:" msgstr "Passwort:"
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
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:731 #: ../zathura/zathura.c:799
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"

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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\n"
"PO-Revision-Date: 2015-10-15 23:07+0200\n" "PO-Revision-Date: 2016-04-18 21:10+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,7 +18,7 @@ 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" "X-Generator: Poedit 1.8.7.1\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
@ -504,59 +504,59 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "Reparents to window specified by xid" msgstr ""
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Διαδρομή του αρχείου ρυθμίσεων" msgstr "Διαδρομή του αρχείου ρυθμίσεων"
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Διαδρομή του φακέλου δεδομένων" msgstr "Διαδρομή του φακέλου δεδομένων"
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "" msgstr ""
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Διαδρομή φακέλου που περιέχει τα πρόσθετα" msgstr "Διαδρομή φακέλου που περιέχει τα πρόσθετα"
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Διακλάδωση στο παρασκήνιο" msgstr "Διακλάδωση στο παρασκήνιο"
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "Κωδικός αρχείου" msgstr "Κωδικός αρχείου"
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Επίπεδο καταγραφής (debug, info, warning, error)" msgstr "Επίπεδο καταγραφής (debug, info, warning, error)"
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "Εκτύπωση πληροφοριών έκδοσης" msgstr "Εκτύπωση πληροφοριών έκδοσης"
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex editor (Προώθηση στην εντολή synctex)" msgstr "Synctex editor (Προώθηση στην εντολή synctex)"
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "" msgstr ""
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "" msgstr ""
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "" msgstr ""
@ -572,7 +572,7 @@ msgstr "Αντιγραφή εικόνας"
msgid "Save image as" msgid "Save image as"
msgstr "Αποθήκευση εικόνας ως..." msgstr "Αποθήκευση εικόνας ως..."
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "" msgstr ""
@ -581,26 +581,26 @@ msgstr ""
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Το αρχείο δεν περιέχει κανένα δείκτη" msgstr "Το αρχείο δεν περιέχει κανένα δείκτη"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "[Χωρίς όνομα]" msgstr "[Χωρίς όνομα]"
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "" msgstr ""
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:731 #: ../zathura/zathura.c:799
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" 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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\n"
"PO-Revision-Date: 2015-10-15 23:07+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/"
@ -501,59 +501,59 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "" msgstr ""
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Vojo al la agorda dosierujo" msgstr "Vojo al la agorda dosierujo"
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Vojo al la datuma dosierujo" msgstr "Vojo al la datuma dosierujo"
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "" msgstr ""
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Vojoj al dosierujoj enhavantaj kromaĵojn" msgstr "Vojoj al dosierujoj enhavantaj kromaĵojn"
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "" msgstr ""
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "" msgstr ""
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Nivelo de ĵurnalo (debug, info, warning, error)" msgstr "Nivelo de ĵurnalo (debug, info, warning, error)"
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "Montru dosiera informacio" msgstr "Montru dosiera informacio"
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "" msgstr ""
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "" msgstr ""
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "" msgstr ""
@ -569,7 +569,7 @@ msgstr "Kopiu bildon"
msgid "Save image as" msgid "Save image as"
msgstr "Savi bildojn kiel" msgstr "Savi bildojn kiel"
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "" msgstr ""
@ -578,26 +578,26 @@ msgstr ""
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Ĉi-tiu dokumento enhavas neniam indekson." msgstr "Ĉi-tiu dokumento enhavas neniam indekson."
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "[Neniu nomo]" msgstr "[Neniu nomo]"
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "" msgstr ""
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:731 #: ../zathura/zathura.c:799
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\n"
"PO-Revision-Date: 2015-10-15 23:07+0200\n" "PO-Revision-Date: 2016-04-18 21:10+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,7 +16,7 @@ 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" "X-Generator: Poedit 1.8.7.1\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
@ -502,59 +502,59 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "Reasignar a la ventana especificada por xid" msgstr "Reasignar a la ventana especificada por xid (X11)"
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Ruta al directorio de configuración" msgstr "Ruta al directorio de configuración"
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Ruta para el directorio de datos" msgstr "Ruta para el directorio de datos"
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "" msgstr ""
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Ruta a los directorios que contienen los plugins" msgstr "Ruta a los directorios que contienen los plugins"
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Fork, ejecutándose en background" msgstr "Fork, ejecutándose en background"
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "Contraseña del documento" msgstr "Contraseña del documento"
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Nivel de log (debug, info, warning, error)" msgstr "Nivel de log (debug, info, warning, error)"
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "Mostrar información del fichero" msgstr "Mostrar información del fichero"
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor de Synctex (reenvíado al commando synctex)" msgstr "Editor de Synctex (reenvíado al commando synctex)"
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "" msgstr ""
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "" msgstr ""
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "" msgstr ""
@ -570,7 +570,7 @@ msgstr "Copiar imagen"
msgid "Save image as" msgid "Save image as"
msgstr "Salvar imagen como" msgstr "Salvar imagen como"
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "" msgstr ""
@ -579,26 +579,26 @@ msgstr ""
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Este documento no contiene ningún índice" msgstr "Este documento no contiene ningún índice"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "[Sin nombre]" msgstr "[Sin nombre]"
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "" msgstr ""
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:731 #: ../zathura/zathura.c:799
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" 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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\n"
"PO-Revision-Date: 2015-10-15 23:07+0200\n" "PO-Revision-Date: 2016-04-18 21:10+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,7 +17,7 @@ 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" "X-Generator: Poedit 1.8.7.1\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
@ -501,59 +501,59 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "Reasignar a la ventana especificada por xid" msgstr "Reasignar a la ventana especificada por xid (X11)"
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Ruta al directorio de configuración" msgstr "Ruta al directorio de configuración"
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Ruta al directorio de datos" msgstr "Ruta al directorio de datos"
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "" msgstr ""
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Ruta al directorio que contiene plugins" msgstr "Ruta al directorio que contiene plugins"
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Ejecución en background" msgstr "Ejecución en background"
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "" msgstr ""
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Nivel de log (debug, info, warning, error)" msgstr "Nivel de log (debug, info, warning, error)"
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "Mostrar información del archivo" msgstr "Mostrar información del archivo"
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "" msgstr ""
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "" msgstr ""
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "" msgstr ""
@ -569,7 +569,7 @@ msgstr "Copiar imagen"
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "" msgstr ""
@ -578,26 +578,26 @@ msgstr ""
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Este document no contiene índice" msgstr "Este document no contiene índice"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "[Sin nombre]" msgstr "[Sin nombre]"
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "" msgstr ""
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:731 #: ../zathura/zathura.c:799
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" 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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\n"
"PO-Revision-Date: 2015-10-15 23:07+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: Estonian (http://www.transifex.net/projects/p/zathura/" "Language-Team: Estonian (http://www.transifex.net/projects/p/zathura/"
@ -501,59 +501,59 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "" msgstr ""
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "" msgstr ""
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "" msgstr ""
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "" msgstr ""
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "" msgstr ""
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "" msgstr ""
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "" msgstr ""
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "" msgstr ""
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "Näita faili infot" msgstr "Näita faili infot"
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "" msgstr ""
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "" msgstr ""
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "" msgstr ""
@ -569,7 +569,7 @@ msgstr "Kopeeri pilt"
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "" msgstr ""
@ -578,26 +578,26 @@ msgstr ""
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "" msgstr ""
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "[Nime pole]" msgstr "[Nime pole]"
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "" msgstr ""
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:731 #: ../zathura/zathura.c:799
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\n"
"PO-Revision-Date: 2015-10-15 23:07+0200\n" "PO-Revision-Date: 2016-04-18 21:10+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,7 +21,7 @@ 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" "X-Generator: Poedit 1.8.7.1\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
@ -507,59 +507,59 @@ msgstr "Lien : %s"
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Lien : Invalide" msgstr "Lien : Invalide"
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "Rattacher à la fenêtre spécifiée par xid" msgstr "Rattacher à la fenêtre spécifiée par xid (X11)"
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Chemin vers le dossier de configuration" msgstr "Chemin vers le dossier de configuration"
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Chemin vers le dossier de données" msgstr "Chemin vers le dossier de données"
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "" msgstr ""
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Chemin vers le dossier de plugins" msgstr "Chemin vers le dossier de plugins"
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Détacher en arrière-plan" msgstr "Détacher en arrière-plan"
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "Mot de passe du document" msgstr "Mot de passe du document"
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "Numéro de page où aller" msgstr "Numéro de page où aller"
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Niveau de journalisation (debug, info, warning, error)" msgstr "Niveau de journalisation (debug, info, warning, error)"
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "Afficher les informations de version" msgstr "Afficher les informations de version"
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Éditeur synctex (transféré à la commande synctex)" msgstr "Éditeur synctex (transféré à la commande synctex)"
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "" msgstr ""
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "" msgstr ""
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "Démarrer dans un mode non-défaut" msgstr "Démarrer dans un mode non-défaut"
@ -575,7 +575,7 @@ msgstr "Copier l'image"
msgid "Save image as" msgid "Save image as"
msgstr "Enregistrer l'image sous" msgstr "Enregistrer l'image sous"
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "Echec d'impression : %s" msgstr "Echec d'impression : %s"
@ -584,29 +584,29 @@ msgstr "Echec d'impression : %s"
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Ce document ne contient pas d'index" msgstr "Ce document ne contient pas d'index"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "[Sans nom]" msgstr "[Sans nom]"
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "" msgstr ""
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
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:731 #: ../zathura/zathura.c:799
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"

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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\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/"
@ -499,59 +499,59 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "" msgstr ""
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "" msgstr ""
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "" msgstr ""
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "" msgstr ""
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "" msgstr ""
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "" msgstr ""
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "" msgstr ""
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "" msgstr ""
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "" msgstr ""
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "" msgstr ""
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "" msgstr ""
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "" msgstr ""
@ -567,7 +567,7 @@ msgstr ""
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "" msgstr ""
@ -576,26 +576,26 @@ msgstr ""
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "" msgstr ""
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "" msgstr ""
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "" msgstr ""
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:731 #: ../zathura/zathura.c:799
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\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/"
@ -500,59 +500,59 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "" msgstr ""
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "" msgstr ""
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "" msgstr ""
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "" msgstr ""
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "" msgstr ""
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "" msgstr ""
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "" msgstr ""
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "" msgstr ""
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "" msgstr ""
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "" msgstr ""
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "" msgstr ""
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "" msgstr ""
@ -568,7 +568,7 @@ msgstr ""
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "" msgstr ""
@ -577,26 +577,26 @@ msgstr ""
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "" msgstr ""
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "" msgstr ""
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "" msgstr ""
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:731 #: ../zathura/zathura.c:799
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" 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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\n"
"PO-Revision-Date: 2015-10-15 23:06+0200\n" "PO-Revision-Date: 2016-04-18 21:10+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,7 +17,7 @@ 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.8.5\n" "X-Generator: Poedit 1.8.7.1\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
@ -501,59 +501,59 @@ msgstr "Link: %s"
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Link: Tidak valid" msgstr "Link: Tidak valid"
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "Mengembalikan jendela sesuai dengan xid yang ditentukan" msgstr "Mengembalikan jendela sesuai dengan xid yang ditentukan (X11)"
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Path ke direktori konfigurasi" msgstr "Path ke direktori konfigurasi"
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Path ke direktori data" msgstr "Path ke direktori data"
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "" msgstr ""
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Path ke direktori plugin" msgstr "Path ke direktori plugin"
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Jalankan pada latar" msgstr "Jalankan pada latar"
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "Kata sandi dokumen" msgstr "Kata sandi dokumen"
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "Nomor halaman tujuan" msgstr "Nomor halaman tujuan"
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Tingkat log (debug, info, peringatan, error)" msgstr "Tingkat log (debug, info, peringatan, error)"
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "Cetak informasi versi" msgstr "Cetak informasi versi"
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex editor (diteruskan ke perintah synctex)" msgstr "Synctex editor (diteruskan ke perintah synctex)"
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "" msgstr ""
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "" msgstr ""
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "" msgstr ""
@ -569,7 +569,7 @@ msgstr "Salin gambar"
msgid "Save image as" msgid "Save image as"
msgstr "Simpan gambar sebagai" msgstr "Simpan gambar sebagai"
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "" msgstr ""
@ -578,27 +578,27 @@ msgstr ""
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Dokumen ini tidak mempunyai indeks" msgstr "Dokumen ini tidak mempunyai indeks"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "[Tidak berjudul]" msgstr "[Tidak berjudul]"
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "" msgstr ""
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
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:731 #: ../zathura/zathura.c:799
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"

View file

@ -10,7 +10,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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\n"
"PO-Revision-Date: 2015-10-15 23:06+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: Italian (http://www.transifex.com/projects/p/zathura/language/" "Language-Team: Italian (http://www.transifex.com/projects/p/zathura/language/"
@ -504,59 +504,59 @@ msgstr "Link: %s"
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Link: non valido" msgstr "Link: non valido"
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "" msgstr ""
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Percorso della directory della configurazione" msgstr "Percorso della directory della configurazione"
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Percorso della directory dei dati" msgstr "Percorso della directory dei dati"
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "Percorso della cartella di cache" msgstr "Percorso della cartella di cache"
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Percorso della directory contenente i plugin" msgstr "Percorso della directory contenente i plugin"
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Crea un processo separato" msgstr "Crea un processo separato"
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "Password del documento" msgstr "Password del documento"
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Livello di log (debug, info, warning, error)" msgstr "Livello di log (debug, info, warning, error)"
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "Mostra le informazioni sul file" msgstr "Mostra le informazioni sul file"
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "" msgstr ""
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "" msgstr ""
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "" msgstr ""
@ -572,7 +572,7 @@ msgstr "Copia immagine"
msgid "Save image as" msgid "Save image as"
msgstr "Salva immagine come" msgstr "Salva immagine come"
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "Impossibile stampare: %s" msgstr "Impossibile stampare: %s"
@ -581,28 +581,28 @@ msgstr "Impossibile stampare: %s"
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Questo documento non contiene l' indice" msgstr "Questo documento non contiene l' indice"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "[Nessun nome]" msgstr "[Nessun nome]"
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "" msgstr ""
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
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:731 #: ../zathura/zathura.c:799
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"

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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\n"
"PO-Revision-Date: 2015-10-15 23:06+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/"
@ -502,59 +502,59 @@ msgstr "Nuoroda: %s"
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Neteisinga nuoroda" msgstr "Neteisinga nuoroda"
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "" msgstr ""
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Konfigūracinių failų aplanko adresas" msgstr "Konfigūracinių failų aplanko adresas"
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Duomenų aplanko adresas" msgstr "Duomenų aplanko adresas"
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "" msgstr ""
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Įskiepių aplanko adresas" msgstr "Įskiepių aplanko adresas"
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "" msgstr ""
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "Dokumento slaptažodis" msgstr "Dokumento slaptažodis"
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "Pereiti į puslapį" msgstr "Pereiti į puslapį"
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Registravimo lygis (derinimas, informacija, įspėjimai, klaidos)" msgstr "Registravimo lygis (derinimas, informacija, įspėjimai, klaidos)"
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "Spausdinti versijos informaciją" msgstr "Spausdinti versijos informaciją"
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex redaktorius (naudojama synctex komandoje)" msgstr "Synctex redaktorius (naudojama synctex komandoje)"
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "" msgstr ""
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "" msgstr ""
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "" msgstr ""
@ -570,7 +570,7 @@ msgstr "Kopijuoti atvaizdą"
msgid "Save image as" msgid "Save image as"
msgstr "Irašyti atvaizdą kaip" msgstr "Irašyti atvaizdą kaip"
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "" msgstr ""
@ -579,26 +579,26 @@ msgstr ""
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Šit dokumentas neturi turinio" msgstr "Šit dokumentas neturi turinio"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "[Bevardis]" msgstr "[Bevardis]"
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "" msgstr ""
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
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:731 #: ../zathura/zathura.c:799
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "Dokumente puslapių nėra" msgstr "Dokumente puslapių nėra"

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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\n"
"PO-Revision-Date: 2015-10-15 23:06+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/"
@ -501,59 +501,59 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Link: Ugyldig" msgstr "Link: Ugyldig"
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "" msgstr ""
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Sti til konfigureringsmappe" msgstr "Sti til konfigureringsmappe"
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Sti til data-mappe" msgstr "Sti til data-mappe"
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "" msgstr ""
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Sti til mapper som inneholder plugins" msgstr "Sti til mapper som inneholder plugins"
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "" msgstr ""
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "Dokument passord" msgstr "Dokument passord"
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "Sidetall å gå til" msgstr "Sidetall å gå til"
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Logg nivå (diagnostisering, info, advarsler, feil)" msgstr "Logg nivå (diagnostisering, info, advarsler, feil)"
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "Skriv ut versjonsinformasjon" msgstr "Skriv ut versjonsinformasjon"
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "" msgstr ""
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "" msgstr ""
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "Start i ikke-standard modus" msgstr "Start i ikke-standard modus"
@ -569,7 +569,7 @@ msgstr "Kopier bilde"
msgid "Save image as" msgid "Save image as"
msgstr "Lagre bilde som" msgstr "Lagre bilde som"
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "Utskrift feilet: %s" msgstr "Utskrift feilet: %s"
@ -578,26 +578,26 @@ msgstr "Utskrift feilet: %s"
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Dette dokumenetet inneholder ikke noen index" msgstr "Dette dokumenetet inneholder ikke noen index"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "[Inget navn]" msgstr "[Inget navn]"
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "" msgstr ""
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
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:731 #: ../zathura/zathura.c:799
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "Dokumentet inneholder ingen sider" msgstr "Dokumentet inneholder ingen sider"

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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\n"
"PO-Revision-Date: 2015-10-15 23:06+0200\n" "PO-Revision-Date: 2016-04-18 21:09+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,7 +19,7 @@ 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.8.5\n" "X-Generator: Poedit 1.8.7.1\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
@ -503,59 +503,59 @@ msgstr "Link: %s"
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Nieprawidłowy link" msgstr "Nieprawidłowy link"
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "Przypisz proces do rodzica o danym xid" msgstr "Przypisz proces do rodzica o danym xid (X11)"
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Położenie katalogu konfiguracyjnego" msgstr "Położenie katalogu konfiguracyjnego"
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Położenie katalogu danych" msgstr "Położenie katalogu danych"
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "" msgstr ""
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Położenie katalogu wtyczek" msgstr "Położenie katalogu wtyczek"
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Forkuj w tle" msgstr "Forkuj w tle"
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "Hasło dokumentu" msgstr "Hasło dokumentu"
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Szczegółowość komunikatów (debug, info, warning, error)" msgstr "Szczegółowość komunikatów (debug, info, warning, error)"
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "Wyświetl informacje o wersji" msgstr "Wyświetl informacje o wersji"
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Edytor synctex (przekierowanie do komendy synctex)" msgstr "Edytor synctex (przekierowanie do komendy synctex)"
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "" msgstr ""
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "" msgstr ""
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "" msgstr ""
@ -571,7 +571,7 @@ msgstr "Skopiuj obrazek"
msgid "Save image as" msgid "Save image as"
msgstr "Zapisz obrazek jako" msgstr "Zapisz obrazek jako"
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "Nie można wydrukować: %s" msgstr "Nie można wydrukować: %s"
@ -580,26 +580,26 @@ msgstr "Nie można wydrukować: %s"
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Dokument nie zawiera indeksu" msgstr "Dokument nie zawiera indeksu"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "[bez nazwy]" msgstr "[bez nazwy]"
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "" msgstr ""
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
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:731 #: ../zathura/zathura.c:799
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"

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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\n"
"PO-Revision-Date: 2015-10-15 23:06+0200\n" "PO-Revision-Date: 2016-04-18 21:09+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,7 +17,7 @@ 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" "X-Generator: Poedit 1.8.7.1\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
@ -504,59 +504,59 @@ msgstr "Link: %s"
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Link: Inválido" msgstr "Link: Inválido"
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "Reparar a janela especificada por xid" msgstr "Reparar a janela especificada por xid (X11)"
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Caminho de diretório para configuração" msgstr "Caminho de diretório para configuração"
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Caminho para diretório de dados" msgstr "Caminho para diretório de dados"
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "" msgstr ""
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Caminho de diretório que contenham plugins" msgstr "Caminho de diretório que contenham plugins"
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Deslocar no fundo" msgstr "Deslocar no fundo"
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "Senha do documento" msgstr "Senha do documento"
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "Número da página para ir" msgstr "Número da página para ir"
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Nível de log (depurar, informação, aviso, erro)" msgstr "Nível de log (depurar, informação, aviso, erro)"
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "Imprimir informações sobre a versão" msgstr "Imprimir informações sobre a versão"
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor synctex (encaminhado para o comando synctex)" msgstr "Editor synctex (encaminhado para o comando synctex)"
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "Mover para determinada posição synctex" msgstr "Mover para determinada posição synctex"
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "Destacar determinada posição no determinado processo" msgstr "Destacar determinada posição no determinado processo"
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "Começar em um modo não padrão" msgstr "Começar em um modo não padrão"
@ -572,7 +572,7 @@ msgstr "Copiar imagem"
msgid "Save image as" msgid "Save image as"
msgstr "Salvar imagem para" msgstr "Salvar imagem para"
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "Impressão falhou: %s" msgstr "Impressão falhou: %s"
@ -581,29 +581,29 @@ msgstr "Impressão falhou: %s"
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Este documento não contem qualquer índice" msgstr "Este documento não contem qualquer índice"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "[Sem nome]" msgstr "[Sem nome]"
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "" msgstr ""
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
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:731 #: ../zathura/zathura.c:799
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"

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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\n"
"PO-Revision-Date: 2015-10-15 23:06+0200\n" "PO-Revision-Date: 2016-04-18 21:09+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,7 +21,7 @@ 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.8.5\n" "X-Generator: Poedit 1.8.7.1\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
@ -505,59 +505,59 @@ msgstr "Ссылка: %s"
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Ссылка: неправильная" msgstr "Ссылка: неправильная"
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "Сменить материнское окно на окно, указанное в xid" msgstr "Сменить материнское окно на окно, указанное в xid (X11)"
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Путь к каталогу с настройкой" msgstr "Путь к каталогу с настройкой"
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Путь к каталогу с данными" msgstr "Путь к каталогу с данными"
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "" msgstr ""
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Путь к каталогу с плагинами" msgstr "Путь к каталогу с плагинами"
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Запустить в фоне" msgstr "Запустить в фоне"
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "Пароль документа" msgstr "Пароль документа"
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "Перейти к странице номер" msgstr "Перейти к странице номер"
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Уровень журналирования (debug, info, warning, error)" msgstr "Уровень журналирования (debug, info, warning, error)"
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "Показать информацию о файле" msgstr "Показать информацию о файле"
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Редактор для synctex (передаётся далее программе synctex)" msgstr "Редактор для synctex (передаётся далее программе synctex)"
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "Перейти к указанному положению synctex" msgstr "Перейти к указанному положению synctex"
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "Подсветка заданного положения в заданном процессе" msgstr "Подсветка заданного положения в заданном процессе"
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "Запустить в специальном режиме" msgstr "Запустить в специальном режиме"
@ -573,7 +573,7 @@ msgstr "Скопировать изображение"
msgid "Save image as" msgid "Save image as"
msgstr "Сохранить изображение как" msgstr "Сохранить изображение как"
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "Не удалось напечатать %s" msgstr "Не удалось напечатать %s"
@ -582,28 +582,28 @@ msgstr "Не удалось напечатать %s"
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "В документе нет индекса" msgstr "В документе нет индекса"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "[Без названия]" msgstr "[Без названия]"
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "" msgstr ""
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Тип файла не поддерживается. Установите соответствующий плагин." msgstr "Тип файла не поддерживается. Установите соответствующий плагин."
#: ../zathura/zathura.c:731 #: ../zathura/zathura.c:799
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "В документе нет страниц" 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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\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/"
@ -500,59 +500,59 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "" msgstr ""
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "" msgstr ""
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "" msgstr ""
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "" msgstr ""
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "" msgstr ""
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "" msgstr ""
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "" msgstr ""
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "" msgstr ""
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு" msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு"
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "" msgstr ""
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "" msgstr ""
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "" msgstr ""
@ -568,7 +568,7 @@ msgstr "படத்தை ஒரு பிரதியெடு"
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "" msgstr ""
@ -577,26 +577,26 @@ msgstr ""
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "இந்த ஆவணத்தில் எந்த index-ம் இல்லை" msgstr "இந்த ஆவணத்தில் எந்த index-ம் இல்லை"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "பெயரற்ற ஆவணம்" msgstr "பெயரற்ற ஆவணம்"
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "" msgstr ""
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:731 #: ../zathura/zathura.c:799
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\n"
"PO-Revision-Date: 2015-10-15 23:05+0200\n" "PO-Revision-Date: 2016-04-18 21:09+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,7 +18,7 @@ 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.8.5\n" "X-Generator: Poedit 1.8.7.1\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
@ -502,59 +502,59 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "Xid tarafından belirlendiği gibi bir üst seviye pencereye bağlı" msgstr "Xid tarafından belirlendiği gibi bir üst seviye pencereye bağlı (X11)"
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Ayar dizini adresi" msgstr "Ayar dizini adresi"
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Veri dizini adresi" msgstr "Veri dizini adresi"
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "" msgstr ""
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Eklentileri içeren dizinin adresi" msgstr "Eklentileri içeren dizinin adresi"
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Arka planda işlemden çocuk oluştur" msgstr "Arka planda işlemden çocuk oluştur"
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "Belge şifresi" msgstr "Belge şifresi"
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Kayıt seviyesi (hata ayıklama, bilgi, uyarı, hata)" msgstr "Kayıt seviyesi (hata ayıklama, bilgi, uyarı, hata)"
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "Dosya bilgisi göster" msgstr "Dosya bilgisi göster"
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "" msgstr ""
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "" msgstr ""
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "" msgstr ""
@ -570,7 +570,7 @@ msgstr "Resim kopyala"
msgid "Save image as" msgid "Save image as"
msgstr "Resmi farklı kaydet" msgstr "Resmi farklı kaydet"
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "" msgstr ""
@ -579,26 +579,26 @@ msgstr ""
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Bu belge fihrist içermiyor" msgstr "Bu belge fihrist içermiyor"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "[İsimsiz]" msgstr "[İsimsiz]"
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "" msgstr ""
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:731 #: ../zathura/zathura.c:799
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" 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-12-14 22:03+0100\n" "POT-Creation-Date: 2016-04-18 21:08+0200\n"
"PO-Revision-Date: 2015-10-15 23:05+0200\n" "PO-Revision-Date: 2016-04-18 21:08+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,7 +18,7 @@ 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.8.5\n" "X-Generator: Poedit 1.8.7.1\n"
#: ../zathura/callbacks.c:233 #: ../zathura/callbacks.c:233
#, c-format #, c-format
@ -502,59 +502,59 @@ msgstr ""
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../zathura/main.c:155 #: ../zathura/main.c:145
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid (X11)"
msgstr "Вертатися до вікна, вказаного xid" msgstr "Вертатися до вікна, вказаного xid (X11)"
#: ../zathura/main.c:157 #: ../zathura/main.c:146
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Шлях до теки конфігурації" msgstr "Шлях до теки конфігурації"
#: ../zathura/main.c:158 #: ../zathura/main.c:147
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Шлях до теки з даними" msgstr "Шлях до теки з даними"
#: ../zathura/main.c:159 #: ../zathura/main.c:148
msgid "Path to the cache directory" msgid "Path to the cache directory"
msgstr "" msgstr ""
#: ../zathura/main.c:160 #: ../zathura/main.c:149
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Шлях до теки з плаґінами" msgstr "Шлях до теки з плаґінами"
#: ../zathura/main.c:161 #: ../zathura/main.c:150
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Працювати у фоні" msgstr "Працювати у фоні"
#: ../zathura/main.c:162 #: ../zathura/main.c:151
msgid "Document password" msgid "Document password"
msgstr "" msgstr ""
#: ../zathura/main.c:163 #: ../zathura/main.c:152
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../zathura/main.c:164 #: ../zathura/main.c:153
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Рівень логування (налагодження, інфо, застереження, помилка)" msgstr "Рівень логування (налагодження, інфо, застереження, помилка)"
#: ../zathura/main.c:165 #: ../zathura/main.c:154
msgid "Print version information" msgid "Print version information"
msgstr "Показати інформацію файлу" msgstr "Показати інформацію файлу"
#: ../zathura/main.c:167 #: ../zathura/main.c:156
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../zathura/main.c:168 #: ../zathura/main.c:157
msgid "Move to given synctex position" msgid "Move to given synctex position"
msgstr "" msgstr ""
#: ../zathura/main.c:169 #: ../zathura/main.c:158
msgid "Highlight given position in the given process" msgid "Highlight given position in the given process"
msgstr "" msgstr ""
#: ../zathura/main.c:171 #: ../zathura/main.c:160
msgid "Start in a non-default mode" msgid "Start in a non-default mode"
msgstr "" msgstr ""
@ -570,7 +570,7 @@ msgstr "Копіювати картинку"
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../zathura/print.c:64 ../zathura/print.c:209 #: ../zathura/print.c:64 ../zathura/print.c:231
#, c-format #, c-format
msgid "Printing failed: %s" msgid "Printing failed: %s"
msgstr "" msgstr ""
@ -579,26 +579,26 @@ msgstr ""
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Індекс відсутній в цьому документі" msgstr "Індекс відсутній в цьому документі"
#: ../zathura/zathura.c:218 ../zathura/zathura.c:1224 #: ../zathura/zathura.c:216 ../zathura/zathura.c:1301
msgid "[No name]" msgid "[No name]"
msgstr "[Без назви]" msgstr "[Без назви]"
#: ../zathura/zathura.c:578 #: ../zathura/zathura.c:648
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:594 #: ../zathura/zathura.c:664
msgid "Could not read file from GIO and copy it to a temporary file." msgid "Could not read file from GIO and copy it to a temporary file."
msgstr "" msgstr ""
#: ../zathura/zathura.c:683 #: ../zathura/zathura.c:753
msgid "Enter password:" msgid "Enter password:"
msgstr "" msgstr ""
#: ../zathura/zathura.c:719 #: ../zathura/zathura.c:789
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura/zathura.c:731 #: ../zathura/zathura.c:799
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

View file

@ -0,0 +1,16 @@
/* See LICENSE file for license and copyright information */
#include "checked-integer-arithmetic.h"
#include <stdint.h>
#include <limits.h>
#ifndef HAVE_BUILTIN
bool
checked_umul(unsigned int lhs, unsigned int rhs, unsigned int* res)
{
const uint64_t r = (uint64_t) lhs * (uint64_t) rhs;
*res = (unsigned int) r;
return r > UINT_MAX;
}
#endif

View file

@ -0,0 +1,39 @@
/* See LICENSE file for license and copyright information */
#ifndef ZATHURA_CHECKED_INTEGER_ARITHMETIC_H
#define ZATHURA_CHECKED_INTEGER_ARITHMETIC_H
#include "macros.h"
#include <stdbool.h>
#if __GNUC__ >= 5
#define HAVE_BUILTIN
#elif defined(__clang__)
#if __has_builtin(__builtin_add_overflow)
#define HAVE_BUILTIN
#endif
#endif
#ifdef __cplusplus
extern "C" {
#endif
#ifdef HAVE_BUILTIN
#define checked_umul(lhs, rhs, res) __builtin_umul_overflow((lhs), (rhs), (res))
#else
/**
* Helper function for multiplication with overflow detection. This function has
* the same semantics as the __builtin_*mul_overflow functions.
*
* @param[in] lhs first operand
* @param[in] rhs second operand
* @param[out] res result
* @return true if an overflow occurred, false otherwise
*/
GIRARA_HIDDEN bool checked_umul(unsigned int lhs, unsigned int rhs, unsigned int* res);
#endif
#ifdef __cplusplus
}
#endif
#endif

View file

@ -190,7 +190,7 @@ list_files_for_cc(zathura_t* zathura, const char* input, bool check_file_ext, in
girara_list_free(names); girara_list_free(names);
} }
if (show_recent > 0) { if (show_recent > 0 && zathura->database != NULL) {
girara_list_t* recent_files = zathura_db_get_recent_files(zathura->database, show_recent); girara_list_t* recent_files = zathura_db_get_recent_files(zathura->database, show_recent);
if (recent_files == NULL) { if (recent_files == NULL) {
goto error_free; goto error_free;

View file

@ -192,11 +192,182 @@ zathura_dbus_edit(ZathuraDbus* edit, unsigned int page, unsigned int x, unsigned
/* D-Bus handler */ /* D-Bus handler */
static void
handle_open_document(zathura_t* zathura, GVariant* parameters,
GDBusMethodInvocation* invocation)
{
gchar* filename = NULL;
gchar* password = NULL;
gint page = ZATHURA_PAGE_NUMBER_UNSPECIFIED;
g_variant_get(parameters, "(ssi)", &filename, &password, &page);
document_close(zathura, false);
document_open_idle(zathura, filename,
strlen(password) > 0 ? password : NULL,
page,
NULL, NULL);
g_free(filename);
g_free(password);
GVariant* result = g_variant_new("(b)", true);
g_dbus_method_invocation_return_value(invocation, result);
}
static void
handle_close_document(zathura_t* zathura, GVariant* UNUSED(parameters),
GDBusMethodInvocation* invocation)
{
const bool ret = document_close(zathura, false);
GVariant* result = g_variant_new("(b)", ret);
g_dbus_method_invocation_return_value(invocation, result);
}
static void
handle_goto_page(zathura_t* zathura, GVariant* parameters,
GDBusMethodInvocation* invocation)
{
const unsigned int number_of_pages = zathura_document_get_number_of_pages(zathura->document);
guint page = 0;
g_variant_get(parameters, "(u)", &page);
bool ret = true;
if (page >= number_of_pages) {
ret = false;
} else {
page_set(zathura, page);
}
GVariant* result = g_variant_new("(b)", ret);
g_dbus_method_invocation_return_value(invocation, result);
}
static void
handle_highlight_rects(zathura_t* zathura, GVariant* parameters,
GDBusMethodInvocation* invocation)
{
const unsigned int number_of_pages = zathura_document_get_number_of_pages(zathura->document);
guint page = 0;
GVariantIter* iter = NULL;
GVariantIter* secondary_iter = NULL;
g_variant_get(parameters, "(ua(dddd)a(udddd))", &page, &iter,
&secondary_iter);
if (page >= number_of_pages) {
girara_debug("Got invalid page number.");
GVariant* result = g_variant_new("(b)", false);
g_variant_iter_free(iter);
g_variant_iter_free(secondary_iter);
g_dbus_method_invocation_return_value(invocation, result);
return;
}
/* get rectangles */
girara_list_t** rectangles = g_try_malloc0(number_of_pages * sizeof(girara_list_t*));
if (rectangles == NULL) {
g_variant_iter_free(iter);
g_variant_iter_free(secondary_iter);
g_dbus_method_invocation_return_error(invocation, G_DBUS_ERROR,
G_DBUS_ERROR_NO_MEMORY,
"Failed to allocate memory.");
return;
}
rectangles[page] = girara_list_new2(g_free);
if (rectangles[page] == NULL) {
g_free(rectangles);
g_variant_iter_free(iter);
g_variant_iter_free(secondary_iter);
g_dbus_method_invocation_return_error(invocation, G_DBUS_ERROR,
G_DBUS_ERROR_NO_MEMORY,
"Failed to allocate memory.");
return;
}
zathura_rectangle_t temp_rect = { 0, 0, 0, 0 };
while (g_variant_iter_loop(iter, "(dddd)", &temp_rect.x1, &temp_rect.x2,
&temp_rect.y1, &temp_rect.y2)) {
zathura_rectangle_t* rect = g_try_malloc0(sizeof(zathura_rectangle_t));
if (rect == NULL) {
g_variant_iter_free(iter);
g_variant_iter_free(secondary_iter);
girara_list_free(rectangles[page]);
g_free(rectangles);
g_dbus_method_invocation_return_error(invocation, G_DBUS_ERROR,
G_DBUS_ERROR_NO_MEMORY,
"Failed to allocate memory.");
return;
}
*rect = temp_rect;
girara_list_append(rectangles[page], rect);
}
g_variant_iter_free(iter);
/* get secondary rectangles */
guint temp_page = 0;
while (g_variant_iter_loop(secondary_iter, "(udddd)", &temp_page,
&temp_rect.x1, &temp_rect.x2, &temp_rect.y1,
&temp_rect.y2)) {
if (temp_page >= number_of_pages) {
/* error out here? */
girara_debug("Got invalid page number.");
continue;
}
if (rectangles[temp_page] == NULL) {
rectangles[temp_page] = girara_list_new2(g_free);
}
zathura_rectangle_t* rect = g_try_malloc0(sizeof(zathura_rectangle_t));
if (rect == NULL || rectangles[temp_page] == NULL) {
g_variant_iter_free(secondary_iter);
for (unsigned int p = 0; p != number_of_pages; ++p) {
girara_list_free(rectangles[p]);
}
g_free(rectangles);
g_free(rect);
g_dbus_method_invocation_return_error(invocation, G_DBUS_ERROR,
G_DBUS_ERROR_NO_MEMORY,
"Failed to allocate memory.");
return;
}
*rect = temp_rect;
girara_list_append(rectangles[temp_page], rect);
}
g_variant_iter_free(secondary_iter);
synctex_highlight_rects(zathura, page, rectangles);
g_free(rectangles);
GVariant* result = g_variant_new("(b)", true);
g_dbus_method_invocation_return_value(invocation, result);
}
static void
handle_synctex_view(zathura_t* zathura, GVariant* parameters,
GDBusMethodInvocation* invocation)
{
gchar* input_file = NULL;
guint line = 0;
guint column = 0;
g_variant_get(parameters, "(suu)", &input_file, &line, &column);
const bool ret = synctex_view(zathura, input_file, line, column);
g_free(input_file);
GVariant* result = g_variant_new("(b)", ret);
g_dbus_method_invocation_return_value(invocation, result);
}
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,
const gchar* interface_name, const gchar* method_name, const gchar* interface_name, const gchar* method_name,
GVariant* parameters, GDBusMethodInvocation* invocation, GVariant* parameters, GDBusMethodInvocation* invocation,
void* data) void* data)
{ {
ZathuraDbus* dbus = data; ZathuraDbus* dbus = data;
@ -205,163 +376,32 @@ handle_method_call(GDBusConnection* UNUSED(connection),
girara_debug("Handling call '%s.%s' on '%s'.", interface_name, method_name, girara_debug("Handling call '%s.%s' on '%s'.", interface_name, method_name,
object_path); object_path);
/* methods that work without open document */ static const struct {
if (g_strcmp0(method_name, "OpenDocument") == 0) { const char* method;
gchar* filename = NULL; void (*handler)(zathura_t*, GVariant*, GDBusMethodInvocation*);
gchar* password = NULL; bool needs_document;
gint page = ZATHURA_PAGE_NUMBER_UNSPECIFIED; } handlers[] = {
g_variant_get(parameters, "(ssi)", &filename, &password, &page); { "OpenDocument", handle_open_document, false },
{ "CloseDocument", handle_close_document, false },
{ "GotoPage", handle_goto_page, true },
{ "HighlightRects", handle_highlight_rects, true },
{ "SynctexView", handle_synctex_view, true }
};
document_close(priv->zathura, false); for (size_t idx = 0; idx != sizeof(handlers) / sizeof(handlers[0]); ++idx) {
document_open_idle(priv->zathura, filename, if (g_strcmp0(method_name, handlers[idx].method) != 0) {
strlen(password) > 0 ? password : NULL, continue;
page,
NULL, NULL);
g_free(filename);
g_free(password);
GVariant* result = g_variant_new("(b)", true);
g_dbus_method_invocation_return_value(invocation, result);
return;
} else if (g_strcmp0(method_name, "CloseDocument") == 0) {
const bool ret = document_close(priv->zathura, false);
GVariant* result = g_variant_new("(b)", ret);
g_dbus_method_invocation_return_value(invocation, result);
return;
}
if (priv->zathura->document == NULL) {
g_dbus_method_invocation_return_dbus_error(invocation,
"org.pwmt.zathura.NoOpenDocumen",
"No document has been opened.");
return;
}
const unsigned int number_of_pages = zathura_document_get_number_of_pages(priv->zathura->document);
/* methods that require an open document */
if (g_strcmp0(method_name, "GotoPage") == 0) {
guint page = 0;
g_variant_get(parameters, "(u)", &page);
bool ret = true;
if (page >= number_of_pages) {
ret = false;
} else {
page_set(priv->zathura, page);
} }
GVariant* result = g_variant_new("(b)", ret); if (handlers[idx].needs_document == true && priv->zathura->document == NULL) {
g_dbus_method_invocation_return_value(invocation, result); g_dbus_method_invocation_return_dbus_error(
} else if (g_strcmp0(method_name, "HighlightRects") == 0) { invocation, "org.pwmt.zathura.NoOpenDocumen",
guint page = 0; "No document has been opened.");
GVariantIter* iter = NULL;
GVariantIter* secondary_iter = NULL;
g_variant_get(parameters, "(ua(dddd)a(udddd))", &page, &iter,
&secondary_iter);
if (page >= number_of_pages) {
girara_debug("Got invalid page number.");
GVariant* result = g_variant_new("(b)", false);
g_variant_iter_free(iter);
g_variant_iter_free(secondary_iter);
g_dbus_method_invocation_return_value(invocation, result);
return; return;
} }
/* get rectangles */ (*handlers[idx].handler)(priv->zathura, parameters, invocation);
girara_list_t** rectangles = g_try_malloc0(number_of_pages * sizeof(girara_list_t*)); return;
if (rectangles == NULL) {
g_variant_iter_free(iter);
g_variant_iter_free(secondary_iter);
g_dbus_method_invocation_return_error(invocation, G_DBUS_ERROR,
G_DBUS_ERROR_NO_MEMORY,
"Failed to allocate memory.");
return;
}
rectangles[page] = girara_list_new2(g_free);
if (rectangles[page] == NULL) {
g_free(rectangles);
g_variant_iter_free(iter);
g_variant_iter_free(secondary_iter);
g_dbus_method_invocation_return_error(invocation, G_DBUS_ERROR,
G_DBUS_ERROR_NO_MEMORY,
"Failed to allocate memory.");
return;
}
zathura_rectangle_t temp_rect = { 0, 0, 0, 0 };
while (g_variant_iter_loop(iter, "(dddd)", &temp_rect.x1, &temp_rect.x2,
&temp_rect.y1, &temp_rect.y2)) {
zathura_rectangle_t* rect = g_try_malloc0(sizeof(zathura_rectangle_t));
if (rect == NULL) {
g_variant_iter_free(iter);
g_variant_iter_free(secondary_iter);
girara_list_free(rectangles[page]);
g_free(rectangles);
g_dbus_method_invocation_return_error(invocation, G_DBUS_ERROR,
G_DBUS_ERROR_NO_MEMORY,
"Failed to allocate memory.");
return;
}
*rect = temp_rect;
girara_list_append(rectangles[page], rect);
}
g_variant_iter_free(iter);
/* get secondary rectangles */
guint temp_page = 0;
while (g_variant_iter_loop(secondary_iter, "(udddd)", &temp_page,
&temp_rect.x1, &temp_rect.x2, &temp_rect.y1,
&temp_rect.y2)) {
if (temp_page >= number_of_pages) {
/* error out here? */
girara_debug("Got invalid page number.");
continue;
}
if (rectangles[temp_page] == NULL) {
rectangles[temp_page] = girara_list_new2(g_free);
}
zathura_rectangle_t* rect = g_try_malloc0(sizeof(zathura_rectangle_t));
if (rect == NULL || rectangles[temp_page] == NULL) {
g_variant_iter_free(secondary_iter);
for (unsigned int p = 0; p != number_of_pages; ++p) {
girara_list_free(rectangles[p]);
}
g_free(rectangles);
g_free(rect);
g_dbus_method_invocation_return_error(invocation, G_DBUS_ERROR,
G_DBUS_ERROR_NO_MEMORY,
"Failed to allocate memory.");
return;
}
*rect = temp_rect;
girara_list_append(rectangles[temp_page], rect);
}
g_variant_iter_free(secondary_iter);
synctex_highlight_rects(priv->zathura, page, rectangles);
g_free(rectangles);
GVariant* result = g_variant_new("(b)", true);
g_dbus_method_invocation_return_value(invocation, result);
} else if (g_strcmp0(method_name, "SynctexView") == 0) {
gchar* input_file = NULL;
guint line = 0;
guint column = 0;
g_variant_get(parameters, "(suu)", &input_file, &line, &column);
const bool ret = synctex_view(priv->zathura, input_file, line, column);
g_free(input_file);
GVariant* result = g_variant_new("(b)", ret);
g_dbus_method_invocation_return_value(invocation, result);
} }
} }

View file

@ -518,8 +518,13 @@ zathura_document_get_document_size(zathura_document_t* document,
{ {
g_return_if_fail(document != NULL && height != NULL && width != NULL); g_return_if_fail(document != NULL && height != NULL && width != NULL);
const unsigned int npag = zathura_document_get_number_of_pages(document); const unsigned int npag = zathura_document_get_number_of_pages(document);
const unsigned int ncol = zathura_document_get_pages_per_row(document); const unsigned int ncol = zathura_document_get_pages_per_row(document);
if (npag == 0 || ncol == 0) {
return;
}
const unsigned int c0 = zathura_document_get_first_page_column(document); const unsigned int c0 = zathura_document_get_first_page_column(document);
const unsigned int nrow = (npag + c0 - 1 + ncol - 1) / ncol; /* number of rows */ const unsigned int nrow = (npag + c0 - 1 + ncol - 1) / ncol; /* number of rows */
const unsigned int pad = zathura_document_get_page_padding(document); const unsigned int pad = zathura_document_get_page_padding(document);

View file

@ -1,8 +1,11 @@
#include "jumplist.h"
#include "zathura.h" #include "zathura.h"
#include "document.h" #include "document.h"
#include "database.h" #include "database.h"
#include <girara/utils.h> #include <girara/utils.h>
#include <math.h>
static void zathura_jumplist_reset_current(zathura_t* zathura); static void zathura_jumplist_reset_current(zathura_t* zathura);
static void zathura_jumplist_append_jump(zathura_t* zathura); static void zathura_jumplist_append_jump(zathura_t* zathura);
@ -51,11 +54,7 @@ zathura_jumplist_reset_current(zathura_t* zathura)
{ {
g_return_if_fail(zathura != NULL && zathura->jumplist.cur != NULL); g_return_if_fail(zathura != NULL && zathura->jumplist.cur != NULL);
while (true) { while (girara_list_iterator_has_next(zathura->jumplist.cur) == true) {
if (girara_list_iterator_has_next(zathura->jumplist.cur) == false) {
return;
}
girara_list_iterator_next(zathura->jumplist.cur); girara_list_iterator_next(zathura->jumplist.cur);
} }
} }
@ -122,7 +121,7 @@ zathura_jumplist_add(zathura_t* zathura)
zathura_jump_t* cur = zathura_jumplist_current(zathura); zathura_jump_t* cur = zathura_jumplist_current(zathura);
if (cur != NULL) { if (cur != NULL) {
if (cur->page == pagenum && cur->x == x && cur->y == y) { if (cur->page == pagenum && fabs(cur->x - x) <= DBL_EPSILON && fabs(cur->y - y) <= DBL_EPSILON) {
return; return;
} }
} }

78
zathura/jumplist.h Normal file
View file

@ -0,0 +1,78 @@
#ifndef ZATHURA_JUMPLIST_H
#define ZATHURA_JUMPLIST_H
#include <girara/datastructures.h>
#include "types.h"
typedef struct zathura_jumplist_s
{
girara_list_t* list;
girara_list_iterator_t *cur;
unsigned int size;
unsigned int max_size;
} zathura_jumplist_t;
/**
* Checks whether current jump has a previous jump
*
* @param zathura The zathura session
* @return true if current jump has a previous jump
*/
bool zathura_jumplist_has_previous(zathura_t* jumplzathura);
/**
* Checks whether current jump has a next jump
*
* @param zathura The zathura session
* @return true if current jump has a next jump
*/
bool zathura_jumplist_has_next(zathura_t* zathura);
/**
* Return current jump in the jumplist
*
* @param zathura The zathura session
* @return current jump
*/
zathura_jump_t* zathura_jumplist_current(zathura_t* zathura);
/**
* Move forward in the jumplist
*
* @param zathura The zathura session
*/
void zathura_jumplist_forward(zathura_t* zathura);
/**
* Move backward in the jumplist
*
* @param zathura The zathura session
*/
void zathura_jumplist_backward(zathura_t* zathura);
/**
* Add current page as a new item to the jumplist after current position
*
* @param zathura The zathura session
*/
void zathura_jumplist_add(zathura_t* zathura);
/**
* Trim entries from the beginning of the jumplist to maintain it's maximum size constraint.
*
* @param zathura The zathura session
*/
void zathura_jumplist_trim(zathura_t* zathura);
/**
* Load the jumplist of the specified file
*
* @param zathura The zathura session
* @param file The file whose jumplist is to be loaded
*
* return A linked list of zathura_jump_t structures constituting the jumplist of the specified file, or NULL.
*/
bool zathura_jumplist_load(zathura_t* zathura, const char* file);
#endif

View file

@ -18,10 +18,6 @@
#include "synctex.h" #include "synctex.h"
#endif #endif
#ifndef GDK_WINDOWING_X11
typedef int Window;
#endif
/* Init locale */ /* Init locale */
static void static void
init_locale(void) init_locale(void)
@ -99,9 +95,7 @@ init_zathura(const char* config_dir, const char* data_dir,
return NULL; return NULL;
} }
#ifdef GDK_WINDOWING_X11
zathura_set_xid(zathura, embed); zathura_set_xid(zathura, embed);
#endif
zathura_set_config_dir(zathura, config_dir); zathura_set_config_dir(zathura, config_dir);
zathura_set_data_dir(zathura, data_dir); zathura_set_data_dir(zathura, data_dir);
zathura_set_cache_dir(zathura, cache_dir); zathura_set_cache_dir(zathura, cache_dir);
@ -148,9 +142,7 @@ main(int argc, char* argv[])
Window embed = 0; Window embed = 0;
GOptionEntry entries[] = { GOptionEntry entries[] = {
#ifdef GDK_WINDOWING_X11 { "reparent", 'e', 0, G_OPTION_ARG_INT, &embed, _("Reparents to window specified by xid (X11)"), "xid" },
{ "reparent", 'e', 0, G_OPTION_ARG_INT, &embed, _("Reparents to window specified by xid"), "xid" },
#endif
{ "config-dir", 'c', 0, G_OPTION_ARG_FILENAME, &config_dir, _("Path to the config directory"), "path" }, { "config-dir", 'c', 0, G_OPTION_ARG_FILENAME, &config_dir, _("Path to the config directory"), "path" },
{ "data-dir", 'd', 0, G_OPTION_ARG_FILENAME, &data_dir, _("Path to the data directory"), "path" }, { "data-dir", 'd', 0, G_OPTION_ARG_FILENAME, &data_dir, _("Path to the data directory"), "path" },
{ "cache-dir", '\0', 0, G_OPTION_ARG_FILENAME, &cache_dir, _("Path to the cache directory"), "path"}, { "cache-dir", '\0', 0, G_OPTION_ARG_FILENAME, &cache_dir, _("Path to the cache directory"), "path"},

View file

@ -1363,14 +1363,14 @@ sc_zoom(girara_session_t* session, girara_argument_t* argument, girara_event_t*
girara_setting_get(zathura->ui.session, "zoom-step", &value); girara_setting_get(zathura->ui.session, "zoom-step", &value);
const int nt = (t == 0) ? 1 : t; const int nt = (t == 0) ? 1 : t;
const double zoom_step = value / 100.0 * nt; const double zoom_step = 1.0 + value / 100.0 * nt;
const double old_zoom = zathura_document_get_scale(zathura->document); const double old_zoom = zathura_document_get_scale(zathura->document);
/* specify new zoom value */ /* specify new zoom value */
if (argument->n == ZOOM_IN) { if (argument->n == ZOOM_IN) {
zathura_document_set_scale(zathura->document, old_zoom + zoom_step); zathura_document_set_scale(zathura->document, old_zoom * zoom_step);
} else if (argument->n == ZOOM_OUT) { } else if (argument->n == ZOOM_OUT) {
zathura_document_set_scale(zathura->document, old_zoom - zoom_step); zathura_document_set_scale(zathura->document, old_zoom / zoom_step);
} else if (argument->n == ZOOM_SPECIFIC) { } else if (argument->n == ZOOM_SPECIFIC) {
if (t == 0) { if (t == 0) {
zathura_document_set_scale(zathura->document, 1.0); zathura_document_set_scale(zathura->document, 1.0);

View file

@ -7,6 +7,7 @@
#include "types.h" #include "types.h"
#include "links.h" #include "links.h"
#include "internal.h" #include "internal.h"
#include "checked-integer-arithmetic.h"
zathura_index_element_t* zathura_index_element_t*
zathura_index_element_new(const char* title) zathura_index_element_new(const char* title)
@ -40,13 +41,22 @@ zathura_index_element_free(zathura_index_element_t* index)
zathura_image_buffer_t* zathura_image_buffer_t*
zathura_image_buffer_create(unsigned int width, unsigned int height) zathura_image_buffer_create(unsigned int width, unsigned int height)
{ {
g_return_val_if_fail(width != 0, NULL);
g_return_val_if_fail(height != 0, NULL);
unsigned int size = 0;
if (checked_umul(width, height, &size) == false ||
checked_umul(size, 3, &size) == false) {
return NULL;
}
zathura_image_buffer_t* image_buffer = malloc(sizeof(zathura_image_buffer_t)); zathura_image_buffer_t* image_buffer = malloc(sizeof(zathura_image_buffer_t));
if (image_buffer == NULL) { if (image_buffer == NULL) {
return NULL; return NULL;
} }
image_buffer->data = calloc(width * height * 3, sizeof(unsigned char)); image_buffer->data = calloc(size, sizeof(unsigned char));
if (image_buffer->data == NULL) { if (image_buffer->data == NULL) {
free(image_buffer); free(image_buffer);

View file

@ -213,6 +213,16 @@ typedef struct zathura_form_s
zathura_form_type_t type; /**< Type */ zathura_form_type_t type; /**< Type */
} zathura_form_t; } zathura_form_t;
/**
* Jump
*/
typedef struct zathura_jump_s
{
unsigned int page;
double x;
double y;
} zathura_jump_t;
/** /**
* Create new index element * Create new index element
* *

View file

@ -257,18 +257,20 @@ find_first_page_column(const char* first_page_column_list,
{ {
/* sanity checks */ /* sanity checks */
unsigned int first_page_column = 1; unsigned int first_page_column = 1;
g_return_val_if_fail(first_page_column_list != NULL, first_page_column); 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(*first_page_column_list != '\0', first_page_column);
g_return_val_if_fail(pages_per_row > 0, first_page_column); g_return_val_if_fail(pages_per_row > 0, first_page_column);
/* split settings list */ /* split settings list */
char** settings = g_strsplit(first_page_column_list, ":", pages_per_row+1); char** settings = g_strsplit(first_page_column_list, ":", pages_per_row + 1);
const size_t settings_size = g_strv_length(settings); const size_t settings_size = g_strv_length(settings);
/* read setting value corresponding to the specified pages per row */ /* read setting value corresponding to the specified pages per row */
unsigned int index = pages_per_row - 1; unsigned int index = pages_per_row - 1;
if (settings_size > index && strcmp(settings[index], "")) { if (index < settings_size && *settings[index] != '\0') {
first_page_column = atoi(settings[index]); first_page_column = atoi(settings[index]);
} else if (*settings[settings_size - 1] != '\0') {
first_page_column = atoi(settings[settings_size - 1]);
} }
/* free buffers */ /* free buffers */

View file

@ -448,7 +448,6 @@ zathura_free(zathura_t* zathura)
g_free(zathura); g_free(zathura);
} }
#ifdef GDK_WINDOWING_X11
void void
zathura_set_xid(zathura_t* zathura, Window xid) zathura_set_xid(zathura_t* zathura, Window xid)
{ {
@ -456,7 +455,6 @@ zathura_set_xid(zathura_t* zathura, Window xid)
zathura->ui.session->gtk.embed = xid; zathura->ui.session->gtk.embed = xid;
} }
#endif
void void
zathura_set_config_dir(zathura_t* zathura, const char* dir) zathura_set_config_dir(zathura_t* zathura, const char* dir)
@ -792,8 +790,6 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char*
} }
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);
@ -804,6 +800,8 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char*
goto error_free; goto error_free;
} }
zathura->document = document;
/* read history file */ /* read history file */
zathura_fileinfo_t file_info = { zathura_fileinfo_t file_info = {
.current_page = 0, .current_page = 0,
@ -1193,6 +1191,35 @@ remove_page_from_table(GtkWidget* page, gpointer UNUSED(permanent))
gtk_container_remove(GTK_CONTAINER(gtk_widget_get_parent(page)), page); gtk_container_remove(GTK_CONTAINER(gtk_widget_get_parent(page)), page);
} }
static void
save_fileinfo_to_db(zathura_t* zathura)
{
const char* path = zathura_document_get_path(zathura->document);
zathura_fileinfo_t file_info = {
.current_page = zathura_document_get_current_page_number(zathura->document),
.page_offset = zathura_document_get_page_offset(zathura->document),
.scale = zathura_document_get_scale(zathura->document),
.rotation = zathura_document_get_rotation(zathura->document),
.pages_per_row = 1,
.first_page_column_list = "1:2",
.position_x = zathura_document_get_position_x(zathura->document),
.position_y = zathura_document_get_position_y(zathura->document)
};
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_list));
/* save file info */
zathura_db_set_fileinfo(zathura->database, path, &file_info);
/* save jumplist */
zathura_db_save_jumplist(zathura->database, path, zathura->jumplist.list);
g_free(file_info.first_page_column_list);
}
bool bool
document_close(zathura_t* zathura, bool keep_monitor) document_close(zathura_t* zathura, bool keep_monitor)
{ {
@ -1234,32 +1261,10 @@ document_close(zathura_t* zathura, bool keep_monitor)
} }
/* store file information */ /* store file information */
const char* path = zathura_document_get_path(zathura->document);
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.page_offset = zathura_document_get_page_offset(zathura->document);
file_info.scale = zathura_document_get_scale(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, "first-page-column", &(file_info.first_page_column_list));
/* get position */
file_info.position_x = zathura_document_get_position_x(zathura->document);
file_info.position_y = zathura_document_get_position_y(zathura->document);
if (zathura->database != NULL) { if (zathura->database != NULL) {
/* save file info */ save_fileinfo_to_db(zathura);
zathura_db_set_fileinfo(zathura->database, path, &file_info);
/* save jumplist */
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);

View file

@ -11,6 +11,7 @@
#endif #endif
#include "macros.h" #include "macros.h"
#include "types.h" #include "types.h"
#include "jumplist.h"
enum { enum {
NEXT, NEXT,
@ -82,16 +83,6 @@ enum {
/* forward declaration for types from database.h */ /* forward declaration for types from database.h */
typedef struct _ZathuraDatabase zathura_database_t; typedef struct _ZathuraDatabase zathura_database_t;
/**
* Jump
*/
typedef struct zathura_jump_s
{
unsigned int page;
double x;
double y;
} zathura_jump_t;
struct zathura_s struct zathura_s
{ {
struct struct
@ -162,13 +153,7 @@ struct zathura_s
girara_list_t* bookmarks; /**< bookmarks */ girara_list_t* bookmarks; /**< bookmarks */
} bookmarks; } bookmarks;
struct zathura_jumplist_t jumplist;
{
girara_list_t* list;
girara_list_iterator_t *cur;
unsigned int size;
unsigned int max_size;
} jumplist;
struct struct
{ {
@ -253,15 +238,14 @@ bool zathura_init(zathura_t* zathura);
*/ */
void zathura_free(zathura_t* zathura); void zathura_free(zathura_t* zathura);
#ifdef GDK_WINDOWING_X11
/** /**
* Set parent window id * Set parent window id. This does not have an effect if the underlying Gtk
* backend is not X11.
* *
* @param zathura The zathura session * @param zathura The zathura session
* @param xid The window id * @param xid The window id
*/ */
void zathura_set_xid(zathura_t* zathura, Window xid); void zathura_set_xid(zathura_t* zathura, Window xid);
#endif
/** /**
* Set the path to the configuration directory * Set the path to the configuration directory
@ -415,68 +399,6 @@ void page_widget_set_mode(zathura_t* zathura, unsigned int page_padding,
*/ */
void statusbar_page_number_update(zathura_t* zathura); void statusbar_page_number_update(zathura_t* zathura);
/**
* Checks whether current jump has a previous jump
*
* @param zathura The zathura session
* @return true if current jump has a previous jump
*/
bool zathura_jumplist_has_previous(zathura_t* zathura);
/**
* Checks whether current jump has a next jump
*
* @param zathura The zathura session
* @return true if current jump has a next jump
*/
bool zathura_jumplist_has_next(zathura_t* zathura);
/**
* Return current jump in the jumplist
*
* @param zathura The zathura session
* @return current jump
*/
zathura_jump_t* zathura_jumplist_current(zathura_t* zathura);
/**
* Move forward in the jumplist
*
* @param zathura The zathura session
*/
void zathura_jumplist_forward(zathura_t* zathura);
/**
* Move backward in the jumplist
*
* @param zathura The zathura session
*/
void zathura_jumplist_backward(zathura_t* zathura);
/**
* Add current page as a new item to the jumplist after current position
*
* @param zathura The zathura session
*/
void zathura_jumplist_add(zathura_t* zathura);
/**
* Trim entries from the beginning of the jumplist to maintain it's maximum size constraint.
*
* @param zathura The zathura session
*/
void zathura_jumplist_trim(zathura_t* zathura);
/**
* Load the jumplist of the specified file
*
* @param zathura The zathura session
* @param file The file whose jumplist is to be loaded
*
* return A linked list of zathura_jump_t structures constituting the jumplist of the specified file, or NULL.
*/
bool zathura_jumplist_load(zathura_t* zathura, const char* file);
/** /**
* Gets the nicely formatted filename of the loaded document according to settings * Gets the nicely formatted filename of the loaded document according to settings
* *