diff --git a/README b/README index 092d492c069535c7fe0bf41c9861daa251fc644b..edd2a508f13e4926cf231d085535df508a8203c4 100644 --- a/README +++ b/README @@ -33,9 +33,11 @@ The use of magic to detect mime types is optional and can be disabled by configuring the build system with -Denable-magic=false. The use of seccomp to create a sandboxed environment is optional and can be -enabled by configure the build system with -Denable-seccomp=true. Note that the -sandbox is currently only available as experimental preview. Some commands, -shortcuts and other functionality might break. +disabled by configure the build system with -Denable-seccomp=false. The sandbox +will by default be set to "normal" mode, which should not interfere with the +normal operation of zathura. For strict sandbox mode set "sandbox strict" in +zathurarc. Strict sandbox mode will reduce the available functionality of +zathura and provide a read only document viewer. Installation ------------ diff --git a/data/bash-completion.in b/data/bash-completion.in new file mode 100644 index 0000000000000000000000000000000000000000..34bd4a4b083355921f889dfc6af90d2e4fef0b8f --- /dev/null +++ b/data/bash-completion.in @@ -0,0 +1,27 @@ +_zathura() { + _init_completion || return + + local EXTS="" + for PLUGIN in @PLUGINDIR@/lib*.so; do + case ${PLUGIN##*/} in + libpdf-poppler.so) + EXTS="$EXTS|pdf" + ;; + libpdf-mupdf.so) + EXTS="$EXTS|pdf|epub|oxps" + ;; + libps.so) + EXTS="$EXTS|ps|eps|epsi|epsf" + ;; + libdjvu.so) + EXTS="$EXTS|djvu|djv" + ;; + libcb.so) + EXTS="$EXTS|cb7|cbr|cbz|cbt|rar|zip|7z|tar" + ;; + esac + done + + _filedir "${EXTS#|}" +} +complete -F _zathura zathura diff --git a/data/meson.build b/data/meson.build index a1d2cffe37899ba83df5cf3219fb06a6ecd29dfc..55cbe39fcee7e5db5fe3e51326ce1ab796e158b7 100644 --- a/data/meson.build +++ b/data/meson.build @@ -44,3 +44,19 @@ if appstream_util.found() args: ['validate-relax', appdata.full_path()] ) endif + +conf_data = configuration_data() +conf_data.set('PLUGINDIR', join_paths(prefix, plugindir)) +bash_completion = configure_file( + input: 'bash-completion.in', + output: 'zathura', + configuration: conf_data +) +zsh_completion = configure_file( + input: 'zsh-completion.in', + output: '_zathura', + configuration: conf_data +) + +install_data(bash_completion, install_dir: join_paths(datadir, 'bash-completion', 'completions')) +install_data(zsh_completion, install_dir: join_paths(datadir, 'zsh', 'vendor-completions')) diff --git a/data/zsh-completion.in b/data/zsh-completion.in new file mode 100644 index 0000000000000000000000000000000000000000..bdb84713446023fbfaebc68ccda6d33a642f48ae --- /dev/null +++ b/data/zsh-completion.in @@ -0,0 +1,52 @@ +#compdef zathura + +local -a all_opts +all_opts=( + '(-c --config-dir=DIR)'{-c,--config-dir}'[Path to config directory]:config directory:_files -/' + '(-d --data-dir=DIR)'{-d,--data-dir}'[Path to data directory]:data directory:_files -/' + '--cache-dir=DIR[Path to cache directory]:cache directory:_files -/' + '(-p --plugins-dir=DIR)'{-p,--plugins-dir}'[Path to plugins directory]:plugins directory:_files -/' + '(-e --reparent=XID)'{-e,--reparent}'[Reparents to window specified by XID (X11)]:xid' + '(-w --password=password)'{-w,--password}'[Document password]:password' + '(-P --page=page)'{-p,--page}'[Page number to go to]:page number' + '(-l --log-level=level)'{-l,--log-level}'[Log level]:level:(error warning info debug)' + '(-x --snyctex-editor-command=cmd)'{-x,--synxtec-editor-command}'[Synctex editor (forwarded to the synctex command)]:command' + '--synctex-forward=position[Move to given synctex position]:position' + '--synctex-pid=pid[Highlight position in given process]:pid' + '--mode=mode[Start in a non-default mode]:mode:(presentation fullscreen)' + '--fork[Fork into the background]' + '-h --help[Show help message]' + '-V --version[Print version information]' + '*:file:->files' +) + +local context state state_descr line +typeset -A opt_args +_arguments -S "$all_opts[@]" && return 0 + +local exts +for PLUGIN in @PLUGINDIR@/lib*.so; do + case ${PLUGIN##*/} in + libpdf-poppler.so) + exts="$exts|pdf" + ;; + libpdf-mupdf.so) + exts="$exts|pdf|epub|oxps" + ;; + libps.so) + exts="$exts|ps|eps|epsi|epsf" + ;; + libdjvu.so) + exts="$exts|djvu|djv" + ;; + libcb.so) + exts="$exts|cb7|cbr|cbz|cbt|rar|zip|7z|tar" + ;; + esac +done + +case $state in + (files) + _files -g "*.($exts)" + ;; +esac diff --git a/doc/man/_env.txt b/doc/man/_env.txt new file mode 100644 index 0000000000000000000000000000000000000000..4d3325ad59c8cc61b8772dda3f9a7f4665df204f --- /dev/null +++ b/doc/man/_env.txt @@ -0,0 +1,3 @@ +ZATHURA_PLUGINS_PATH + Path to the directory containing plugins. This directory is only considered if + no other directory was specified using --plugins-dir. diff --git a/doc/man/_options.txt b/doc/man/_options.txt index 73a98332b84eb091e6a338af7e16b1702c102d3a..8c3884a927144502c4d050fc742fb6bd26daba1f 100644 --- a/doc/man/_options.txt +++ b/doc/man/_options.txt @@ -12,8 +12,8 @@ -w, --password=password The documents password. If multiple documents are opened at once, the - password will be used for the first one and zathura will ask for the - passwords of the remaining files if needed . + password will be used for the first one and zathura will ask for the + passwords of the remaining files if needed. -P, --page=number Opens the document at the given page number. Pages are numbered starting diff --git a/doc/man/_synctex.txt b/doc/man/_synctex.txt index 8a1728b1c647e5855a21633b47e306ecae30ae3d..377fb4cdb1dcb81783d56b7a85758e86005e8e70 100644 --- a/doc/man/_synctex.txt +++ b/doc/man/_synctex.txt @@ -5,7 +5,7 @@ interface. To support synctex backwards synchronization, zathura provides a D-Bus interface that can be called by the editor. For convince zathura also knows how to parse the output of the *synctex view* command. It is enough to pass the arguments to *synctex view*'s *-i* option to zathura via -*--syntex-forward* and zathura will pass the information to the correct +*--synctex-forward* and zathura will pass the information to the correct instance. For gvim forward and backwards synchronization support can be set up as follows: diff --git a/doc/man/conf.py b/doc/man/conf.py index 743031bcc703e76a509a2919ab815e0dd9066617..49c0cb2487f490b7fa1e0d6ae096b07fe7391f62 100644 --- a/doc/man/conf.py +++ b/doc/man/conf.py @@ -25,7 +25,7 @@ today = time.strftime('%Y-%m-%d', time.gmtime(maxdate)) # -- Project configuration ------------------------------------------------ project = 'zathura' -copyright = '2009-2015, pwmt.org' +copyright = '2009-2018, pwmt.org' version = '0.2.7' release = '0.2.7' diff --git a/doc/man/zathura.1.rst b/doc/man/zathura.1.rst index 6e2c8cf73bf70e0bf9319f650c68505303b013fd..6b22bc3237b69dbf82b11a690e2bb4b392620909 100644 --- a/doc/man/zathura.1.rst +++ b/doc/man/zathura.1.rst @@ -16,6 +16,11 @@ Options .. include:: _options.txt +Environment variables +--------------------- + +.. include:: _env.txt + Mouse and key bindings ---------------------- diff --git a/doc/man/zathurarc.5.rst b/doc/man/zathurarc.5.rst index 181f7a305e75075f7d98ffd6e9b44ff0f56a6b26..5a48921a170a1c7324dd73a603bf97621eb2a211 100644 --- a/doc/man/zathurarc.5.rst +++ b/doc/man/zathurarc.5.rst @@ -685,8 +685,9 @@ synchronization is not available. filemonitor ^^^^^^^^^^^ -Defines the filemonitor backend. Possible values are "glib" and "signal" (if -signal handling is supported). +Defines the file monitor backend used to check for changes in files. Possible +values are "glib", "signal" (if signal handling is supported), and "noop". The +"noop" file monitor does not trigger reloads. * Value type: String * Default value: glib @@ -766,7 +767,10 @@ the following pattern <1 page per row>:[<2 pages per row>[: ...]]. The last value in the list will be used for all other number of pages per row if not set explicitly. -Per default, the first column is set to 2 for double-page layout. +Per default, the first column is set to 2 for double-page layout, i.e. the faule +is set to 1:2. A value of 1:1:3 would put the first page in dual-page layour in +the first column, and for layouts with more columns the first page would be put +in the 3rd column. * Value type: String * Default value: 1:2 @@ -1057,6 +1061,30 @@ is a read only sandbox that is intended for viewing documents only. * Value type: String * Default value: normal +Some features are disabled when using strict sandbox mode: + +* saving/writing files +* use of input methods like ibus +* printing +* bookmarks and history + +No feature regressions are expected when using normal sandbox mode. + +window-icon-document +^^^^^^^^^^^^^^^^^^^^ +Defines whether the window document should be updated based on the first page of +a dcument. + +* Value type: Boolean +* Default value: false + +page-right-to-left +^^^^^^^^^^^^^^^^^^ +Defines whether pages in multi-column view should start from the right side. + +* Value type: Boolean +* Default value: false + SEE ALSO ======== diff --git a/doc/meson.build b/doc/meson.build index 32a4f030130ef454c5eb2d924c52412241d3f734..b0082118fcb1b43b31c57d5bd611f35f74c58084 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -1,6 +1,12 @@ sphinx = find_program('sphinx-build') custom_target('man pages', - command: [sphinx, '-b', 'man', join_paths(meson.current_source_dir(), 'man'), meson.current_build_dir()], + command: [ + sphinx, + '-b', 'man', + '-D', 'version=' + version, + '-D', 'release=' + version, + join_paths(meson.current_source_dir(), 'man'), + meson.current_build_dir()], output: ['zathura.1', 'zathurarc.5'], input: [ 'man/conf.py', diff --git a/meson.build b/meson.build index f42d5ebf7bf88e3f04e8b12a30106a2239860413..f54f1045a340ea05022685e9f70dc99d22002b80 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('zathura', 'c', - version: '0.4.0', + version: '0.4.1', meson_version: '>=0.45', default_options: 'c_std=c11', ) @@ -25,7 +25,7 @@ conf_data.set('ZVAPI', plugin_api_version) conf_data.set('ZVABI', plugin_abi_version) conf_data.set('version', version) -cc = meson.get_compiler('c', required: false) +cc = meson.get_compiler('c') prefix = get_option('prefix') localedir = get_option('localedir') @@ -83,7 +83,11 @@ if get_option('enable-synctex') and synctex.found() build_dependencies += synctex defines += '-DWITH_SYNCTEX' if synctex.version() < '2.0.0' - defines += '-DWITH_SYNCTEX1' + if synctex.version() >= '1.19.0' + warning('You are using a synctex version pre-SONAME bump, but post-ABI-break. Please make sure to always run zathura using the correct synctex version.') + else + defines += '-DWITH_SYNCTEX1' + endif endif endif @@ -127,6 +131,7 @@ sources = files( 'zathura/document.c', 'zathura/file-monitor.c', 'zathura/file-monitor-glib.c', + 'zathura/file-monitor-noop.c', 'zathura/file-monitor-signal.c', 'zathura/jumplist.c', 'zathura/links.c', diff --git a/meson_options.txt b/meson_options.txt index 85c5a5802c7947a8abc52ef14347c1e6dc4cd51f..a1c899aa7f1b57357b299c3a3e85b3516532d238 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -15,6 +15,6 @@ option('enable-magic', ) option('enable-seccomp', type: 'boolean', - value: false, + value: true, description: 'Enable experimental seccomp support if available.' ) diff --git a/po/ca.po b/po/ca.po index 03bf737f66399a5bdedceb79de272f1a84165dae..fa94f380efaf6fb2345e51fb0545e57dca6760c2 100644 --- a/po/ca.po +++ b/po/ca.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-11 19:53+0000\n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-05-23 20:44+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Catalan (http://www.transifex.com/pwmt/zathura/language/ca/)\n" "Language: ca\n" @@ -83,14 +83,14 @@ msgid "Copied selected image to selection %s" msgstr "" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "No s'ha obert cap document." -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "Nombre d'arguments invàlids." @@ -177,53 +177,57 @@ msgstr "Massa arguments." msgid "No arguments given." msgstr "Cap argument subministrat." -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "Document desat." -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "No s'ha pogut desar el document." -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "Nombre d'arguments invàlids." -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "No s'ha pogut escriure el fitxer adjunt '%s' a '%s'." -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "S'ha escrit el fitxer adjunt '%s' a '%s'." -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "S'ha escrit la imatge '%s' a '%s'." -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "No s'ha pogut escriure la imatge '%s' a '%s'." -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "Imatge desconeguda '%s'." -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Imatge o fitxer adjunt desconegut '%s'." -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "L'argument ha de ser un nombre." @@ -242,387 +246,387 @@ msgid "Images" msgstr "Imatges" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "Base de dades de rerefons" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "Pas d'ampliació" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "Separació entre pàgines" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "Nombre de pàgines per fila" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "Columna de la primera pàgina" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "Pas de desplaçament" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "Pas de desplaçament horitzontal" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "Superposició de pàgines completes de desplaçament" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "Zoom mínim" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "Zoom màxim" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "Nombre de posicions per recordar al jumplist" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "Recolorejant (color fosc)" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "Recolorejant (color clar)" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "Color de realçament" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "Color de realçament (activat)" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "Recolorejant les pàgines" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "Quan recoloregis manté el to original i ajusta només la lluminositat" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "Desplaçament recollit" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "Desplaçament recollit" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "Avançar nombre de pàgines per fila" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "Zoom centrat horitzontalment" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "Centra el resultat horitzontalment" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "Transparència del realçat" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "Renderitza 'Carregant ...'" -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "Ajustar al fitxer quan s'obri" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "Mostra els directoris i fitxers ocults" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "Mostra els directoris" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "Obrir sempre la primera pàgina" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "Realça els resultats de recerca" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "Habilita la cerca incremental" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "Esborra els resultats de recerca a l'interrompre" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "Utilitza el nom base del fitxer en el títol de la finestra" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "Habilitar la compatibilitat amb synctex" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "Afegir un marcador" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "Esborrar un marcador" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "Llista tots els marcadors" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "Tancar el fitxer actual" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "Mostra informació sobre el fitxer" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "Executar una comanda" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "Mostrar l'ajuda" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "Obrir document" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "Tancar Zathura" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "Imprimir document" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "Desar document" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "Desar document (i forçar la sobreescritura)" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "Desa els fitxers adjunts" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "Assigna el desplaçament de pàgina" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "Marca la posició actual dins el document" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "Esborrar les marques especificades" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "No realcis els resultats de la recerca actual" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "Realça els resultats de recerca actual" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "Mostra informació sobre la versió" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "No s'ha pogut executar xdg-open." -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "Enllaçar: pàgina %d" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "Enllaç: %s" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "Enllaç: Invàlid" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "Reassigna a la finestra especificada per xid (X11)" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "Ruta al directori de configuració" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "Camí al directori de dades" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "Camí al directori que conté els plugins" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "Bifurca en segon pla" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "Contrasenya del document" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "Nivell de registre (depuració, informació, advertiments, errors)" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "Imprimeix informació sobre la versió" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "Editor synctex (reenviat a l'ordre synctex)" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "" @@ -638,7 +642,13 @@ msgstr "Copia la imatge" msgid "Save image as" msgstr "Desa imatge com a" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "" + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "" @@ -648,35 +658,35 @@ msgstr "" msgid "Invalid adjust mode: %d" msgstr "" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "Aquest document no conté cap índex" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "[Sense nom]" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "" -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "" -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "" diff --git a/po/cs.po b/po/cs.po index 7b15210ca245389921ae49be3ab6d480a021856f..89499bca0c4467aef7498eaa8ead990f469e40da 100644 --- a/po/cs.po +++ b/po/cs.po @@ -7,15 +7,16 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-11 19:53+0000\n" -"Last-Translator: Sebastian Ramacher \n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-09-04 18:32+0200\n" +"Last-Translator: fri\n" "Language-Team: Czech (http://www.transifex.com/pwmt/zathura/language/cs/)\n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n " +"<= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" #: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5 msgid "Zathura" @@ -32,29 +33,33 @@ msgid "" "mainly focuses on keyboard interaction. Zathura makes it possible to " "completely view and navigate through documents without using a mouse." msgstr "" +"Zathura je hodně přizpůsobitelný výborný prohlížeč dokumentů. Vyznačuje se " +"poskytováním minimalistického prostor šetřícího rozhraní a snadným " +"používáním s důrazným zaměřením na používání klávesnice Zathura umožňuje " +"plné zobrazení a pohyb v dokumentech bez použití myšího zařízení \"myšítka\"." #: data/org.pwmt.zathura.appdata.xml.in:21 msgid "SyncTeX forward and backward synchronization support." -msgstr "" +msgstr "Podpora pro dopředné a zpětné seřízení SyncTeX." #: data/org.pwmt.zathura.appdata.xml.in:22 msgid "Quickmarks and bookmarks." -msgstr "" +msgstr "Rychlé značky a záložky." #: data/org.pwmt.zathura.appdata.xml.in:23 msgid "Automatic document reloading." -msgstr "" +msgstr "Automatické znovunahrání dokumentu." #. Translators: Icon of the desktop entry. #: data/org.pwmt.zathura.desktop.in:9 msgid "org.pwmt.zathura" -msgstr "" +msgstr "org.pwmt.zathura" #. Translators: Search terms to find this application. Do not translate or #. localize the semicolons. The list must also end with a semicolon. #: data/org.pwmt.zathura.desktop.in:14 msgid "PDF;PS;PostScript;DjVU;document;presentation;viewer;" -msgstr "" +msgstr "PDF;PS;PostScript;DjVU;dokument;představení;prohlížeč;" #: zathura/callbacks.c:308 #, c-format @@ -79,17 +84,17 @@ msgstr "Vybraný text zkopírován do výběru %s: %s" #: zathura/callbacks.c:698 #, c-format msgid "Copied selected image to selection %s" -msgstr "" +msgstr "Vybraný text zkopírován do výběru %s" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "Není otevřený žádný dokument." -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "Špatný počet argumentů." @@ -125,7 +130,7 @@ msgstr "Nepodařilo se smazat záložku: %s" #: zathura/commands.c:119 msgid "No bookmarks available." -msgstr "" +msgstr "Nejsou dostupné žádné záložky." #: zathura/commands.c:129 #, c-format @@ -176,53 +181,57 @@ msgstr "Příliš mnoho argumentů." msgid "No arguments given." msgstr "Nezadali jste argumenty." -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" -msgstr "" +msgstr "Tisk není v režimu přísného pískoviště dovolen" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "Dokument uložen." -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "Nepovedlo se uložit dokument." -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "Špatný počet argumentů." -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Nepovedlo se zapsat přílohu '%s' do '%s'." -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Příloha '%s' zapsána do '%s'." -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Obrázek '%s' zapsán do '%s'." -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Nepovedlo se zapsat obrázek '%s' do '%s'." -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "Neznámý obrázek '%s'." -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Neznámá příloha nebo obrázek '%s'." -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "Argumentem musí být číslo." @@ -241,387 +250,387 @@ msgid "Images" msgstr "Obrázky" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "Databázová vrstva" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "Vrstva pro sledování souboru" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "Velikost kroku zvětšení" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "Mezery mezi stránkami" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "Počet stran na řádek" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "Sloupec první strany" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "Velikost kroku posunu" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "Velikost kroku vodorovného posunu" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "Překrývání při posunování celých stran" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "Nejmenší stupeň zvětšení" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "Největší stupeň zvětšení" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "Největší počet stran ve vyrovnávací paměti" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "Největší velikost náhledů v obrazových bodech ve vyrovnávací paměti" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "Počet poloh k uchování v seznamu" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "Přebarvuje se do tmava" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "Přebarvuje se do světla" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "Barva zvýrazňovače" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "Barva zvýrazňovače (činná)" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "Nahrává se barva pozadí..." -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "Nahrává se barva popředí..." -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "Barva popředí režimu rejstříku" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "Barva pozadí režimu rejstříku" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "Barva popředí režimu rejstříku (činný prvek)" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "Barva pozadí režimu rejstříku (činný prvek)" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "Přebarvit stránky" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "Při přebarvování zachovat původní odstín a přizpůsobit pouze světlost" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "Při přebarvování zachovat původní barvy obrázku" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "Posunovat přes konce" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "Posunovat s ohledem na strany" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "Pokračovat v počtu stran v jednom řádku" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "Vodorovně vystředěné přiblížení" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "Vystředit strany svisle" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "Zarovnat cíl odkazu nalevo" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "Při následování odkazů se mění velikost přiblížení" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "Vystředit výsledky vodorovně" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "Průhlednost při zvýrazňování" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "Vypisovat Nahrává se..." -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "Přiblížení po otevření souboru" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "Zobrazovat skryté soubory" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "Ukázat adresáře" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "Ukázat nedávné soubory" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "Vždy otevírat na první straně" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "Zvýrazňovat výsledky hledání" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "Povolit přírůstkové hledání" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "Při přerušení smazat výsledky hledání" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "Použít základní název souboru v názvu okna" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "Použít ~ místo $HOME v souborovém názvu v názvu okna" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "Zobrazit číslo strany v názvu okna" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "Použít základní název souboru ve stavovém řádku" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "Použít ~ místo $HOME v souborovém názvu ve stavovém řádku" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "Povolit podporu pro synctex" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "Příkaz pro editor Synctex" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "Povolit službu D-Bus" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "Uložit historii při každé změně strany" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "Schránka, do níž budou zapsána data vabraná pomocí myši" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "Povolit oznámení po vybrání textu" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" -msgstr "" +msgstr "Úroveň pískoviště" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "Přidat záložku" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "Smazat záložku" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "Vypsat všechny záložky" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "Zavřít nynější soubor" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "Ukázat informace o souboru" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "Spustit příkaz" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "Ukázat nápovědu" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "Otevřít dokument" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "Zavřít zathuru" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "Vytisknout dokument" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "Uložit dokument" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "Uložit dokument a vynutit jeho přepsání" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "Uložit přílohy" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "Nastavit posun strany" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "Označit současnou polohu v dokumentu" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "Smazat vybrané značky" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "Nezvýrazňovat výsledky tohoto hledání" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "Zvýrazňovat výsledky tohoto hledání" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "Ukázat údaj o verzi" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" -msgstr "" +msgstr "Otevírání vnějších programů v režimu přísného pískoviště není dovoleno" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "Nepodařilo se spustit xdg-open." -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "Odkaz: strana %d" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "Odkaz: %s" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "Odkaz: Neplatný" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "Propojí s oknem udaným xid (X11)" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "Cesta k adresáři se souborem s nastavením" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "Cesta k adresáři s daty" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "Cesta k adresáři s vyrovnávací pamětí" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "Cesta k adresářům s přídavnými moduly" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "Forknout se na pozadí" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "Heslo k dokumentu" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "Číslo strany, na kterou jít" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "Úroveň logování (debug, info, warning, error)" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "Zobrazit údaje o verzi" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "Editor Synctex (předáno příkazu synctex)" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "Přesunout se na udanou polohu synctex" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "Zvýraznit zadanou polohu v daném procesu" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "Spustit v ne-výchozím režimu" @@ -637,7 +646,13 @@ msgstr "Kopírovat obrázek" msgid "Save image as" msgstr "Uložit obrázek jako" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "Tiskne se strana %d ..." + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "Nepodařilo se vytisknout: %s" @@ -647,38 +662,38 @@ msgstr "Nepodařilo se vytisknout: %s" msgid "Invalid adjust mode: %d" msgstr "Neplatný režim úprav: %d" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" -msgstr "" +msgstr "Vzor nenalezen: %s" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "Tento dokument neobsahuje žádný rejstřík" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "[Nepojmenovaný]" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "" "Nepodařilo se přečíst soubor z stdin a zapsat jej do dočasného souboru." -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" "Nepodařilo se přečíst soubor z GIO a zkopírovat jej do dočasného souboru." -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "Zadat heslo:" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "" "Nepodporovaný typ souboru. Nainstalujte, prosím, nezbytný přídavný modul." -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "Dokument neobsahuje žádné strany" diff --git a/po/de.po b/po/de.po index 7148e2817c23df6a1865ee613ec2038b8e5f3e90..b6e989c7186b813e98644db2a25b1ebd01342c17 100644 --- a/po/de.po +++ b/po/de.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-18 17:21+0100\n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-09-04 18:32+0200\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: German (http://www.transifex.com/pwmt/zathura/language/de/)\n" "Language: de\n" @@ -17,7 +17,6 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 2.0.6\n" #: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5 msgid "Zathura" @@ -88,14 +87,14 @@ msgid "Copied selected image to selection %s" msgstr "Das gewählte Bild wurde in die Zwischenablage %s kopiert" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "Kein Dokument geöffnet." -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "Ungültige Anzahl an Argumenten angegeben." @@ -182,53 +181,57 @@ msgstr "Zu viele Argumente angegeben." msgid "No arguments given." msgstr "Keine Argumente angegeben." -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "Im strikten Sandkastenmodus ist Drucken nicht erlaubt" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "Dokument gespeichert." -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "Konnte Dokument nicht speichern." -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "Ungültige Anzahl an Argumenten." -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben." -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Anhang '%s' nach '%s' geschrieben." -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Anhang '%s' nach '%s' geschrieben." -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben." -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "Unbekanntes Bild '%s'." -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Unbekannter Anhanng oder Bild '%s'." -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "Im strikten Sandkastenmodus ist Anwendungen ausführen nicht erlaubt" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "Das Argument ist keine Zahl." @@ -247,391 +250,391 @@ msgid "Images" msgstr "Bilder" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "Datenbank Backend" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "Dateiwächter Backend" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "Vergrößerungsstufe" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "Abstand zwischen den Seiten" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "Anzahl der Seiten in einer Reihe" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "Spalte der ersten Seite" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "Schrittgröße beim Scrollen" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "Horizontale Schrittgröße beim Scrollen" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "Überlappung beim Scrollen von ganzen Seiten" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "Minimale Vergrößerungsstufe" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "Maximale Vergrößerungsstufe" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "Maximale Seitenzahl im Zwischenspeicher" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "Maximale Größe der Vorschau im Zwischenspeicher (in Pixel)" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "Anzahl der Liste zu behaltenden Positionen" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "Neufärben (Dunkle Farbe)" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "Neufärben (Helle Farbe)" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "Farbe für eine Markierung" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "Farbe für die aktuelle Markierung" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "Hintergrundfarbe von 'Lädt...'" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "Vordergrundfarbe von 'Lädt...'" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "Vordergrundfarbe des Indexmodus" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "Hintergrundfarbe des Indexmodus" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "Vordergrundfarbe des Indexmodus (aktives Element)" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "Hintergrundfarbe des Indexmodus (aktives Element)" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "Färbe die Seiten ein" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" "Behalte beim Neufärben den ursprünglichen Farbton bei und passe nur die " "Helligkeit an" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "" "Bilder bleiben unverändert, wenn das Einfärben des Dokuments aktiviert ist" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "Scroll-Umbruch" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "Seiten beim Scrollen beachten" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "Gehe Anzahl der Seiten in einer Reihe weiter" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "Horizontal zentrierter Zoom" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "Zentriere Seiten vertikal" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "Linkziel links ausrichten" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "Erlaube Zoom-Änderungen beim Folgen von Links" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "Zentriere Ergebnis horizontal" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "Transparenz für Markierungen" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "Zeige 'Lädt...'-Text beim Zeichnen einer Seite" -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "Seite einpassen" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "Zeige versteckte Dateien und Ordner an" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "Zeige Ordner an" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "Zeige zuletzt geöffnete Dateien an" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "Öffne Dokument immer auf der ersten Seite" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "Hebe Suchergebnisse hervor" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "Aktiviere inkrementelle Suche" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "Lösche Suchergebnisse bei Abbruch" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "Verwende den Dateinamen der Datei im Fenstertitel" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "Verwende ~ statt $HOME im Dateinamen im Fenstertitel" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "Verwende die Seitenzal im Fenstertitel" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "Verwende den Dateinamen der Datei in der Statusleiste" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "Verwende ~ statt $HOME im Dateinamen in der Statusleiste" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "Aktiviere SyncTeX-Unterstützung" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "Synctex Editor Befehl" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "D-Bus-Dienst aktivieren" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "Speichere Verlauf bei jedem Seitenwechsel" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "Zwischenablage, in die mit der Maus gewählte Text kopiert wird" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "Benachrichtigung nach Text-Selektion" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "Sandkasten-Niveau" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "Füge Lesezeichen hinzu" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "Lösche ein Lesezeichen" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "Liste all Lesezeichen auf" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "Schließe das aktuelle Dokument" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "Zeige Dokumentinformationen an" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "Führe einen Befehl aus" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "Zeige Hilfe an" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "Öffne Dokument" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "Beende zathura" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "Drucke Dokument" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "Speichere Dokument" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "Speichere Dokument (und überschreibe bestehende)" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "Speichere Anhänge" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "Setze den Seitenabstand" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "Markiere aktuelle Position im Doukument" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "Lösche angegebene Markierung" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "Hebe aktuelle Suchergebnisse nicht hervor" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "Hebe aktuelle Suchergebnisse hervor" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "Zeige Versionsinformationen an" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" "Ausführen externer Anwendungen ist im strikten Sandkastenmodus nicht erlaubt" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "Konnte xdg-open nicht ausführen." -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "Verknüpfung: Seite %d" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "Verknüpfung: %s" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "Verknüpfung: ungültig" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "Reparentiert zathura an das Fenster mit der xid (X11)" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "Pfad zum Konfigurationsverzeichnis" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "Pfad zum Datenverzeichnis" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "Pfad zum Cacheverzeichnis" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "Pfad zum Pluginverzeichnis" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "Forkt den Prozess in den Hintergrund" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "Dokument Passwort" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "Zur Seite springen" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "Log-Stufe (debug, info, warning, error)" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "Zeige Versionsinformationen an" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "Synctex Editor (wird an synctex weitergeleitet)" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "Zur gewählten SyncTeX-Position springen" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "Gewählte Position im Prozess hervorheben" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "In einem Nicht-Standardmodus starten" @@ -647,7 +650,13 @@ msgstr "Bild kopieren" msgid "Save image as" msgstr "Bild speichern als" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "Drucke Seite %d ..." + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "Drucken fehlgeschlagen: %s" @@ -657,35 +666,35 @@ msgstr "Drucken fehlgeschlagen: %s" msgid "Invalid adjust mode: %d" msgstr "Ungültiger Anpassungsmodus: %d" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "Suchausdruck nicht gefunden: %s" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "[Kein Name]" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "Konnte Datei nicht von stdin lesen und in temporäre Datei schreiben." -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "Konnte Datei nicht mittels GIO in temporäre Datei kopieren." -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "Passwort:" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "Dateityp ist nicht unterstützt. Installiere das benötigete Plugin." -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "Dieses Dokument beinhaltet keine Seiten" diff --git a/po/el.po b/po/el.po index 336a207b939fbfd53b6f4a4d487e69d6fdf6ad74..141bd318833ef08b158799127d1f3771bcc91044 100644 --- a/po/el.po +++ b/po/el.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-11 19:53+0000\n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-05-23 20:44+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Greek (http://www.transifex.com/pwmt/zathura/language/el/)\n" "Language: el\n" @@ -83,14 +83,14 @@ msgid "Copied selected image to selection %s" msgstr "" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "Δεν άνοιξε κανένα αρχείο. " -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "Μη έγκυρος αριθμός παραμέτρων." @@ -177,53 +177,57 @@ msgstr "Εισήχθησαν πολλές παράμετροι. " msgid "No arguments given." msgstr "Δεν εισήχθησαν παράμετροι. " -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "Το αρχείο αποθηκεύτηκε." -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "Η αποθήκευση του αρχείου απέτυχε. " -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "Μη έγκυρος ο αριθμός των παραμέτρων. " -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Μη επιτυχής η εγγραγή της προσάρτησης '%s' στην '%s'." -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Επιτυχής η εγγραφή της προσάρτησης '%s' στην '%s'." -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Ενεγράφει η εικόνα '%s' στην '%s'" -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Δεν ενεγράφει η εικόνα '%s' στην '%s'." -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "Άγνωστη εικόνα '%s'. " -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Άγνωστο προσάρτημα είτε εικόνα '%s'. " -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "Η παράμετρος πρέπει να είναι αριθμός." @@ -242,389 +246,389 @@ msgid "Images" msgstr "Εικόνες" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "Το βασικό εργαλείο της βάσης δεδομένων" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "Βήμα μεγέθυνσης" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "Διάκενο μεταξύ σελίδων" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "Αριθμός σελίδων ανά γραμμή" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "Στήλη της πρώτης σελίδας" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "Βήμα κύλισης" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "Βήμα οριζόντιας κύλησης" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "Ελάχιστη μεγέθυνση" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "Μέγιστη μεγέθυνση" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "Επαναχρωματισμός (σκούρο χρώμα)" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "Επαναχρωματισμός (ανοικτό χρώμα)" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "Χρώμα τονισμού" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "Χρώμα τονισμού (ενεργό)" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "Επαναχρωματισμός σελίδων" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" "Κατά τον επαναχρωματισμό της σελιδάς διατήρηση της αρχικής απόχρωσης και " "αλλαγή μόνο της φωτεινότητας" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "Κυκλική κύληση" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "Προώθηση σε αριθμό σελίδων ανά γραμμή" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "Μεγένθηση οριζοντίως κεντραρισμένη" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "Οριζόντιο κεντράρισμα αποτελεσμάτων" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "Διαφάνεια για τονισμό" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "Εμφάνιση της ένδειξης 'Φορτώνει ...'" -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "Προσαρμογή κατά το άνοιγμα του αρχείου" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "Εμφάνιση κρυφών αρχείων και φακέλων" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "Εμφάνιση καταλόγων" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "Άνοιγμα πάντα στην πρώτη σελίδα" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "Τονισμός αποτελεσμάτων αναζήτησης" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "Εκκαθάριση των απολεσμάτων αναζήτησης κατά την διακοπή" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "Χρήση του ονόματος του αρχείο στο τίτλο του παραθύρου" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "Ενεργοποίηση υποστήριξης synctex" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "Προσθήκη σελιδοδείκτη" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "Διαγραφή σελιδοδείκτη" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "Εμφάνιση όλων των σελιδοδεικτών" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "Κλείσιμο αρχείου" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "Προβολή πληροφοριών αρχείου" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "Εκτέλεση εντολής" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "Εμφάνιση βοήθειας" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "Άνοιγμα αρχείου" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "Κλείσιμο" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "Εκτύπωση αρχείου" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "Αποθήκευση αρχείου" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "Αποθήκευση αρχείου (και αντικατάσταση)" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "Αποθήκευση προσαρτήσεων. " -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "Ρύθμιση αντιστάθμισης σελίδας" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "Επισήμανση τρέχουσας θέσης στο κείμενο" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "Διαγραφή επιλεγμένων σημείων" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "Χωρίς τονισμό τα τρέχοντα αποτελέσματα της αναζήτησης" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "Τονισμός στα τρέχοντα αποτελέσματα της αναζήτησης" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "Εμφάνιση πληροφοριών έκδοσης" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "Απέτυχε η εκτέλεση του xdg-open. " -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "Διαδρομή του αρχείου ρυθμίσεων" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "Διαδρομή του φακέλου δεδομένων" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "Διαδρομή φακέλου που περιέχει τα πρόσθετα" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "Διακλάδωση στο παρασκήνιο" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "Κωδικός αρχείου" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "Επίπεδο καταγραφής (debug, info, warning, error)" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "Εκτύπωση πληροφοριών έκδοσης" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "Synctex editor (Προώθηση στην εντολή synctex)" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "" @@ -640,7 +644,13 @@ msgstr "Αντιγραφή εικόνας" msgid "Save image as" msgstr "Αποθήκευση εικόνας ως..." -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "" + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "" @@ -650,35 +660,35 @@ msgstr "" msgid "Invalid adjust mode: %d" msgstr "" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "Το αρχείο δεν περιέχει κανένα δείκτη" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "[Χωρίς όνομα]" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "" -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "" -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "" diff --git a/po/eo.po b/po/eo.po index 1afb2caff846652516a1120c6e708b4909f36899..621b7076244d72f2a38af5a775e150a945ccf6a4 100644 --- a/po/eo.po +++ b/po/eo.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-11 19:53+0000\n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-05-23 20:44+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Esperanto (http://www.transifex.com/pwmt/zathura/language/" "eo/)\n" @@ -83,14 +83,14 @@ msgid "Copied selected image to selection %s" msgstr "" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "Neniu dokumento malfermita." -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "Nevalida nombro da argumentoj uzata." @@ -177,53 +177,57 @@ msgstr "Tro multe da argumentoj." msgid "No arguments given." msgstr "Neniuj argumentoj uzata." -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "Dokumento konservita." -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "Neeble konservi dokumenton." -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "Nevalida nombro da argumentoj." -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Neeble skribi kunsendaĵon '%s' en '%s'." -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Skribis kunsendaĵon '%s' en '%s'." -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Skribis kunsendaĵon '%s' en '%s'." -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Neeble skribi kunsendaĵon '%s' en '%s'." -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "Nekonata bildo '%s'." -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "" -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "Argumento devas esti nombro." @@ -242,387 +246,387 @@ msgid "Images" msgstr "Bildoj" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "Zompaŝo" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "Interpaĝa plenigo" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "Nombro da paĝoj po vico" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "Rulumpaŝo" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "Mimimuma zomo" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "Maksimuma zomo" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "Rekolorigo (malhela koloro)" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "Rekolorigo (hela koloro)" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "Koloro por fonlumo" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "Koloro por fonlumo (aktiva)" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "Rekoloru paĝojn" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "Ĉirkaŭflua rulumado" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "Travidebleco por fonlumo" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "Bildigu 'Ŝargado ...'" -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "Adaptaĵo ĉe malfermo de dosiero" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "Montru kaŝitajn dosierojn kaj -ujojn" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "Montru dosierujojn" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "Ĉiam malfermu ĉe unua paĝo" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "Aldonu paĝosignon" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "Forigu paĝosignon" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "Listigu ĉiujn paĝosignojn" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "Fermu nunan dosieron" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "Montru dosiera informacio" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "Montru helpon" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "Malfermu dokumenton" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "Fermu zathura" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "Presu dokumenton" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "Konservu dokumenton" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "Konservu dokumenton (deviga anstataŭo)" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "Konservu kunsendaĵojn" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "Agordu paĝdelokado" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "Fiaskis iro de xdg-open" -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "Vojo al la agorda dosierujo" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "Vojo al la datuma dosierujo" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "Vojoj al dosierujoj enhavantaj kromaĵojn" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "Nivelo de ĵurnalo (debug, info, warning, error)" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "Montru dosiera informacio" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "" @@ -638,7 +642,13 @@ msgstr "Kopiu bildon" msgid "Save image as" msgstr "Savi bildojn kiel" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "" + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "" @@ -648,35 +658,35 @@ msgstr "" msgid "Invalid adjust mode: %d" msgstr "" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "Ĉi-tiu dokumento enhavas neniam indekson." -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "[Neniu nomo]" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "" -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "" -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "" diff --git a/po/es.po b/po/es.po index 2a5a0c6071172edd62aacf8fd057dd3995bd5d2a..a7eab71a403231b28c21c289c049b448d8603ce5 100644 --- a/po/es.po +++ b/po/es.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-11 19:53+0000\n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-05-23 20:44+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Spanish (http://www.transifex.com/pwmt/zathura/language/es/)\n" "Language: es\n" @@ -81,14 +81,14 @@ msgid "Copied selected image to selection %s" msgstr "" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "Ningún documento abierto." -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "Número de argumentos inválido." @@ -175,53 +175,57 @@ msgstr "Demasiados argumentos." msgid "No arguments given." msgstr "Ningún argumento recibido." -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "Documento guardado." -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "Error al guardar el documento." -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "Número de argumentos inválido." -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'." -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Escrito fichero adjunto '%s' a '%s'." -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Escrito fichero adjunto '%s' a '%s'." -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'." -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "Imagen desconocida '%s'." -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Adjunto o imagen desconocidos '%s'." -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "El argumento ha de ser un número." @@ -240,389 +244,389 @@ msgid "Images" msgstr "Imágenes" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "Base de datos" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "Unidad de zoom" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "Separación entre páginas" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "Número de páginas por fila" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "Columna de la primera página" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "Paso de desplazamiento" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "Paso de desplazamiento horizontal" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "Solapamiento del desplazamiento de página" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "Zoom mínimo" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "Zoom máximo" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "Número de posiciones a recordar en la lista de saltos" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "Recoloreado (color oscuro)" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "Recoloreado (color claro)" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "Color para destacar" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "Color para destacar (activo)" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "Recolorear páginas" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" "Cuando se recoloree, mantener el tono original y ajustar únicamente la " "luminosidad" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "Navegación/Scroll cíclica/o" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "Zoom centrado horizontalmente" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "Centrar el resultado horizontalmente" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "Transparencia para el destacado" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "Renderizado 'Cargando ...'" -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "Ajustarse al abrir un fichero" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "Mostrar directorios y ficheros ocultos" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "Mostrar directorios" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "Abrir siempre la primera página" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "Destacar los resultados de búsqueda" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "Habilitar la búsqueda incremental" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "Borrar resultados de búsqueda al abortar" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "Usar el nombre del archivo en el título de la ventana" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "Habilitar soporte synctex" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "Añadir Favorito" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "Eliminar Favorito" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "Listar favoritos" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "Cerrar fichero actual" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "Mostrar información del fichero" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "Ejecutar un comando" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "Mostrar ayuda" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "Abrir documento" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "Salir de zathura" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "Imprimir documento" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "Guardar documento" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "Guardar documento (y sobreescribir)" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "Guardar ficheros adjuntos" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "Asignar el desplazamiento de página" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "Marcar la posición actual en el documento" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "Borrar las marcas especificadas" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "No destacar los resultados de la búsqueda actual" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "Destacar los resultados de la búsqueda actual" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "Mostrar versión" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "Error al tratar de ejecutar xdg-open" -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "Reasignar a la ventana especificada por xid (X11)" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "Ruta al directorio de configuración" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "Ruta para el directorio de datos" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "Ruta a los directorios que contienen los plugins" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "Fork, ejecutándose en background" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "Contraseña del documento" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "Nivel de log (debug, info, warning, error)" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "Mostrar información del fichero" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "Editor de Synctex (reenvíado al commando synctex)" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "" @@ -638,7 +642,13 @@ msgstr "Copiar imagen" msgid "Save image as" msgstr "Salvar imagen como" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "" + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "" @@ -648,35 +658,35 @@ msgstr "" msgid "Invalid adjust mode: %d" msgstr "" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "Este documento no contiene ningún índice" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "[Sin nombre]" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "" -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "" -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "" diff --git a/po/es_CL.po b/po/es_CL.po index 88bbbc3ce1c35f4475e172b20193be2cf32d6fcc..47cdbdafed6a455b890ad2f0b9c71d3ec4178d41 100644 --- a/po/es_CL.po +++ b/po/es_CL.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-11 19:53+0000\n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-05-23 20:44+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Spanish (Chile) (http://www.transifex.com/pwmt/zathura/" "language/es_CL/)\n" @@ -83,14 +83,14 @@ msgid "Copied selected image to selection %s" msgstr "" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "Ningún documento abierto." -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "Número de argumentos inválido." @@ -177,53 +177,57 @@ msgstr "Demasiados argumentos." msgid "No arguments given." msgstr "Ningún argumento recibido." -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "Documento guardado." -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "Error al guardar el documento." -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "Número de argumentos inválido." -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'." -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Fichero adjunto escrito '%s' a '%s'." -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Fichero adjunto escrito '%s' a '%s'." -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'." -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "" -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "" -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "El argumento debe ser un número." @@ -242,387 +246,387 @@ msgid "Images" msgstr "" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "Fin de la base de datos." -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "Unidad de zoom" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "Separación entre páginas" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "Numero de páginas por fila" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "Unidad de desplazamiento" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "Zoom mínimo" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "Zoom máximo" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "Recolorando (color oscuro)" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "Recolorando (color claro)" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "Color para destacar" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "Color para destacar (activo)" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "Recolorar páginas" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "Scroll cíclico" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "Transparencia para lo destacado" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "Renderizando 'Cargando...'" -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "Ajustar al abrirse un archivo" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "Mostrar archivos ocultos y directorios" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "Mostrar directorios" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "Siempre abrir en primera página" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "Agregar un marcador" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "Eliminar un marcador" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "Listar todos los marcadores" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "Cerrar archivo actual" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "Mostrar información del archivo" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "Mostrar ayuda" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "Abrir documento" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "Cerrar zathura" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "Imprimir documento" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "Guardar documento" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "Guardar documento (y forzar sobreescritura)" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "Guardar archivos adjuntos" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "Asignar desplazamiento de la página" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "Error al ejecutar xdg-open." -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "Reasignar a la ventana especificada por xid (X11)" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "Ruta al directorio de configuración" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "Ruta al directorio de datos" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "Ruta al directorio que contiene plugins" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "Ejecución en background" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "Nivel de log (debug, info, warning, error)" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "Mostrar información del archivo" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "" @@ -638,7 +642,13 @@ msgstr "Copiar imagen" msgid "Save image as" msgstr "" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "" + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "" @@ -648,35 +658,35 @@ msgstr "" msgid "Invalid adjust mode: %d" msgstr "" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "Este document no contiene índice" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "[Sin nombre]" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "" -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "" -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "" diff --git a/po/et.po b/po/et.po index 6e5d4d150633fd4218d490b1ed774abc807af434..b4da9a7464158e7b0ca503df0102a38b2da03e1e 100644 --- a/po/et.po +++ b/po/et.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-11 19:53+0000\n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-05-23 20:44+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Estonian (http://www.transifex.com/pwmt/zathura/language/" "et/)\n" @@ -83,14 +83,14 @@ msgid "Copied selected image to selection %s" msgstr "" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "" -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "" @@ -177,53 +177,57 @@ msgstr "" msgid "No arguments given." msgstr "" -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "" -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "" -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "" -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "" -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "" -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "" -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "" -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "" -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "" -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "" @@ -242,387 +246,387 @@ msgid "Images" msgstr "" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "Esiletõstmise värv" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "Esiletõstmise värv (aktiivne)" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "" -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "Näita kaustasid" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "Ava alati esimene leht" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "Lisa järjehoidja" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "Kustuta järjehoidja" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "Näita kõiki järjehoidjaid" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "Sulge praegune fail" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "Näita faili infot" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "Näita abiinfot" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "Ava dokument" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "Sule zathura" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "Prindi dokument" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "Salvesta dokument" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "Salvesta manused" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "" -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "Näita faili infot" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "" @@ -638,7 +642,13 @@ msgstr "Kopeeri pilt" msgid "Save image as" msgstr "" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "" + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "" @@ -648,35 +658,35 @@ msgstr "" msgid "Invalid adjust mode: %d" msgstr "" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "[Nime pole]" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "" -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "" -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "" diff --git a/po/fr.po b/po/fr.po index ddeefb5d61c98bac55e6cdedfbff12c650ec601f..222fed4d7a81e4a9f55f00ce9fbce2b330aad831 100644 --- a/po/fr.po +++ b/po/fr.po @@ -11,8 +11,8 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-11 19:53+0000\n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-05-23 20:44+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: French (http://www.transifex.com/pwmt/zathura/language/fr/)\n" "Language: fr\n" @@ -86,14 +86,14 @@ msgid "Copied selected image to selection %s" msgstr "" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "Aucun document ouvert." -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "Nombre d'arguments invalide." @@ -180,53 +180,57 @@ msgstr "Trop d'arguments." msgid "No arguments given." msgstr "Aucun argument passé." -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "Document enregistré." -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "Échec lors de l'enregistrement du document." -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "Nombre d'arguments invalide." -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Impossible d'écrire la pièce jointe '%s' dans '%s'." -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Pièce jointe '%s' écrite dans '%s'." -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Image '%s' écrite dans '%s'." -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Impossible d'écrire l'image '%s' dans '%s'." -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "Image '%s' inconnue." -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Pièce jointe ou image '%s' inconnue." -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "L'argument doit être un nombre." @@ -245,389 +249,389 @@ msgid "Images" msgstr "Images" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "Gestionnaire de base de données" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "Incrément de zoom" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "Espacement entre les pages" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "Nombre de page par rangée" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "Colonne de la première page" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "Incrément de défilement" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "Incrément de défilement horizontal" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "Recouvrement lors du défilement par page entière" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "Zoom minimum" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "Zoom maximum" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "Nombre maximum de pages à garder en cache" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "Nombre de positions à mémoriser dans la liste de sauts" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "Recoloration (couleur sombre)" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "Recoloration (couleur claire)" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "Couleur de surbrillance" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "Couleur de surbrillance (active)" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "Couleur d'arrière-plan de 'Chargement...'" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "Couleur de 'Chargement...'" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "Recoloriser les pages" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" "Lors de la recoloration garder la teinte d'origine et ajuster seulement la " "luminosité" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "Défiler en boucle" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "Défilement tenant compte des limites de page" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "Augmenter le nombre de pages par rangée" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "Zoom centré horizontalement" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "Aligner la cible du lien à gauche" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "Autoriser la modification du zoom quand on suit un lien" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "Centrer le résultat horizontalement" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "Transparence de la surbrillance" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "Afficher 'Chargement...'" -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "Ajuster à l'ouverture du fichier" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "Montrer les fichiers et dossiers cachés" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "Montrer les dossiers" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "Toujours ouvrir à la première page" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "Surligner les résultats de la recherche" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "Activer la recherche incrémentale" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "Effacer les résultats de recherche en cas d'annulation" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "Utiliser le nom de base du fichier dans le titre de la fenêtre" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "Afficher le numéro de page dans le titre de la fenêtre" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "Utiliser le nom de base du fichier dans la barre d'état" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "Activer la prise en charge de synctex" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "Activer le service D-Bus" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "Le presse-papiers qui recevra les données sélectionnées avec la souris" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "Ajouter un marque-page" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "Supprimer un marque-page" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "Lister tous les marque-pages" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "Fermer le fichier actuel" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "Montrer les informations sur le fichier" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "Exécuter une commande" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "Afficher l'aide" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "Ouvrir un document" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "Quitter zathura" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "Imprimer le document" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "Sauver le document" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "Sauver le document (et forcer l'écrasement)" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "Enregistrer les pièces jointes" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "Définir le décalage de page" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "Marquer l'emplacement actuel dans le document" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "Supprimer les marques indiquées" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "Ne pas surligner les résultats de la recherche en cours" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "Surligner les résultats de la recherche en cours" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "Afficher les informations de version" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "Échec lors du lancement de xdg-open." -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "Lien : page %d" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "Lien : %s" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "Lien : Invalide" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "Rattacher à la fenêtre spécifiée par xid (X11)" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "Chemin vers le dossier de configuration" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "Chemin vers le dossier de données" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "Chemin vers le dossier de plugins" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "Détacher en arrière-plan" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "Mot de passe du document" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "Numéro de page où aller" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "Niveau de journalisation (debug, info, warning, error)" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "Afficher les informations de version" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "Éditeur synctex (transféré à la commande synctex)" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "Démarrer dans un mode non-défaut" @@ -643,7 +647,13 @@ msgstr "Copier l'image" msgid "Save image as" msgstr "Enregistrer l'image sous" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "" + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "Echec d'impression : %s" @@ -653,38 +663,38 @@ msgstr "Echec d'impression : %s" msgid "Invalid adjust mode: %d" msgstr "" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "Ce document ne contient pas d'index" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "[Sans nom]" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "" "Impossible de lire le fichier depuis stdin et de le sauvegarder dans un " "fichier temporaire." -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "" "Type de fichier non supporté. Veuillez installer l'extension nécessaire." -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "Ce document ne contient aucune page" diff --git a/po/he.po b/po/he.po index ebb074784720ddf47325ade376bfe9aaff1739fd..f2bedfb861946950db4256b8e7635eff02afdc3f 100644 --- a/po/he.po +++ b/po/he.po @@ -6,15 +6,16 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-11 19:53+0000\n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-05-23 20:44+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Hebrew (http://www.transifex.com/pwmt/zathura/language/he/)\n" "Language: he\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % " +"1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n" #: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5 msgid "Zathura" @@ -81,14 +82,14 @@ msgid "Copied selected image to selection %s" msgstr "" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "" -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "" @@ -175,53 +176,57 @@ msgstr "" msgid "No arguments given." msgstr "" -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "" -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "" -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "" -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "" -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "" -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "" -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "" -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "" -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "" -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "" @@ -240,387 +245,387 @@ msgid "Images" msgstr "" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "" -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "" -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "" @@ -636,7 +641,13 @@ msgstr "" msgid "Save image as" msgstr "" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "" + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "" @@ -646,35 +657,35 @@ msgstr "" msgid "Invalid adjust mode: %d" msgstr "" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "" -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "" -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "" diff --git a/po/hr.po b/po/hr.po index 8a94376ef5c73124f2e74298272d52f18f06dc60..b128aba260f8dae2ab1a8064fa94bd6e3c75a63e 100644 --- a/po/hr.po +++ b/po/hr.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-11 19:53+0000\n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-05-23 20:44+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Croatian (http://www.transifex.com/pwmt/zathura/language/" "hr/)\n" @@ -83,14 +83,14 @@ msgid "Copied selected image to selection %s" msgstr "" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "" -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "" @@ -177,53 +177,57 @@ msgstr "" msgid "No arguments given." msgstr "" -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "" -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "" -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "" -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "" -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "" -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "" -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "" -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "" -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "" -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "" @@ -242,387 +246,387 @@ msgid "Images" msgstr "" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "" -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "" -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "" @@ -638,7 +642,13 @@ msgstr "" msgid "Save image as" msgstr "" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "" + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "" @@ -648,35 +658,35 @@ msgstr "" msgid "Invalid adjust mode: %d" msgstr "" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "" -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "" -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "" diff --git a/po/id_ID.po b/po/id_ID.po index 48c5e8296de0f798fa2b4eb804ed8b20ab6f03bc..91669d22951bf04429c5ea9f2ce17aced9f63f95 100644 --- a/po/id_ID.po +++ b/po/id_ID.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-11 19:53+0000\n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-05-23 20:44+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Indonesian (Indonesia) (http://www.transifex.com/pwmt/zathura/" "language/id_ID/)\n" @@ -83,14 +83,14 @@ msgid "Copied selected image to selection %s" msgstr "" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "Tidak ada dokumen yang terbuka." -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "jumlah argumen yang diberikan tidak valid" @@ -177,53 +177,57 @@ msgstr "Argumen terlalu banyak" msgid "No arguments given." msgstr "Tidak ada argumen yang diberikan" -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "Dokumen telah disimpan" -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "Gagal menyimpan dokumen" -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "Jumlah argumen tidak valid" -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Tidak dapat menulis lampiran '%s' ke '%s'" -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Tidak dapat menyimpan lampiran '%s' ke '%s'" -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Menulis citra dari '%s' ke '%s'" -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Tidak dapat menulis citra '%s' ke %s'" -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "Citra tidak diketahui '%s'" -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Lampiran atau gambar tidak diketahui '%s'" -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "Argumen harus berupa angka." @@ -242,388 +246,388 @@ msgid "Images" msgstr "Citra" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "backend database" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "Tingkat pembesaran" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "Selisih antar halaman" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "Jumlah halaman tiap kolom" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "Kolom pada halaman pertama" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "Tingkat menggulung" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "Tingkat penggulungan horisontal" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "Geser laman utuh" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "Pembesaran minimum" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "Pembesaran maksimal" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "Jumlah laman yang disimpan pada cache" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "" "Ukuran maksimal gambar thumbnail dalam piksel yang disimpan di tembolok" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "Jumlah posisi yang diingat pada jumplist" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "Mewarnai ulang (warna gelap)" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "Mewarnai ulang (warna cerah)" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "Warna sorotan" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "Warna sorotan (aktif)" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "'Memuat ...; warna latar" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "'Memuat ...' warna depan" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "Warna depan mode indeks" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "Warna latar mode indeks" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "Warna depan mode indeks (elemen aktif)" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "Warna latar mode indeks (elemen aktif)" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "Mewarnai ulang halaman" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "Ketika mewarnai ulang, jaga hue dan sesuaikan kecerahan saja" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "Warna citra tetap sama saat mewarnai ulang" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "Lipat gulung" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "Penggulungan sadar halaman" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "Jumlah halaman per baris \"lanjutan\"" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "Pembesaran horisontal tengah" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "Ratakan tautan ke kiri" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "Biarkan pembesaran berubah saat mengikuti pranala" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "Tengah-horisontalkan hasil" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "Transparansi sorotan" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "Memuat Render..." -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "Menyesuaikan ketika membuka file" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "Perlihatkan file dan direktori tersembunyi" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "Perlihatkan direktori" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "Selalu buka halaman pertama" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "Sorot hasil pencarian" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "Fungsikan pencarian berkelanjutan" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "Hapus hasil pencarian ketika batal mencari" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "Gunakan nama dasar file pada judul jendela" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "Tampilkan nomor laman pada jendela judul" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "Gunakan nama dasar berkas pada statusbar" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "Support synctex" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "Penyunting perintah Synctex" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "Aktifkan layanan D-Bus" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "Data yang dipilih tetikus akan ditulis ke clipboard" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "Aktifkan pemberitahuan setelah menyeleksi teks" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "Tambahkan pada bookmark" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "Hapus bookmark" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "Perlihatkan semua bookmark" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "Tutup file ini" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "Informasi file" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "Jalankan perintah" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "Bantuan" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "Buka dokumen" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "Tutup zathura" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "Cetak dokumen" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "Simpan dokumen" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "Simpan dokumen (dan menimpa berkas)" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "Simpan lampiran" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "Set offset halaman" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "Tandai lokasi sekarang dalam dokumen" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "Hapus tanda terpilih" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "Jangan menyorot hasil cari sekarang" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "Sorot hasil pencarian sekarang" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "Tunjukan informasi versi" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "Gagal menjalankan program xdg-open" -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "Link: halaman %d" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "Link: %s" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "Link: Tidak valid" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "Mengembalikan jendela sesuai dengan xid yang ditentukan (X11)" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "Path ke direktori konfigurasi" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "Path ke direktori data" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "Path ke direktori tembolok" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "Path ke direktori plugin" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "Jalankan pada latar" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "Kata sandi dokumen" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "Nomor halaman tujuan" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "Tingkat log (debug, info, peringatan, error)" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "Cetak informasi versi" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "Synctex editor (diteruskan ke perintah synctex)" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "Pindahkan ke posisi synctex yang diberikan" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "Sorot posisi pada proses yang diberikan" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "Mulai pada mode non-bawaan" @@ -639,7 +643,13 @@ msgstr "Salin gambar" msgid "Save image as" msgstr "Simpan gambar sebagai" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "" + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "Gagal mencetak: %s" @@ -649,36 +659,36 @@ msgstr "Gagal mencetak: %s" msgid "Invalid adjust mode: %d" msgstr "" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "Dokumen ini tidak mempunyai indeks" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "[Tidak berjudul]" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "" "Tidak dapat membaca berkas dari stdin dan menulisnya ke berkas sementar" -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "Tipe berkas tidak didukung. Silakan memasang plugin yang dibutuhkan." -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "Dokumen tidak mempunyai laman apapun" diff --git a/po/it.po b/po/it.po index ae8c5528fc7480cef4990f1bce12a48aab8d7c68..2f70e959157bb6b588db84d3cd1ed44e57e9fde7 100644 --- a/po/it.po +++ b/po/it.po @@ -10,8 +10,8 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-11 19:53+0000\n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-05-23 20:44+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Italian (http://www.transifex.com/pwmt/zathura/language/it/)\n" "Language: it\n" @@ -85,14 +85,14 @@ msgid "Copied selected image to selection %s" msgstr "" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "Nessun documento aperto." -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "Numero di argomenti errato." @@ -179,53 +179,57 @@ msgstr "Numero di argomenti eccessivo." msgid "No arguments given." msgstr "Nessun argomento specificato." -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "Documento salvato." -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "Impossibile salvare il documento." -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "Numero di argomenti non valido." -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Impossibile salvare l' allegato '%s' in '%s'" -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Allegato '%s' salvato in '%s'" -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Immagine '%s' salvata come '%s'" -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Impossibile salvare l' immagine '%s' come '%s'" -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "Immagine sconosciuta '%s'" -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Immagine o allegato sconosciuti '%s" -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "L' argomento dev' essere un numero." @@ -244,387 +248,387 @@ msgid "Images" msgstr "Immagini" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "Backend del database" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "Spaziatura tra le pagine" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "Numero di pagine per riga" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "Zoom minimo" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "Zoom massimo" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "Numero massimo di pagine da mantenere nella cache" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "Numero di posizioni da mantenere nella jumplist" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "Ricolora le pagine" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "Scrolling continuo" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "Centra orizzontalmente i risultati" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "" -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "Mostra file e cartelle nascosti" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "Mostra cartelle" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "Apri sempre alla prima pagina" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "Evidenzia i risultati della ricerca" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "Abilita la ricerca incrementale" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "Mostra il numero di pagina nel titolo della finestra" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "Abilita il supporto per synctex" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "Abilita il servizio D-Bus" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "Attiva la notifica dopo aver selezionato del testo" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "Aggiungi un segnalibro" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "Elimina un segnalibro" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "Mostra i segnalibri" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "Chiudi il file corrente" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "Mostra le informazioni sul file" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "Esegui un comando" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "Mostra l' aiuto" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "Apri un documento" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "Chiudi zathura" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "Stampa il documento" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "Salva il documento" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "Salva il documento (e sovrascrivi)" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "Salva allegati" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "Imposta l' offset della pagina" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "Segna la posizione attuale all'interno del documento" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "Non evidenziare i risultati della ricerca in corso" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "Evidenzia i risultati della ricerca in corso" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "Mostra informazioni sulla versione" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "Impossibile eseguire xdg-open." -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "Link: pagina %d" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "Link: %s" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "Link: non valido" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "Percorso della directory della configurazione" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "Percorso della directory dei dati" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "Percorso della cartella di cache" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "Percorso della directory contenente i plugin" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "Crea un processo separato" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "Password del documento" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "Livello di log (debug, info, warning, error)" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "Mostra le informazioni sul file" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "" @@ -640,7 +644,13 @@ msgstr "Copia immagine" msgid "Save image as" msgstr "Salva immagine come" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "" + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "Impossibile stampare: %s" @@ -650,37 +660,37 @@ msgstr "Impossibile stampare: %s" msgid "Invalid adjust mode: %d" msgstr "" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "Questo documento non contiene l' indice" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "[Nessun nome]" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "" "Impossibile leggere il file dall' stdin e scriverlo in un file temporaneo." -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "" "Tipo di file non supportato. Per favore, installa il plugin necessario." -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "Il documento non contiene alcuna pagina" diff --git a/po/lt.po b/po/lt.po index 2bec30fa6f54005e7582839f7e8ae9e0bdbf3a26..910bba15c7a2b92144a4a30d1192cabcb412522c 100644 --- a/po/lt.po +++ b/po/lt.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-11 19:53+0000\n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-05-23 20:44+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Lithuanian (http://www.transifex.com/pwmt/zathura/language/" "lt/)\n" @@ -16,8 +16,9 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" -"%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < " +"11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? " +"1 : n % 1 != 0 ? 2: 3);\n" #: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5 msgid "Zathura" @@ -84,14 +85,14 @@ msgid "Copied selected image to selection %s" msgstr "" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "Nėra atidarytų dokumentų." -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "Duotų parametrų skaičius yra neteisingas." @@ -178,53 +179,57 @@ msgstr "Per daug parametrų." msgid "No arguments given." msgstr "Parametrai neduoti." -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "Dokumentas išsaugotas." -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "Dokumento išsaugoti nepavyko." -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "Neteisingas parametrų skaičius." -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Priedas „%s“ negalėjo būti įrašytas į „%s“." -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Priedas „%s“ įrašytas į „%s“." -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Atvaizdas „%s“ įrašytas į „%s“." -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Atvaizdas „%s“ negalėjo būti įrašytas į „%s“," -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "Nežinomas atvaizdas „%s“." -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Nežinomas priedas ar atvaizdas „%s“." -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "Parametras turi būti skaičius." @@ -243,387 +248,387 @@ msgid "Images" msgstr "Atvaizdai" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "Duomenų bazės posistemė" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "Priartinimo žingsnis" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "Užpildymas tarp puslapių" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "Puslapių skaičius eilutėje" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "Pirmo puslapio stulpelis" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "Slinkties žingsnis" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "Horizontalios slinksties žingsnis" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "Mažiausias priartinimas" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "Didžiausias priartinimas" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "Puslapių limitas spartinančioje atmintinėje" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "Spalvų keitimas (tamsi spalva)" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "Spalvų keitimas (šviesi spalva)" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "Žymos spalva" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "Žymos spalva (aktyvi)" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "„Kraunama ...“ fono spalva" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "„Kraunama ...“ pagrindinė spalva" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "Pakeisti spalvas" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "Puslapių ribas atpažįstanti slinktis" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "Padidinti puslapių skaičių eilutėje" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "Žymų skaidrumas" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "Atvaizduoti „Kraunama ...“" -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "Prisitaikyti atidarant bylą" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "Rodyti paslėptus failus ir katalogus" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "Rodyti katalogų sąrašą" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "Visada atverti pirmą puslapį" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "Pažymėti paieškos rezultatus" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "Įjungti prieauginę paiešką" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "Išvalyti paieškos rezultatus nutraukiant" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "Rodyti puslapio skaičių lango pavadinime" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "Naudoti bylos vardą būsenos juostoje" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "Įjungti synctex palaikymą" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "Pridėti žymę" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "Ištrinti žymę" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "Žymių sąrašas" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "Uždaryti dabartinę bylą" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "Rodyti bylos informaciją" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "Rodyti pagalbą" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "Atidryti dokumentą" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "Uždaryti zathura" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "Atspausdinti dokumentą" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "Išsaugoti dokumentą" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "Išsaugoti dokumentą (ir priverstinai perašyti)" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "Išsaugoti priedus" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "Nustatyti puslapio poslinkį" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "Pažymėti dabartinę dokumento vietą" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "Ištrinti šias žymes" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "Nežymėti dabartinės paieškos rezultatų" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "Pažymėti dabartinės paieškos rezultatus" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "Rodyti versijos informaciją" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "Klaida xdg-open paleidime." -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "Nuoroda: %d puslapis" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "Nuoroda: %s" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "Neteisinga nuoroda" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "Konfigūracinių failų aplanko adresas" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "Duomenų aplanko adresas" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "Įskiepių aplanko adresas" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "Dokumento slaptažodis" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "Pereiti į puslapį" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "Registravimo lygis (derinimas, informacija, įspėjimai, klaidos)" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "Spausdinti versijos informaciją" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "Synctex redaktorius (naudojama synctex komandoje)" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "" @@ -639,7 +644,13 @@ msgstr "Kopijuoti atvaizdą" msgid "Save image as" msgstr "Irašyti atvaizdą kaip" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "" + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "" @@ -649,35 +660,35 @@ msgstr "" msgid "Invalid adjust mode: %d" msgstr "" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "Šit dokumentas neturi turinio" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "[Bevardis]" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "" -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "Bylos tipas nepalaikomas. Įdiekite tam skirtus įskiepius." -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "Dokumente puslapių nėra" diff --git a/po/nl.po b/po/nl.po index 70fbd7169b45c03b7dedeecb404013499b01cbbc..45326c9eda2294281bf2d6655c11cd49d83a150f 100644 --- a/po/nl.po +++ b/po/nl.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-12 11:19+0000\n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-09-04 18:32+0200\n" "Last-Translator: Heimen Stoffels \n" "Language-Team: Dutch (http://www.transifex.com/pwmt/zathura/language/nl/)\n" "Language: nl\n" @@ -87,14 +87,14 @@ msgid "Copied selected image to selection %s" msgstr "Afbeelding gekopieerd naar selectie %s" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "Geen geopend document." -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "Ongeldig aantal argumenten opgegeven." @@ -181,53 +181,57 @@ msgstr "Teveel argumenten." msgid "No arguments given." msgstr "Geen argumenten opgegeven." -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "Afdrukken is niet toegestaan in de strenge sandbox-modus" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "Document opgeslagen." -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "Document opslaan mislukt." -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "Ongeldig aantal argumenten." -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Bijlage '%s' kan niet worden weggeschreven naar '%s'." -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Bijlage '%s' weggeschreven naar '%s'." -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Afbeelding '%s' weggeschreven naar '%s'." -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Afbeelding '%s' kan niet worden weggeschreven naar '%s'." -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "Onbekende afbeelding '%s'." -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Onbekende bijlage of afbeelding '%s'." -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "Argument moeten een getal zijn." @@ -246,395 +250,395 @@ msgid "Images" msgstr "Afbeeldingen" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "Database-backend" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "Bestandsmonitor-backend" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "Zoomschaal" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "Opvulling tussen pagina's" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "Aantal pagina's per rij" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "Kolom van de eerste pagina" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "Scrollschaal" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "Horizontale scrollschaal" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "Scrolloverlapping op volledige pagina" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "Minimale zoom" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "Maximale zoom" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "Maximaal aantal pagina's dat moet worden bewaard in de cache" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "" "Maximaal aantal in pixels van voorbeeldweergaven die moeten worden bewaard " "in de cache" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "Aantal posities dat moet worden onthouden in de jumplist" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "Herkleuren (donkere kleur)" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "Herkleuren (lichte kleur)" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "Markeerkleur" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "Markeerkleur (actief)" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "'Bezig met laden ...'-achtergrondkleur" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "'Bezig met laden ...'-voorgrondkleur" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "Indexmodus-voorgrondkleur" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "Indexmodus-achtergrondkleur" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "Indexmodus-voorgrondkleur (actief element)" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "Indexmodus-achtergrondkleur (actief element)" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "Pagina's herkleuren" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" "Behoudt tijdens het herkleuren de originele tint en pas alleen de belichting " "aan" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "Behoudt tijdens het herkleuren de originele afbeeldingskleuren" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "Scrollen omslaan" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "Paginabewust scrollen" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "Aantal vooruit-pagina's per rij" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "Horizontaal-gecentreerde zoom" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "Pagina's verticaal centreren" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "Linkdoel uitlijnen naar links" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "Zoom wijzigen bij volgen van links" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "Resultaat horizontaal centreren" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "Doorzichtigheid bij markeren" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "'Bezig met laden...' renderen" -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "Aanpassen aan bij openen van bestand" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "Verborgen bestanden en mappen weergeven" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "Mappen weergeven" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "Recente bestanden weergeven" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "Altijd openen op eerste pagina" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "Zoekresultaten markeren" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "Stapsgewijs zoeken inschakelen" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "Zoekresultaten wissen na afbreken" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "Basisnaam van bestand gebruiken in de venstertitel" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "~ gebruiken i.p.v. $HOME in de bestandsnaam in de venstertitel" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "Paginanummer weergeven in de venstertitel" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "Basisnaam van bestand gebruiken in de statusbalk" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "~ gebruiken i.p.v. $HOME in de bestandsnaam in de statusbalk" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "Synctex-ondersteuning inschakelen" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "Synctex-bewerkeropdracht" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "D-Bus-dienst inschakelen" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "Geschiedenis opslaan bij elke paginawijziging" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "" "Het klembord waarnaar met de muis geselecteerde gegevens moet worden " "weggeschreven" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "Melding inschakelen na selecteren van tekst" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "Sandbox-niveau" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "Bladwijzer toevoegen" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "Bladwijzer verwijderen" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "Alle bladwijzers weergeven" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "Huidig bestand sluiten" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "Bestandsinformatie weergeven" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "Opdracht uitvoeren" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "Hulp weergeven" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "Document openen" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "Zathura sluiten" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "Document afdrukken" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "Document opslaan" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "Document opslaan (en overschrijven forceren)" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "Bijlagen opslaan" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "Pagina-afwijking instellen" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "Huidige locatie in document markeren" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "Opgegeven markeringen verwijderen" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "Huidige zoekresultaten niet markeren" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "Huidige zoekresultaten markeren" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "Versie-informatie weergeven" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" "Het openen van externe applicaties is niet toegestaan in de strenge sandbox-" "modus" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "Uitvoeren van xdg-open mislukt." -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "Link: pagina %d" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "Link: %s" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "Link: ongeldig" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "Wordt bij bovenliggend, door xid (X11) opgegeven venster gevoegd" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "Pad naar de configuratiemap" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "Pad naar de gegevensmap" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "Pad naar de cachemap" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "Pad naar de mappen die plug-ins bevatten" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "Naar achtergrond verplaatsen" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "Documentwachtwoord" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "Paginanummer om naartoe te gaan" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "Logniveau (foutopsporing, informatie, waarschuwing, fout)" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "Versie-informatie afdrukken" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "Synctex-bewerker (wordt doorgestuurd naar de synctex-opdracht)" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "Verplaatsen naar opgegeven synctex-positie" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "Opgegeven positie markeren in het opgegeven proces" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "Starten in een niet-standaardmodus" @@ -650,7 +654,13 @@ msgstr "Afbeelding kopiëren" msgid "Save image as" msgstr "Afbeelding opslaan als" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "Bezig met afdrukken van pagina %d..." + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "Afdrukken mislukt: %s" @@ -660,39 +670,39 @@ msgstr "Afdrukken mislukt: %s" msgid "Invalid adjust mode: %d" msgstr "Ongeldige aanpassingsmodus: %d" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "Patroon niet gevonden: %s" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "Dit document bevat geen index" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "[Naamloos]" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "" "Bestand kan niet worden gelezen uit stdin en worden weggeschreven naar een " "tijdelijk bestand." -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" "Bestand kan niet worden gelezen uit GIO en worden gekopieerd naar een " "tijdelijk bestand." -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "Wachtwoord invoeren:" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "Niet-ondersteund bestandstype. Installeer de benodigde plug-in." -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "Document bevat geen pagina's" diff --git a/po/no.po b/po/no.po index d4c9f17c0cbdbc8d750d68c3911a3717a42fe1f4..d55d704c4069e771030b575dffd14021c9d48f13 100644 --- a/po/no.po +++ b/po/no.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-11 19:53+0000\n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-05-23 20:44+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Norwegian (http://www.transifex.com/pwmt/zathura/language/" "no/)\n" @@ -83,14 +83,14 @@ msgid "Copied selected image to selection %s" msgstr "" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "Ingen dokumenter åpnet." -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "Ugyldig nummer av argumenter gitt." @@ -177,53 +177,57 @@ msgstr "For mange argumenter." msgid "No arguments given." msgstr "Ingen argumenter gitt." -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "Dokumentet er lagret." -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "Kunne ikke lagre dokumentet." -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "Ugyldig nummer av argumenter." -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Kunne ikke skrive vedlegg '%s' til '%s'." -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Skrev vedlegg '%s' til '%s'." -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Skrev bilde '%s' til '%s'." -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Kunne ikke skrive bilde '%s' til '%s'." -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "Ukjent bilde '%s'." -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Ukjent vedlegg eller bilde '%s'." -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "Argumentet må være et tall." @@ -242,387 +246,387 @@ msgid "Images" msgstr "Bilder" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "Database backend" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "Zoom nivå" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "Avstand mellom sider" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "Nummer av sider per rad" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "Skrolle nivå" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "Zoom minimum" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "Zoom maximum" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "Maksimum antall sider å holde i mellomlagringen" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "Antall posisjoner å huske i hopp-til-listen" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "Om-farger (mørk farge)" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "Om-farge (lys farge)" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "Farge for utheving" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "Farge for utheving (aktiv)" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "'Laster ...' bakgrunnsfarge" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "'Laster ...' forgrunnsfarge" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "Om-farge sider" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "Horisontalsentrert zoom" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "La zoom bli endret når følgende linker" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "Sentrer resultatene horisontalt" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "Klarhet for utheving" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "Render 'Laster ...'" -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "Juster til når du åpner filen" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "Vis skjulte filer og mapper" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "Vis mapper" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "Alltid åpne på første side" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "Uthev søkeresultater" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "Stryk ut søkeresulteter ved avbrytelse" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "Vis nummer av sider i vinduestittelen" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "Aktiv D-Bus servicen" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "Legg til bokmerke" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "Slett bokmerke" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "List alle bokmerker" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "Lukk den gjeldende filen" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "Vis filinformasjon" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "Kjør en kommando" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "Vis hjelp" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "Åpne dokument" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "Lukk zathura" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "Skriv ut dokument" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "Lagre dokument" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "Lagre dokument (og tving til å skrive over)" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "Lagre vedlegg" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "Marker nåværende lokalasjon i dokumentet" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "Slett spesifiserte merker" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "Ikke uthev gjeldende søkeresultater" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "Uthev følgende søkeresultater" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "Vis versjonsinformasjon" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "Klarte ikke å kjøre xdg-open." -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "Link: side %d" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "Link: Ugyldig" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "Sti til konfigureringsmappe" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "Sti til data-mappe" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "Sti til mapper som inneholder plugins" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "Dokument passord" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "Sidetall å gå til" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "Logg nivå (diagnostisering, info, advarsler, feil)" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "Skriv ut versjonsinformasjon" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "Start i ikke-standard modus" @@ -638,7 +642,13 @@ msgstr "Kopier bilde" msgid "Save image as" msgstr "Lagre bilde som" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "" + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "Utskrift feilet: %s" @@ -648,35 +658,35 @@ msgstr "Utskrift feilet: %s" msgid "Invalid adjust mode: %d" msgstr "" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "Dette dokumenetet inneholder ikke noen index" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "[Inget navn]" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "Kunne ikke lese fil fra stdin og skrive til temporærfil." -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "Usupportert filtype. Vennligst innstaller den nødvendige pluginen." -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "Dokumentet inneholder ingen sider" diff --git a/po/pl.po b/po/pl.po index 3531a9aa444351bf0f99097b0aeb30358c500830..8f65321ecad69831aec68332d47281827a019ac7 100644 --- a/po/pl.po +++ b/po/pl.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-11 19:53+0000\n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-05-23 20:44+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Polish (http://www.transifex.com/pwmt/zathura/language/pl/)\n" "Language: pl\n" @@ -85,14 +85,14 @@ msgid "Copied selected image to selection %s" msgstr "" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "Nie otwarto żadnego pliku" -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "Nieprawidłowa liczba parametrów polecenia" @@ -179,53 +179,57 @@ msgstr "Za dużo parametrów polecenia" msgid "No arguments given." msgstr "Nie podano parametrów polecenia" -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "Zapisano dokument" -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "Błąd zapisu" -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "Niewłaściwa liczba parametrów polecenia" -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Nie można dodać załącznika %s do pliku %s" -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Zapisano załącznik %s do pliku %s" -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Obrazek %s zapisano do pliku %s" -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Nie można dodać obrazka %s do pliku %s" -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "Nieznany obrazek '%s'." -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Nieznany załącznik lub obrazek '%s'." -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "Parametr polecenia musi być liczbą" @@ -244,387 +248,387 @@ msgid "Images" msgstr "Obrazki" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "Baza danych" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "Skok powiększenia" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "Odstęp pomiędzy stronami" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "Liczba stron w wierszu" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "Skok przewijania" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "Skok przewijania poziomego" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "Minimalne powiększenie" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "Maksymalne powiększenie" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "Maksymalna liczba stron w pamięci podręcznej" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "Ciemny kolor negatywu" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "Jasny kolor negatywu" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "Kolor wyróżnienia" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "Kolor wyróżnienia bieżącego elementu" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "Kolor tła komunikatu „Wczytywanie pliku...”" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "Kolor komunikatu „Wczytywanie pliku...”" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "Negatyw" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "Dla negatywu zachowaj oryginalny odcień i zmień tylko jasność" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "Zawijanie dokumentu" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "Zwiększ liczbę stron w wierszu" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "Powiększenie względem środka" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "Poziome wyśrodkowanie wyniku" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "Przezroczystość wyróżnienia" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "Wyświetlaj: „Wczytywanie pliku...”" -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "Dopasowanie widoku pliku" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "Wyświetl ukryte pliki i katalogi" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "Wyświetl katalogi" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "Zawsze otwieraj na pierwszej stronie" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "Podświetl wyniki wyszukiwania" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "Włącz wyszukiwanie przyrostowe" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "Wyczyść wyniki wyszukiwania po przerwaniu" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "Pokaż nazwę pliku w pasku tytułu" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "Wyświetl numer strony w pasku tytułu" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "Nazwa pliku w pasku stanu" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "Włącz synctex" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "Uruchom serwis D-Bus" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "Dodaj zakładkę" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "Usuń zakładkę" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "Wyświetl zakładki" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "Zamknij plik" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "Wyświetl informacje o pliku" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "Wykonaj polecenie" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "Wyświetl pomoc" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "Otwórz plik" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "Zakończ" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "Wydrukuj" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "Zapisz" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "Zapisz (nadpisując istniejący plik)" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "Zapisz załączniki" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "Ustaw przesunięcie numerów stron" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "Zaznacz aktualną pozycję w dokumencie" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "Skasuj określone zakładki" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "Nie podświetlaj aktualnych wyników wyszukiwania " -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "Podświetl aktualne wyniki wyszukiwania" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "Wyświetl informacje o wersji" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "Wystąpił problem z uruchomieniem xdg-open" -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "Link: strona %d" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "Link: %s" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "Nieprawidłowy link" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "Przypisz proces do rodzica o danym xid (X11)" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "Położenie katalogu konfiguracyjnego" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "Położenie katalogu danych" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "Położenie katalogu wtyczek" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "Forkuj w tle" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "Hasło dokumentu" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "Szczegółowość komunikatów (debug, info, warning, error)" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "Wyświetl informacje o wersji" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "Edytor synctex (przekierowanie do komendy synctex)" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "" @@ -640,7 +644,13 @@ msgstr "Skopiuj obrazek" msgid "Save image as" msgstr "Zapisz obrazek jako" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "" + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "Nie można wydrukować: %s" @@ -650,35 +660,35 @@ msgstr "Nie można wydrukować: %s" msgid "Invalid adjust mode: %d" msgstr "" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "Dokument nie zawiera indeksu" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "[bez nazwy]" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "" -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "Niewspierany rodzaj pliku. Zainstaluj wymagane wtyczki" -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "Dokument nie zawiera żadnej strony" diff --git a/po/pt_BR.po b/po/pt_BR.po index 23b5aaee002c8e058f349a0dfbfa2a14e97b4f6e..830b70ba66b5c840133ea06eeb1ceea19c9fe135 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-11 19:53+0000\n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-05-23 20:44+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Portuguese (Brazil) (http://www.transifex.com/pwmt/zathura/" "language/pt_BR/)\n" @@ -83,14 +83,14 @@ msgid "Copied selected image to selection %s" msgstr "" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "Nenhum documento aberto." -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "Número de argumentos dados inválidos." @@ -177,53 +177,57 @@ msgstr "Muitos argumentos." msgid "No arguments given." msgstr "Nenhum argumento dado." -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "Documento salvo." -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "Falha ao salvar o documento." -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "Número de argumento invalido." -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Não foi possível gravar anexo '%s' para '%s'." -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Escreveu anexo '%s' para '%s'." -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Escreveu imagem '%s' para '%s'." -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Não foi possível gravar imagem '%s' para '%s'." -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "Imagem desconhecida '%s'." -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Anexo desconhecido ou imagem '%s'." -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "O argumento deve ser um número." @@ -242,390 +246,390 @@ msgid "Images" msgstr "Imagens" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "Fim da base de dados" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "Grau de Zoom" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "Preenchimento entre páginas" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "Número de paginas por linha" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "Coluna da primeira página" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "Fase de Rolagem" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "Etapa de rolagem horizontal" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "Sobreposição de rolagem de página inteira" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "Zoom minimo" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "Zoom máximo" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "Número máximo de páginas para manter no cache" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "Tamanho máximo em pixels de miniaturas para manter no cache" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "Numero de posições para lembrar na lista de salto" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "Recolorindo (cor escura)" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "Recolorindo (cor clara)" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "Cor para destacar" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "Cor para destacar (ativo)" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "'Carregando ...' cor de fundo" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "'Carregando ...' cor de primeiro plano" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "Cor modo de índice no primeiro plano" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "Cor modo de índice, fundo" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "Cor modo de índice no primeiro plano (elemento ativo)" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "Cor modo de índice, fundo (elemento ativo)" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "Recolorir páginas" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" "Quando recolorir, manter tonalidade original e ajustar somente a luminosidade" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "Quando recolorir, manter cores de imagens originais" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "Rolagem envoltório" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "Rolagem de página consciente" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "Numero de avanço de paginas por linha" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "Zoom centrado horizontalmente" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "Alinhe destino do link à esquerda" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "Zoom será mudado quando seguir os links" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "Resultado centrado horizontalmente" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "Transparência para destacar" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "Renderizando 'Carregando...'" -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "Ajuste para quando abrir o arquivo" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "Mostrar arquivos ocultos e diretórios" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "Mostrar diretórios" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "Sempre abrir na primeira página" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "Destaque resultados de busca" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "Ativar pesquisa incremental" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "Limpar resultados de busca ou abortar" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "Usar nome do arquivo na barra de titulo" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "Exibir o número da página no título da janela." -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "Use o nome do arquivo na barra de status" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "Ativar suporte synctex" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "Comando editor Synctex" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "Habilitar serviço D-Bus" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "" "A área de transferência em que o dados selecionados com o mouse vão ser " "escritos" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "Habilitar notificação após a seleção de texto" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "Adicionar um favorito" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "Deletar um favorito" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "Listar todos favoritos" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "Fechar arquivo atual" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "Mostrar informações do arquivo" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "Executar um comando" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "Mostrar ajuda" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "Abrir documento" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "Fechar zathura" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "Imprimir documento" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "Salvar documento" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "Salvar documento (e forçar sobrescrever)" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "Salvar anexos" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "Definir deslocamento da página" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "Marcar localização atual no documento" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "Apagar as marcas especificadas" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "Não destacar resultados de busca atual" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "Destacar resultado de busca atual" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "Mostrar informações sobre a versão" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "Falha ao executar xdg-open." -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "Link: página %d" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "Link: %s" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "Link: Inválido" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "Reparar a janela especificada por xid (X11)" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "Caminho de diretório para configuração" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "Caminho para diretório de dados" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "Caminho para o diretório de cache" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "Caminho de diretório que contenham plugins" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "Deslocar no fundo" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "Senha do documento" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "Número da página para ir" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "Nível de log (depurar, informação, aviso, erro)" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "Imprimir informações sobre a versão" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "Editor synctex (encaminhado para o comando synctex)" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "Mover para determinada posição synctex" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "Destacar determinada posição no determinado processo" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "Começar em um modo não padrão" @@ -641,7 +645,13 @@ msgstr "Copiar imagem" msgid "Save image as" msgstr "Salvar imagem para" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "" + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "Impressão falhou: %s" @@ -651,38 +661,38 @@ msgstr "Impressão falhou: %s" msgid "Invalid adjust mode: %d" msgstr "" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "Este documento não contem qualquer índice" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "[Sem nome]" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "" "Não foi possível ler o arquivo a partir de stdin e gravá-lo em um arquivo " "temporário." -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "" "Formato de arquivo não suportado. Por favor, instale o plugin necessário." -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "Documento não contém quaisquer páginas" diff --git a/po/ru.po b/po/ru.po index ae91e546c840039d1daaf242d7f27737f48cadf3..92c1a336779d4330236dcf8795205d4fae1c54d2 100644 --- a/po/ru.po +++ b/po/ru.po @@ -10,8 +10,8 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-11 19:53+0000\n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-05-23 20:44+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Russian (http://www.transifex.com/pwmt/zathura/language/ru/)\n" "Language: ru\n" @@ -87,14 +87,14 @@ msgid "Copied selected image to selection %s" msgstr "" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "Нет открытых документов." -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "Указано неверное число аргументов." @@ -181,53 +181,57 @@ msgstr "Слишком много аргументов." msgid "No arguments given." msgstr "Отсутствуют аргументы." -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "Документ сохранён." -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "Не удалось сохранить документ." -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "Неверное количество аргументов." -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Не удалось сохранить приложенный файл «%s» в «%s»." -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Файл «%s» сохранён в «%s»." -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Изображение «%s» сохранено в «%s»." -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Не удалось записать изображение «%s» в «%s»." -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "Неизвестное изображение «%s»." -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Неизвестное вложение или изображение «%s»." -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "Аргумент должен быть числом." @@ -246,387 +250,387 @@ msgid "Images" msgstr "Изображения" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "Бэкэнд базы данных" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "Шаг увеличения" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "Разрыв между страницами" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "Количество страниц в ряд" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "Столбец первой страницы" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "Шаг прокрутки" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "Шаг горизонтальной прокрутки" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "Перекрытие страниц при прокрутке" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "Минимальное увеличение" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "Максимальное увеличение" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "Максимальное количество страниц хранимых в кэше" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "Максимальный размер в пикселях для миниатюр хранимых в кэше" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "Длина истории переходов" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "Перекрашивание (тёмные тона)" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "Перекрашивание (светлые тона)" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "Цвет для подсветки" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "Цвет для подсветки (активной)" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "Цвет фона загрузочной заставки" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "Цвет загрузочной заставки" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "Основной цвет в режиме указателя" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "Фоновый цвет в режиме указателя" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "Основной цвет в режиме указателя (активный элемент)" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "Фоновый цвет в режиме указателя (активный элемент)" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "Перекрасить страницы" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "При перекраске сохранять оттенок и изменять только осветление" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "При перекраске сохранять исходные цвета изображения" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "Плавная прокрутка" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "Постраничная прокрутка" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "Увеличить количество страниц в ряду" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "Центрировать увеличение по горизонтали" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "Выровнять цель ссылки по левому краю" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "Разрешить изменять размер при следовании по ссылкам" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "Центрировать результат по горизонтали" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "Прозрачность подсветки" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "Рендер «Загружается ...»" -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "Подогнать размеры при открытии документа" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "Показывать скрытые файлы и каталоги" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "Показывать каталоги" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "Показывать последние файлы" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "Всегда открывать на первой странице" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "Подсветить результаты поиска" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "Включить инкрементальный поиск" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "Сбросить результаты при отмене поиска" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "Использовать базовое имя файла в заголовке" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "Использовать ~ вместо $HOME в имени файла в заголовке" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "Показывать номер страницы в заголовке" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "Использовать базовое имя файла в строке состояния" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "Использовать ~ вместо $HOME в имени файла в строке состояния" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "Включить поддержку synctex" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "Команда редактору от synctex" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "Включить сервис D-Bus" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "Буфер для записи данных из области выделенных мышкой" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "Включить уведомления после выделения текста" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "Добавить закладку" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "Удалить закладку" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "Показать все закладки" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "Закрыть текущий файл" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "Показать информацию о файле" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "Выполнить команду" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "Помощь" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "Открыть документ" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "Выход" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "Печать" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "Сохранить документ" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "Сохранить документ (с перезаписью)" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "Сохранить прикреплённые файлы" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "Сохранить смещение страницы" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "Пометить текущую позицию в документе" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "Удалить указанные пометки" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "Не подсвечивать результаты текущего поиска" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "Подсветить результаты текущего поиска" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "Показать информацию о версии файла" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "Не удалось запустить xdg-open" -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "Ссылка: страница %d" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "Ссылка: %s" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "Ссылка: неправильная" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "Сменить материнское окно на окно, указанное в xid (X11)" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "Путь к каталогу с настройкой" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "Путь к каталогу с данными" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "Путь к каталогу с кэшем" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "Путь к каталогу с плагинами" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "Запустить в фоне" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "Пароль документа" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "Перейти к странице номер" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "Уровень журналирования (debug, info, warning, error)" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "Показать информацию о файле" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "Редактор для synctex (передаётся далее программе synctex)" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "Перейти к указанному положению synctex" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "Подсветка заданного положения в заданном процессе" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "Запустить в специальном режиме" @@ -642,7 +646,13 @@ msgstr "Скопировать изображение" msgid "Save image as" msgstr "Сохранить изображение как" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "" + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "Не удалось напечатать %s" @@ -652,38 +662,38 @@ msgstr "Не удалось напечатать %s" msgid "Invalid adjust mode: %d" msgstr "" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "В документе нет индекса" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "[Без названия]" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "" "Не удалось прочитать файл со стандартного входа и записать его во временный " "файл." -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" "Не удалось прочитать файл через GIO и скопировать его во временный файл." -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "Введите пароль:" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "Тип файла не поддерживается. Установите соответствующий плагин." -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "В документе нет страниц" diff --git a/po/ta_IN.po b/po/ta_IN.po index 15b41470ee5e5f216f30dc3e0a6e910f54fbb116..e39ff53770eef5aaacddb41b732b4ba7004be2b8 100644 --- a/po/ta_IN.po +++ b/po/ta_IN.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" +"POT-Creation-Date: 2018-05-23 22:37+0200\n" "PO-Revision-Date: 2018-03-11 19:53+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Tamil (India) (http://www.transifex.com/pwmt/zathura/language/" @@ -83,14 +83,14 @@ msgid "Copied selected image to selection %s" msgstr "" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "எந்தக் ஆவணமும் திறக்கப்படவில்லை" -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "கொடுக்கப்பட்ட arguments-களின் எண்ணிக்கை தவறு" @@ -177,53 +177,57 @@ msgstr "Argumentகளின் எண்ணிக்கை மிகவும msgid "No arguments given." msgstr "எந்த argument-ம் தரப்படவில்லை" -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "கோப்பு சேமிக்கப்பட்டது" -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "ஆவணத்தை சேமிக்க இயலவில்லை" -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "கொடுக்கப்பட்ட argument-களின் எண்ணிக்கை தவறு" -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "" -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "" -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "" -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "" -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "" -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "" -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "Argument ஒரு எண்ணாக இருக்க வேண்டும்" @@ -242,387 +246,387 @@ msgid "Images" msgstr "" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "Zoom அமைப்பு" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "இரு பக்கங்களுக்கிடையில் உள்ள நிரப்பல்(padding)" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "ஒரு வரிசையில் எத்தனை பக்கங்களைக் காட்ட வேண்டும்" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "திரை உருளல்(scroll) அளவு" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "முடிந்தவரை சிறியதாகக் காட்டு" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "முடிந்தவரை பெரிதாகக் காட்டு" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "" -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "புதிய bookmark உருவாக்கு" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "Bookmark-ஐ அழித்துவிடு" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "அனைத்து bookmark-களையும் பட்டியலிடு" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "உதவியைக் காட்டு" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "ஒரு ஆவணத்தைத் திற" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "zathura-வை விட்டு வெளியேறு" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "ஆவணத்தை அச்சிடு" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "ஆவணத்தை சேமிக்கவும்" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "இணைப்புகளைச் சேமிக்கவும்" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "xdg-open-ஐ இயக்க முடியவில்லை" -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "" @@ -638,7 +642,13 @@ msgstr "படத்தை ஒரு பிரதியெடு" msgid "Save image as" msgstr "" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "" + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "" @@ -648,35 +658,35 @@ msgstr "" msgid "Invalid adjust mode: %d" msgstr "" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "இந்த ஆவணத்தில் எந்த index-ம் இல்லை" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "பெயரற்ற ஆவணம்" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "" -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "" -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "" diff --git a/po/tr.po b/po/tr.po index cb553af20df944c5de9574c9ebdf152fec1736ed..d2fb6886ec519a6cc327b2ea234f5926a6ef5770 100644 --- a/po/tr.po +++ b/po/tr.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-11 19:53+0000\n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-05-23 20:44+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Turkish (http://www.transifex.com/pwmt/zathura/language/tr/)\n" "Language: tr\n" @@ -83,14 +83,14 @@ msgid "Copied selected image to selection %s" msgstr "" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "Açık belge yok." -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "Yanlış sayıda argüman" @@ -177,53 +177,57 @@ msgstr "Çok fazla sayıda argüman." msgid "No arguments given." msgstr "Argüman verilmedi." -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "Belge kaydedildi." -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "Belge kaydedilemedi." -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "Yanlış sayıda argüman." -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "'%s' eki '%s' konumuna yazılamadı." -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "'%s' eki '%s' konumuna yazıldı." -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "'%s' eki '%s' konumuna yazıldı." -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "'%s' eki '%s' konumuna yazılamadı." -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "Tanınmayan resim dosyası '%s'" -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Tanınmayan eklenti veya resim dosyası '%s'" -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "Argüman bir sayı olmalı." @@ -242,387 +246,387 @@ msgid "Images" msgstr "Resimler" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "Veritabanı arkayüzü" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "Yakınlaşma/uzaklaşma aralığı" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "Sayfalar arasındaki boşluk" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "Satır başına sayfa sayısı" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "İlk sayfanın sütunu" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "Kaydırma aralığı" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "Yatay kaydırma adımı" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "Tam ekran kaydırma kaplaması" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "En fazla uzaklaşma" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "En fazla yakınlaşma" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "Atlama listesinde hatırlanacak pozisyon sayısı" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "Renk değişimi (koyu renk)" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "Renk değişimi (açık renk)" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "İşaretleme rengi" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "İşaretleme rengi (etkin)" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "Sayga rengini değiştir" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "Yeniden renklendirirken renk değerini tut ve sadece parlaklığı ayarla" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "Kaydırmayı sarmala" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "Satır başına sayfa sayısı" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "Yatay olarak ortalanmış büyütme" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "Ön plana çıkarmak için saydamlaştır" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "'Yüklüyor ...' yazısını göster" -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "Dosya açarken ayarla" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "Gizli dosyaları ve dizinleri göster" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "Dizinleri göster" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "Her zaman ilk sayfayı aç" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "Arama sonuçlarını vurgula" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "Artımlı aramayı etkinleştir" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "Kapatınca arama sonuçlarını temizle" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "Pencere başlığı olarak dosyanın adını kullan" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "Yer imi ekle" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "Yer imi sil" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "Yer imlerini listele" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "Geçerli dosyayı kapat" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "Dosya bilgisi göster" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "Bir komut çalıştır" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "Yardım bilgisi göster" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "Belge aç" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "Zathura'yı kapat" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "Belge yazdır" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "Belgeyi kaydet" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "Belgeyi kaydet (ve sormadan üzerine yaz)" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "Ekleri kaydet" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "Sayfa derinliğini ayarla" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "Bu belgede bu konumu işaretle" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "Seçilen işaretlemeleri sil" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "Şuanki arama sonuçlarını vurgulama" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "Şuanki arama sonuçlarını vurgula" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "Versiyon bilgisi göster" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "xdg-open çalıştırılamadı" -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "Xid tarafından belirlendiği gibi bir üst seviye pencereye bağlı (X11)" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "Ayar dizini adresi" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "Veri dizini adresi" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "Eklentileri içeren dizinin adresi" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "Arka planda işlemden çocuk oluştur" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "Belge şifresi" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "Kayıt seviyesi (hata ayıklama, bilgi, uyarı, hata)" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "Dosya bilgisi göster" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "" @@ -638,7 +642,13 @@ msgstr "Resim kopyala" msgid "Save image as" msgstr "Resmi farklı kaydet" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "" + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "" @@ -648,35 +658,35 @@ msgstr "" msgid "Invalid adjust mode: %d" msgstr "" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "Bu belge fihrist içermiyor" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "[İsimsiz]" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "" -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "" -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "" diff --git a/po/uk_UA.po b/po/uk_UA.po index 8fc6315244e87da0be2cdf61759f511c3ff010a8..52d7a929a27d574314e957570692f3f13ea454c9 100644 --- a/po/uk_UA.po +++ b/po/uk_UA.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-16 01:11+0100\n" -"PO-Revision-Date: 2018-03-11 19:53+0000\n" +"POT-Creation-Date: 2018-09-04 18:27+0200\n" +"PO-Revision-Date: 2018-05-23 20:44+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/pwmt/zathura/" "language/uk_UA/)\n" @@ -16,8 +16,10 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != " +"11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % " +"100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || " +"(n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" #: data/org.pwmt.zathura.appdata.xml.in:7 data/org.pwmt.zathura.desktop.in:5 msgid "Zathura" @@ -84,14 +86,14 @@ msgid "Copied selected image to selection %s" msgstr "" #: zathura/commands.c:36 zathura/commands.c:76 zathura/commands.c:103 -#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:313 -#: zathura/commands.c:339 zathura/commands.c:439 zathura/commands.c:566 -#: zathura/shortcuts.c:413 zathura/shortcuts.c:1225 zathura/shortcuts.c:1260 -#: zathura/shortcuts.c:1287 +#: zathura/commands.c:165 zathura/commands.c:279 zathura/commands.c:309 +#: zathura/commands.c:335 zathura/commands.c:435 zathura/commands.c:567 +#: zathura/shortcuts.c:413 zathura/shortcuts.c:1222 zathura/shortcuts.c:1257 +#: zathura/shortcuts.c:1284 msgid "No document opened." msgstr "Документ не відкрито." -#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:444 +#: zathura/commands.c:42 zathura/commands.c:82 zathura/commands.c:440 msgid "Invalid number of arguments given." msgstr "Вказана невірна кількість аргументів." @@ -178,53 +180,57 @@ msgstr "Забагато аргументів." msgid "No arguments given." msgstr "Жодного аргументу не вказано." -#: zathura/commands.c:286 +#: zathura/commands.c:284 msgid "Printing is not permitted in strict sandbox mode" msgstr "" -#: zathura/commands.c:319 zathura/commands.c:345 +#: zathura/commands.c:315 zathura/commands.c:341 msgid "Document saved." msgstr "Документ збережено." -#: zathura/commands.c:321 zathura/commands.c:347 +#: zathura/commands.c:317 zathura/commands.c:343 msgid "Failed to save document." msgstr "Документ не вдалося зберегти." -#: zathura/commands.c:324 zathura/commands.c:350 +#: zathura/commands.c:320 zathura/commands.c:346 msgid "Invalid number of arguments." msgstr "Невірна кількість аргументів." -#: zathura/commands.c:463 +#: zathura/commands.c:459 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Неможливо записати прикріплення '%s' до '%s'." -#: zathura/commands.c:465 +#: zathura/commands.c:461 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Прикріплення записано %s до %s." -#: zathura/commands.c:509 +#: zathura/commands.c:505 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "" -#: zathura/commands.c:511 +#: zathura/commands.c:507 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "" -#: zathura/commands.c:518 +#: zathura/commands.c:514 #, c-format msgid "Unknown image '%s'." msgstr "" -#: zathura/commands.c:522 +#: zathura/commands.c:518 #, c-format msgid "Unknown attachment or image '%s'." msgstr "" -#: zathura/commands.c:579 +#: zathura/commands.c:536 +msgid "Exec is not permitted in strict sandbox mode" +msgstr "" + +#: zathura/commands.c:580 msgid "Argument must be a number." msgstr "Аргумент повинен бути цифрою." @@ -243,387 +249,387 @@ msgid "Images" msgstr "" #. zathura settings -#: zathura/config.c:145 +#: zathura/config.c:165 msgid "Database backend" msgstr "Буфер бази" -#: zathura/config.c:146 +#: zathura/config.c:166 msgid "File monitor backend" msgstr "" -#: zathura/config.c:148 +#: zathura/config.c:168 msgid "Zoom step" msgstr "Збільшення" -#: zathura/config.c:150 +#: zathura/config.c:170 msgid "Padding between pages" msgstr "Заповнення між сторінками" -#: zathura/config.c:152 +#: zathura/config.c:172 msgid "Number of pages per row" msgstr "Кількість сторінок в одному рядку" -#: zathura/config.c:154 +#: zathura/config.c:174 msgid "Column of the first page" msgstr "" -#: zathura/config.c:156 +#: zathura/config.c:176 msgid "Scroll step" msgstr "Прокручування" -#: zathura/config.c:158 +#: zathura/config.c:178 msgid "Horizontal scroll step" msgstr "" -#: zathura/config.c:160 +#: zathura/config.c:180 msgid "Full page scroll overlap" msgstr "" -#: zathura/config.c:162 +#: zathura/config.c:182 msgid "Zoom minimum" msgstr "Максимальне зменшення" -#: zathura/config.c:164 +#: zathura/config.c:184 msgid "Zoom maximum" msgstr "Максимальне збільшення" -#: zathura/config.c:166 +#: zathura/config.c:186 msgid "Maximum number of pages to keep in the cache" msgstr "" -#: zathura/config.c:168 +#: zathura/config.c:188 msgid "Maximum size in pixels of thumbnails to keep in the cache" msgstr "" -#: zathura/config.c:170 +#: zathura/config.c:190 msgid "Number of positions to remember in the jumplist" msgstr "" -#: zathura/config.c:172 +#: zathura/config.c:192 msgid "Recoloring (dark color)" msgstr "Перефарбування (темний колір)" -#: zathura/config.c:173 +#: zathura/config.c:193 msgid "Recoloring (light color)" msgstr "Перефарбування (світлий колір)" -#: zathura/config.c:174 +#: zathura/config.c:194 msgid "Color for highlighting" msgstr "Колір для виділення" -#: zathura/config.c:176 +#: zathura/config.c:196 msgid "Color for highlighting (active)" msgstr "Колір для виділення (активний)" -#: zathura/config.c:178 +#: zathura/config.c:198 msgid "'Loading ...' background color" msgstr "" -#: zathura/config.c:180 +#: zathura/config.c:200 msgid "'Loading ...' foreground color" msgstr "" -#: zathura/config.c:183 +#: zathura/config.c:203 msgid "Index mode foreground color" msgstr "" -#: zathura/config.c:184 +#: zathura/config.c:204 msgid "Index mode background color" msgstr "" -#: zathura/config.c:185 +#: zathura/config.c:205 msgid "Index mode foreground color (active element)" msgstr "" -#: zathura/config.c:186 +#: zathura/config.c:206 msgid "Index mode background color (active element)" msgstr "" -#: zathura/config.c:189 +#: zathura/config.c:209 msgid "Recolor pages" msgstr "Змінити кольори" -#: zathura/config.c:191 +#: zathura/config.c:211 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" -#: zathura/config.c:193 +#: zathura/config.c:213 msgid "When recoloring keep original image colors" msgstr "" -#: zathura/config.c:195 +#: zathura/config.c:215 msgid "Wrap scrolling" msgstr "Плавне прокручування" -#: zathura/config.c:197 +#: zathura/config.c:217 msgid "Page aware scrolling" msgstr "" -#: zathura/config.c:199 +#: zathura/config.c:219 msgid "Advance number of pages per row" msgstr "" -#: zathura/config.c:201 +#: zathura/config.c:221 msgid "Horizontally centered zoom" msgstr "" -#: zathura/config.c:203 +#: zathura/config.c:223 msgid "Vertically center pages" msgstr "" -#: zathura/config.c:205 +#: zathura/config.c:225 msgid "Align link target to the left" msgstr "" -#: zathura/config.c:207 +#: zathura/config.c:227 msgid "Let zoom be changed when following links" msgstr "" -#: zathura/config.c:209 +#: zathura/config.c:229 msgid "Center result horizontally" msgstr "" -#: zathura/config.c:211 +#: zathura/config.c:231 msgid "Transparency for highlighting" msgstr "Прозорість для виділення" -#: zathura/config.c:213 +#: zathura/config.c:233 msgid "Render 'Loading ...'" msgstr "Рендер 'Завантажується ...'" -#: zathura/config.c:214 +#: zathura/config.c:234 msgid "Adjust to when opening file" msgstr "Підлаштовутись при відкритті файлу" -#: zathura/config.c:216 +#: zathura/config.c:236 msgid "Show hidden files and directories" msgstr "Показати приховані файли та директорії" -#: zathura/config.c:218 +#: zathura/config.c:238 msgid "Show directories" msgstr "Показати диреторії" -#: zathura/config.c:220 +#: zathura/config.c:240 msgid "Show recent files" msgstr "" -#: zathura/config.c:222 +#: zathura/config.c:242 msgid "Always open on first page" msgstr "Завжди відкривати на першій сторінці" -#: zathura/config.c:224 +#: zathura/config.c:244 msgid "Highlight search results" msgstr "" -#: zathura/config.c:227 +#: zathura/config.c:247 msgid "Enable incremental search" msgstr "" -#: zathura/config.c:229 +#: zathura/config.c:249 msgid "Clear search results on abort" msgstr "" -#: zathura/config.c:231 +#: zathura/config.c:251 msgid "Use basename of the file in the window title" msgstr "" -#: zathura/config.c:233 +#: zathura/config.c:253 msgid "Use ~ instead of $HOME in the filename in the window title" msgstr "" -#: zathura/config.c:235 +#: zathura/config.c:255 msgid "Display the page number in the window title" msgstr "" -#: zathura/config.c:237 +#: zathura/config.c:257 msgid "Use basename of the file in the statusbar" msgstr "" -#: zathura/config.c:239 +#: zathura/config.c:259 msgid "Use ~ instead of $HOME in the filename in the statusbar" msgstr "" -#: zathura/config.c:241 +#: zathura/config.c:261 msgid "Enable synctex support" msgstr "" -#: zathura/config.c:243 +#: zathura/config.c:263 msgid "Synctex editor command" msgstr "" -#: zathura/config.c:245 +#: zathura/config.c:265 msgid "Enable D-Bus service" msgstr "" -#: zathura/config.c:247 +#: zathura/config.c:267 msgid "Save history at each page change" msgstr "" -#: zathura/config.c:249 +#: zathura/config.c:269 msgid "The clipboard into which mouse-selected data will be written" msgstr "" -#: zathura/config.c:251 +#: zathura/config.c:271 msgid "Enable notification after selecting text" msgstr "" -#: zathura/config.c:252 +#: zathura/config.c:272 msgid "Sandbox level" msgstr "" #. define default inputbar commands -#: zathura/config.c:441 +#: zathura/config.c:461 msgid "Add a bookmark" msgstr "Додати закладку" -#: zathura/config.c:442 +#: zathura/config.c:462 msgid "Delete a bookmark" msgstr "Вилучити закладку" -#: zathura/config.c:443 +#: zathura/config.c:463 msgid "List all bookmarks" msgstr "Дивитись усі закладки" -#: zathura/config.c:444 +#: zathura/config.c:464 msgid "Close current file" msgstr "Закрити документ" -#: zathura/config.c:445 +#: zathura/config.c:465 msgid "Show file information" msgstr "Показати інформацію файлу" -#: zathura/config.c:446 zathura/config.c:447 +#: zathura/config.c:466 zathura/config.c:467 msgid "Execute a command" msgstr "" #. like vim -#: zathura/config.c:448 +#: zathura/config.c:468 msgid "Show help" msgstr "Показати довідку" -#: zathura/config.c:449 +#: zathura/config.c:469 msgid "Open document" msgstr "Відкрити документ" -#: zathura/config.c:450 +#: zathura/config.c:470 msgid "Close zathura" msgstr "Вийти із zathura" -#: zathura/config.c:451 +#: zathura/config.c:471 msgid "Print document" msgstr "Друкувати документ" -#: zathura/config.c:452 +#: zathura/config.c:472 msgid "Save document" msgstr "Зберегти документ" -#: zathura/config.c:453 +#: zathura/config.c:473 msgid "Save document (and force overwriting)" msgstr "Зберегти документ (форсувати перезапис)" -#: zathura/config.c:454 +#: zathura/config.c:474 msgid "Save attachments" msgstr "Зберегти прикріплення" -#: zathura/config.c:455 +#: zathura/config.c:475 msgid "Set page offset" msgstr "Встановити зміщення сторінки" -#: zathura/config.c:456 +#: zathura/config.c:476 msgid "Mark current location within the document" msgstr "" -#: zathura/config.c:457 +#: zathura/config.c:477 msgid "Delete the specified marks" msgstr "" -#: zathura/config.c:458 +#: zathura/config.c:478 msgid "Don't highlight current search results" msgstr "" -#: zathura/config.c:459 +#: zathura/config.c:479 msgid "Highlight current search results" msgstr "" -#: zathura/config.c:460 +#: zathura/config.c:480 msgid "Show version information" msgstr "" -#: zathura/links.c:211 +#: zathura/links.c:239 zathura/links.c:263 msgid "Opening external applications in strict sandbox mode is not permitted" msgstr "" -#: zathura/links.c:214 zathura/links.c:295 +#: zathura/links.c:241 zathura/links.c:265 msgid "Failed to run xdg-open." msgstr "Запуск xdg-open не вдався." -#: zathura/links.c:234 +#: zathura/links.c:283 #, c-format msgid "Link: page %d" msgstr "" -#: zathura/links.c:241 +#: zathura/links.c:290 #, c-format msgid "Link: %s" msgstr "" -#: zathura/links.c:245 +#: zathura/links.c:294 msgid "Link: Invalid" msgstr "" -#: zathura/main.c:150 +#: zathura/main.c:147 msgid "Reparents to window specified by xid (X11)" msgstr "Вертатися до вікна, вказаного xid (X11)" -#: zathura/main.c:151 +#: zathura/main.c:148 msgid "Path to the config directory" msgstr "Шлях до теки конфігурації" -#: zathura/main.c:152 +#: zathura/main.c:149 msgid "Path to the data directory" msgstr "Шлях до теки з даними" -#: zathura/main.c:153 +#: zathura/main.c:150 msgid "Path to the cache directory" msgstr "" -#: zathura/main.c:154 +#: zathura/main.c:151 msgid "Path to the directories containing plugins" msgstr "Шлях до теки з плаґінами" -#: zathura/main.c:155 +#: zathura/main.c:152 msgid "Fork into the background" msgstr "Працювати у фоні" -#: zathura/main.c:156 +#: zathura/main.c:153 msgid "Document password" msgstr "" -#: zathura/main.c:157 +#: zathura/main.c:154 msgid "Page number to go to" msgstr "" -#: zathura/main.c:158 +#: zathura/main.c:155 msgid "Log level (debug, info, warning, error)" msgstr "Рівень логування (налагодження, інфо, застереження, помилка)" -#: zathura/main.c:159 +#: zathura/main.c:156 msgid "Print version information" msgstr "Показати інформацію файлу" -#: zathura/main.c:161 +#: zathura/main.c:158 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" -#: zathura/main.c:162 +#: zathura/main.c:159 msgid "Move to given synctex position" msgstr "" -#: zathura/main.c:163 +#: zathura/main.c:160 msgid "Highlight given position in the given process" msgstr "" -#: zathura/main.c:165 +#: zathura/main.c:162 msgid "Start in a non-default mode" msgstr "" @@ -639,7 +645,13 @@ msgstr "Копіювати картинку" msgid "Save image as" msgstr "" -#: zathura/print.c:64 zathura/print.c:227 +#. Update statusbar. +#: zathura/print.c:110 +#, c-format +msgid "Printing page %d ..." +msgstr "" + +#: zathura/print.c:192 #, c-format msgid "Printing failed: %s" msgstr "" @@ -649,35 +661,35 @@ msgstr "" msgid "Invalid adjust mode: %d" msgstr "" -#: zathura/shortcuts.c:977 +#: zathura/shortcuts.c:974 #, c-format msgid "Pattern not found: %s" msgstr "" -#: zathura/shortcuts.c:1135 +#: zathura/shortcuts.c:1132 msgid "This document does not contain any index" msgstr "Індекс відсутній в цьому документі" -#: zathura/zathura.c:295 zathura/zathura.c:1367 +#: zathura/zathura.c:299 zathura/zathura.c:1401 msgid "[No name]" msgstr "[Без назви]" -#: zathura/zathura.c:732 +#: zathura/zathura.c:767 msgid "Could not read file from stdin and write it to a temporary file." msgstr "" -#: zathura/zathura.c:748 +#: zathura/zathura.c:783 msgid "Could not read file from GIO and copy it to a temporary file." msgstr "" -#: zathura/zathura.c:837 +#: zathura/zathura.c:872 msgid "Enter password:" msgstr "" -#: zathura/zathura.c:872 +#: zathura/zathura.c:907 msgid "Unsupported file type. Please install the necessary plugin." msgstr "" -#: zathura/zathura.c:882 +#: zathura/zathura.c:917 msgid "Document does not contain any pages" msgstr "" diff --git a/tests/meson.build b/tests/meson.build index 90f8954fef7d7ced750279302ec3e02b825fc866..9e752f424a0a824169adbcd2d4487f80fb8939e0 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -7,20 +7,39 @@ if check.found() include_directories += [ include_directories('../zathura') ] - test_sources = [ - 'tests.c', - 'test_document.c', - 'test_session.c', - 'test_utils.c' - ] + document = executable('test_document', ['test_document.c', 'tests.c'], + dependencies: build_dependencies + test_dependencies, + include_directories: include_directories, + c_args: defines + flags + ) + test('document', document, + timeout: 60*60 + ) + + session = executable('test_session', ['test_session.c', 'tests.c'], + dependencies: build_dependencies + test_dependencies, + include_directories: include_directories, + c_args: defines + flags + ) + test('session', session, + timeout: 60*60 + ) - tests = executable('tests', test_sources, + utils = executable('test_utils', ['test_utils.c', 'tests.c'], dependencies: build_dependencies + test_dependencies, include_directories: include_directories, c_args: defines + flags ) + test('utils', utils, + timeout: 60*60 + ) - test('tests', tests, + types = executable('test_types', ['test_types.c', 'tests.c'], + dependencies: build_dependencies + test_dependencies, + include_directories: include_directories, + c_args: defines + flags + ) + test('types', types, timeout: 60*60 ) endif diff --git a/tests/test_document.c b/tests/test_document.c index 75b401d238e09c28ba1d7e267d69e0745726fff6..dd78d278effff1f95aab270647868e44856c9f84 100644 --- a/tests/test_document.c +++ b/tests/test_document.c @@ -3,6 +3,7 @@ #include #include "document.h" +#include "tests.h" START_TEST(test_open) { fail_unless(zathura_document_open(NULL, NULL, NULL, NULL, NULL) == NULL, "Could create document", NULL); @@ -11,7 +12,7 @@ START_TEST(test_open) { fail_unless(zathura_document_open(NULL, "fl", NULL, "pw", NULL) == NULL, "Could create document", NULL); } END_TEST -Suite* suite_document() +static Suite* suite_document(void) { TCase* tcase = NULL; Suite* suite = suite_create("Document"); @@ -23,3 +24,8 @@ Suite* suite_document() return suite; } + +int main() +{ + return run_suite(suite_document()); +} diff --git a/tests/test_session.c b/tests/test_session.c index 86d1b9597bf9d2d0a361410e25555efbbfbff329..48c08bbfc156bff5b291fad6c8f71b126fa4f637 100644 --- a/tests/test_session.c +++ b/tests/test_session.c @@ -3,6 +3,7 @@ #include #include "zathura.h" +#include "tests.h" START_TEST(test_create) { zathura_t* zathura = zathura_create(); @@ -11,15 +12,21 @@ START_TEST(test_create) { zathura_free(zathura); } END_TEST -Suite* suite_session() +static Suite* suite_session(void) { TCase* tcase = NULL; Suite* suite = suite_create("Session"); /* basic */ tcase = tcase_create("basic"); + tcase_add_checked_fixture(tcase, setup, NULL); tcase_add_test(tcase, test_create); suite_add_tcase(suite, tcase); return suite; } + +int main() +{ + return run_suite(suite_session()); +} diff --git a/tests/test_types.c b/tests/test_types.c new file mode 100644 index 0000000000000000000000000000000000000000..0d97db0b7117f623ead8d5f6fbe7498a672eb762 --- /dev/null +++ b/tests/test_types.c @@ -0,0 +1,36 @@ +/* See LICENSE file for license and copyright information */ + +#include +#include + +#include "types.h" +#include "tests.h" + +START_TEST(test_image_buffer_fail) { + fail_unless(zathura_image_buffer_create(UINT_MAX, UINT_MAX) == NULL, NULL); +} END_TEST + +START_TEST(test_image_buffer) { + zathura_image_buffer_t* buffer = zathura_image_buffer_create(1, 1); + fail_unless(buffer != NULL, NULL); + zathura_image_buffer_free(buffer); +} END_TEST + +static Suite* suite_types(void) +{ + TCase* tcase = NULL; + Suite* suite = suite_create("Types"); + + /* file valid extension */ + tcase = tcase_create("Image buffer"); + tcase_add_test(tcase, test_image_buffer_fail); + tcase_add_test(tcase, test_image_buffer); + suite_add_tcase(suite, tcase); + + return suite; +} + +int main() +{ + return run_suite(suite_types()); +} diff --git a/tests/test_utils.c b/tests/test_utils.c index 10c224f14a3afebc9eb695fa6f29ae34f05ef53e..81ef1c4556e3d8a2c1180e5fed38a3ae280de533 100644 --- a/tests/test_utils.c +++ b/tests/test_utils.c @@ -3,6 +3,7 @@ #include #include "utils.h" +#include "tests.h" START_TEST(test_file_valid_extension_null) { fail_unless(file_valid_extension(NULL, NULL) == false, NULL); @@ -10,7 +11,7 @@ START_TEST(test_file_valid_extension_null) { fail_unless(file_valid_extension(NULL, "pdf") == false, NULL); } END_TEST -Suite* suite_utils() +static Suite* suite_utils(void) { TCase* tcase = NULL; Suite* suite = suite_create("Utils"); @@ -22,3 +23,8 @@ Suite* suite_utils() return suite; } + +int main() +{ + return run_suite(suite_utils()); +} diff --git a/tests/tests.c b/tests/tests.c index 5e3098f9d485c9ce50d8c8f8741c20266aa330de..4d2f72d5366da0d9e6042cbcf1b8e3d325f60d93 100644 --- a/tests/tests.c +++ b/tests/tests.c @@ -1,41 +1,36 @@ /* See LICENSE file for license and copyright information */ -#include -#include #include +#include -#define LENGTH(x) (sizeof(x)/sizeof((x)[0])) +#include "tests.h" -extern Suite* suite_session(); -extern Suite* suite_utils(); -extern Suite* suite_document(); +int run_suite(Suite* suite) +{ + SRunner* suite_runner = srunner_create(suite); + srunner_run_all(suite_runner, CK_NORMAL); + const int number_failed = srunner_ntests_failed(suite_runner); + + int ret = EXIT_SUCCESS; + if (number_failed != 0) { + ret = EXIT_FAILURE; + TestResult** results = srunner_failures(suite_runner); + + for (int i = 0; i < number_failed; ++i) { + if (tr_ctx(results[i]) == CK_CTX_SETUP) { + /* mark tests as skipped */ + ret = 77; + break; + } + } + } -typedef Suite* (*suite_create_fnt_t)(void); + srunner_free(suite_runner); -const suite_create_fnt_t suites[] = { - suite_utils, - suite_document, - suite_session, -}; + return ret; +} -int -main(int argc, char* argv[]) +void setup(void) { - Suite* suite = NULL; - SRunner* suite_runner = NULL; - int number_failed = 0; - - /* init gtk */ - gtk_init(&argc, &argv); - - /* run test suites */ - for (unsigned int i = 0; i < LENGTH(suites); i++) { - suite = suites[i](); - suite_runner = srunner_create(suite); - srunner_run_all(suite_runner, CK_NORMAL); - number_failed += srunner_ntests_failed(suite_runner); - srunner_free(suite_runner); - } - - return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE; + fail_unless(gtk_init_check(NULL, NULL) == TRUE, "GTK+ initializitation failed", NULL); } diff --git a/tests/tests.h b/tests/tests.h new file mode 100644 index 0000000000000000000000000000000000000000..8593c5cf6f7f281553ecc68809275f6ad0cd2527 --- /dev/null +++ b/tests/tests.h @@ -0,0 +1,11 @@ +/* See LICENSE file for license and copyright information */ + +#ifndef ZATHURA_TESTS_H +#define ZATHURA_TESTS_H + +#include + +int run_suite(Suite* suite); +void setup(void); + +#endif diff --git a/zathura/callbacks.c b/zathura/callbacks.c index 63024daef5720d2614d98861c8be921bac465516..397e61cd7d1dcb3394c53efbfbdfc79628421092 100644 --- a/zathura/callbacks.c +++ b/zathura/callbacks.c @@ -329,7 +329,10 @@ cb_page_layout_value_changed(girara_session_t* session, const char* name, girara unsigned int page_padding = 1; girara_setting_get(zathura->ui.session, "page-padding", &page_padding); - page_widget_set_mode(zathura, page_padding, pages_per_row, first_page_column); + bool page_right_to_left = false; + girara_setting_get(zathura->ui.session, "page-right-to-left", &page_right_to_left); + + page_widget_set_mode(zathura, page_padding, pages_per_row, first_page_column, page_right_to_left); zathura_document_set_page_layout(zathura->document, page_padding, pages_per_row, first_page_column); } @@ -733,13 +736,12 @@ cb_page_widget_scaled_button_release(ZathuraPage* page_widget, GdkEventButton* e refresh_view(zathura); } - if (event->button != 1 || !(event->state & GDK_CONTROL_MASK)) { + if (event->button != GDK_BUTTON_PRIMARY || !(event->state & GDK_CONTROL_MASK)) { return; } bool synctex = false; girara_setting_get(zathura->ui.session, "synctex", &synctex); - if (synctex == false) { return; } @@ -751,6 +753,7 @@ cb_page_widget_scaled_button_release(ZathuraPage* page_widget, GdkEventButton* e char* editor = NULL; girara_setting_get(zathura->ui.session, "synctex-editor-command", &editor); if (editor == NULL || *editor == '\0') { + girara_debug("No SyncTeX editor specified."); g_free(editor); return; } @@ -759,3 +762,17 @@ cb_page_widget_scaled_button_release(ZathuraPage* page_widget, GdkEventButton* e g_free(editor); } +void +cb_window_update_icon(ZathuraRenderRequest* GIRARA_UNUSED(request), cairo_surface_t* surface, void* data) +{ + zathura_t* zathura = data; + + girara_debug("updating window icon"); + GdkPixbuf* pixbuf = gdk_pixbuf_get_from_surface(surface, 0, 0, cairo_image_surface_get_width(surface), cairo_image_surface_get_height(surface)); + if (pixbuf == NULL) { + girara_error("Unable to convert cairo surface to Gdk Pixbuf."); + } + + gtk_window_set_icon(GTK_WINDOW(zathura->ui.session->gtk.window), pixbuf); + g_object_unref(pixbuf); +} diff --git a/zathura/callbacks.h b/zathura/callbacks.h index bee54e04cf89506eb41d38ee1356fc519366c73e..bc361aa323b5d493aa21c70b29549684f342285d 100644 --- a/zathura/callbacks.h +++ b/zathura/callbacks.h @@ -262,11 +262,14 @@ void cb_page_widget_image_selected(ZathuraPage* page, GdkPixbuf* pixbuf, void cb_page_widget_scaled_button_release(ZathuraPage* page, GdkEventButton* event, void* data); -void -cb_page_widget_link(ZathuraPage* page, void* data); +void cb_page_widget_link(ZathuraPage* page, void* data); -void -update_visible_pages(zathura_t* zathura); +void update_visible_pages(zathura_t* zathura); + +/** + * Update window icon from cairo surface. + */ +void cb_window_update_icon(ZathuraRenderRequest* request, cairo_surface_t* surface, void* data); #endif // CALLBACKS_H diff --git a/zathura/commands.c b/zathura/commands.c index b6810acca96eeab57956867f9b10ac4224d62091..ee8cdac83f99050ea93dd193ff5d37a076d68fd6 100644 --- a/zathura/commands.c +++ b/zathura/commands.c @@ -280,14 +280,10 @@ cmd_print(girara_session_t* session, girara_list_t* UNUSED(argument_list)) return false; } - char* sandbox = NULL; - girara_setting_get(zathura->ui.session, "sandbox", &sandbox); - if (g_strcmp0(sandbox, "strict") == 0) { + if (zathura->global.sandbox == ZATHURA_SANDBOX_STRICT) { girara_notify(zathura->ui.session, GIRARA_ERROR, _("Printing is not permitted in strict sandbox mode")); - g_free(sandbox); return false; } - g_free(sandbox); print(zathura); @@ -536,6 +532,11 @@ cmd_exec(girara_session_t* session, girara_list_t* argument_list) g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; + if (zathura->global.sandbox == ZATHURA_SANDBOX_STRICT) { + girara_notify(zathura->ui.session, GIRARA_ERROR, _("Exec is not permitted in strict sandbox mode")); + return false; + } + if (zathura->document != NULL) { const char* path = zathura_document_get_path(zathura->document); diff --git a/zathura/config.c b/zathura/config.c index 510c60a7867ed6278671ecffbd41377a0a90ee01..28746ba5639d53679b97503ae9e5ef2665e8a804 100644 --- a/zathura/config.c +++ b/zathura/config.c @@ -103,6 +103,45 @@ cb_incsearch_changed(girara_session_t* session, const char* UNUSED(name), girara_special_command_add(session, '?', cmd_search, inc_search, BACKWARD, NULL); } +static void +cb_sandbox_changed(girara_session_t* session, const char* UNUSED(name), + girara_setting_type_t UNUSED(type), void* value, void* UNUSED(data)) +{ + g_return_if_fail(value != NULL); + g_return_if_fail(session != NULL); + g_return_if_fail(session->global.data != NULL); + zathura_t* zathura = session->global.data; + + const char* sandbox = value; + if (g_strcmp0(sandbox, "none") == 0) { + zathura->global.sandbox = ZATHURA_SANDBOX_NONE; + } else if (g_strcmp0(sandbox, "normal") == 0) { + zathura->global.sandbox = ZATHURA_SANDBOX_NORMAL; + } else if (g_strcmp0(sandbox, "strict") == 0) { + zathura->global.sandbox = ZATHURA_SANDBOX_STRICT; + } else { + girara_error("Invalid sandbox option"); + } +} + +static void +cb_window_statbusbar_changed(girara_session_t* session, const char* name, + girara_setting_type_t UNUSED(type), void* value, void* UNUSED(data)) +{ + g_return_if_fail(value != NULL); + g_return_if_fail(session != NULL); + g_return_if_fail(session->global.data != NULL); + zathura_t* zathura = session->global.data; + + const bool is_window_setting = g_str_has_prefix(name, "window-"); + if (is_window_setting) { + char* formatted_filename = get_formatted_filename(zathura, !is_window_setting); + girara_set_window_title(zathura->ui.session, formatted_filename); + g_free(formatted_filename); + } else { + statusbar_page_number_update(zathura); + } +} void config_load_default(zathura_t* zathura) @@ -152,6 +191,8 @@ config_load_default(zathura_t* zathura) girara_setting_add(gsession, "pages-per-row", &int_value, INT, false, _("Number of pages per row"), cb_page_layout_value_changed, NULL); int_value = 1; girara_setting_add(gsession, "first-page-column", "1:2", STRING, false, _("Column of the first page"), cb_page_layout_value_changed, NULL); + bool_value = false; + girara_setting_add(gsession, "page-right-to-left", &bool_value, BOOLEAN, false, _("Render pages from right to left"), cb_page_layout_value_changed, NULL); float_value = 40; girara_setting_add(gsession, "scroll-step", &float_value, FLOAT, false, _("Scroll step"), NULL, NULL); float_value = 40; @@ -228,15 +269,17 @@ config_load_default(zathura_t* zathura) bool_value = true; girara_setting_add(gsession, "abort-clear-search", &bool_value, BOOLEAN, false, _("Clear search results on abort"), NULL, NULL); bool_value = false; - girara_setting_add(gsession, "window-title-basename", &bool_value, BOOLEAN, false, _("Use basename of the file in the window title"), NULL, NULL); + girara_setting_add(gsession, "window-title-basename", &bool_value, BOOLEAN, false, _("Use basename of the file in the window title"), cb_window_statbusbar_changed, NULL); + bool_value = false; + girara_setting_add(gsession, "window-title-home-tilde", &bool_value, BOOLEAN, false, _("Use ~ instead of $HOME in the filename in the window title"), cb_window_statbusbar_changed, NULL); bool_value = false; - girara_setting_add(gsession, "window-title-home-tilde", &bool_value, BOOLEAN, false, _("Use ~ instead of $HOME in the filename in the window title"), NULL, NULL); + girara_setting_add(gsession, "window-title-page", &bool_value, BOOLEAN, false, _("Display the page number in the window title"), cb_window_statbusbar_changed, NULL); bool_value = false; - girara_setting_add(gsession, "window-title-page", &bool_value, BOOLEAN, false, _("Display the page number in the window title"), NULL, NULL); + girara_setting_add(gsession, "window-icon-document", &bool_value, BOOLEAN, false, _("Use first page of a document as window icon"), NULL, NULL); bool_value = false; - girara_setting_add(gsession, "statusbar-basename", &bool_value, BOOLEAN, false, _("Use basename of the file in the statusbar"), NULL, NULL); + girara_setting_add(gsession, "statusbar-basename", &bool_value, BOOLEAN, false, _("Use basename of the file in the statusbar"), cb_window_statbusbar_changed, NULL); bool_value = false; - girara_setting_add(gsession, "statusbar-home-tilde", &bool_value, BOOLEAN, false, _("Use ~ instead of $HOME in the filename in the statusbar"), NULL, NULL); + girara_setting_add(gsession, "statusbar-home-tilde", &bool_value, BOOLEAN, false, _("Use ~ instead of $HOME in the filename in the statusbar"), cb_window_statbusbar_changed, NULL); bool_value = true; girara_setting_add(gsession, "synctex", &bool_value, BOOLEAN, false, _("Enable synctex support"), NULL, NULL); string_value = ""; @@ -249,7 +292,7 @@ config_load_default(zathura_t* zathura) girara_setting_add(gsession, "selection-clipboard", string_value, STRING, false, _("The clipboard into which mouse-selected data will be written"), NULL, NULL); bool_value = true; girara_setting_add(gsession, "selection-notification", &bool_value, BOOLEAN, false, _("Enable notification after selecting text"), NULL, NULL); - girara_setting_add(gsession, "sandbox", "normal", STRING, true, _("Sandbox level"), NULL, NULL); + girara_setting_add(gsession, "sandbox", "normal", STRING, true, _("Sandbox level"), cb_sandbox_changed, NULL); #define DEFAULT_SHORTCUTS(mode) \ girara_shortcut_add(gsession, 0, GDK_KEY_a, NULL, sc_adjust_window, (mode), ZATHURA_ADJUST_BESTFIT, NULL); \ diff --git a/zathura/database-plain.c b/zathura/database-plain.c index a3dad91928748a194813e1d2905364518c1a63f0..fe92a7790aa4495e0a8b407ea9f5bab6a1a55b70 100644 --- a/zathura/database-plain.c +++ b/zathura/database-plain.c @@ -27,6 +27,7 @@ #define KEY_ZOOM "zoom" #define KEY_ROTATE "rotate" #define KEY_PAGES_PER_ROW "pages-per-row" +#define KEY_PAGE_RIGHT_TO_LEFT "page-right-to-left" #define KEY_FIRST_PAGE_COLUMN "first-page-column" #define KEY_POSITION_X "position-x" #define KEY_POSITION_Y "position-y" @@ -37,19 +38,33 @@ #include #define file_lock_set(fd, cmd) flock(fd, cmd) #else -#define file_lock_set(fd, cmd) \ - { \ - struct flock lock = { .l_type = cmd, .l_start = 0, .l_whence = SEEK_SET, .l_len = 0}; \ - fcntl(fd, F_SETLK, lock); \ - } +static int +file_lock_set(int fd, short cmd) +{ + struct flock lock = { .l_type = cmd, .l_start = 0, .l_whence = SEEK_SET, .l_len = 0}; + return fcntl(fd, F_SETLK, lock); +} #endif static void zathura_database_interface_init(ZathuraDatabaseInterface* iface); static void io_interface_init(GiraraInputHistoryIOInterface* iface); +typedef struct zathura_plaindatabase_private_s { + char* bookmark_path; + GKeyFile* bookmarks; + GFileMonitor* bookmark_monitor; + + char* history_path; + GKeyFile* history; + GFileMonitor* history_monitor; + + char* input_history_path; +} ZathuraPlainDatabasePrivate; + G_DEFINE_TYPE_WITH_CODE(ZathuraPlainDatabase, zathura_plaindatabase, G_TYPE_OBJECT, G_IMPLEMENT_INTERFACE(ZATHURA_TYPE_DATABASE, zathura_database_interface_init) - G_IMPLEMENT_INTERFACE(GIRARA_TYPE_INPUT_HISTORY_IO, io_interface_init)) + G_IMPLEMENT_INTERFACE(GIRARA_TYPE_INPUT_HISTORY_IO, io_interface_init) + G_ADD_PRIVATE(ZathuraPlainDatabase)) static void plain_dispose(GObject* object); static void plain_finalize(GObject* object); @@ -71,21 +86,6 @@ static GKeyFile* zathura_db_read_key_file_from_file(const char* path); static void zathura_db_write_key_file_to_file(const char* file, GKeyFile* key_file); static void cb_zathura_db_watch_file(GFileMonitor* monitor, GFile* file, GFile* other_file, GFileMonitorEvent event, zathura_database_t* database); -typedef struct zathura_plaindatabase_private_s { - char* bookmark_path; - GKeyFile* bookmarks; - GFileMonitor* bookmark_monitor; - - char* history_path; - GKeyFile* history; - GFileMonitor* history_monitor; - - char* input_history_path; -} zathura_plaindatabase_private_t; - -#define ZATHURA_PLAINDATABASE_GET_PRIVATE(obj) \ - (G_TYPE_INSTANCE_GET_PRIVATE ((obj), ZATHURA_TYPE_PLAINDATABASE, zathura_plaindatabase_private_t)) - enum { PROP_0, PROP_PATH @@ -130,9 +130,6 @@ io_interface_init(GiraraInputHistoryIOInterface* iface) static void zathura_plaindatabase_class_init(ZathuraPlainDatabaseClass* class) { - /* add private members */ - g_type_class_add_private(class, sizeof(zathura_plaindatabase_private_t)); - /* override methods */ GObjectClass* object_class = G_OBJECT_CLASS(class); object_class->dispose = plain_dispose; @@ -147,7 +144,7 @@ zathura_plaindatabase_class_init(ZathuraPlainDatabaseClass* class) static void zathura_plaindatabase_init(ZathuraPlainDatabase* db) { - zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db); + ZathuraPlainDatabasePrivate* priv = zathura_plaindatabase_get_instance_private(db); priv->bookmark_path = NULL; priv->bookmark_monitor = NULL; @@ -164,7 +161,7 @@ zathura_plaindatabase_new(const char* path) g_return_val_if_fail(path != NULL && strlen(path) != 0, NULL); zathura_database_t* db = g_object_new(ZATHURA_TYPE_PLAINDATABASE, "path", path, NULL); - zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db); + ZathuraPlainDatabasePrivate* priv = zathura_plaindatabase_get_instance_private(ZATHURA_PLAINDATABASE(db)); if (priv->bookmark_path == NULL) { g_object_unref(db); return NULL; @@ -176,7 +173,7 @@ zathura_plaindatabase_new(const char* path) static void plain_db_init(ZathuraPlainDatabase* db, const char* dir) { - zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db); + ZathuraPlainDatabasePrivate* priv = zathura_plaindatabase_get_instance_private(db); /* bookmarks */ priv->bookmark_path = g_build_filename(dir, BOOKMARKS, NULL); @@ -287,7 +284,7 @@ static void plain_dispose(GObject* object) { ZathuraPlainDatabase* db = ZATHURA_PLAINDATABASE(object); - zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db); + ZathuraPlainDatabasePrivate* priv = zathura_plaindatabase_get_instance_private(db); g_clear_object(&priv->bookmark_monitor); g_clear_object(&priv->history_monitor); @@ -299,7 +296,7 @@ static void plain_finalize(GObject* object) { ZathuraPlainDatabase* db = ZATHURA_PLAINDATABASE(object); - zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db); + ZathuraPlainDatabasePrivate* priv = zathura_plaindatabase_get_instance_private(db); /* bookmarks */ g_free(priv->bookmark_path); @@ -325,7 +322,8 @@ static bool plain_add_bookmark(zathura_database_t* db, const char* file, zathura_bookmark_t* bookmark) { - zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db); + ZathuraPlainDatabase* plaindb = ZATHURA_PLAINDATABASE(db); + ZathuraPlainDatabasePrivate* priv = zathura_plaindatabase_get_instance_private(plaindb); if (priv->bookmarks == NULL || priv->bookmark_path == NULL || bookmark->id == NULL) { return false; @@ -363,7 +361,8 @@ plain_add_bookmark(zathura_database_t* db, const char* file, static bool plain_remove_bookmark(zathura_database_t* db, const char* file, const char* id) { - zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db); + ZathuraPlainDatabase* plaindb = ZATHURA_PLAINDATABASE(db); + ZathuraPlainDatabasePrivate* priv = zathura_plaindatabase_get_instance_private(plaindb); if (priv->bookmarks == NULL || priv->bookmark_path == NULL) { return false; } @@ -386,7 +385,8 @@ plain_remove_bookmark(zathura_database_t* db, const char* file, const char* id) static girara_list_t* plain_load_bookmarks(zathura_database_t* db, const char* file) { - zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db); + ZathuraPlainDatabase* plaindb = ZATHURA_PLAINDATABASE(db); + ZathuraPlainDatabasePrivate* priv = zathura_plaindatabase_get_instance_private(plaindb); if (priv->bookmarks == NULL) { return NULL; } @@ -497,9 +497,10 @@ plain_load_jumplist(zathura_database_t* db, const char* file) { g_return_val_if_fail(db != NULL && file != NULL, NULL); - zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db); - char* str_value = g_key_file_get_string(priv->history, file, KEY_JUMPLIST, NULL); + ZathuraPlainDatabase* plaindb = ZATHURA_PLAINDATABASE(db); + ZathuraPlainDatabasePrivate* priv = zathura_plaindatabase_get_instance_private(plaindb); + char* str_value = g_key_file_get_string(priv->history, file, KEY_JUMPLIST, NULL); if (str_value == NULL) { return girara_list_new2(g_free); } @@ -532,7 +533,8 @@ plain_save_jumplist(zathura_database_t* db, const char* file, girara_list_t* jum GString* str_val = g_string_new(NULL); girara_list_foreach(jumplist, jump_to_str, str_val); - zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db); + ZathuraPlainDatabase* plaindb = ZATHURA_PLAINDATABASE(db); + ZathuraPlainDatabasePrivate* priv = zathura_plaindatabase_get_instance_private(plaindb); g_key_file_set_string(priv->history, file, KEY_JUMPLIST, str_val->str); zathura_db_write_key_file_to_file(priv->history_path, priv->history); @@ -545,7 +547,8 @@ static bool plain_set_fileinfo(zathura_database_t* db, const char* file, zathura_fileinfo_t* file_info) { - zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db); + ZathuraPlainDatabase* plaindb = ZATHURA_PLAINDATABASE(db); + ZathuraPlainDatabasePrivate* priv = zathura_plaindatabase_get_instance_private(plaindb); if (priv->history == NULL || file_info == NULL || file == NULL) { return false; } @@ -558,6 +561,7 @@ plain_set_fileinfo(zathura_database_t* db, const char* file, zathura_fileinfo_t* g_key_file_set_integer(priv->history, name, KEY_ROTATE, file_info->rotation); g_key_file_set_integer(priv->history, name, KEY_PAGES_PER_ROW, file_info->pages_per_row); g_key_file_set_string(priv->history, name, KEY_FIRST_PAGE_COLUMN, file_info->first_page_column_list); + g_key_file_set_boolean(priv->history, name, KEY_PAGE_RIGHT_TO_LEFT,file_info->page_right_to_left); g_key_file_set_double (priv->history, name, KEY_POSITION_X, file_info->position_x); g_key_file_set_double (priv->history, name, KEY_POSITION_Y, file_info->position_y); g_key_file_set_integer(priv->history, name, KEY_TIME, time(NULL)); @@ -577,7 +581,8 @@ plain_get_fileinfo(zathura_database_t* db, const char* file, zathura_fileinfo_t* return false; } - zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db); + ZathuraPlainDatabase* plaindb = ZATHURA_PLAINDATABASE(db); + ZathuraPlainDatabasePrivate* priv = zathura_plaindatabase_get_instance_private(plaindb); if (priv->history == NULL) { return false; } @@ -600,6 +605,9 @@ plain_get_fileinfo(zathura_database_t* db, const char* file, zathura_fileinfo_t* if (g_key_file_has_key(priv->history, name, KEY_FIRST_PAGE_COLUMN, NULL) == TRUE) { file_info->first_page_column_list = g_key_file_get_string(priv->history, name, KEY_FIRST_PAGE_COLUMN, NULL); } + if (g_key_file_has_key(priv->history, name, KEY_PAGE_RIGHT_TO_LEFT, NULL) == TRUE) { + file_info->page_right_to_left = g_key_file_get_boolean(priv->history, name, KEY_PAGE_RIGHT_TO_LEFT, NULL); + } if (g_key_file_has_key(priv->history, name, KEY_POSITION_X, NULL) == TRUE) { file_info->position_x = g_key_file_get_double(priv->history, name, KEY_POSITION_X, NULL); } @@ -741,7 +749,8 @@ cb_zathura_db_watch_file(GFileMonitor* UNUSED(monitor), GFile* file, GFile* UNUS return; } - zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(database); + ZathuraPlainDatabase* plaindb = ZATHURA_PLAINDATABASE(database); + ZathuraPlainDatabasePrivate* priv = zathura_plaindatabase_get_instance_private(plaindb); if (priv->bookmark_path && strcmp(priv->bookmark_path, path) == 0) { if (priv->bookmarks != NULL) { g_key_file_free(priv->bookmarks); @@ -762,7 +771,8 @@ cb_zathura_db_watch_file(GFileMonitor* UNUSED(monitor), GFile* file, GFile* UNUS static girara_list_t* plain_io_read(GiraraInputHistoryIO* db) { - zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db); + ZathuraPlainDatabase* plaindb = ZATHURA_PLAINDATABASE(db); + ZathuraPlainDatabasePrivate* priv = zathura_plaindatabase_get_instance_private(plaindb); /* open file */ FILE* file = fopen(priv->input_history_path, "r"); @@ -793,7 +803,8 @@ plain_io_read(GiraraInputHistoryIO* db) static void plain_io_append(GiraraInputHistoryIO* db, const char* input) { - zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db); + ZathuraPlainDatabase* plaindb = ZATHURA_PLAINDATABASE(db); + ZathuraPlainDatabasePrivate* priv = zathura_plaindatabase_get_instance_private(plaindb); /* open file */ FILE* file = fopen(priv->input_history_path, "r+"); @@ -858,7 +869,8 @@ compare_time(const void* l, const void* r, void* data) static girara_list_t* plain_get_recent_files(zathura_database_t* db, int max, const char* basepath) { - zathura_plaindatabase_private_t* priv = ZATHURA_PLAINDATABASE_GET_PRIVATE(db); + ZathuraPlainDatabase* plaindb = ZATHURA_PLAINDATABASE(db); + ZathuraPlainDatabasePrivate* priv = zathura_plaindatabase_get_instance_private(plaindb); girara_list_t* result = girara_list_new2(g_free); if (result == NULL) { diff --git a/zathura/database-sqlite.c b/zathura/database-sqlite.c index 45c019133b1805b31df86b69e72bee243f71e5da..8f58cad9c837fa84dec3321cf0f511b940c836d7 100644 --- a/zathura/database-sqlite.c +++ b/zathura/database-sqlite.c @@ -19,9 +19,14 @@ sqlite3_column_text_dup(sqlite3_stmt* stmt, int col) static void zathura_database_interface_init(ZathuraDatabaseInterface* iface); static void io_interface_init(GiraraInputHistoryIOInterface* iface); +typedef struct zathura_sqldatabase_private_s { + sqlite3* session; +} ZathuraSQLDatabasePrivate; + G_DEFINE_TYPE_WITH_CODE(ZathuraSQLDatabase, zathura_sqldatabase, G_TYPE_OBJECT, G_IMPLEMENT_INTERFACE(ZATHURA_TYPE_DATABASE, zathura_database_interface_init) - G_IMPLEMENT_INTERFACE(GIRARA_TYPE_INPUT_HISTORY_IO, io_interface_init)) + G_IMPLEMENT_INTERFACE(GIRARA_TYPE_INPUT_HISTORY_IO, io_interface_init) + G_ADD_PRIVATE(ZathuraSQLDatabase)) static bool check_column(sqlite3* session, const char* table, const char* col, bool* result); static bool check_column_type(sqlite3* session, const char* table, const char* col, const char* type, bool* result); @@ -38,13 +43,6 @@ static void sqlite_io_append(GiraraInputHistoryIO* db, const char*); static girara_list_t* sqlite_io_read(GiraraInputHistoryIO* db); static girara_list_t* sqlite_get_recent_files(zathura_database_t* db, int max, const char* basepath); -typedef struct zathura_sqldatabase_private_s { - sqlite3* session; -} zathura_sqldatabase_private_t; - -#define ZATHURA_SQLDATABASE_GET_PRIVATE(obj) \ - (G_TYPE_INSTANCE_GET_PRIVATE ((obj), ZATHURA_TYPE_SQLDATABASE, zathura_sqldatabase_private_t)) - enum { PROP_0, PROP_PATH @@ -75,9 +73,6 @@ io_interface_init(GiraraInputHistoryIOInterface* iface) static void zathura_sqldatabase_class_init(ZathuraSQLDatabaseClass* class) { - /* add private members */ - g_type_class_add_private(class, sizeof(zathura_sqldatabase_private_t)); - /* override methods */ GObjectClass* object_class = G_OBJECT_CLASS(class); object_class->finalize = sqlite_finalize; @@ -91,7 +86,7 @@ zathura_sqldatabase_class_init(ZathuraSQLDatabaseClass* class) static void zathura_sqldatabase_init(ZathuraSQLDatabase* db) { - zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db); + ZathuraSQLDatabasePrivate* priv = zathura_sqldatabase_get_instance_private(db); priv->session = NULL; } @@ -101,7 +96,7 @@ zathura_sqldatabase_new(const char* path) g_return_val_if_fail(path != NULL && strlen(path) != 0, NULL); zathura_database_t* db = g_object_new(ZATHURA_TYPE_SQLDATABASE, "path", path, NULL); - zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db); + ZathuraSQLDatabasePrivate* priv = zathura_sqldatabase_get_instance_private(ZATHURA_SQLDATABASE(db)); if (priv->session == NULL) { g_object_unref(G_OBJECT(db)); return NULL; @@ -114,7 +109,7 @@ static void sqlite_finalize(GObject* object) { ZathuraSQLDatabase* db = ZATHURA_SQLDATABASE(object); - zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db); + ZathuraSQLDatabasePrivate* priv = zathura_sqldatabase_get_instance_private(db); if (priv->session) { sqlite3_exec(priv->session, "VACUUM;", NULL, 0, NULL); sqlite3_close(priv->session); @@ -126,7 +121,7 @@ sqlite_finalize(GObject* object) static void sqlite_db_init(ZathuraSQLDatabase* db, const char* path) { - zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db); + ZathuraSQLDatabasePrivate* priv = zathura_sqldatabase_get_instance_private(db); /* create bookmarks table */ static const char SQL_BOOKMARK_INIT[] = @@ -160,7 +155,8 @@ sqlite_db_init(ZathuraSQLDatabase* db, const char* path) "first_page_column TEXT," "position_x FLOAT," "position_y FLOAT," - "time TIMESTAMP" + "time TIMESTAMP," + "page_right_to_left INTEGER" ");"; /* create history table */ @@ -195,6 +191,10 @@ sqlite_db_init(ZathuraSQLDatabase* db, const char* path) static const char SQL_FILEINFO_ALTER4[] = "ALTER TABLE fileinfo ADD COLUMN zoom FLOAT;"; + /* update fileinfo table (part 5) */ + static const char SQL_FILEINFO_ALTER5[] = + "ALTER TABLE fileinfo ADD COLUMN page_right_to_left INTEGER;"; + /* update bookmark table */ static const char SQL_BOOKMARK_ALTER[] = "ALTER TABLE bookmarks ADD COLUMN hadj_ratio FLOAT;" @@ -254,6 +254,15 @@ sqlite_db_init(ZathuraSQLDatabase* db, const char* path) } } + ret1 = check_column(session, "fileinfo", "page_right_to_left", &res1); + + if (ret1 == true && res1 == false) { + girara_debug("old database table layout detected; updating ..."); + if (sqlite3_exec(session, SQL_FILEINFO_ALTER5, NULL, 0, NULL) != SQLITE_OK) { + girara_warning("failed to update database table layout"); + } + } + ret1 = check_column(session, "bookmarks", "hadj_ratio", &res1); ret2 = check_column(session, "bookmarks", "vadj_ratio", &res2); @@ -296,8 +305,8 @@ sqlite_db_init(ZathuraSQLDatabase* db, const char* path) static void sqlite_set_property(GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec) { - ZathuraSQLDatabase* db = ZATHURA_SQLDATABASE(object); - zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db); + ZathuraSQLDatabase* db = ZATHURA_SQLDATABASE(object); + ZathuraSQLDatabasePrivate* priv = zathura_sqldatabase_get_instance_private(db); switch (prop_id) { case PROP_PATH: @@ -406,7 +415,8 @@ static bool sqlite_add_bookmark(zathura_database_t* db, const char* file, zathura_bookmark_t* bookmark) { - zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db); + ZathuraSQLDatabase* sqldb = ZATHURA_SQLDATABASE(db); + ZathuraSQLDatabasePrivate* priv = zathura_sqldatabase_get_instance_private(sqldb); static const char SQL_BOOKMARK_ADD[] = "REPLACE INTO bookmarks (file, id, page, hadj_ratio, vadj_ratio) VALUES (?, ?, ?, ?, ?);"; @@ -436,7 +446,8 @@ static bool sqlite_remove_bookmark(zathura_database_t* db, const char* file, const char* id) { - zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db); + ZathuraSQLDatabase* sqldb = ZATHURA_SQLDATABASE(db); + ZathuraSQLDatabasePrivate* priv = zathura_sqldatabase_get_instance_private(sqldb); static const char SQL_BOOKMARK_ADD[] = "DELETE FROM bookmarks WHERE file = ? AND id = ?;"; @@ -462,7 +473,8 @@ sqlite_remove_bookmark(zathura_database_t* db, const char* file, const char* static girara_list_t* sqlite_load_bookmarks(zathura_database_t* db, const char* file) { - zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db); + ZathuraSQLDatabase* sqldb = ZATHURA_SQLDATABASE(db); + ZathuraSQLDatabasePrivate* priv = zathura_sqldatabase_get_instance_private(sqldb); static const char SQL_BOOKMARK_SELECT[] = "SELECT id, page, hadj_ratio, vadj_ratio FROM bookmarks WHERE file = ?;"; @@ -513,9 +525,11 @@ sqlite_save_jumplist(zathura_database_t* db, const char* file, girara_list_t* ju static const char SQL_INSERT_JUMP[] = "INSERT INTO jumplist (file, page, hadj_ratio, vadj_ratio) VALUES (?, ?, ?, ?);"; static const char SQL_REMOVE_JUMPLIST[] = "DELETE FROM jumplist WHERE file = ?;"; - zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db); - sqlite3_stmt* stmt = NULL; - int res = 0; + ZathuraSQLDatabase* sqldb = ZATHURA_SQLDATABASE(db); + ZathuraSQLDatabasePrivate* priv = zathura_sqldatabase_get_instance_private(sqldb); + + sqlite3_stmt* stmt = NULL; + int res = 0; if (sqlite3_exec(priv->session, "BEGIN;", NULL, 0, NULL) != SQLITE_OK) { return false; @@ -591,9 +605,10 @@ sqlite_load_jumplist(zathura_database_t* db, const char* file) static const char SQL_GET_JUMPLIST[] = "SELECT page, hadj_ratio, vadj_ratio FROM jumplist WHERE file = ? ORDER BY id ASC;"; - zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db); - sqlite3_stmt* stmt = prepare_statement(priv->session, SQL_GET_JUMPLIST); + ZathuraSQLDatabase* sqldb = ZATHURA_SQLDATABASE(db); + ZathuraSQLDatabasePrivate* priv = zathura_sqldatabase_get_instance_private(sqldb); + sqlite3_stmt* stmt = prepare_statement(priv->session, SQL_GET_JUMPLIST); if (stmt == NULL) { return NULL; } @@ -643,26 +658,28 @@ sqlite_set_fileinfo(zathura_database_t* db, const char* file, return false; } - zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db); + ZathuraSQLDatabase* sqldb = ZATHURA_SQLDATABASE(db); + ZathuraSQLDatabasePrivate* priv = zathura_sqldatabase_get_instance_private(sqldb); static const char SQL_FILEINFO_SET[] = - "REPLACE INTO fileinfo (file, page, offset, zoom, rotation, pages_per_row, first_page_column, position_x, position_y, time) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, DATETIME('now'));"; + "REPLACE INTO fileinfo (file, page, offset, zoom, rotation, pages_per_row, first_page_column, position_x, position_y, time, page_right_to_left) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, DATETIME('now'), ?);"; sqlite3_stmt* stmt = prepare_statement(priv->session, SQL_FILEINFO_SET); if (stmt == NULL) { return false; } - if (sqlite3_bind_text(stmt, 1, file, -1, NULL) != SQLITE_OK || - sqlite3_bind_int(stmt, 2, file_info->current_page) != SQLITE_OK || - sqlite3_bind_int(stmt, 3, file_info->page_offset) != SQLITE_OK || - sqlite3_bind_double(stmt, 4, file_info->zoom) != SQLITE_OK || - sqlite3_bind_int(stmt, 5, file_info->rotation) != SQLITE_OK || - sqlite3_bind_int(stmt, 6, file_info->pages_per_row) != SQLITE_OK || - sqlite3_bind_text(stmt, 7, file_info->first_page_column_list, -1, NULL) - != SQLITE_OK || - sqlite3_bind_double(stmt, 8, file_info->position_x) != SQLITE_OK || - sqlite3_bind_double(stmt, 9, file_info->position_y) != SQLITE_OK) { + if (sqlite3_bind_text(stmt, 1, file, -1, NULL) != SQLITE_OK || + sqlite3_bind_int(stmt, 2, file_info->current_page) != SQLITE_OK || + sqlite3_bind_int(stmt, 3, file_info->page_offset) != SQLITE_OK || + sqlite3_bind_double(stmt, 4, file_info->zoom) != SQLITE_OK || + sqlite3_bind_int(stmt, 5, file_info->rotation) != SQLITE_OK || + sqlite3_bind_int(stmt, 6, file_info->pages_per_row) != SQLITE_OK || + sqlite3_bind_text(stmt, 7, file_info->first_page_column_list, -1, NULL) + != SQLITE_OK || + sqlite3_bind_double(stmt, 8, file_info->position_x) != SQLITE_OK || + sqlite3_bind_double(stmt, 9, file_info->position_y) != SQLITE_OK || + sqlite3_bind_int(stmt, 10, file_info->page_right_to_left) != SQLITE_OK) { sqlite3_finalize(stmt); girara_error("Failed to bind arguments."); return false; @@ -682,10 +699,11 @@ sqlite_get_fileinfo(zathura_database_t* db, const char* file, return false; } - zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db); + ZathuraSQLDatabase* sqldb = ZATHURA_SQLDATABASE(db); + ZathuraSQLDatabasePrivate* priv = zathura_sqldatabase_get_instance_private(sqldb); static const char SQL_FILEINFO_GET[] = - "SELECT page, offset, zoom, rotation, pages_per_row, first_page_column, position_x, position_y FROM fileinfo WHERE file = ?;"; + "SELECT page, offset, zoom, rotation, pages_per_row, first_page_column, position_x, position_y, page_right_to_left FROM fileinfo WHERE file = ?;"; sqlite3_stmt* stmt = prepare_statement(priv->session, SQL_FILEINFO_GET); if (stmt == NULL) { @@ -712,6 +730,7 @@ sqlite_get_fileinfo(zathura_database_t* db, const char* file, file_info->first_page_column_list = sqlite3_column_text_dup(stmt, 5); file_info->position_x = sqlite3_column_double(stmt, 6); file_info->position_y = sqlite3_column_double(stmt, 7); + file_info->page_right_to_left = sqlite3_column_int(stmt, 8) != 0; sqlite3_finalize(stmt); @@ -724,7 +743,9 @@ sqlite_io_append(GiraraInputHistoryIO* db, const char* input) static const char SQL_HISTORY_SET[] = "REPLACE INTO history (line, time) VALUES (?, DATETIME('now'));"; - zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db); + ZathuraSQLDatabase* sqldb = ZATHURA_SQLDATABASE(db); + ZathuraSQLDatabasePrivate* priv = zathura_sqldatabase_get_instance_private(sqldb); + sqlite3_stmt* stmt = prepare_statement(priv->session, SQL_HISTORY_SET); if (stmt == NULL) { return; @@ -746,7 +767,9 @@ sqlite_io_read(GiraraInputHistoryIO* db) static const char SQL_HISTORY_GET[] = "SELECT line FROM history ORDER BY time"; - zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db); + ZathuraSQLDatabase* sqldb = ZATHURA_SQLDATABASE(db); + ZathuraSQLDatabasePrivate* priv = zathura_sqldatabase_get_instance_private(sqldb); + sqlite3_stmt* stmt = prepare_statement(priv->session, SQL_HISTORY_GET); if (stmt == NULL) { return NULL; @@ -774,7 +797,9 @@ sqlite_get_recent_files(zathura_database_t* db, int max, const char* basepath) static const char SQL_HISTORY_GET_WITH_BASEPATH[] = "SELECT file FROM fileinfo WHERE file LIKE ? || '%' ORDER BY time DESC LIMIT ?"; - zathura_sqldatabase_private_t* priv = ZATHURA_SQLDATABASE_GET_PRIVATE(db); + ZathuraSQLDatabase* sqldb = ZATHURA_SQLDATABASE(db); + ZathuraSQLDatabasePrivate* priv = zathura_sqldatabase_get_instance_private(sqldb); + sqlite3_stmt* stmt = prepare_statement(priv->session, basepath == NULL ? SQL_HISTORY_GET : SQL_HISTORY_GET_WITH_BASEPATH); if (stmt == NULL) { return NULL; diff --git a/zathura/database.h b/zathura/database.h index 66df46f3e1525ae13d7ec94ee6c1dd7401213ac0..06cb9b8d8daa64f6e433fe715260bdcd349daba3 100644 --- a/zathura/database.h +++ b/zathura/database.h @@ -15,6 +15,7 @@ typedef struct zathura_fileinfo_s { double zoom; unsigned int rotation; unsigned int pages_per_row; + bool page_right_to_left; char* first_page_column_list; double position_x; double position_y; diff --git a/zathura/dbus-interface.c b/zathura/dbus-interface.c index 7e9544d93176e8eba49fd72e9934bc6b9b0c7bc1..a9bd87812a27c05b47daff41f8534e5ad3071bcf 100644 --- a/zathura/dbus-interface.c +++ b/zathura/dbus-interface.c @@ -30,33 +30,30 @@ static GBytes* load_xml_data(void) return NULL; } -G_DEFINE_TYPE(ZathuraDbus, zathura_dbus, G_TYPE_OBJECT) - -/* template for bus name */ -static const char DBUS_NAME_TEMPLATE[] = "org.pwmt.zathura.PID-%d"; -/* object path */ -static const char DBUS_OBJPATH[] = "/org/pwmt/zathura"; -/* interface name */ -static const char DBUS_INTERFACE[] = "org.pwmt.zathura"; - typedef struct private_s { zathura_t* zathura; GDBusNodeInfo* introspection_data; GDBusConnection* connection; guint owner_id; guint registration_id; -} private_t; +} ZathuraDbusPrivate; + +G_DEFINE_TYPE_WITH_CODE(ZathuraDbus, zathura_dbus, G_TYPE_OBJECT, G_ADD_PRIVATE(ZathuraDbus)) -#define GET_PRIVATE(obj) \ - (G_TYPE_INSTANCE_GET_PRIVATE((obj), ZATHURA_TYPE_DBUS, private_t)) +/* template for bus name */ +static const char DBUS_NAME_TEMPLATE[] = "org.pwmt.zathura.PID-%d"; +/* object path */ +static const char DBUS_OBJPATH[] = "/org/pwmt/zathura"; +/* interface name */ +static const char DBUS_INTERFACE[] = "org.pwmt.zathura"; static const GDBusInterfaceVTable interface_vtable; static void finalize(GObject* object) { - ZathuraDbus* dbus = ZATHURA_DBUS(object); - private_t* priv = GET_PRIVATE(dbus); + ZathuraDbus* dbus = ZATHURA_DBUS(object); + ZathuraDbusPrivate* priv = zathura_dbus_get_instance_private(dbus); if (priv->connection != NULL && priv->registration_id > 0) { g_dbus_connection_unregister_object(priv->connection, priv->registration_id); @@ -76,9 +73,6 @@ finalize(GObject* object) static void zathura_dbus_class_init(ZathuraDbusClass* class) { - /* add private members */ - g_type_class_add_private(class, sizeof(private_t)); - /* overwrite methods */ GObjectClass* object_class = G_OBJECT_CLASS(class); object_class->finalize = finalize; @@ -87,7 +81,7 @@ zathura_dbus_class_init(ZathuraDbusClass* class) static void zathura_dbus_init(ZathuraDbus* dbus) { - private_t* priv = GET_PRIVATE(dbus); + ZathuraDbusPrivate* priv = zathura_dbus_get_instance_private(dbus); priv->zathura = NULL; priv->introspection_data = NULL; priv->connection = NULL; @@ -113,8 +107,8 @@ bus_acquired(GDBusConnection* connection, const gchar* name, void* data) g_signal_connect(G_OBJECT(connection), "closed", G_CALLBACK(gdbus_connection_closed), NULL); - ZathuraDbus* dbus = data; - private_t* priv = GET_PRIVATE(dbus); + ZathuraDbus* dbus = data; + ZathuraDbusPrivate* priv = zathura_dbus_get_instance_private(dbus); GError* error = NULL; priv->registration_id = g_dbus_connection_register_object( @@ -154,7 +148,7 @@ zathura_dbus_new(zathura_t* zathura) } ZathuraDbus* dbus = ZATHURA_DBUS(obj); - private_t* priv = GET_PRIVATE(dbus); + ZathuraDbusPrivate* priv = zathura_dbus_get_instance_private(dbus); priv->zathura = zathura; GBytes* xml_data = load_xml_data(); @@ -187,7 +181,7 @@ zathura_dbus_new(zathura_t* zathura) void zathura_dbus_edit(ZathuraDbus* edit, unsigned int page, unsigned int x, unsigned int y) { - private_t* priv = GET_PRIVATE(edit); + ZathuraDbusPrivate* priv = zathura_dbus_get_instance_private(edit); const char* filename = zathura_document_get_path(priv->zathura->document); @@ -393,7 +387,7 @@ handle_method_call(GDBusConnection* UNUSED(connection), void* data) { ZathuraDbus* dbus = data; - private_t* priv = GET_PRIVATE(dbus); + ZathuraDbusPrivate* priv = zathura_dbus_get_instance_private(dbus); girara_debug("Handling call '%s.%s' on '%s'.", interface_name, method_name, object_path); @@ -434,8 +428,8 @@ handle_get_property(GDBusConnection* UNUSED(connection), const gchar* UNUSED(interface_name), const gchar* property_name, GError** error, void* data) { - ZathuraDbus* dbus = data; - private_t* priv = GET_PRIVATE(dbus); + ZathuraDbus* dbus = data; + ZathuraDbusPrivate* priv = zathura_dbus_get_instance_private(dbus); if (priv->zathura->document == NULL) { g_set_error(error, G_IO_ERROR, G_IO_ERROR_FAILED, "No document open."); diff --git a/zathura/file-monitor-noop.c b/zathura/file-monitor-noop.c new file mode 100644 index 0000000000000000000000000000000000000000..82e108d1f894c4284558219f2e01e52f09ab24c6 --- /dev/null +++ b/zathura/file-monitor-noop.c @@ -0,0 +1,50 @@ +/* See LICENSE file for license and copyright information */ + +#include "file-monitor-noop.h" + +#include +#ifdef G_OS_UNIX +#include +#endif + +struct zathura_noopfilemonitor_s +{ + ZathuraFileMonitor parent; +}; + +G_DEFINE_TYPE(ZathuraNoopFileMonitor, zathura_noopfilemonitor, + ZATHURA_TYPE_FILEMONITOR) + +static void +start(ZathuraFileMonitor* GIRARA_UNUSED(file_monitor)) +{ +} + +static void +stop(ZathuraFileMonitor* GIRARA_UNUSED(file_monitor)) +{ +} + +static void +zathura_noopfilemonitor_finalize(GObject* object) +{ + stop(ZATHURA_FILEMONITOR(object)); + + G_OBJECT_CLASS(zathura_noopfilemonitor_parent_class)->finalize(object); +} + +static void +zathura_noopfilemonitor_class_init(ZathuraNoopFileMonitorClass* class) +{ + ZathuraFileMonitorClass* filemonitor_class = ZATHURA_FILEMONITOR_CLASS(class); + filemonitor_class->start = start; + filemonitor_class->stop = stop; + + GObjectClass* object_class = G_OBJECT_CLASS(class); + object_class->finalize = zathura_noopfilemonitor_finalize; +} + +static void +zathura_noopfilemonitor_init(ZathuraNoopFileMonitor* GIRARA_UNUSED(noopfilemonitor)) +{ +} diff --git a/zathura/file-monitor-noop.h b/zathura/file-monitor-noop.h new file mode 100644 index 0000000000000000000000000000000000000000..86cdf65deae8613520344be861fd760e5880498f --- /dev/null +++ b/zathura/file-monitor-noop.h @@ -0,0 +1,33 @@ +/* See LICENSE file for license and copyright information */ + +#ifndef FILEMONITOR_NOOP_H +#define FILEMONITOR_NOOP_H + +#include "file-monitor.h" + +#define ZATHURA_TYPE_NOOPFILEMONITOR (zathura_noopfilemonitor_get_type()) +#define ZATHURA_NOOPFILEMONITOR(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST((obj), ZATHURA_TYPE_NOOPFILEMONITOR, \ + ZathuraNoopFileMonitor)) +#define ZATHURA_NOOPFILEMONITOR_CLASS(obj) \ + (G_TYPE_CHECK_CLASS_CAST((obj), ZATHURA_TYPE_NOOPFILEMONITOR, \ + ZathuraNoopFileMonitorClass)) +#define ZATHURA_IS_NOOPFILEMONITOR(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE((obj), ZATHURA_TYPE_NOOPFILEMONITOR)) +#define ZATHURA_IS_NOOPFILEMONITOR_CLASS(obj) \ + (G_TYPE_CHECK_CLASS_TYPE((obj), ZATHURA_TYPE_NOOPFILEMONITOR)) +#define ZATHURA_NOOPFILEMONITOR_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS((obj), ZATHURA_TYPE_NOOPFILEMONITOR, \ + ZathuraNoopFileMonitorClass)) + +typedef struct zathura_noopfilemonitor_s ZathuraNoopFileMonitor; +typedef struct zathura_noopfilemonitor_class_s ZathuraNoopFileMonitorClass; + +struct zathura_noopfilemonitor_class_s +{ + ZathuraFileMonitorClass parent_class; +}; + +GType zathura_noopfilemonitor_get_type(void) G_GNUC_CONST; + +#endif diff --git a/zathura/file-monitor.c b/zathura/file-monitor.c index c64c200302c7792a5462dbaa31d672e29cb61971..21be1902034b33f2e6d02bbcb4aaf13d6221f4ad 100644 --- a/zathura/file-monitor.c +++ b/zathura/file-monitor.c @@ -5,18 +5,16 @@ #ifdef G_OS_UNIX #include "file-monitor-signal.h" #endif +#include "file-monitor-noop.h" #include "macros.h" #include -G_DEFINE_TYPE(ZathuraFileMonitor, zathura_filemonitor, G_TYPE_OBJECT) - typedef struct private_s { char* file_path; -} private_t; +} ZathuraFileMonitorPrivate; -#define GET_PRIVATE(obj) \ - (G_TYPE_INSTANCE_GET_PRIVATE((obj), ZATHURA_TYPE_FILEMONITOR, private_t)) +G_DEFINE_TYPE_WITH_CODE(ZathuraFileMonitor, zathura_filemonitor, G_TYPE_OBJECT, G_ADD_PRIVATE(ZathuraFileMonitor)) enum { PROP_0, @@ -34,7 +32,7 @@ static void finalize(GObject* object) { ZathuraFileMonitor* file_monitor = ZATHURA_FILEMONITOR(object); - private_t* private = GET_PRIVATE(file_monitor); + ZathuraFileMonitorPrivate* private = zathura_filemonitor_get_instance_private(file_monitor); if (private->file_path != NULL) { g_free(private->file_path); @@ -47,7 +45,7 @@ static void set_property(GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec) { ZathuraFileMonitor* file_monitor = ZATHURA_FILEMONITOR(object); - private_t* private = GET_PRIVATE(file_monitor); + ZathuraFileMonitorPrivate* private = zathura_filemonitor_get_instance_private(file_monitor); switch (prop_id) { case PROP_FILE_PATH: @@ -65,7 +63,7 @@ static void get_property(GObject* object, guint prop_id, GValue* value, GParamSpec* pspec) { ZathuraFileMonitor* file_monitor = ZATHURA_FILEMONITOR(object); - private_t* private = GET_PRIVATE(file_monitor); + ZathuraFileMonitorPrivate* private = zathura_filemonitor_get_instance_private(file_monitor); switch (prop_id) { case PROP_FILE_PATH: @@ -79,9 +77,6 @@ get_property(GObject* object, guint prop_id, GValue* value, GParamSpec* pspec) static void zathura_filemonitor_class_init(ZathuraFileMonitorClass* class) { - /* add private members */ - g_type_class_add_private(class, sizeof(private_t)); - /* set up methods */ class->start = NULL; class->stop = NULL; @@ -107,14 +102,13 @@ zathura_filemonitor_class_init(ZathuraFileMonitorClass* class) static void zathura_filemonitor_init(ZathuraFileMonitor* file_monitor) { - private_t* private = GET_PRIVATE(file_monitor); - private->file_path = NULL; + ZathuraFileMonitorPrivate* private = zathura_filemonitor_get_instance_private(file_monitor); + private->file_path = NULL; } const char* zathura_filemonitor_get_filepath(ZathuraFileMonitor* file_monitor) { - private_t* private = GET_PRIVATE(file_monitor); - + ZathuraFileMonitorPrivate* private = zathura_filemonitor_get_instance_private(file_monitor); return private->file_path; } @@ -143,11 +137,16 @@ zathura_filemonitor_new(const char* file_path, break; #ifdef G_OS_UNIX case ZATHURA_FILEMONITOR_SIGNAL: - girara_debug("using SIGHUB file monitor"); + girara_debug("using SIGHUP file monitor"); ret = g_object_new(ZATHURA_TYPE_SIGNALFILEMONITOR, "file-path", file_path, NULL); break; #endif + case ZATHURA_FILEMONITOR_NOOP: + girara_debug("using noop file monitor"); + ret = g_object_new(ZATHURA_TYPE_NOOPFILEMONITOR, "file-path", file_path, + NULL); + break; default: girara_debug("invalid filemonitor type: %d", filemonitor_type); g_return_val_if_fail(false, NULL); diff --git a/zathura/file-monitor.h b/zathura/file-monitor.h index 1c056bc2f1f9b29deb42493126ad94dc7d5de918..0cd8cfcd606221ef662e342d0f3cd895a4f6d48c 100644 --- a/zathura/file-monitor.h +++ b/zathura/file-monitor.h @@ -55,7 +55,8 @@ GType zathura_filemonitor_get_type(void) G_GNUC_CONST; */ typedef enum zathura_filemonitor_type_e { ZATHURA_FILEMONITOR_GLIB, /**< Use filemonitor from GLib */ - ZATHURA_FILEMONITOR_SIGNAL /**< Reload when receiving SIGHUP */ + ZATHURA_FILEMONITOR_SIGNAL, /**< Reload when receiving SIGHUP */ + ZATHURA_FILEMONITOR_NOOP /**< Monitor that does nothing */ } zathura_filemonitor_type_t; /** diff --git a/zathura/links.c b/zathura/links.c index cc6f4ac36d81d05f9f3aadbfa86e94c68dab75a3..83967dbfd0c82e9ca462fa274934305374a14836 100644 --- a/zathura/links.c +++ b/zathura/links.c @@ -14,20 +14,12 @@ #include "page.h" #include "render.h" -#ifdef WITH_SECCOMP -#include "seccomp-filters.h" -#endif - struct zathura_link_s { zathura_rectangle_t position; /**< Position of the link */ zathura_link_type_t type; /**< Link type */ zathura_link_target_t target; /**< Link target */ }; -/* forward declarations */ -static void link_remote(zathura_t* zathura, const char* file); -static void link_launch(zathura_t* zathura, zathura_link_t* link); - zathura_link_t* zathura_link_new(zathura_link_type_t type, zathura_rectangle_t position, zathura_link_target_t target) @@ -125,125 +117,77 @@ zathura_link_get_target(zathura_link_t* link) return link->target; } -void -zathura_link_evaluate(zathura_t* zathura, zathura_link_t* link) +static void +link_goto_dest(zathura_t* zathura, const zathura_link_t* link) { - if (zathura == NULL || zathura->document == NULL || link == NULL) { + if (link->target.destination_type == ZATHURA_LINK_DESTINATION_UNKNOWN) { + girara_warning("link destination type unknown"); return; } bool link_zoom = true; girara_setting_get(zathura->ui.session, "link-zoom", &link_zoom); - /* required below to prevent opening hyperlinks in strict sandbox mode */ - char* sandbox = NULL; - girara_setting_get(zathura->ui.session, "sandbox", &sandbox); - - switch (link->type) { - case ZATHURA_LINK_GOTO_DEST: - if (link->target.destination_type != ZATHURA_LINK_DESTINATION_UNKNOWN) { - if (link->target.zoom >= DBL_EPSILON && link_zoom) { - zathura_document_set_zoom(zathura->document, - zathura_correct_zoom_value(zathura->ui.session, link->target.zoom)); - render_all(zathura); - } - - /* get page */ - zathura_page_t* page = zathura_document_get_page(zathura->document, - link->target.page_number); - if (page == NULL) { - return; - } - - /* compute the position with the page aligned to the top and left - of the viewport */ - double pos_x = 0; - double pos_y = 0; - page_number_to_position(zathura->document, link->target.page_number, - 0.0, 0.0, &pos_x, &pos_y); - - /* correct to place the target position at the top of the viewport */ - /* NOTE: link->target is in page units, needs to be scaled and rotated */ - unsigned int cell_height = 0; - unsigned int cell_width = 0; - zathura_document_get_cell_size(zathura->document, &cell_height, &cell_width); - - unsigned int doc_height = 0; - unsigned int doc_width = 0; - zathura_document_get_document_size(zathura->document, &doc_height, &doc_width); - - bool link_hadjust = true; - girara_setting_get(zathura->ui.session, "link-hadjust", &link_hadjust); - - /* scale and rotate */ - double scale = zathura_document_get_scale(zathura->document); - double shiftx = link->target.left * scale / (double)cell_width; - double shifty = link->target.top * scale / (double)cell_height; - page_calc_position(zathura->document, shiftx, shifty, &shiftx, &shifty); - - /* shift the position or set to auto */ - if (link->target.destination_type == ZATHURA_LINK_DESTINATION_XYZ && - link->target.left != -1 && link_hadjust == true) { - pos_x += shiftx / (double)doc_width; - } else { - pos_x = -1; /* -1 means automatic */ - } - - if (link->target.destination_type == ZATHURA_LINK_DESTINATION_XYZ && - link->target.top != -1) { - pos_y += shifty / (double)doc_height; - } else { - pos_y = -1; /* -1 means automatic */ - } - - /* move to position */ - zathura_jumplist_add(zathura); - zathura_document_set_current_page_number(zathura->document, link->target.page_number); - position_set(zathura, pos_x, pos_y); - zathura_jumplist_add(zathura); - } - break; - case ZATHURA_LINK_GOTO_REMOTE: - link_remote(zathura, link->target.value); - break; - case ZATHURA_LINK_URI: - if (g_strcmp0(sandbox, "strict") == 0) { - girara_notify(zathura->ui.session, GIRARA_ERROR, _("Opening external applications in strict sandbox mode is not permitted")); - } else { - if (girara_xdg_open(link->target.value) == false) { - girara_notify(zathura->ui.session, GIRARA_ERROR, _("Failed to run xdg-open.")); - } - } - break; - case ZATHURA_LINK_LAUNCH: - link_launch(zathura, link); - break; - default: - break; + if (link->target.zoom >= DBL_EPSILON && link_zoom == true) { + zathura_document_set_zoom(zathura->document, + zathura_correct_zoom_value(zathura->ui.session, link->target.zoom)); + render_all(zathura); } - g_free(sandbox); -} -void -zathura_link_display(zathura_t* zathura, zathura_link_t* link) -{ - zathura_link_type_t type = zathura_link_get_type(link); - zathura_link_target_t target = zathura_link_get_target(link); - switch (type) { - case ZATHURA_LINK_GOTO_DEST: - girara_notify(zathura->ui.session, GIRARA_INFO, _("Link: page %d"), - target.page_number); - break; - case ZATHURA_LINK_GOTO_REMOTE: - case ZATHURA_LINK_URI: - case ZATHURA_LINK_LAUNCH: - case ZATHURA_LINK_NAMED: - girara_notify(zathura->ui.session, GIRARA_INFO, _("Link: %s"), - target.value); - break; - default: - girara_notify(zathura->ui.session, GIRARA_ERROR, _("Link: Invalid")); + /* get page */ + zathura_page_t* page = zathura_document_get_page(zathura->document, + link->target.page_number); + if (page == NULL) { + girara_warning("link to non-existing page %u", link->target.page_number); + return; + } + + /* compute the position with the page aligned to the top and left + of the viewport */ + double pos_x = 0; + double pos_y = 0; + page_number_to_position(zathura->document, link->target.page_number, + 0.0, 0.0, &pos_x, &pos_y); + + /* correct to place the target position at the top of the viewport */ + /* NOTE: link->target is in page units, needs to be scaled and rotated */ + unsigned int cell_height = 0; + unsigned int cell_width = 0; + zathura_document_get_cell_size(zathura->document, &cell_height, &cell_width); + + unsigned int doc_height = 0; + unsigned int doc_width = 0; + zathura_document_get_document_size(zathura->document, &doc_height, &doc_width); + + bool link_hadjust = true; + girara_setting_get(zathura->ui.session, "link-hadjust", &link_hadjust); + + /* scale and rotate */ + double scale = zathura_document_get_scale(zathura->document); + double shiftx = link->target.left * scale / (double)cell_width; + double shifty = link->target.top * scale / (double)cell_height; + page_calc_position(zathura->document, shiftx, shifty, &shiftx, &shifty); + + /* shift the position or set to auto */ + if (link->target.destination_type == ZATHURA_LINK_DESTINATION_XYZ && + link->target.left != -1 && link_hadjust == true) { + pos_x += shiftx / (double)doc_width; + } else { + pos_x = -1; /* -1 means automatic */ + } + + if (link->target.destination_type == ZATHURA_LINK_DESTINATION_XYZ && + link->target.top != -1) { + pos_y += shifty / (double)doc_height; + } else { + pos_y = -1; /* -1 means automatic */ } + + /* move to position */ + zathura_jumplist_add(zathura); + zathura_document_set_current_page_number(zathura->document, link->target.page_number); + position_set(zathura, pos_x, pos_y); + zathura_jumplist_add(zathura); } static void @@ -263,19 +207,19 @@ link_remote(zathura_t* zathura, const char* file) NULL }; - g_spawn_async(NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL); + GError* error = NULL; + if (g_spawn_async(NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, &error) == FALSE) { + girara_error("Failed to execute command: %s", error->message); + g_error_free(error); + } g_free(uri); g_free(dir); } static void -link_launch(zathura_t* zathura, zathura_link_t* link) +link_launch(zathura_t* zathura, const zathura_link_t* link) { - if (zathura == NULL || link == NULL || zathura->document == NULL) { - return; - } - /* get file path */ if (link->target.value == NULL) { return; @@ -291,9 +235,62 @@ link_launch(zathura_t* zathura, zathura_link_t* link) g_free(dir); } - if (girara_xdg_open(path) == false) { + if (zathura->global.sandbox == ZATHURA_SANDBOX_STRICT) { + girara_notify(zathura->ui.session, GIRARA_ERROR, _("Opening external applications in strict sandbox mode is not permitted")); + } else if (girara_xdg_open(path) == false) { girara_notify(zathura->ui.session, GIRARA_ERROR, _("Failed to run xdg-open.")); } g_free(path); } + +void +zathura_link_evaluate(zathura_t* zathura, zathura_link_t* link) +{ + if (zathura == NULL || zathura->document == NULL || link == NULL) { + return; + } + + switch (link->type) { + case ZATHURA_LINK_GOTO_DEST: + link_goto_dest(zathura, link); + break; + case ZATHURA_LINK_GOTO_REMOTE: + link_remote(zathura, link->target.value); + break; + case ZATHURA_LINK_URI: + if (zathura->global.sandbox == ZATHURA_SANDBOX_STRICT) { + girara_notify(zathura->ui.session, GIRARA_ERROR, _("Opening external applications in strict sandbox mode is not permitted")); + } else if (girara_xdg_open(link->target.value) == false) { + girara_notify(zathura->ui.session, GIRARA_ERROR, _("Failed to run xdg-open.")); + } + break; + case ZATHURA_LINK_LAUNCH: + link_launch(zathura, link); + break; + default: + break; + } +} + +void +zathura_link_display(zathura_t* zathura, zathura_link_t* link) +{ + zathura_link_type_t type = zathura_link_get_type(link); + zathura_link_target_t target = zathura_link_get_target(link); + switch (type) { + case ZATHURA_LINK_GOTO_DEST: + girara_notify(zathura->ui.session, GIRARA_INFO, _("Link: page %d"), + target.page_number); + break; + case ZATHURA_LINK_GOTO_REMOTE: + case ZATHURA_LINK_URI: + case ZATHURA_LINK_LAUNCH: + case ZATHURA_LINK_NAMED: + girara_notify(zathura->ui.session, GIRARA_INFO, _("Link: %s"), + target.value); + break; + default: + girara_notify(zathura->ui.session, GIRARA_ERROR, _("Link: Invalid")); + } +} diff --git a/zathura/main.c b/zathura/main.c index 88275c027df05461a43b4f629bc400423e7dcfc1..18cbbbec8e23ed4b1364f28c89e06ff850bbb6f1 100644 --- a/zathura/main.c +++ b/zathura/main.c @@ -18,9 +18,6 @@ #ifdef WITH_SYNCTEX #include "synctex.h" #endif -#ifdef WITH_SECCOMP -#include "seccomp-filters.h" -#endif /* Init locale */ static void @@ -292,28 +289,6 @@ main(int argc, char* argv[]) goto free_and_ret; } -#ifdef WITH_SECCOMP - char* sandbox = NULL; - girara_setting_get(zathura->ui.session, "sandbox", &sandbox); - if (g_strcmp0(sandbox, "none") == 0) { - girara_debug("Sandbox deactivated."); - } else if (g_strcmp0(sandbox, "normal") == 0) { - girara_debug("Basic sandbox allowing normal operation."); - ret = seccomp_enable_basic_filter(); - } else if (g_strcmp0(sandbox, "strict") == 0) { - girara_debug("Strict sandbox preventing write and network access."); - ret = seccomp_enable_strict_filter(); - } else { - girara_error("Invalid sandbox option"); - ret = -1; - } - g_free(sandbox); - - if (ret != 0) { - goto free_and_ret; - } -#endif - /* open document if passed */ if (file_idx != 0) { if (page_number > 0) { diff --git a/zathura/page-widget.c b/zathura/page-widget.c index c025a028dafafa6536728e26cf3a434240239f3c..5dd8b1b1783c7e171882f70601f32ab9a81335a9 100644 --- a/zathura/page-widget.c +++ b/zathura/page-widget.c @@ -16,8 +16,6 @@ #include "shortcuts.h" #include "zathura.h" -G_DEFINE_TYPE(ZathuraPage, zathura_page_widget, GTK_TYPE_DRAWING_AREA) - typedef struct zathura_page_widget_private_s { zathura_page_t* page; /**< Page object */ zathura_t* zathura; /**< Zathura object */ @@ -54,11 +52,9 @@ typedef struct zathura_page_widget_private_s { } selection_basepoint; gboolean over_link; } mouse; -} zathura_page_widget_private_t; +} ZathuraPagePrivate; -#define ZATHURA_PAGE_GET_PRIVATE(obj) \ - (G_TYPE_INSTANCE_GET_PRIVATE((obj), ZATHURA_TYPE_PAGE, \ - zathura_page_widget_private_t)) +G_DEFINE_TYPE_WITH_CODE(ZathuraPage, zathura_page_widget, GTK_TYPE_DRAWING_AREA, G_ADD_PRIVATE(ZathuraPage)) static gboolean zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo); static void zathura_page_widget_finalize(GObject* object); @@ -110,9 +106,6 @@ static guint signals[LAST_SIGNAL] = { 0 }; static void zathura_page_widget_class_init(ZathuraPageClass* class) { - /* add private members */ - g_type_class_add_private(class, sizeof(zathura_page_widget_private_t)); - /* overwrite methods */ GtkWidgetClass* widget_class = GTK_WIDGET_CLASS(class); widget_class->draw = zathura_page_widget_draw; @@ -207,12 +200,12 @@ zathura_page_widget_class_init(ZathuraPageClass* class) static void zathura_page_widget_init(ZathuraPage* widget) { - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); - priv->page = NULL; - priv->surface = NULL; - priv->thumbnail = NULL; - priv->render_request = NULL; - priv->cached = false; + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(widget); + priv->page = NULL; + priv->surface = NULL; + priv->thumbnail = NULL; + priv->render_request = NULL; + priv->cached = false; priv->links.list = NULL; priv->links.retrieved = false; @@ -249,7 +242,7 @@ zathura_page_widget_new(zathura_t* zathura, zathura_page_t* page) } ZathuraPage* widget = ZATHURA_PAGE(ret); - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(widget); priv->render_request = zathura_render_request_new(zathura->sync.render_thread, page); g_signal_connect_object(priv->render_request, "completed", G_CALLBACK(cb_update_surface), widget, 0); @@ -265,7 +258,7 @@ static void zathura_page_widget_dispose(GObject* object) { ZathuraPage* widget = ZATHURA_PAGE(object); - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(widget); g_clear_object(&priv->render_request); @@ -276,7 +269,7 @@ static void zathura_page_widget_finalize(GObject* object) { ZathuraPage* widget = ZATHURA_PAGE(object); - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(widget); if (priv->surface != NULL) { cairo_surface_destroy(priv->surface); @@ -319,7 +312,7 @@ set_font_from_property(cairo_t* cairo, zathura_t* zathura, cairo_font_weight_t w /* get font size: can be points or absolute. * absolute units: example: value 10*PANGO_SCALE = 10 (unscaled) device units (logical pixels) * point units: example: value 10*PANGO_SCALE = 10 points = 10*(font dpi config / 72) device units */ - double size = pango_font_description_get_size(descr) / PANGO_SCALE; + double size = pango_font_description_get_size(descr) / (double)PANGO_SCALE; /* convert point size to device units */ if (!pango_font_description_get_size_is_absolute(descr)) { @@ -377,7 +370,7 @@ static void zathura_page_widget_set_property(GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec) { ZathuraPage* pageview = ZATHURA_PAGE(object); - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(pageview); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(pageview); cairo_text_extents_t text; @@ -473,7 +466,7 @@ static void zathura_page_widget_get_property(GObject* object, guint prop_id, GValue* value, GParamSpec* pspec) { ZathuraPage* pageview = ZATHURA_PAGE(object); - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(pageview); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(pageview); switch (prop_id) { case PROP_LINKS_NUMBER: @@ -515,7 +508,8 @@ get_safe_device_factors(cairo_surface_t* surface) static gboolean zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo) { - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); + ZathuraPage* page = ZATHURA_PAGE(widget); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(page); zathura_document_t* document = zathura_page_get_document(priv->page); const unsigned int page_height = gtk_widget_get_allocated_height(widget); @@ -568,7 +562,7 @@ zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo) cairo_restore(cairo); /* All but the last jobs requested here are aborted during zooming. * Processing and aborting smaller jobs first improves responsiveness. */ - const gint64 penalty = pwidth * pheight; + const gint64 penalty = (gint64)pwidth * (gint64)pheight; zathura_render_request(priv->render_request, g_get_real_time() + penalty); return FALSE; } @@ -754,7 +748,7 @@ draw_thumbnail_image(cairo_surface_t* surface, size_t max_size) void zathura_page_widget_update_surface(ZathuraPage* widget, cairo_surface_t* surface, bool keep_thumbnail) { - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(widget); int thumbnail_size = 0; girara_setting_get(priv->zathura->ui.session, "page-thumbnail-size", &thumbnail_size); if (thumbnail_size <= 0) { @@ -804,7 +798,7 @@ cb_cache_added(ZathuraRenderRequest* UNUSED(request), void* data) ZathuraPage* widget = data; g_return_if_fail(ZATHURA_IS_PAGE(widget)); - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(widget); priv->cached = true; } @@ -814,7 +808,7 @@ cb_cache_invalidated(ZathuraRenderRequest* UNUSED(request), void* data) ZathuraPage* widget = data; g_return_if_fail(ZATHURA_IS_PAGE(widget)); - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(widget); if (zathura_page_widget_have_surface(widget) == true && priv->cached == true && zathura_page_get_visibility(priv->page) == false) { @@ -850,7 +844,7 @@ redraw_rect(ZathuraPage* widget, zathura_rectangle_t* rectangle) static void redraw_all_rects(ZathuraPage* widget, girara_list_t* rectangles) { - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(widget); GIRARA_LIST_FOREACH_BODY(rectangles, zathura_rectangle_t*, rect, zathura_rectangle_t rectangle = recalc_rectangle(priv->page, *rect); @@ -862,7 +856,7 @@ zathura_link_t* zathura_page_widget_link_get(ZathuraPage* widget, unsigned int index) { g_return_val_if_fail(widget != NULL, NULL); - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(widget); g_return_val_if_fail(priv != NULL, NULL); if (priv->links.list != NULL && index >= priv->links.offset && @@ -879,7 +873,8 @@ cb_zathura_page_widget_button_press_event(GtkWidget* widget, GdkEventButton* but g_return_val_if_fail(widget != NULL, false); g_return_val_if_fail(button != NULL, false); - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); + ZathuraPage* page = ZATHURA_PAGE(widget); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(page); if (girara_callback_view_button_press_event(widget, button, priv->zathura->ui.session) == true) { return true; @@ -928,15 +923,16 @@ cb_zathura_page_widget_button_release_event(GtkWidget* widget, GdkEventButton* b const int oldx = button->x; const int oldy = button->y; - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); - zathura_document_t* document = zathura_page_get_document(priv->page); + ZathuraPage* page = ZATHURA_PAGE(widget); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(page); - const double scale = zathura_document_get_scale(document); + zathura_document_t* document = zathura_page_get_document(priv->page); + const double scale = zathura_document_get_scale(document); button->x /= scale; button->y /= scale; - g_signal_emit(ZATHURA_PAGE(widget), signals[BUTTON_RELEASE], 0, button); + g_signal_emit(page, signals[BUTTON_RELEASE], 0, button); button->x = oldx; button->y = oldy; @@ -999,8 +995,10 @@ cb_zathura_page_widget_motion_notify(GtkWidget* widget, GdkEventMotion* event) g_return_val_if_fail(widget != NULL, false); g_return_val_if_fail(event != NULL, false); + ZathuraPage* page = ZATHURA_PAGE(widget); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(page); + if ((event->state & GDK_BUTTON1_MASK) == 0) { - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); if (priv->links.retrieved == false) { priv->links.list = zathura_page_links_get(priv->page, NULL); priv->links.retrieved = true; @@ -1030,7 +1028,6 @@ cb_zathura_page_widget_motion_notify(GtkWidget* widget, GdkEventMotion* event) return false; } - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); zathura_rectangle_t tmp = priv->mouse.selection; if (event->x < priv->mouse.selection_basepoint.x) { tmp.x1 = event->x; @@ -1059,7 +1056,8 @@ cb_zathura_page_widget_leave_notify(GtkWidget* widget, GdkEventCrossing* UNUSED( { g_return_val_if_fail(widget != NULL, false); - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); + ZathuraPage* page = ZATHURA_PAGE(widget); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(page); if (priv->mouse.over_link == true) { g_signal_emit(ZATHURA_PAGE(widget), signals[LEAVE_LINK], 0); priv->mouse.over_link = false; @@ -1076,7 +1074,8 @@ zathura_page_widget_popup_menu(GtkWidget* widget, GdkEventButton* event) return; } - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); + ZathuraPage* page = ZATHURA_PAGE(widget); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(page); if (priv->images.retrieved == false) { priv->images.list = zathura_page_images_get(priv->page, NULL); @@ -1144,7 +1143,7 @@ cb_menu_image_copy(GtkMenuItem* item, ZathuraPage* page) { g_return_if_fail(item != NULL); g_return_if_fail(page != NULL); - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(page); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(page); g_return_if_fail(priv->images.current != NULL); cairo_surface_t* surface = zathura_page_image_get_cairo(priv->page, priv->images.current, NULL); @@ -1169,7 +1168,7 @@ cb_menu_image_save(GtkMenuItem* item, ZathuraPage* page) { g_return_if_fail(item != NULL); g_return_if_fail(page != NULL); - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(page); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(page); g_return_if_fail(priv->images.current != NULL); g_return_if_fail(priv->images.list != NULL); @@ -1199,7 +1198,7 @@ void zathura_page_widget_update_view_time(ZathuraPage* widget) { g_return_if_fail(ZATHURA_IS_PAGE(widget)); - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(widget); if (zathura_page_get_visibility(priv->page) == true) { zathura_render_request_update_view_time(priv->render_request); @@ -1210,7 +1209,7 @@ bool zathura_page_widget_have_surface(ZathuraPage* widget) { g_return_val_if_fail(ZATHURA_IS_PAGE(widget), false); - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(widget); return priv->surface != NULL; } @@ -1218,7 +1217,7 @@ void zathura_page_widget_abort_render_request(ZathuraPage* widget) { g_return_if_fail(ZATHURA_IS_PAGE(widget)); - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(widget); zathura_render_request_abort(priv->render_request); /* Make sure that if we are not cached and invisible, that there is no @@ -1234,7 +1233,7 @@ zathura_page_widget_abort_render_request(ZathuraPage* widget) zathura_page_t* zathura_page_widget_get_page(ZathuraPage* widget) { g_return_val_if_fail(ZATHURA_IS_PAGE(widget), NULL); - zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); + ZathuraPagePrivate* priv = zathura_page_widget_get_instance_private(widget); return priv->page; } diff --git a/zathura/print.c b/zathura/print.c index cb3ffe9dac3d04c00c13062536a511af831a57ab..4cd98e07c785f7c70c0657c959eae68da42136ee 100644 --- a/zathura/print.c +++ b/zathura/print.c @@ -107,7 +107,7 @@ cb_print_draw_page(GtkPrintOperation* print_operation, GtkPrintContext* } /* Update statusbar. */ - char* tmp = g_strdup_printf("Printing %d...", page_number); + char* tmp = g_strdup_printf(_("Printing page %d ..."), page_number); girara_statusbar_item_set_text(zathura->ui.session, zathura->ui.statusbar.file, tmp); g_free(tmp); diff --git a/zathura/render.c b/zathura/render.c index 9504ffb7f0d0893946653a4f56a810188476c0f2..f33a5646b7c4661ece360b0dac24e18096d60eb3 100644 --- a/zathura/render.c +++ b/zathura/render.c @@ -13,23 +13,6 @@ #include "page-widget.h" #include "utils.h" -/* define the two types */ -G_DEFINE_TYPE(ZathuraRenderer, zathura_renderer, G_TYPE_OBJECT) -G_DEFINE_TYPE(ZathuraRenderRequest, zathura_render_request, G_TYPE_OBJECT) - -/* private methods for ZathuraRenderer */ -static void renderer_finalize(GObject* object); -/* private methods for ZathuraRenderRequest */ -static void render_request_dispose(GObject* object); -static void render_request_finalize(GObject* object); - -static void render_job(void* data, void* user_data); -static gint render_thread_sort(gconstpointer a, gconstpointer b, gpointer data); -static ssize_t page_cache_lru_invalidate(ZathuraRenderer* renderer); -static void page_cache_invalidate_all(ZathuraRenderer* renderer); -static bool page_cache_is_full(ZathuraRenderer* renderer, bool* result); - - /* private data for ZathuraRenderer */ typedef struct private_s { GThreadPool* pool; /**< Pool of threads */ @@ -59,7 +42,7 @@ typedef struct private_s { /* render requests */ girara_list_t* requests; -} private_t; +} ZathuraRendererPrivate; /* private data for ZathuraRenderRequest */ typedef struct request_private_s { @@ -68,13 +51,24 @@ typedef struct request_private_s { gint64 last_view_time; girara_list_t* active_jobs; GMutex jobs_mutex; -} request_private_t; + bool render_plain; +} ZathuraRenderRequestPrivate; -#define GET_PRIVATE(obj) \ - (G_TYPE_INSTANCE_GET_PRIVATE((obj), ZATHURA_TYPE_RENDERER, private_t)) -#define REQUEST_GET_PRIVATE(obj) \ - (G_TYPE_INSTANCE_GET_PRIVATE((obj), ZATHURA_TYPE_RENDER_REQUEST, \ - request_private_t)) +/* define the two types */ +G_DEFINE_TYPE_WITH_CODE(ZathuraRenderer, zathura_renderer, G_TYPE_OBJECT, G_ADD_PRIVATE(ZathuraRenderer)) +G_DEFINE_TYPE_WITH_CODE(ZathuraRenderRequest, zathura_render_request, G_TYPE_OBJECT, G_ADD_PRIVATE(ZathuraRenderRequest)) + +/* private methods for ZathuraRenderer */ +static void renderer_finalize(GObject* object); +/* private methods for ZathuraRenderRequest */ +static void render_request_dispose(GObject* object); +static void render_request_finalize(GObject* object); + +static void render_job(void* data, void* user_data); +static gint render_thread_sort(gconstpointer a, gconstpointer b, gpointer data); +static ssize_t page_cache_lru_invalidate(ZathuraRenderer* renderer); +static void page_cache_invalidate_all(ZathuraRenderer* renderer); +static bool page_cache_is_full(ZathuraRenderer* renderer, bool* result); /* job descritption for render thread */ typedef struct render_job_s { @@ -87,9 +81,6 @@ typedef struct render_job_s { static void zathura_renderer_class_init(ZathuraRendererClass* class) { - /* add private members */ - g_type_class_add_private(class, sizeof(private_t)); - /* overwrite methods */ GObjectClass* object_class = G_OBJECT_CLASS(class); object_class->finalize = renderer_finalize; @@ -98,7 +89,7 @@ zathura_renderer_class_init(ZathuraRendererClass* class) static void zathura_renderer_init(ZathuraRenderer* renderer) { - private_t* priv = GET_PRIVATE(renderer); + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); priv->pool = g_thread_pool_new(render_job, renderer, 1, TRUE, NULL); priv->about_to_close = false; g_thread_pool_set_sort_function(priv->pool, render_thread_sort, NULL); @@ -122,7 +113,7 @@ zathura_renderer_init(ZathuraRenderer* renderer) static bool page_cache_init(ZathuraRenderer* renderer, size_t cache_size) { - private_t* priv = GET_PRIVATE(renderer); + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); priv->page_cache.size = cache_size; priv->page_cache.cache = g_try_malloc0(cache_size * sizeof(int)); @@ -154,7 +145,7 @@ static void renderer_finalize(GObject* object) { ZathuraRenderer* renderer = ZATHURA_RENDERER(object); - private_t* priv = GET_PRIVATE(renderer); + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); zathura_renderer_stop(renderer); if (priv->pool != NULL) { @@ -172,7 +163,7 @@ static void renderer_unregister_request(ZathuraRenderer* renderer, ZathuraRenderRequest* request) { - private_t* priv = GET_PRIVATE(renderer); + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); girara_list_remove(priv->requests, request); } @@ -180,7 +171,7 @@ static void renderer_register_request(ZathuraRenderer* renderer, ZathuraRenderRequest* request) { - private_t* priv = GET_PRIVATE(renderer); + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); if (girara_list_contains(priv->requests, request) == false) { girara_list_append(priv->requests, request); } @@ -200,9 +191,6 @@ static guint request_signals[REQUEST_LAST_SIGNAL] = { 0 }; static void zathura_render_request_class_init(ZathuraRenderRequestClass* class) { - /* add private members */ - g_type_class_add_private(class, sizeof(request_private_t)); - /* overwrite methods */ GObjectClass* object_class = G_OBJECT_CLASS(class); object_class->dispose = render_request_dispose; @@ -243,7 +231,7 @@ zathura_render_request_class_init(ZathuraRenderRequestClass* class) static void zathura_render_request_init(ZathuraRenderRequest* request) { - request_private_t* priv = REQUEST_GET_PRIVATE(request); + ZathuraRenderRequestPrivate* priv = zathura_render_request_get_instance_private(request); priv->renderer = NULL; priv->page = NULL; } @@ -259,12 +247,13 @@ zathura_render_request_new(ZathuraRenderer* renderer, zathura_page_t* page) } ZathuraRenderRequest* request = ZATHURA_RENDER_REQUEST(obj); - request_private_t* priv = REQUEST_GET_PRIVATE(request); + ZathuraRenderRequestPrivate* priv = zathura_render_request_get_instance_private(request); /* we want to make sure that renderer lives long enough */ priv->renderer = g_object_ref(renderer); priv->page = page; priv->active_jobs = girara_list_new(); g_mutex_init(&priv->jobs_mutex); + priv->render_plain = false; /* register the request with the renderer */ renderer_register_request(renderer, request); @@ -276,7 +265,7 @@ static void render_request_dispose(GObject* object) { ZathuraRenderRequest* request = ZATHURA_RENDER_REQUEST(object); - request_private_t* priv = REQUEST_GET_PRIVATE(request); + ZathuraRenderRequestPrivate* priv = zathura_render_request_get_instance_private(request); if (priv->renderer != NULL) { /* unregister the request */ @@ -292,7 +281,7 @@ static void render_request_finalize(GObject* object) { ZathuraRenderRequest* request = ZATHURA_RENDER_REQUEST(object); - request_private_t* priv = REQUEST_GET_PRIVATE(request); + ZathuraRenderRequestPrivate* priv = zathura_render_request_get_instance_private(request); if (girara_list_size(priv->active_jobs) != 0) { girara_error("This should not happen!"); @@ -310,7 +299,8 @@ zathura_renderer_recolor_enabled(ZathuraRenderer* renderer) { g_return_val_if_fail(ZATHURA_IS_RENDERER(renderer), false); - return GET_PRIVATE(renderer)->recolor.enabled; + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); + return priv->recolor.enabled; } void @@ -318,7 +308,8 @@ zathura_renderer_enable_recolor(ZathuraRenderer* renderer, bool enable) { g_return_if_fail(ZATHURA_IS_RENDERER(renderer)); - GET_PRIVATE(renderer)->recolor.enabled = enable; + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); + priv->recolor.enabled = enable; } bool @@ -326,7 +317,8 @@ zathura_renderer_recolor_hue_enabled(ZathuraRenderer* renderer) { g_return_val_if_fail(ZATHURA_IS_RENDERER(renderer), false); - return GET_PRIVATE(renderer)->recolor.hue; + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); + return priv->recolor.hue; } void @@ -334,7 +326,8 @@ zathura_renderer_enable_recolor_hue(ZathuraRenderer* renderer, bool enable) { g_return_if_fail(ZATHURA_IS_RENDERER(renderer)); - GET_PRIVATE(renderer)->recolor.hue = enable; + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); + priv->recolor.hue = enable; } bool @@ -342,7 +335,8 @@ zathura_renderer_recolor_reverse_video_enabled(ZathuraRenderer* renderer) { g_return_val_if_fail(ZATHURA_IS_RENDERER(renderer), false); - return GET_PRIVATE(renderer)->recolor.reverse_video; + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); + return priv->recolor.reverse_video; } void @@ -350,7 +344,8 @@ zathura_renderer_enable_recolor_reverse_video(ZathuraRenderer* renderer, bool en { g_return_if_fail(ZATHURA_IS_RENDERER(renderer)); - GET_PRIVATE(renderer)->recolor.reverse_video = enable; + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); + priv->recolor.reverse_video = enable; } void zathura_renderer_set_recolor_colors(ZathuraRenderer* renderer, @@ -358,7 +353,7 @@ zathura_renderer_set_recolor_colors(ZathuraRenderer* renderer, { g_return_if_fail(ZATHURA_IS_RENDERER(renderer)); - private_t* priv = GET_PRIVATE(renderer); + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); if (light != NULL) { memcpy(&priv->recolor.light, light, sizeof(GdkRGBA)); } @@ -393,7 +388,7 @@ zathura_renderer_get_recolor_colors(ZathuraRenderer* renderer, { g_return_if_fail(ZATHURA_IS_RENDERER(renderer)); - private_t* priv = GET_PRIVATE(renderer); + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); if (light != NULL) { memcpy(light, &priv->recolor.light, sizeof(GdkRGBA)); } @@ -407,7 +402,7 @@ zathura_renderer_lock(ZathuraRenderer* renderer) { g_return_if_fail(ZATHURA_IS_RENDERER(renderer)); - private_t* priv = GET_PRIVATE(renderer); + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); g_mutex_lock(&priv->mutex); } @@ -416,7 +411,7 @@ zathura_renderer_unlock(ZathuraRenderer* renderer) { g_return_if_fail(ZATHURA_IS_RENDERER(renderer)); - private_t* priv = GET_PRIVATE(renderer); + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); g_mutex_unlock(&priv->mutex); } @@ -424,7 +419,8 @@ void zathura_renderer_stop(ZathuraRenderer* renderer) { g_return_if_fail(ZATHURA_IS_RENDERER(renderer)); - GET_PRIVATE(renderer)->about_to_close = true; + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); + priv->about_to_close = true; } @@ -435,7 +431,7 @@ zathura_render_request(ZathuraRenderRequest* request, gint64 last_view_time) { g_return_if_fail(ZATHURA_IS_RENDER_REQUEST(request)); - request_private_t* request_priv = REQUEST_GET_PRIVATE(request); + ZathuraRenderRequestPrivate* request_priv = zathura_render_request_get_instance_private(request); g_mutex_lock(&request_priv->jobs_mutex); bool unfinished_jobs = false; @@ -460,7 +456,7 @@ zathura_render_request(ZathuraRenderRequest* request, gint64 last_view_time) job->aborted = false; girara_list_append(request_priv->active_jobs, job); - private_t* priv = GET_PRIVATE(request_priv->renderer); + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(request_priv->renderer); g_thread_pool_push(priv->pool, job, NULL); } @@ -472,7 +468,7 @@ zathura_render_request_abort(ZathuraRenderRequest* request) { g_return_if_fail(ZATHURA_IS_RENDER_REQUEST(request)); - request_private_t* request_priv = REQUEST_GET_PRIVATE(request); + ZathuraRenderRequestPrivate* request_priv = zathura_render_request_get_instance_private(request); g_mutex_lock(&request_priv->jobs_mutex); GIRARA_LIST_FOREACH_BODY(request_priv->active_jobs, render_job_t*, job, job->aborted = true; @@ -485,7 +481,7 @@ zathura_render_request_update_view_time(ZathuraRenderRequest* request) { g_return_if_fail(ZATHURA_IS_RENDER_REQUEST(request)); - request_private_t* request_priv = REQUEST_GET_PRIVATE(request); + ZathuraRenderRequestPrivate* request_priv = zathura_render_request_get_instance_private(request); request_priv->last_view_time = g_get_real_time(); } @@ -494,7 +490,7 @@ zathura_render_request_update_view_time(ZathuraRenderRequest* request) static void remove_job_and_free(render_job_t* job) { - request_private_t* request_priv = REQUEST_GET_PRIVATE(job->request); + ZathuraRenderRequestPrivate* request_priv = zathura_render_request_get_instance_private(job->request); g_mutex_lock(&request_priv->jobs_mutex); girara_list_remove(request_priv->active_jobs, job); @@ -515,8 +511,8 @@ emit_completed_signal(void* data) { emit_completed_signal_t* ecs = data; render_job_t* job = ecs->job; - request_private_t* request_priv = REQUEST_GET_PRIVATE(job->request); - private_t* priv = GET_PRIVATE(request_priv->renderer); + ZathuraRenderRequestPrivate* request_priv = zathura_render_request_get_instance_private(job->request); + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(request_priv->renderer); if (priv->about_to_close == false && job->aborted == false) { /* emit the signal */ @@ -568,7 +564,7 @@ colorumax(const double h[3], double l, double l1, double l2) } static void -recolor(private_t* priv, zathura_page_t* page, unsigned int page_width, +recolor(ZathuraRendererPrivate* priv, zathura_page_t* page, unsigned int page_width, unsigned int page_height, cairo_surface_t* surface) { /* uses a representation of a rgb color as follows: @@ -706,48 +702,26 @@ recolor(private_t* priv, zathura_page_t* page, unsigned int page_width, } static bool -render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* renderer) +invoke_completed_signal(render_job_t* job, cairo_surface_t* surface) { - private_t* priv = GET_PRIVATE(renderer); - request_private_t* request_priv = REQUEST_GET_PRIVATE(request); - zathura_page_t* page = request_priv->page; - - /* create cairo surface */ - unsigned int page_width = 0; - unsigned int page_height = 0; - - /* page size in points */ - zathura_document_t* document = zathura_page_get_document(page); - const double height = zathura_page_get_height(page); - const double width = zathura_page_get_width(page); - - /* page size in user pixels based on document zoom: if PPI information is - * correct, 100% zoom will result in 72 documents points per inch of screen - * (i.e. document size on screen matching the physical paper size). */ - const double real_scale = page_calc_height_width(document, height, width, - &page_height, &page_width, - false); - - const zathura_device_factors_t device_factors = zathura_document_get_device_factors(document); - page_width *= device_factors.x; - page_height *= device_factors.y; - - cairo_surface_t* surface = cairo_image_surface_create(CAIRO_FORMAT_RGB24, - page_width, page_height); - if (surface == NULL) { + emit_completed_signal_t* ecs = g_try_malloc0(sizeof(emit_completed_signal_t)); + if (ecs == NULL) { return false; } - cairo_surface_set_device_scale(surface, device_factors.x, device_factors.y); + ecs->job = job; + ecs->surface = cairo_surface_reference(surface); - if (cairo_surface_status(surface) != CAIRO_STATUS_SUCCESS) { - cairo_surface_destroy(surface); - return false; - } + /* emit signal from the main context, i.e. the main thread */ + g_main_context_invoke(NULL, emit_completed_signal, ecs); + return true; +} +static bool +render_to_cairo_surface(cairo_surface_t* surface, zathura_page_t* page, ZathuraRenderer* renderer, double real_scale) +{ cairo_t* cairo = cairo_create(surface); if (cairo == NULL) { - cairo_surface_destroy(surface); return false; } @@ -767,7 +741,60 @@ render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* render zathura_renderer_unlock(renderer); cairo_restore(cairo); cairo_destroy(cairo); - if (err != ZATHURA_ERROR_OK) { + + return err == ZATHURA_ERROR_OK; +} + +static bool +render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* renderer) +{ + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); + ZathuraRenderRequestPrivate* request_priv = zathura_render_request_get_instance_private(request); + zathura_page_t* page = request_priv->page; + + /* create cairo surface */ + unsigned int page_width = 0; + unsigned int page_height = 0; + + /* page size in points */ + zathura_document_t* document = zathura_page_get_document(page); + const double height = zathura_page_get_height(page); + const double width = zathura_page_get_width(page); + + zathura_device_factors_t device_factors = { 0 }; + double real_scale = 1; + if (request_priv->render_plain == false) { + /* page size in user pixels based on document zoom: if PPI information is + * correct, 100% zoom will result in 72 documents points per inch of screen + * (i.e. document size on screen matching the physical paper size). */ + real_scale = page_calc_height_width(document, height, width, + &page_height, &page_width, false); + + device_factors = zathura_document_get_device_factors(document); + page_width *= device_factors.x; + page_height *= device_factors.y; + } else { + page_width = width; + page_height = height; + } + + cairo_surface_t* surface = cairo_image_surface_create(CAIRO_FORMAT_RGB24, + page_width, page_height); + if (surface == NULL) { + return false; + } + + if (request_priv->render_plain == false) { + cairo_surface_set_device_scale(surface, device_factors.x, device_factors.y); + } + + if (cairo_surface_status(surface) != CAIRO_STATUS_SUCCESS) { + cairo_surface_destroy(surface); + return false; + } + + /* actually render to the surface */ + if (!render_to_cairo_surface(surface, page, renderer, real_scale)) { cairo_surface_destroy(surface); return false; } @@ -782,22 +809,15 @@ render(render_job_t* job, ZathuraRenderRequest* request, ZathuraRenderer* render } /* recolor */ - if (priv->recolor.enabled == true) { + if (request_priv->render_plain == false && priv->recolor.enabled == true) { recolor(priv, page, page_width, page_height, surface); } - emit_completed_signal_t* ecs = g_try_malloc0(sizeof(emit_completed_signal_t)); - if (ecs == NULL) { + if (!invoke_completed_signal(job, surface)) { cairo_surface_destroy(surface); return false; } - ecs->job = job; - ecs->surface = cairo_surface_reference(surface); - - /* emit signal from the main context, i.e. the main thread */ - g_main_context_invoke(NULL, emit_completed_signal, ecs); - cairo_surface_destroy(surface); return true; @@ -812,14 +832,14 @@ render_job(void* data, void* user_data) g_return_if_fail(ZATHURA_IS_RENDER_REQUEST(request)); g_return_if_fail(ZATHURA_IS_RENDERER(renderer)); - private_t* priv = GET_PRIVATE(renderer); + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); if (priv->about_to_close == true || job->aborted == true) { /* back out early */ remove_job_and_free(job); return; } - request_private_t* request_priv = REQUEST_GET_PRIVATE(request); + ZathuraRenderRequestPrivate* request_priv = zathura_render_request_get_instance_private(request); girara_debug("Rendering page %d ...", zathura_page_get_index(request_priv->page) + 1); if (render(job, request, renderer) != true) { @@ -866,8 +886,8 @@ render_thread_sort(gconstpointer a, gconstpointer b, gpointer UNUSED(data)) const render_job_t* job_a = a; const render_job_t* job_b = b; if (job_a->aborted == job_b->aborted) { - request_private_t* priv_a = REQUEST_GET_PRIVATE(job_a->request); - request_private_t* priv_b = REQUEST_GET_PRIVATE(job_b->request); + ZathuraRenderRequestPrivate* priv_a = zathura_render_request_get_instance_private(job_a->request); + ZathuraRenderRequestPrivate* priv_b = zathura_render_request_get_instance_private(job_b->request); return priv_a->last_view_time < priv_b->last_view_time ? -1 : (priv_a->last_view_time > priv_b->last_view_time ? 1 : 0); @@ -883,7 +903,7 @@ static bool page_cache_is_cached(ZathuraRenderer* renderer, unsigned int page_index) { g_return_val_if_fail(renderer != NULL, false); - private_t* priv = GET_PRIVATE(renderer); + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); if (priv->page_cache.num_cached_pages != 0) { for (size_t i = 0; i < priv->page_cache.size; ++i) { @@ -902,10 +922,10 @@ page_cache_is_cached(ZathuraRenderer* renderer, unsigned int page_index) static int find_request_by_page_index(const void* req, const void* data) { - const ZathuraRenderRequest* request = req; + ZathuraRenderRequest* request = (void*) req; const unsigned int page_index = *((const int*)data); - request_private_t* priv = REQUEST_GET_PRIVATE(request); + ZathuraRenderRequestPrivate* priv = zathura_render_request_get_instance_private(request); if (zathura_page_get_index(priv->page) == page_index) { return 0; } @@ -916,7 +936,7 @@ static ssize_t page_cache_lru_invalidate(ZathuraRenderer* renderer) { g_return_val_if_fail(renderer != NULL, -1); - private_t* priv = GET_PRIVATE(renderer); + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); g_return_val_if_fail(priv->page_cache.size != 0, -1); ssize_t lru_index = 0; @@ -926,7 +946,7 @@ page_cache_lru_invalidate(ZathuraRenderer* renderer) ZathuraRenderRequest* tmp_request = girara_list_find(priv->requests, find_request_by_page_index, &priv->page_cache.cache[i]); g_return_val_if_fail(tmp_request != NULL, -1); - request_private_t* request_priv = REQUEST_GET_PRIVATE(tmp_request); + ZathuraRenderRequestPrivate* request_priv = zathura_render_request_get_instance_private(tmp_request); if (request_priv->last_view_time < lru_view_time) { lru_view_time = request_priv->last_view_time; @@ -935,7 +955,7 @@ page_cache_lru_invalidate(ZathuraRenderer* renderer) } } - request_private_t* request_priv = REQUEST_GET_PRIVATE(request); + ZathuraRenderRequestPrivate* request_priv = zathura_render_request_get_instance_private(request); /* emit the signal */ g_signal_emit(request, request_signals[REQUEST_CACHE_INVALIDATED], 0); @@ -952,7 +972,7 @@ page_cache_is_full(ZathuraRenderer* renderer, bool* result) { g_return_val_if_fail(ZATHURA_IS_RENDERER(renderer) && result != NULL, false); - private_t* priv = GET_PRIVATE(renderer); + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); *result = priv->page_cache.num_cached_pages == priv->page_cache.size; return true; @@ -963,7 +983,7 @@ page_cache_invalidate_all(ZathuraRenderer* renderer) { g_return_if_fail(ZATHURA_IS_RENDERER(renderer)); - private_t* priv = GET_PRIVATE(renderer); + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); for (size_t i = 0; i < priv->page_cache.size; ++i) { priv->page_cache.cache[i] = -1; } @@ -979,7 +999,7 @@ zathura_renderer_page_cache_add(ZathuraRenderer* renderer, return; } - private_t* priv = GET_PRIVATE(renderer); + ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer); bool full = false; if (page_cache_is_full(renderer, &full) == false) { return; @@ -1003,3 +1023,22 @@ zathura_renderer_page_cache_add(ZathuraRenderer* renderer, g_return_if_fail(request != NULL); g_signal_emit(request, request_signals[REQUEST_CACHE_ADDED], 0); } + +void zathura_render_request_set_render_plain(ZathuraRenderRequest* request, + bool render_plain) +{ + g_return_if_fail(ZATHURA_IS_RENDER_REQUEST(request)); + + ZathuraRenderRequestPrivate* priv = zathura_render_request_get_instance_private(request); + priv->render_plain =render_plain; +} + +bool +zathura_render_request_get_render_plain(ZathuraRenderRequest* request) +{ + g_return_val_if_fail(ZATHURA_IS_RENDER_REQUEST(request), false); + + ZathuraRenderRequestPrivate* priv = zathura_render_request_get_instance_private(request); + return priv->render_plain; +} + diff --git a/zathura/render.h b/zathura/render.h index 90dc5f70cc90ad43e8d2848f1d24e0f4bee0d966..7b878c1140397bccdf78c68355f2ccc60303c2bf 100644 --- a/zathura/render.h +++ b/zathura/render.h @@ -139,7 +139,6 @@ void zathura_renderer_page_cache_add(ZathuraRenderer* renderer, unsigned int page_index); -typedef struct zathura_render_request_s ZathuraRenderRequest; typedef struct zathura_render_request_class_s ZathuraRenderRequestClass; struct zathura_render_request_s @@ -183,8 +182,7 @@ ZathuraRenderRequest* zathura_render_request_new(ZathuraRenderer* renderer, zathura_page_t* page); /** - * This function is used to add a page to the render thread list - * that should be rendered. + * Add a page to the render thread list that should be rendered. * * @param request request object of the page that should be renderer * @param last_view_time last view time of the page @@ -207,6 +205,21 @@ void zathura_render_request_abort(ZathuraRenderRequest* request); */ void zathura_render_request_update_view_time(ZathuraRenderRequest* request); +/** + * Set "plain" rendering mode, i.e. disabling scaling, recoloring, etc. + * @param request request that should be updated + * @param render_plain "plain" rendering setting + */ +void zathura_render_request_set_render_plain(ZathuraRenderRequest* request, + bool render_plain); + +/** + * Get "plain" rendering mode, i.e. disabling scaling, recoloring, etc. + * @param request request that should be updated + * @returns "plain" rendering setting + */ +bool zathura_render_request_get_render_plain(ZathuraRenderRequest* request); + /** * This function is used to unmark all pages as not rendered. This should * be used if all pages should be rendered again (e.g.: the zoom level or the diff --git a/zathura/seccomp-filters.c b/zathura/seccomp-filters.c index 53f86a2ba519b864d144f5c7fb06b2effe85a08d..147b0f366cdb6dc36119e1d4c90f33f1951766f1 100644 --- a/zathura/seccomp-filters.c +++ b/zathura/seccomp-filters.c @@ -146,6 +146,7 @@ seccomp_enable_strict_filter(void) ALLOW_RULE(ftruncate); ALLOW_RULE(futex); ALLOW_RULE(getdents); + ALLOW_RULE(getdents64); ALLOW_RULE(getegid); ALLOW_RULE(geteuid); ALLOW_RULE(getgid); @@ -248,17 +249,17 @@ seccomp_enable_strict_filter(void) /* special restrictions for openat, prevent opening files for writing */ if (seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(openat), 1, - SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_WRONLY | O_RDWR, 0)) < 0) { + SCMP_CMP(2, SCMP_CMP_MASKED_EQ, O_WRONLY | O_RDWR, 0)) < 0) { goto out; } if (seccomp_rule_add(ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(openat), 1, - SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_WRONLY, O_WRONLY)) < 0) { + SCMP_CMP(2, SCMP_CMP_MASKED_EQ, O_WRONLY, O_WRONLY)) < 0) { goto out; } if (seccomp_rule_add(ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(openat), 1, - SCMP_CMP(1, SCMP_CMP_MASKED_EQ, O_RDWR, O_RDWR)) < 0) { + SCMP_CMP(2, SCMP_CMP_MASKED_EQ, O_RDWR, O_RDWR)) < 0) { goto out; } diff --git a/zathura/shortcuts.c b/zathura/shortcuts.c index ff3777de85f0848ef95115c90142517fad55cb78..ff497bde31f72b6ba019d3f94dab776e75c7212b 100644 --- a/zathura/shortcuts.c +++ b/zathura/shortcuts.c @@ -751,7 +751,7 @@ sc_bisect(girara_session_t* session, girara_argument_t* argument, zathura->bisect.end = cur_page; direction = FORWARD; } - } else if (argument != NULL) { + } else { direction = argument->n; /* setup initial bisect range */ @@ -760,7 +760,6 @@ sc_bisect(girara_session_t* session, girara_argument_t* argument, girara_debug("bisecting between first and last page because there are no jumps"); zathura->bisect.start = 0; zathura->bisect.end = num_pages - 1; - } else if (jump->page != cur_page || jump->page != zathura->bisect.last_jump) { girara_debug("last jump doesn't match up, starting new bisecting"); zathura->bisect.start = 0; @@ -787,8 +786,6 @@ sc_bisect(girara_session_t* session, girara_argument_t* argument, zathura->bisect.end = MAX(prev_page, cur_page); zathura->bisect.last_jump = cur_page; } - } else { - return false; } girara_debug("bisecting between %d and %d, at %d", zathura->bisect.start, zathura->bisect.end, cur_page); diff --git a/zathura/synctex.c b/zathura/synctex.c index 9a46b09fe7247dd6c527958b3efc7f46e5a0de3b..25c1b18d8f451c60ad1570b5a15e9b775fa8496c 100644 --- a/zathura/synctex.c +++ b/zathura/synctex.c @@ -92,7 +92,7 @@ synctex_edit(const char* editor, zathura_page_t* page, int x, int y) char* input_file = NULL; if (synctex_get_input_line_column(filename, zathura_page_get_index(page), x, y, - &input_file, &line, &column) == true) { + &input_file, &line, &column) == true && input_file != NULL) { char* linestr = g_strdup_printf("%d", line); char* columnstr = g_strdup_printf("%d", column); @@ -100,25 +100,37 @@ synctex_edit(const char* editor, zathura_page_t* page, int x, int y) gint argc = 0; if (g_shell_parse_argv(editor, &argc, &argv, NULL) == TRUE) { for (gint i = 0; i != argc; ++i) { - char* temp = girara_replace_substring(argv[i], "%{line}", linestr); - g_free(argv[i]); - argv[i] = temp; - temp = girara_replace_substring(argv[i], "%{column}", columnstr); - g_free(argv[i]); - argv[i] = temp; - temp = girara_replace_substring(argv[i], "%{input}", input_file); - g_free(argv[i]); - argv[i] = temp; + char* arg = argv[i]; + char* temp = girara_replace_substring(arg, "%{line}", linestr); + arg = temp; + temp = girara_replace_substring(arg, "%{column}", columnstr); + g_free(arg); + arg = temp; + temp = girara_replace_substring(arg, "%{input}", input_file); + g_free(arg); + arg = temp; + + if (arg != NULL) { + g_free(argv[i]); + argv[i] = arg; + } else { + girara_error("Failed to update '%s' with line (%s), column (%s) and input file (%s) data.", argv[i], linestr, columnstr, input_file); + } } - g_spawn_async(NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL); + GError* error = NULL; + if (g_spawn_async(NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, &error) == FALSE) { + girara_error("Failed to execute synctex command: %s", error->message); + g_error_free(error); + } g_strfreev(argv); } g_free(linestr); g_free(columnstr); - g_free(input_file); + } else { + girara_warning("Failed to obtain data via SyncTeX or data is incomplete."); } } diff --git a/zathura/types.c b/zathura/types.c index 7db693dce55ce61b77cd949a4dc8b45f38af1fe0..46758532dbf2a5b777d874710e3987c61b2daa4c 100644 --- a/zathura/types.c +++ b/zathura/types.c @@ -45,8 +45,8 @@ zathura_image_buffer_create(unsigned int width, unsigned int height) 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) { + if (checked_umul(width, height, &size) == true || + checked_umul(size, 3, &size) == true) { return NULL; } diff --git a/zathura/types.h b/zathura/types.h index 6e008d20d150d6e83351b37c6c52f775a6b59bfc..b71938511e378cc83be407d2842434d0c2e32678 100644 --- a/zathura/types.h +++ b/zathura/types.h @@ -35,6 +35,11 @@ typedef struct zathura_plugin_manager_s zathura_plugin_manager_t; */ typedef struct zathura_renderer_s ZathuraRenderer; +/** + * Render request + */ +typedef struct zathura_render_request_s ZathuraRenderRequest; + /** * D-Bus manager */ diff --git a/zathura/zathura.c b/zathura/zathura.c index e6a67abd8afb1ba89914a21c2424c6a86298d277..208ea6cd2ba5547f55f09c39f1febc9a07877ace 100644 --- a/zathura/zathura.c +++ b/zathura/zathura.c @@ -45,6 +45,9 @@ #include "resources.h" #include "synctex.h" #include "content-type.h" +#ifdef WITH_SECCOMP +#include "seccomp-filters.h" +#endif typedef struct zathura_document_info_s { zathura_t* zathura; @@ -87,6 +90,7 @@ zathura_create(void) /* global settings */ zathura->global.search_direction = FORWARD; + zathura->global.sandbox = ZATHURA_SANDBOX_NORMAL; /* plugins */ zathura->plugins.manager = zathura_plugin_manager_new(); @@ -146,7 +150,7 @@ zathura_update_view_ppi(zathura_t* zathura) } /* get view widget GdkMonitor */ - GdkWindow* window = gtk_widget_get_window (zathura->ui.session->gtk.view); // NULL if not realized + GdkWindow* window = gtk_widget_get_window(zathura->ui.session->gtk.view); // NULL if not realized if (window == NULL) { return; } @@ -301,7 +305,7 @@ init_ui(zathura_t* zathura) return true; } -static void +static bool init_css(zathura_t* zathura) { GiraraTemplate* csstemplate = @@ -340,7 +344,11 @@ init_css(zathura_t* zathura) girara_template_set_base(csstemplate, css); g_free(css); g_bytes_unref(css_data); + } else { + return false; } + + return true; } static void @@ -417,6 +425,29 @@ zathura_init(zathura_t* zathura) config_load_default(zathura); config_load_files(zathura); +#ifdef WITH_SECCOMP + /* initialize seccomp filters */ + switch (zathura->global.sandbox) { + case ZATHURA_SANDBOX_NONE: + girara_debug("Sandbox deactivated."); + break; + case ZATHURA_SANDBOX_NORMAL: + girara_debug("Basic sandbox allowing normal operation."); + if (seccomp_enable_basic_filter() != 0) { + goto error_free; + } + break; + case ZATHURA_SANDBOX_STRICT: + girara_debug("Strict sandbox preventing write and network access."); + if (seccomp_enable_strict_filter() != 0) { + goto error_free; + } + /* unset the input method to avoid communication with external services */ + unsetenv("GTK_IM_MODULE"); + break; + } +#endif + /* UI */ if (!init_ui(zathura)) { goto error_free; @@ -434,7 +465,9 @@ zathura_init(zathura_t* zathura) init_jumplist(zathura); /* CSS for index mode */ - init_css(zathura); + if (init_css(zathura) == false) { + goto error_free; + } /* Shortcut helpers */ init_shortcut_helpers(zathura); @@ -599,6 +632,8 @@ zathura_set_plugin_dir(zathura_t* zathura, const char* dir) if (dir != NULL) { set_plugin_dir(zathura, dir); + } else if (g_getenv("ZATHURA_PLUGINS_PATH") != NULL) { + set_plugin_dir(zathura, g_getenv("ZATHURA_PLUGINS_PATH")); #ifdef ZATHURA_PLUGINDIR } else { set_plugin_dir(zathura, ZATHURA_PLUGINDIR); @@ -614,6 +649,58 @@ zathura_set_argv(zathura_t* zathura, char** argv) zathura->global.arguments = argv; } +static bool +setup_renderer(zathura_t* zathura, zathura_document_t* document) +{ + /* page cache size */ + int cache_size = 0; + girara_setting_get(zathura->ui.session, "page-cache-size", &cache_size); + if (cache_size <= 0) { + girara_warning("page-cache-size is not positive, using %d instead", + ZATHURA_PAGE_CACHE_DEFAULT_SIZE); + cache_size = ZATHURA_PAGE_CACHE_DEFAULT_SIZE; + } + + girara_debug("starting renderer with cache size %d", cache_size); + ZathuraRenderer* renderer = zathura_renderer_new(cache_size); + if (renderer == NULL) { + return false; + } + + /* set up recolor info in ZathuraRenderer */ + char* recolor_dark = NULL; + char* recolor_light = NULL; + girara_setting_get(zathura->ui.session, "recolor-darkcolor", &recolor_dark); + girara_setting_get(zathura->ui.session, "recolor-lightcolor", &recolor_light); + zathura_renderer_set_recolor_colors_str(renderer, recolor_light, recolor_dark); + g_free(recolor_dark); + g_free(recolor_light); + + bool recolor = false; + girara_setting_get(zathura->ui.session, "recolor", &recolor); + zathura_renderer_enable_recolor(renderer, recolor); + girara_setting_get(zathura->ui.session, "recolor-keephue", &recolor); + zathura_renderer_enable_recolor_hue(renderer, recolor); + girara_setting_get(zathura->ui.session, "recolor-reverse-video", &recolor); + zathura_renderer_enable_recolor_reverse_video(renderer, recolor); + + zathura->sync.render_thread = renderer; + + /* create render request to render window icon */ + bool window_icon = false; + girara_setting_get(zathura->ui.session, "window-icon-document", &window_icon); + if (window_icon == true) { + girara_debug("starting render request for window icon"); + ZathuraRenderRequest* request = zathura_render_request_new(renderer, zathura_document_get_page(document, 0)); + g_signal_connect(request, "completed", G_CALLBACK(cb_window_update_icon), zathura); + zathura_render_request_set_render_plain(request, true); + zathura_render_request(request, 0); + zathura->window_icon_render_request = request; + } + + return true; +} + #ifdef G_OS_UNIX static gchar* prepare_document_open_from_stdin(const char* path) @@ -755,7 +842,7 @@ document_info_open(gpointer data) if (file != NULL) { if (document_info->synctex != NULL) { - document_open_synctex(document_info->zathura, file, uri, + document_open_synctex(document_info->zathura, file, uri, document_info->password, document_info->synctex); } else { document_open(document_info->zathura, file, uri, document_info->password, @@ -893,6 +980,7 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char* .rotation = 0, .pages_per_row = 0, .first_page_column_list = NULL, + .page_right_to_left = false, .position_x = 0, .position_y = 0 }; @@ -969,8 +1057,11 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char* char* filemonitor_backend = NULL; girara_setting_get(zathura->ui.session, "filemonitor", &filemonitor_backend); zathura_filemonitor_type_t type = ZATHURA_FILEMONITOR_GLIB; + if (g_strcmp0(filemonitor_backend, "noop") == 0) { + type = ZATHURA_FILEMONITOR_NOOP; + } #ifdef G_OS_UNIX - if (g_strcmp0(filemonitor_backend, "signal") == 0) { + else if (g_strcmp0(filemonitor_backend, "signal") == 0) { type = ZATHURA_FILEMONITOR_SIGNAL; } #endif @@ -1001,40 +1092,11 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char* goto error_free; } - /* page cache size */ - int cache_size = 0; - girara_setting_get(zathura->ui.session, "page-cache-size", &cache_size); - if (cache_size <= 0) { - girara_warning("page-cache-size is not positive, using %d instead", - ZATHURA_PAGE_CACHE_DEFAULT_SIZE); - cache_size = ZATHURA_PAGE_CACHE_DEFAULT_SIZE; - } - /* threads */ - zathura->sync.render_thread = zathura_renderer_new(cache_size); - - if (zathura->sync.render_thread == NULL) { + if (!setup_renderer(zathura, document)) { goto error_free; } - /* set up recolor info in ZathuraRenderer */ - char* recolor_dark = NULL; - char* recolor_light = NULL; - girara_setting_get(zathura->ui.session, "recolor-darkcolor", &recolor_dark); - girara_setting_get(zathura->ui.session, "recolor-lightcolor", &recolor_light); - zathura_renderer_set_recolor_colors_str(zathura->sync.render_thread, - recolor_light, recolor_dark); - g_free(recolor_dark); - g_free(recolor_light); - - bool recolor = false; - girara_setting_get(zathura->ui.session, "recolor", &recolor); - zathura_renderer_enable_recolor(zathura->sync.render_thread, recolor); - girara_setting_get(zathura->ui.session, "recolor-keephue", &recolor); - zathura_renderer_enable_recolor_hue(zathura->sync.render_thread, recolor); - girara_setting_get(zathura->ui.session, "recolor-reverse-video", &recolor); - zathura_renderer_enable_recolor_reverse_video(zathura->sync.render_thread, recolor); - /* get view port size */ GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment( GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view)); @@ -1094,6 +1156,7 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char* unsigned int pages_per_row = 1; char* first_page_column_list = NULL; unsigned int page_padding = 1; + bool page_right_to_left = false; girara_setting_get(zathura->ui.session, "page-padding", &page_padding); @@ -1119,12 +1182,13 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char* g_free(file_info.first_page_column_list); g_free(first_page_column_list); - page_widget_set_mode(zathura, page_padding, pages_per_row, first_page_column); + page_right_to_left = file_info.page_right_to_left; + + page_widget_set_mode(zathura, page_padding, pages_per_row, first_page_column, page_right_to_left); zathura_document_set_page_layout(zathura->document, page_padding, pages_per_row, first_page_column); girara_set_view(zathura->ui.session, zathura->ui.page_widget); - /* bookmarks */ if (zathura->database != NULL) { if (zathura_bookmarks_load(zathura, file_path) == false) { @@ -1284,6 +1348,7 @@ save_fileinfo_to_db(zathura_t* zathura) .rotation = zathura_document_get_rotation(zathura->document), .pages_per_row = 1, .first_page_column_list = "1:2", + .page_right_to_left = false, .position_x = zathura_document_get_position_x(zathura->document), .position_y = zathura_document_get_position_y(zathura->document) }; @@ -1292,6 +1357,8 @@ save_fileinfo_to_db(zathura_t* zathura) &(file_info.pages_per_row)); girara_setting_get(zathura->ui.session, "first-page-column", &(file_info.first_page_column_list)); + girara_setting_get(zathura->ui.session, "page-right-to-left", + &(file_info.page_right_to_left)); /* save file info */ zathura_db_set_fileinfo(zathura->database, path, &file_info); @@ -1308,8 +1375,17 @@ document_close(zathura_t* zathura, bool keep_monitor) return false; } + /* reset window icon */ + if (zathura->ui.session != NULL && zathura->window_icon_render_request != NULL) { + char* window_icon = NULL; + girara_setting_get(zathura->ui.session, "window-icon", &window_icon); + girara_setting_set(zathura->ui.session, "window-icon", window_icon); + g_free(window_icon); + } + /* stop rendering */ zathura_renderer_stop(zathura->sync.render_thread); + g_clear_object(&zathura->window_icon_render_request); /* remove monitor */ if (keep_monitor == false) { @@ -1332,6 +1408,7 @@ document_close(zathura_t* zathura, bool keep_monitor) save_fileinfo_to_db(zathura); } + /* remove jump list */ girara_list_iterator_free(zathura->jumplist.cur); zathura->jumplist.cur = NULL; girara_list_free(zathura->jumplist.list); @@ -1442,7 +1519,8 @@ statusbar_page_number_update(zathura_t* zathura) void page_widget_set_mode(zathura_t* zathura, unsigned int page_padding, - unsigned int pages_per_row, unsigned int first_page_column) + unsigned int pages_per_row, unsigned int first_page_column, + bool page_right_to_left) { /* show at least one page */ if (pages_per_row == 0) { @@ -1473,6 +1551,9 @@ page_widget_set_mode(zathura_t* zathura, unsigned int page_padding, int y = (i + first_page_column - 1) / pages_per_row; GtkWidget* page_widget = zathura->pages[i]; + if (page_right_to_left) { + x = pages_per_row - 1 - x; + } gtk_grid_attach(GTK_GRID(zathura->ui.page_widget), page_widget, x, y, 1, 1); } @@ -1533,7 +1614,6 @@ position_set(zathura_t* zathura, double position_x, double position_y) return true; } - void refresh_view(zathura_t* zathura) { @@ -1544,7 +1624,6 @@ refresh_view(zathura_t* zathura) 0, zathura); } - bool adjust_view(zathura_t* zathura) { @@ -1609,13 +1688,11 @@ error_ret: static gboolean zathura_signal_sigterm(gpointer data) { - if (data == NULL) { - return TRUE; + if (data != NULL) { + zathura_t* zathura = data; + cb_destroy(NULL, zathura); } - zathura_t* zathura = (zathura_t*) data; - cb_destroy(NULL, zathura); - return TRUE; } #endif diff --git a/zathura/zathura.h b/zathura/zathura.h index 22077cc13e6f6261072737a1c0e683b8a6d54c02..b05b12589379bde7db1f37ce275c374e6ce4abd1 100644 --- a/zathura/zathura.h +++ b/zathura/zathura.h @@ -82,6 +82,12 @@ enum { ZATHURA_PAGE_THUMBNAIL_DEFAULT_SIZE = 4*1024*1024 }; +typedef enum { + ZATHURA_SANDBOX_NONE, + ZATHURA_SANDBOX_NORMAL, + ZATHURA_SANDBOX_STRICT +} zathura_sandbox_t; + /* forward declaration for types from database.h */ typedef struct _ZathuraDatabase zathura_database_t; @@ -138,6 +144,7 @@ struct zathura_s int search_direction; /**< Current search direction (FORWARD or BACKWARD) */ girara_list_t* marks; /**< Marker */ char** arguments; /**> Arguments that were passed at startup */ + zathura_sandbox_t sandbox; /**< Sandbox mode */ } global; struct @@ -176,6 +183,7 @@ struct zathura_s GtkWidget** pages; /**< The page widgets */ zathura_database_t* database; /**< The database */ ZathuraDbus* dbus; /**< D-Bus service */ + ZathuraRenderRequest* window_icon_render_request; /**< Render request for window icon */ /** * File monitor @@ -396,9 +404,11 @@ bool adjust_view(zathura_t* zathura); * @param page_padding padding in pixels between pages * @param pages_per_row Number of shown pages per row * @param first_page_column Column on which first page start + * @param page_right_to_left Render pages right to left */ void page_widget_set_mode(zathura_t* zathura, unsigned int page_padding, - unsigned int pages_per_row, unsigned int first_page_column); + unsigned int pages_per_row, unsigned int first_page_column, + bool page_right_to_left); /** * Updates the page number in the statusbar. Note that 1 will be added to the