Merge branch 'release/0.2.5'

This commit is contained in:
Moritz Lipp 2013-11-08 20:29:30 +01:00
commit 7063705618
50 changed files with 5302 additions and 3424 deletions

2
.gitignore vendored
View file

@ -17,4 +17,4 @@ doc/
*.tmp *.tmp
zathura.1 zathura.1
zathurarc.5 zathurarc.5
girara-version-check .version-checks/

View file

@ -42,11 +42,15 @@ DOBJECTS = $(patsubst %.c, %.do, $(SOURCE))
all: options ${PROJECT} po build-manpages all: options ${PROJECT} po build-manpages
girara-version-check: # pkg-config based version checks
ifneq ($(GIRARA_VERSION_CHECK), 0) .version-checks/%:
$(error "The minimum required version of girara is ${GIRARA_MIN_VERSION}") $(QUIET)test $($(*)_VERSION_CHECK) -eq 0 || \
endif pkg-config --atleast-version $($(*)_MIN_VERSION) $($(*)_PKG_CONFIG_NAME) || ( \
$(QUIET)touch girara-version-check echo "The minium required version of $(*) is $($(*)_MIN_VERSION)" && \
false \
)
@mkdir -p .version-checks
$(QUIET)touch $@
options: options:
@echo ${PROJECT} build options: @echo ${PROJECT} build options:
@ -56,11 +60,11 @@ options:
@echo "CC = ${CC}" @echo "CC = ${CC}"
version.h: version.h.in config.mk version.h: version.h.in config.mk
$(QUIET)sed 's/ZVMAJOR/${ZATHURA_VERSION_MAJOR}/' < version.h.in | \ $(QUIET)sed -e 's/ZVMAJOR/${ZATHURA_VERSION_MAJOR}/' \
sed 's/ZVMINOR/${ZATHURA_VERSION_MINOR}/' | \ -e 's/ZVMINOR/${ZATHURA_VERSION_MINOR}/' \
sed 's/ZVREV/${ZATHURA_VERSION_REV}/' | \ -e 's/ZVREV/${ZATHURA_VERSION_REV}/' \
sed 's/ZVAPI/${ZATHURA_API_VERSION}/' | \ -e 's/ZVAPI/${ZATHURA_API_VERSION}/' \
sed 's/ZVABI/${ZATHURA_ABI_VERSION}/' > version.h -e 's/ZVABI/${ZATHURA_ABI_VERSION}/' version.h.in > version.h
%.o: %.c %.o: %.c
$(ECHO) CC $< $(ECHO) CC $<
@ -72,8 +76,8 @@ version.h: version.h.in config.mk
@mkdir -p .depend @mkdir -p .depend
$(QUIET)${CC} -c ${CPPFLAGS} ${CFLAGS} ${DFLAGS} -o $@ $< -MMD -MF .depend/$@.dep $(QUIET)${CC} -c ${CPPFLAGS} ${CFLAGS} ${DFLAGS} -o $@ $< -MMD -MF .depend/$@.dep
${OBJECTS}: config.mk version.h girara-version-check ${OBJECTS} ${DOBJECTS}: config.mk version.h \
${DOBJECTS}: config.mk version.h girara-version-check .version-checks/GIRARA .version-checks/GLIB .version-checks/GTK
${PROJECT}: ${OBJECTS} ${PROJECT}: ${OBJECTS}
$(ECHO) CC -o $@ $(ECHO) CC -o $@
@ -83,7 +87,7 @@ clean:
$(QUIET)rm -rf ${PROJECT} ${OBJECTS} ${PROJECT}-${VERSION}.tar.gz \ $(QUIET)rm -rf ${PROJECT} ${OBJECTS} ${PROJECT}-${VERSION}.tar.gz \
${DOBJECTS} ${PROJECT}-debug .depend ${PROJECT}.pc doc version.h \ ${DOBJECTS} ${PROJECT}-debug .depend ${PROJECT}.pc doc version.h \
*gcda *gcno $(PROJECT).info gcov *.tmp \ *gcda *gcno $(PROJECT).info gcov *.tmp \
girara-version-check .version-checks
ifneq "$(wildcard ${RSTTOMAN})" "" ifneq "$(wildcard ${RSTTOMAN})" ""
$(QUIET)rm -f zathura.1 zathurarc.5 $(QUIET)rm -f zathura.1 zathurarc.5
endif endif

12
README
View file

@ -5,7 +5,8 @@ girara user interface library and several document libraries.
Requirements Requirements
------------ ------------
gtk2 (>= 2.28) gtk2 (>= 2.18) or gtk3
glib (>= 2.28)
girara girara
sqlite3 (optional, >= 3.5.9) sqlite3 (optional, >= 3.5.9)
check (for tests) check (for tests)
@ -36,8 +37,13 @@ To build and install zathura:
make install make install
Uninstall: Uninstall
---------- ---------
To delete zathura from your system, just type: To delete zathura from your system, just type:
make uninstall make uninstall
Bugs
----
Please report bugs at http://bugs.pwmt.org or contact us on our mailing list at
zathura@lists.pwmt.org.

View file

@ -2,6 +2,142 @@
#include "adjustment.h" #include "adjustment.h"
#include "utils.h" #include "utils.h"
#include <math.h>
double
page_calc_height_width(zathura_document_t* document, double height, double width,
unsigned int* page_height, unsigned int* page_width, bool rotate)
{
g_return_val_if_fail(document != NULL && page_height != NULL && page_width != NULL, 0.0);
double scale = zathura_document_get_scale(document);
if (rotate && zathura_document_get_rotation(document) % 180) {
*page_width = round(height * scale);
*page_height = round(width * scale);
scale = MAX(*page_width / height, *page_height / width);
} else {
*page_width = round(width * scale);
*page_height = round(height * scale);
scale = MAX(*page_width / width, *page_height / height);
}
return scale;
}
void
page_calc_position(zathura_document_t* document, double x, double y,
double *xn, double *yn) {
g_return_if_fail(document != NULL && xn != NULL && yn != NULL);
unsigned int rot = zathura_document_get_rotation(document);
if (rot == 90) {
*xn = 1 - y;
*yn = x;
}else if (rot == 180) {
*xn = 1 - x;
*yn = 1 - y;
} else if (rot == 270) {
*xn = y;
*yn = 1 - x;
} else {
*xn = x;
*yn = y;
}
}
unsigned int
position_to_page_number(zathura_document_t* document,
double pos_x, double pos_y){
g_return_val_if_fail(document != NULL, 0);
unsigned int doc_width, doc_height;
zathura_document_get_document_size(document, &doc_height, &doc_width);
unsigned int cell_width, cell_height;
zathura_document_get_cell_size(document, &cell_height, &cell_width);
unsigned int c0 = zathura_document_get_first_page_column(document);
unsigned int npag = zathura_document_get_number_of_pages(document);
unsigned int ncol = zathura_document_get_pages_per_row(document);
unsigned int nrow = (npag + c0 - 1 + ncol - 1) / ncol; /* number of rows */
unsigned int pad = zathura_document_get_page_padding(document);
unsigned int col = floor(pos_x * (double)doc_width / (double)(cell_width + pad));
unsigned int row = floor(pos_y * (double)doc_height / (double)(cell_height + pad));
return ncol * (row % nrow) + (col % ncol) - (c0 - 1);
}
void
page_number_to_position(zathura_document_t* document, unsigned int page_number,
double xalign, double yalign, double *pos_x, double *pos_y) {
g_return_if_fail(document != NULL);
unsigned int c0 = zathura_document_get_first_page_column(document);
unsigned int npag = zathura_document_get_number_of_pages(document);
unsigned int ncol = zathura_document_get_pages_per_row(document);
unsigned int nrow = (npag + c0 - 1 + ncol - 1) / ncol; /* number of rows */
/* row and column for page_number indexed from 0 */
unsigned int row = (page_number + c0 - 1) / ncol;
unsigned int col = (page_number + c0 - 1) % ncol;
/* sizes of page cell, viewport and document */
unsigned int cell_height = 0, cell_width = 0;
zathura_document_get_cell_size(document, &cell_height, &cell_width);
unsigned int view_height = 0, view_width = 0;
zathura_document_get_viewport_size(document, &view_height, &view_width);
unsigned int doc_height = 0, doc_width = 0;
zathura_document_get_document_size(document, &doc_height, &doc_width);
/* compute the shift to align to the viewport. If the page fits to viewport, just center it. */
double shift_x = 0.5, shift_y = 0.5;
if (cell_width > view_width) {
shift_x = 0.5 + (xalign - 0.5) * ((double)cell_width - (double)view_width) / (double)cell_width;
}
if (cell_height > view_height) {
shift_y = 0.5 + (yalign - 0.5) * ((double)cell_height - (double)view_height) / (double)cell_height;
}
/* compute the position */
*pos_x = ((double)col + shift_x) / (double)ncol;
*pos_y = ((double)row + shift_y) / (double)nrow;
}
bool
page_is_visible(zathura_document_t *document, unsigned int page_number) {
g_return_val_if_fail(document != NULL, false);
/* position at the center of the viewport */
double pos_x = zathura_document_get_position_x(document);
double pos_y = zathura_document_get_position_y(document);
/* get the center of page page_number */
double page_x, page_y;
page_number_to_position(document, page_number, 0.5, 0.5, &page_x, &page_y);
unsigned int cell_width, cell_height;
zathura_document_get_cell_size(document, &cell_height, &cell_width);
unsigned int doc_width, doc_height;
zathura_document_get_document_size(document, &doc_height, &doc_width);
unsigned int view_width, view_height;
zathura_document_get_viewport_size(document, &view_height, &view_width);
return ( fabs(pos_x - page_x) < 0.5 * (double)(view_width + cell_width) / (double)doc_width &&
fabs(pos_y - page_y) < 0.5 * (double)(view_height + cell_height) / (double)doc_height);
}
GtkAdjustment* GtkAdjustment*
zathura_adjustment_clone(GtkAdjustment* adjustment) zathura_adjustment_clone(GtkAdjustment* adjustment)

View file

@ -4,8 +4,73 @@
#define ZATHURA_ADJUSTMENT_H #define ZATHURA_ADJUSTMENT_H
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <stdbool.h>
#include "document.h"
/* Clone a GtkAdjustment /**
* Calculate the page size according to the corrent scaling and rotation if
* desired.
*
* @param document the document
* @param height width the original height and width
* @return page_height page_width the scaled and rotated height and width
* @param rotate honor page's rotation
* @return real scale after rounding
*/
double page_calc_height_width(zathura_document_t* document, double height, double width,
unsigned int* page_height, unsigned int* page_width, bool rotate);
/**
* Calculate a page relative position after a rotation. The positions x y are
* relative to a page, i.e. 0=top of page, 1=bottom of page. They are NOT
* relative to the entire document.
*
* @param document the document
* @param x y the x y coordinates on the unrotated page
* @param xn yn the x y coordinates after rotation
*/
void page_calc_position(zathura_document_t* document, double x, double y,
double *xn, double *yn);
/**
* Converts a relative position within the document to a page number.
*
* @param document The document
* @param pos_x pos_y the position relative to the document
* @return page sitting in that position
*/
unsigned int position_to_page_number(zathura_document_t* document,
double pos_x, double pos_y);
/**
* Converts a page number to a position in units relative to the document
*
* We can specify where to aliwn the viewport and the page. For instance, xalign
* = 0 means align them on the left margin, xalign = 0.5 means centered, and
* xalign = 1.0 align them on the right margin.
*
* The return value is the position in in units relative to the document (0=top
* 1=bottom) of the point thet will lie at the center of the viewport.
*
* @param document The document
* @param page_number the given page number
* @param xalign yalign where to align the viewport and the page
* @return pos_x pos_y position that will lie at the center of the viewport.
*/
void page_number_to_position(zathura_document_t* document, unsigned int page_number,
double xalign, double yalign, double *pos_x, double *pos_y);
/**
* Checks whether a given page falls within the viewport
*
* @param document The document
* @param page_number the page number
* @return true if the page intersects the viewport
*/
bool page_is_visible(zathura_document_t *document, unsigned int page_number);
/**
* Clone a GtkAdjustment
* *
* Creates a new adjustment with the same value, lower and upper bounds, step * Creates a new adjustment with the same value, lower and upper bounds, step
* and page increments and page_size as the original adjustment. * and page increments and page_size as the original adjustment.

View file

@ -25,14 +25,14 @@ zathura_bookmark_add(zathura_t* zathura, const gchar* id, unsigned int page)
g_return_val_if_fail(zathura && zathura->document && zathura->bookmarks.bookmarks, NULL); g_return_val_if_fail(zathura && zathura->document && zathura->bookmarks.bookmarks, NULL);
g_return_val_if_fail(id, NULL); g_return_val_if_fail(id, NULL);
double x = zathura_adjustment_get_ratio(gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view))); double position_x = zathura_document_get_position_x(zathura->document);
double y = zathura_adjustment_get_ratio(gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view))); double position_y = zathura_document_get_position_y(zathura->document);
zathura_bookmark_t* old = zathura_bookmark_get(zathura, id); zathura_bookmark_t* old = zathura_bookmark_get(zathura, id);
if (old != NULL) { if (old != NULL) {
old->page = page; old->page = page;
old->x = x; old->x = position_x;
old->y = y; old->y = position_y;
if (zathura->database != NULL) { if (zathura->database != NULL) {
const char* path = zathura_document_get_path(zathura->document); const char* path = zathura_document_get_path(zathura->document);
@ -52,8 +52,8 @@ zathura_bookmark_add(zathura_t* zathura, const gchar* id, unsigned int page)
bookmark->id = g_strdup(id); bookmark->id = g_strdup(id);
bookmark->page = page; bookmark->page = page;
bookmark->x = x; bookmark->x = position_x;
bookmark->y = y; bookmark->y = position_y;
girara_list_append(zathura->bookmarks.bookmarks, bookmark); girara_list_append(zathura->bookmarks.bookmarks, bookmark);
if (zathura->database != NULL) { if (zathura->database != NULL) {

View file

@ -8,6 +8,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <string.h> #include <string.h>
#include <glib/gi18n.h> #include <glib/gi18n.h>
#include <math.h>
#include "callbacks.h" #include "callbacks.h"
#include "links.h" #include "links.h"
@ -48,79 +49,89 @@ cb_buffer_changed(girara_session_t* session)
} }
} }
void static void
cb_view_vadjustment_value_changed(GtkAdjustment* GIRARA_UNUSED(adjustment), gpointer data) update_visible_pages(zathura_t* zathura) {
{ const unsigned int number_of_pages = zathura_document_get_number_of_pages(zathura->document);
zathura_t* zathura = data;
if (zathura == NULL || zathura->document == NULL || zathura->ui.page_widget == NULL) {
return;
}
GtkAdjustment* view_vadjustment = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
GtkAdjustment* view_hadjustment = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
/* current adjustment values */
GdkRectangle view_rect = {
.x = 0,
.y = 0,
.width = gtk_adjustment_get_page_size(view_hadjustment),
.height = gtk_adjustment_get_page_size(view_vadjustment)
};
int page_padding = 1;
girara_setting_get(zathura->ui.session, "page-padding", &page_padding);
GdkRectangle center = {
.x = (view_rect.width + 1) / 2,
.y = (view_rect.height + 1) / 2,
.width = (2 * page_padding) + 1,
.height = (2 * page_padding) + 1
};
unsigned int number_of_pages = zathura_document_get_number_of_pages(zathura->document);
double scale = zathura_document_get_scale(zathura->document);
bool updated = false;
/* find page that fits */
for (unsigned int page_id = 0; page_id < number_of_pages; page_id++) { for (unsigned int page_id = 0; page_id < number_of_pages; page_id++) {
zathura_page_t* page = zathura_document_get_page(zathura->document, page_id); zathura_page_t* page = zathura_document_get_page(zathura->document, page_id);
GdkRectangle page_rect = {
.width = zathura_page_get_width(page) * scale,
.height = zathura_page_get_height(page) * scale
};
GtkWidget* page_widget = zathura_page_get_widget(zathura, page); GtkWidget* page_widget = zathura_page_get_widget(zathura, page);
gtk_widget_translate_coordinates(page_widget, ZathuraPage* zathura_page_widget = ZATHURA_PAGE(page_widget);
zathura->ui.session->gtk.view, 0, 0, &page_rect.x, &page_rect.y);
if (gdk_rectangle_intersect(&view_rect, &page_rect, NULL) == TRUE) { if (page_is_visible(zathura->document, page_id) == true) {
/* make page visible */
if (zathura_page_get_visibility(page) == false) { if (zathura_page_get_visibility(page) == false) {
zathura_page_set_visibility(page, true); zathura_page_set_visibility(page, true);
zathura_page_widget_update_view_time(ZATHURA_PAGE(page_widget)); zathura_page_widget_update_view_time(zathura_page_widget);
zathura_page_cache_add(zathura, zathura_page_get_index(page)); zathura_renderer_page_cache_add(zathura->sync.render_thread, zathura_page_get_index(page));
}
if (zathura->global.update_page_number == true && updated == false
&& gdk_rectangle_intersect(&center, &page_rect, NULL) == TRUE) {
zathura_document_set_current_page_number(zathura->document, page_id);
updated = true;
}
} else {
zathura_page_set_visibility(page, false);
/* if the page is not visible and not cached, but still has a surface, we
* need to get rid of the surface */
if (zathura_page_widget_have_surface(ZATHURA_PAGE(page_widget)) == true &&
zathura_page_cache_is_cached(zathura, zathura_page_get_index(page)) == false) {
zathura_page_widget_update_surface(ZATHURA_PAGE(page_widget), NULL);
} }
} else {
/* make page invisible */
if (zathura_page_get_visibility(page) == true) {
zathura_page_set_visibility(page, false);
/* If a page becomes invisible, abort the render request. */
zathura_page_widget_abort_render_request(zathura_page_widget);
}
/* reset current search result */
girara_list_t* results = NULL; girara_list_t* results = NULL;
g_object_get(page_widget, "search-results", &results, NULL); g_object_get(page_widget, "search-results", &results, NULL);
if (results != NULL) { if (results != NULL) {
g_object_set(page_widget, "search-current", 0, NULL); g_object_set(page_widget, "search-current", 0, NULL);
} }
} }
} }
}
void
cb_view_hadjustment_value_changed(GtkAdjustment* adjustment, gpointer data)
{
zathura_t* zathura = data;
if (zathura == NULL || zathura->document == NULL) {
return;
}
/* Do nothing in index mode */
if (girara_mode_get(zathura->ui.session) == zathura->modes.index) {
return;
}
update_visible_pages(zathura);
double position_x = zathura_adjustment_get_ratio(adjustment);
double position_y = zathura_document_get_position_y(zathura->document);
unsigned int page_id = position_to_page_number(zathura->document, position_x, position_y);
zathura_document_set_position_x(zathura->document, position_x);
zathura_document_set_position_y(zathura->document, position_y);
zathura_document_set_current_page_number(zathura->document, page_id);
statusbar_page_number_update(zathura);
}
void
cb_view_vadjustment_value_changed(GtkAdjustment* adjustment, gpointer data)
{
zathura_t* zathura = data;
if (zathura == NULL || zathura->document == NULL) {
return;
}
/* Do nothing in index mode */
if (girara_mode_get(zathura->ui.session) == zathura->modes.index) {
return;
}
update_visible_pages(zathura);
double position_x = zathura_document_get_position_x(zathura->document);
double position_y = zathura_adjustment_get_ratio(adjustment);
unsigned int page_id = position_to_page_number(zathura->document, position_x, position_y);
zathura_document_set_position_x(zathura->document, position_x);
zathura_document_set_position_y(zathura->document, position_y);
zathura_document_set_current_page_number(zathura->document, page_id);
statusbar_page_number_update(zathura); statusbar_page_number_update(zathura);
} }
@ -134,29 +145,23 @@ cb_view_hadjustment_changed(GtkAdjustment* adjustment, gpointer data)
zathura_adjust_mode_t adjust_mode = zathura_adjust_mode_t adjust_mode =
zathura_document_get_adjust_mode(zathura->document); zathura_document_get_adjust_mode(zathura->document);
gdouble lower, upper, page_size, value, ratio; /* Do nothing in index mode */
bool zoom_center = false; if (girara_mode_get(zathura->ui.session) == zathura->modes.index) {
return;
switch (adjust_mode) {
center:
case ZATHURA_ADJUST_BESTFIT:
case ZATHURA_ADJUST_WIDTH:
lower = gtk_adjustment_get_lower(adjustment);
upper = gtk_adjustment_get_upper(adjustment);
page_size = gtk_adjustment_get_page_size(adjustment);
value = ((upper - lower) - page_size) / 2.0;
zathura_adjustment_set_value(adjustment, value);
break;
default:
girara_setting_get(zathura->ui.session, "zoom-center", &zoom_center);
if (zoom_center) {
goto center;
}
ratio = zathura_adjustment_get_ratio(zathura->ui.hadjustment);
zathura_adjustment_set_value_from_ratio(adjustment, ratio);
break;
} }
/* Don't scroll we're focusing the inputbar. */
if (adjust_mode == ZATHURA_ADJUST_INPUTBAR) {
return;
}
/* save the viewport size */
unsigned int view_width = (unsigned int)floor(gtk_adjustment_get_page_size(adjustment));
zathura_document_set_viewport_width(zathura->document, view_width);
/* reset the adjustment, in case bounds have changed */
double ratio = zathura_document_get_position_x(zathura->document);
zathura_adjustment_set_value_from_ratio(adjustment, ratio);
} }
void void
@ -168,93 +173,71 @@ cb_view_vadjustment_changed(GtkAdjustment* adjustment, gpointer data)
zathura_adjust_mode_t adjust_mode = zathura_adjust_mode_t adjust_mode =
zathura_document_get_adjust_mode(zathura->document); zathura_document_get_adjust_mode(zathura->document);
/* Do nothing in index mode */
if (girara_mode_get(zathura->ui.session) == zathura->modes.index) {
return;
}
/* Don't scroll we're focusing the inputbar. */ /* Don't scroll we're focusing the inputbar. */
if (adjust_mode == ZATHURA_ADJUST_INPUTBAR) { if (adjust_mode == ZATHURA_ADJUST_INPUTBAR) {
return; return;
} }
double ratio = zathura_adjustment_get_ratio(zathura->ui.vadjustment); /* save the viewport size */
unsigned int view_height = (unsigned int)floor(gtk_adjustment_get_page_size(adjustment));
zathura_document_set_viewport_height(zathura->document, view_height);
/* reset the adjustment, in case bounds have changed */
double ratio = zathura_document_get_position_y(zathura->document);
zathura_adjustment_set_value_from_ratio(adjustment, ratio); zathura_adjustment_set_value_from_ratio(adjustment, ratio);
} }
void void
cb_adjustment_track_value(GtkAdjustment* adjustment, gpointer data) cb_refresh_view(GtkWidget* GIRARA_UNUSED(view), gpointer data)
{ {
GtkAdjustment* tracker = data; zathura_t* zathura = data;
if (zathura == NULL || zathura->document == NULL) {
gdouble lower = gtk_adjustment_get_lower(adjustment);
gdouble upper = gtk_adjustment_get_upper(adjustment);
if (lower != gtk_adjustment_get_lower(tracker) ||
upper != gtk_adjustment_get_upper(tracker)) {
return; return;
} }
gdouble value = gtk_adjustment_get_value(adjustment); unsigned int page_id = zathura_document_get_current_page_number(zathura->document);
gtk_adjustment_set_value(tracker, value); zathura_page_t* page = zathura_document_get_page(zathura->document, page_id);
if (page == NULL) {
return;
}
GtkAdjustment* vadj = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
GtkAdjustment* hadj = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
double position_x = zathura_document_get_position_x(zathura->document);
double position_y = zathura_document_get_position_y(zathura->document);
zathura_adjustment_set_value_from_ratio(vadj, position_y);
zathura_adjustment_set_value_from_ratio(hadj, position_x);
statusbar_page_number_update(zathura);
} }
void void
cb_adjustment_track_bounds(GtkAdjustment* adjustment, gpointer data) cb_page_layout_value_changed(girara_session_t* session, const char* UNUSED(name), girara_setting_type_t UNUSED(type), void* value, void* UNUSED(data))
{
GtkAdjustment* tracker = data;
gdouble value = gtk_adjustment_get_value(adjustment);
gdouble lower = gtk_adjustment_get_lower(adjustment);
gdouble upper = gtk_adjustment_get_upper(adjustment);
gdouble page_size = gtk_adjustment_get_page_size(adjustment);
gtk_adjustment_set_value(tracker, value);
gtk_adjustment_set_lower(tracker, lower);
gtk_adjustment_set_upper(tracker, upper);
gtk_adjustment_set_page_size(tracker, page_size);
}
void
cb_pages_per_row_value_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(value != NULL);
g_return_if_fail(session != NULL); g_return_if_fail(session != NULL);
g_return_if_fail(session->global.data != NULL); g_return_if_fail(session->global.data != NULL);
zathura_t* zathura = session->global.data; zathura_t* zathura = session->global.data;
int pages_per_row = *(int*) value;
if (pages_per_row < 1) {
pages_per_row = 1;
}
unsigned int first_page_column = 1;
girara_setting_get(session, "first-page-column", &first_page_column);
page_widget_set_mode(zathura, pages_per_row, first_page_column);
if (zathura->document != NULL) {
unsigned int current_page = zathura_document_get_current_page_number(zathura->document);
page_set_delayed(zathura, current_page);
}
}
void
cb_first_page_column_value_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;
int first_page_column = *(int*) value;
if (first_page_column < 1) {
first_page_column = 1;
}
unsigned int pages_per_row = 1; unsigned int pages_per_row = 1;
girara_setting_get(session, "pages-per-row", &pages_per_row); girara_setting_get(session, "pages-per-row", &pages_per_row);
page_widget_set_mode(zathura, pages_per_row, first_page_column); unsigned int first_page_column = 1;
girara_setting_get(session, "first-page-column", &first_page_column);
if (zathura->document != NULL) { unsigned int page_padding = 1;
unsigned int current_page = zathura_document_get_current_page_number(zathura->document); girara_setting_get(zathura->ui.session, "page-padding", &page_padding);
page_set_delayed(zathura, current_page);
} page_widget_set_mode(zathura, page_padding, pages_per_row, first_page_column);
zathura_document_set_page_layout(zathura->document, page_padding, pages_per_row, first_page_column);
} }
void void
@ -367,6 +350,13 @@ cb_sc_display_link(GtkEntry* entry, girara_session_t* session)
return handle_link(entry, session, ZATHURA_LINK_ACTION_DISPLAY); return handle_link(entry, session, ZATHURA_LINK_ACTION_DISPLAY);
} }
static gboolean
file_monitor_reload(void* data)
{
sc_reload((girara_session_t*) data, NULL, NULL, 0);
return FALSE;
}
void void
cb_file_monitor(GFileMonitor* monitor, GFile* file, GFile* UNUSED(other_file), GFileMonitorEvent event, girara_session_t* session) cb_file_monitor(GFileMonitor* monitor, GFile* file, GFile* UNUSED(other_file), GFileMonitorEvent event, girara_session_t* session)
{ {
@ -377,9 +367,7 @@ cb_file_monitor(GFileMonitor* monitor, GFile* file, GFile* UNUSED(other_file), G
switch (event) { switch (event) {
case G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT: case G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT:
case G_FILE_MONITOR_EVENT_CREATED: case G_FILE_MONITOR_EVENT_CREATED:
gdk_threads_enter(); g_main_context_invoke(NULL, file_monitor_reload, session);
sc_reload(session, NULL, NULL, 0);
gdk_threads_leave();
break; break;
default: default:
return; return;
@ -457,23 +445,19 @@ error_ret:
} }
bool bool
cb_view_resized(GtkWidget* UNUSED(widget), GtkAllocation* allocation, zathura_t* zathura) cb_view_resized(GtkWidget* UNUSED(widget), GtkAllocation* UNUSED(allocation), zathura_t* zathura)
{ {
if (zathura == NULL || zathura->document == NULL) { if (zathura == NULL || zathura->document == NULL) {
return false; return false;
} }
static int height = -1; /* adjust the scale according to settings. If nothing needs to be resized,
static int width = -1; it does not trigger the resize event.
/* adjust only if the allocation changed */ The right viewport size is already in the document object, due to a
if (width != allocation->width || height != allocation->height) { previous call to adjustment_changed. We don't want to use the allocation in
girara_argument_t argument = { zathura_document_get_adjust_mode(zathura->document), NULL }; here, because we would have to subtract scrollbars, etc. */
sc_adjust_window(zathura->ui.session, &argument, NULL, 0); adjust_view(zathura);
width = allocation->width;
height = allocation->height;
}
return false; return false;
} }
@ -488,11 +472,11 @@ cb_setting_recolor_change(girara_session_t* session, const char* name,
g_return_if_fail(name != NULL); g_return_if_fail(name != NULL);
zathura_t* zathura = session->global.data; zathura_t* zathura = session->global.data;
bool bool_value = *((bool*) value); const bool bool_value = *((bool*) value);
if (zathura->global.recolor != bool_value) { if (zathura->sync.render_thread != NULL && zathura_renderer_recolor_enabled(zathura->sync.render_thread) != bool_value) {
zathura->global.recolor = bool_value; zathura_renderer_enable_recolor(zathura->sync.render_thread, bool_value);
render_all(zathura); render_all(zathura);
} }
} }
@ -506,11 +490,11 @@ cb_setting_recolor_keep_hue_change(girara_session_t* session, const char* name,
g_return_if_fail(name != NULL); g_return_if_fail(name != NULL);
zathura_t* zathura = session->global.data; zathura_t* zathura = session->global.data;
bool bool_value = *((bool*) value); const bool bool_value = *((bool*) value);
if (zathura->global.recolor_keep_hue != bool_value) { if (zathura->sync.render_thread != NULL && zathura_renderer_recolor_hue_enabled(zathura->sync.render_thread) != bool_value) {
zathura->global.recolor_keep_hue = bool_value; zathura_renderer_enable_recolor_hue(zathura->sync.render_thread, bool_value);
render_all(zathura); render_all(zathura);
} }
} }
@ -529,7 +513,8 @@ cb_unknown_command(girara_session_t* session, const char* input)
} }
/* check for number */ /* check for number */
for (unsigned int i = 0; i < strlen(input); i++) { const size_t size = strlen(input);
for (size_t i = 0; i < size; i++) {
if (g_ascii_isdigit(input[i]) == FALSE) { if (g_ascii_isdigit(input[i]) == FALSE) {
return false; return false;
} }
@ -541,3 +526,46 @@ cb_unknown_command(girara_session_t* session, const char* input)
return true; return true;
} }
void
cb_page_widget_text_selected(ZathuraPage* page, const char* text, void* data)
{
g_return_if_fail(page != NULL);
g_return_if_fail(text != NULL);
g_return_if_fail(data != NULL);
zathura_t* zathura = data;
GdkAtom* selection = get_selection(zathura);
/* copy to clipboard */
if (selection != NULL) {
gtk_clipboard_set_text(gtk_clipboard_get(*selection), text, -1);
char* stripped_text = g_strdelimit(g_strdup(text), "\n\t\r\n", ' ');
char* escaped_text = g_markup_printf_escaped(
_("Copied selected text to clipboard: %s"), stripped_text);
g_free(stripped_text);
girara_notify(zathura->ui.session, GIRARA_INFO, "%s", escaped_text);
g_free(escaped_text);
}
g_free(selection);
}
void
cb_page_widget_image_selected(ZathuraPage* page, GdkPixbuf* pixbuf, void* data)
{
g_return_if_fail(page != NULL);
g_return_if_fail(pixbuf != NULL);
g_return_if_fail(data != NULL);
zathura_t* zathura = data;
GdkAtom* selection = get_selection(zathura);
if (selection != NULL) {
gtk_clipboard_set_image(gtk_clipboard_get(*selection), pixbuf);
}
g_free(selection);
}

View file

@ -27,6 +27,15 @@ gboolean cb_destroy(GtkWidget* widget, zathura_t* zathura);
*/ */
void cb_buffer_changed(girara_session_t* session); void cb_buffer_changed(girara_session_t* session);
/**
* This function gets called when the value of the horizontal scrollbars
* changes (e.g.: by scrolling, moving to another page)
*
* @param adjustment The hadjustment of the page view
* @param data NULL
*/
void cb_view_hadjustment_value_changed(GtkAdjustment *adjustment, gpointer data);
/** /**
* This function gets called when the value of the vertical scrollbars * This function gets called when the value of the vertical scrollbars
* changes (e.g.: by scrolling, moving to another page) * changes (e.g.: by scrolling, moving to another page)
@ -40,9 +49,7 @@ void cb_view_vadjustment_value_changed(GtkAdjustment *adjustment, gpointer data)
* This function gets called when the bounds or the page_size of the horizontal * This function gets called when the bounds or the page_size of the horizontal
* scrollbar change (e.g. when the zoom level is changed). * scrollbar change (e.g. when the zoom level is changed).
* *
* It adjusts the value of the horizontal scrollbar, possibly based on its * It adjusts the value of the horizontal scrollbar
* previous adjustment, stored in the tracking adjustment
* zathura->ui.hadjustment.
* *
* @param adjustment The horizontal adjustment of a gtkScrolledWindow * @param adjustment The horizontal adjustment of a gtkScrolledWindow
* @param data The zathura instance * @param data The zathura instance
@ -61,26 +68,16 @@ void cb_view_hadjustment_changed(GtkAdjustment *adjustment, gpointer data);
*/ */
void cb_view_vadjustment_changed(GtkAdjustment *adjustment, gpointer data); void cb_view_vadjustment_changed(GtkAdjustment *adjustment, gpointer data);
/* This function gets called when the value of the adjustment changes. /**
* This function gets called when the program need to refresh the document view.
* *
* It updates the value of the tracking adjustment, only if the bounds of the * It adjusts the value of the scrollbars, triggering a redraw in the new
* adjustment have not changed (if they did change, * position.
* cb_adjustment_track_bounds() will take care of updating everything).
* *
* @param adjustment The adjustment instance * @param view The view GtkWidget
* @param data The tracking adjustment instance * @param data The zathura instance
*/ */
void cb_adjustment_track_value(GtkAdjustment* adjustment, gpointer data); void cb_refresh_view(GtkWidget* view, gpointer data);
/* This function gets called when the bounds or the page_size of the adjustment
* change.
*
* It updates the value, bounds and page_size of the tracking adjustment.
*
* @param adjustment The adjustment instance
* @param data The tracking adjustment instance
*/
void cb_adjustment_track_bounds(GtkAdjustment* adjustment, gpointer data);
/** /**
* This function gets called when the value of the "pages-per-row" * This function gets called when the value of the "pages-per-row"
@ -92,19 +89,7 @@ void cb_adjustment_track_bounds(GtkAdjustment* adjustment, gpointer data);
* @param value The value * @param value The value
* @param data Custom data * @param data Custom data
*/ */
void cb_pages_per_row_value_changed(girara_session_t* session, const char* name, void cb_page_layout_value_changed(girara_session_t* session, const char* name,
girara_setting_type_t type, void* value, void* data);
/**
* This function gets called when the value of the "first-page-column"
* variable changes
*
* @param session The current girara session
* @param name The name of the row
* @param type The settings type
* @param value The value
* @param data Custom data
*/
void cb_first_page_column_value_changed(girara_session_t* session, const char* name,
girara_setting_type_t type, void* value, void* data); girara_setting_type_t type, void* value, void* data);
/** /**
@ -202,4 +187,17 @@ void cb_setting_recolor_keep_hue_change(girara_session_t* session, const char* n
*/ */
bool cb_unknown_command(girara_session_t* session, const char* input); bool cb_unknown_command(girara_session_t* session, const char* input);
/**
* Emitted when text has been selected in the page widget
*
* @param widget page view widget
* @param text selected text
* @param data user data
*/
void cb_page_widget_text_selected(ZathuraPage* page, const char* text,
void* data);
void cb_page_widget_image_selected(ZathuraPage* page, GdkPixbuf* pixbuf,
void* data);
#endif // CALLBACKS_H #endif // CALLBACKS_H

View file

@ -118,15 +118,9 @@ cmd_bookmark_open(girara_session_t* session, girara_list_t* argument_list)
} }
zathura_jumplist_add(zathura); zathura_jumplist_add(zathura);
page_set(zathura, bookmark->page - 1);
if (bookmark->x != DBL_MIN && bookmark->y != DBL_MIN) { if (bookmark->x != DBL_MIN && bookmark->y != DBL_MIN) {
GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view)); position_set(zathura, bookmark->x, bookmark->y);
GtkAdjustment* vadjustment = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
zathura_adjustment_set_value_from_ratio(hadjustment, bookmark->x);
zathura_adjustment_set_value_from_ratio(vadjustment, bookmark->y);
zathura_document_set_current_page_number(zathura->document, bookmark->page - 1);
statusbar_page_number_update(zathura);
} else {
page_set(zathura, bookmark->page - 1);
} }
zathura_jumplist_add(zathura); zathura_jumplist_add(zathura);
@ -164,15 +158,15 @@ cmd_info(girara_session_t* session, girara_list_t* UNUSED(argument_list))
zathura_document_information_type_t field; zathura_document_information_type_t field;
}; };
struct meta_field meta_fields[] = { const struct meta_field meta_fields[] = {
{ "Title", ZATHURA_DOCUMENT_INFORMATION_TITLE }, { _("Title"), ZATHURA_DOCUMENT_INFORMATION_TITLE },
{ "Author", ZATHURA_DOCUMENT_INFORMATION_AUTHOR }, { _("Author"), ZATHURA_DOCUMENT_INFORMATION_AUTHOR },
{ "Subject", ZATHURA_DOCUMENT_INFORMATION_SUBJECT }, { _("Subject"), ZATHURA_DOCUMENT_INFORMATION_SUBJECT },
{ "Keywords", ZATHURA_DOCUMENT_INFORMATION_KEYWORDS }, { _("Keywords"), ZATHURA_DOCUMENT_INFORMATION_KEYWORDS },
{ "Creator", ZATHURA_DOCUMENT_INFORMATION_CREATOR }, { _("Creator"), ZATHURA_DOCUMENT_INFORMATION_CREATOR },
{ "Producer", ZATHURA_DOCUMENT_INFORMATION_PRODUCER }, { _("Producer"), ZATHURA_DOCUMENT_INFORMATION_PRODUCER },
{ "Creation date", ZATHURA_DOCUMENT_INFORMATION_CREATION_DATE }, { _("Creation date"), ZATHURA_DOCUMENT_INFORMATION_CREATION_DATE },
{ "Modiciation date", ZATHURA_DOCUMENT_INFORMATION_MODIFICATION_DATE } { _("Modification date"), ZATHURA_DOCUMENT_INFORMATION_MODIFICATION_DATE }
}; };
girara_list_t* information = zathura_document_get_information(zathura->document, NULL); girara_list_t* information = zathura_document_get_information(zathura->document, NULL);
@ -381,9 +375,9 @@ cmd_search(girara_session_t* session, const char* input, girara_argument_t* argu
GtkWidget* page_widget = zathura_page_get_widget(zathura, page); GtkWidget* page_widget = zathura_page_get_widget(zathura, page);
g_object_set(page_widget, "draw-links", FALSE, NULL); g_object_set(page_widget, "draw-links", FALSE, NULL);
render_lock(zathura->sync.render_thread); zathura_renderer_lock(zathura->sync.render_thread);
girara_list_t* result = zathura_page_search_text(page, input, &error); girara_list_t* result = zathura_page_search_text(page, input, &error);
render_unlock(zathura->sync.render_thread); zathura_renderer_unlock(zathura->sync.render_thread);
if (result == NULL || girara_list_size(result) == 0) { if (result == NULL || girara_list_size(result) == 0) {
girara_list_free(result); girara_list_free(result);

View file

@ -57,9 +57,13 @@ cb_color_change(girara_session_t* session, const char* name,
} else if (g_strcmp0(name, "highlight-active-color") == 0) { } else if (g_strcmp0(name, "highlight-active-color") == 0) {
gdk_color_parse(string_value, &(zathura->ui.colors.highlight_color_active)); gdk_color_parse(string_value, &(zathura->ui.colors.highlight_color_active));
} else if (g_strcmp0(name, "recolor-darkcolor") == 0) { } else if (g_strcmp0(name, "recolor-darkcolor") == 0) {
gdk_color_parse(string_value, &(zathura->ui.colors.recolor_dark_color)); if (zathura->sync.render_thread != NULL) {
zathura_renderer_set_recolor_colors_str(zathura->sync.render_thread, NULL, string_value);
}
} else if (g_strcmp0(name, "recolor-lightcolor") == 0) { } else if (g_strcmp0(name, "recolor-lightcolor") == 0) {
gdk_color_parse(string_value, &(zathura->ui.colors.recolor_light_color)); if (zathura->sync.render_thread != NULL) {
zathura_renderer_set_recolor_colors_str(zathura->sync.render_thread, string_value, NULL);
}
} else if (g_strcmp0(name, "render-loading-bg") == 0) { } else if (g_strcmp0(name, "render-loading-bg") == 0) {
gdk_color_parse(string_value, &(zathura->ui.colors.render_loading_bg)); gdk_color_parse(string_value, &(zathura->ui.colors.render_loading_bg));
} else if (g_strcmp0(name, "render-loading-fg") == 0) { } else if (g_strcmp0(name, "render-loading-fg") == 0) {
@ -69,27 +73,6 @@ cb_color_change(girara_session_t* session, const char* name,
render_all(zathura); render_all(zathura);
} }
static void
cb_page_padding_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;
int val = *(int*) value;
if (GTK_IS_TABLE(zathura->ui.page_widget) == TRUE) {
#if (GTK_MAJOR_VERSION == 3)
gtk_grid_set_row_spacing(GTK_GRID(zathura->ui.page_widget), val);
gtk_grid_set_column_spacing(GTK_GRID(zathura->ui.page_widget), val);
#else
gtk_table_set_row_spacings(GTK_TABLE(zathura->ui.page_widget), val);
gtk_table_set_col_spacings(GTK_TABLE(zathura->ui.page_widget), val);
#endif
}
}
static void static void
cb_nohlsearch_changed(girara_session_t* session, const char* UNUSED(name), cb_nohlsearch_changed(girara_session_t* session, const char* UNUSED(name),
girara_setting_type_t UNUSED(type), void* value, void* UNUSED(data)) girara_setting_type_t UNUSED(type), void* value, void* UNUSED(data))
@ -128,6 +111,7 @@ config_load_default(zathura_t* zathura)
float float_value = 0; float float_value = 0;
bool bool_value = false; bool bool_value = false;
bool inc_search = true; bool inc_search = true;
char* string_value = NULL;
girara_session_t* gsession = zathura->ui.session; girara_session_t* gsession = zathura->ui.session;
/* mode settings */ /* mode settings */
@ -144,21 +128,21 @@ config_load_default(zathura_t* zathura)
girara_mode_set(gsession, zathura->modes.normal); girara_mode_set(gsession, zathura->modes.normal);
/* zathura settings */ /* zathura settings */
girara_setting_add(gsession, "database", "plain", STRING, true, _("Database backend"), NULL, NULL); girara_setting_add(gsession, "database", "plain", STRING, true, _("Database backend"), NULL, NULL);
int_value = 10; int_value = 10;
girara_setting_add(gsession, "zoom-step", &int_value, INT, false, _("Zoom step"), NULL, NULL); girara_setting_add(gsession, "zoom-step", &int_value, INT, false, _("Zoom step"), NULL, NULL);
int_value = 1; int_value = 1;
girara_setting_add(gsession, "page-padding", &int_value, INT, false, _("Padding between pages"), cb_page_padding_changed, NULL); girara_setting_add(gsession, "page-padding", &int_value, INT, false, _("Padding between pages"), cb_page_layout_value_changed, NULL);
int_value = 1; int_value = 1;
girara_setting_add(gsession, "pages-per-row", &int_value, INT, false, _("Number of pages per row"), cb_pages_per_row_value_changed, NULL); girara_setting_add(gsession, "pages-per-row", &int_value, INT, false, _("Number of pages per row"), cb_page_layout_value_changed, NULL);
int_value = 1; int_value = 1;
girara_setting_add(gsession, "first-page-column", &int_value, INT, false, _("Column of the first page"),cb_first_page_column_value_changed, NULL); girara_setting_add(gsession, "first-page-column", &int_value, INT, false, _("Column of the first page"), cb_page_layout_value_changed, NULL);
float_value = 40; float_value = 40;
girara_setting_add(gsession, "scroll-step", &float_value, FLOAT, false, _("Scroll step"), NULL, NULL); girara_setting_add(gsession, "scroll-step", &float_value, FLOAT, false, _("Scroll step"), NULL, NULL);
float_value = 40; float_value = 40;
girara_setting_add(gsession, "scroll-hstep", &float_value, FLOAT, false, _("Horizontal scroll step"), NULL, NULL); girara_setting_add(gsession, "scroll-hstep", &float_value, FLOAT, false, _("Horizontal scroll step"), NULL, NULL);
float_value = 0.0; float_value = 0.0;
girara_setting_add(gsession, "scroll-full-overlap", &float_value, FLOAT, false, _("Full page scroll overlap"), NULL, NULL); girara_setting_add(gsession, "scroll-full-overlap", &float_value, FLOAT, false, _("Full page scroll overlap"), NULL, NULL);
int_value = 10; int_value = 10;
girara_setting_add(gsession, "zoom-min", &int_value, INT, false, _("Zoom minimum"), NULL, NULL); girara_setting_add(gsession, "zoom-min", &int_value, INT, false, _("Zoom minimum"), NULL, NULL);
int_value = 1000; int_value = 1000;
@ -168,17 +152,15 @@ config_load_default(zathura_t* zathura)
int_value = 2000; int_value = 2000;
girara_setting_add(gsession, "jumplist-size", &int_value, INT, false, _("Number of positions to remember in the jumplist"), cb_jumplist_change, NULL); girara_setting_add(gsession, "jumplist-size", &int_value, INT, false, _("Number of positions to remember in the jumplist"), cb_jumplist_change, NULL);
girara_setting_add(gsession, "recolor-darkcolor", NULL, STRING, false, _("Recoloring (dark color)"), cb_color_change, NULL); girara_setting_add(gsession, "recolor-darkcolor", "#FFFFFF", STRING, false, _("Recoloring (dark color)"), cb_color_change, NULL);
girara_setting_set(gsession, "recolor-darkcolor", "#FFFFFF"); girara_setting_add(gsession, "recolor-lightcolor", "#000000", STRING, false, _("Recoloring (light color)"), cb_color_change, NULL);
girara_setting_add(gsession, "recolor-lightcolor", NULL, STRING, false, _("Recoloring (light color)"), cb_color_change, NULL); girara_setting_add(gsession, "highlight-color", NULL, STRING, false, _("Color for highlighting"), cb_color_change, NULL);
girara_setting_set(gsession, "recolor-lightcolor", "#000000");
girara_setting_add(gsession, "highlight-color", NULL, STRING, false, _("Color for highlighting"), cb_color_change, NULL);
girara_setting_set(gsession, "highlight-color", "#9FBC00"); girara_setting_set(gsession, "highlight-color", "#9FBC00");
girara_setting_add(gsession, "highlight-active-color", NULL, STRING, false, _("Color for highlighting (active)"), cb_color_change, NULL); girara_setting_add(gsession, "highlight-active-color", NULL, STRING, false, _("Color for highlighting (active)"), cb_color_change, NULL);
girara_setting_set(gsession, "highlight-active-color", "#00BC00"); girara_setting_set(gsession, "highlight-active-color", "#00BC00");
girara_setting_add(gsession, "render-loading-bg", NULL, STRING, false, _("'Loading ...' background color"), cb_color_change, NULL); girara_setting_add(gsession, "render-loading-bg", NULL, STRING, false, _("'Loading ...' background color"), cb_color_change, NULL);
girara_setting_set(gsession, "render-loading-bg", "#FFFFFF"); girara_setting_set(gsession, "render-loading-bg", "#FFFFFF");
girara_setting_add(gsession, "render-loading-fg", NULL, STRING, false, _("'Loading ...' foreground color"), cb_color_change, NULL); girara_setting_add(gsession, "render-loading-fg", NULL, STRING, false, _("'Loading ...' foreground color"), cb_color_change, NULL);
girara_setting_set(gsession, "render-loading-fg", "#000000"); girara_setting_set(gsession, "render-loading-fg", "#000000");
bool_value = false; bool_value = false;
@ -196,6 +178,8 @@ config_load_default(zathura_t* zathura)
bool_value = true; bool_value = true;
girara_setting_add(gsession, "link-hadjust", &bool_value, BOOLEAN, false, _("Align link target to the left"), NULL, NULL); girara_setting_add(gsession, "link-hadjust", &bool_value, BOOLEAN, false, _("Align link target to the left"), NULL, NULL);
bool_value = true; bool_value = true;
girara_setting_add(gsession, "link-zoom", &bool_value, BOOLEAN, false, _("Let zoom be changed when following links"), NULL, NULL);
bool_value = true;
girara_setting_add(gsession, "search-hadjust", &bool_value, BOOLEAN, false, _("Center result horizontally"), NULL, NULL); girara_setting_add(gsession, "search-hadjust", &bool_value, BOOLEAN, false, _("Center result horizontally"), NULL, NULL);
float_value = 0.5; float_value = 0.5;
girara_setting_add(gsession, "highlight-transparency", &float_value, FLOAT, false, _("Transparency for highlighting"), NULL, NULL); girara_setting_add(gsession, "highlight-transparency", &float_value, FLOAT, false, _("Transparency for highlighting"), NULL, NULL);
@ -222,6 +206,8 @@ config_load_default(zathura_t* zathura)
girara_setting_add(gsession, "statusbar-basename", &bool_value, BOOLEAN, false, _("Use basename of the file in the statusbar"), NULL, NULL); girara_setting_add(gsession, "statusbar-basename", &bool_value, BOOLEAN, false, _("Use basename of the file in the statusbar"), NULL, NULL);
bool_value = false; bool_value = false;
girara_setting_add(gsession, "synctex", &bool_value, BOOLEAN, false, _("Enable synctex support"), NULL, NULL); girara_setting_add(gsession, "synctex", &bool_value, BOOLEAN, false, _("Enable synctex support"), NULL, NULL);
string_value = "primary";
girara_setting_add(gsession, "selection-clipboard", string_value, STRING, false, _("The clipboard into which mouse-selected data will be written"), NULL, NULL);
/* define default shortcuts */ /* define default shortcuts */
girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_c, NULL, sc_abort, 0, 0, NULL); girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_c, NULL, sc_abort, 0, 0, NULL);

View file

@ -3,7 +3,7 @@
ZATHURA_VERSION_MAJOR = 0 ZATHURA_VERSION_MAJOR = 0
ZATHURA_VERSION_MINOR = 2 ZATHURA_VERSION_MINOR = 2
ZATHURA_VERSION_REV = 4 ZATHURA_VERSION_REV = 5
# If the API changes, the API version and the ABI version have to be bumped. # If the API changes, the API version and the ABI version have to be bumped.
ZATHURA_API_VERSION = 2 ZATHURA_API_VERSION = 2
# If the ABI breaks for any reason, this has to be bumped. # If the ABI breaks for any reason, this has to be bumped.
@ -11,13 +11,23 @@ ZATHURA_ABI_VERSION = 2
VERSION = ${ZATHURA_VERSION_MAJOR}.${ZATHURA_VERSION_MINOR}.${ZATHURA_VERSION_REV} VERSION = ${ZATHURA_VERSION_MAJOR}.${ZATHURA_VERSION_MINOR}.${ZATHURA_VERSION_REV}
# the GTK+ version to use # the GTK+ version to use
# note: zathura with GTK+ 3 is broken! ZATHURA_GTK_VERSION ?= 3
ZATHURA_GTK_VERSION ?= 2
# minimum required zathura version # version checks
# If you want to disable the check, set GIRARA_VERSION_CHECK to 0. # If you want to disable any of the checks, set *_VERSION_CHECK to 0.
GIRARA_MIN_VERSION = 0.1.6
GIRARA_VERSION_CHECK ?= $(shell pkg-config --atleast-version=$(GIRARA_MIN_VERSION) girara-gtk${ZATHURA_GTK_VERSION}; echo $$?) # girara
GIRARA_VERSION_CHECK ?= 1
GIRARA_MIN_VERSION = 0.1.8
GIRARA_PKG_CONFIG_NAME = girara-gtk$(ZATHURA_GTK_VERSION)
# glib
GLIB_VERSION_CHECK ?= 1
GLIB_MIN_VERSION = 2.28
GLIB_PKG_CONFIG_NAME = glib-2.0
# GTK
GTK_VERSION_CHECK ?= 1
GTK_MIN_VERSION = 2.18
GTK_PKG_CONFIG_NAME = gtk+-$(ZATHURA_GTK_VERSION).0
# database # database
# To disable support for the sqlite backend set WITH_SQLITE to 0. # To disable support for the sqlite backend set WITH_SQLITE to 0.
@ -52,6 +62,9 @@ GTHREAD_LIB ?= $(shell pkg-config --libs gthread-2.0)
GMODULE_INC ?= $(shell pkg-config --cflags gmodule-no-export-2.0) GMODULE_INC ?= $(shell pkg-config --cflags gmodule-no-export-2.0)
GMODULE_LIB ?= $(shell pkg-config --libs gmodule-no-export-2.0) GMODULE_LIB ?= $(shell pkg-config --libs gmodule-no-export-2.0)
GLIB_INC ?= $(shell pkg-config --cflags glib-2.0)
GLIB_LIB ?= $(shell pkg-config --libs glib-2.0)
GIRARA_INC ?= $(shell pkg-config --cflags girara-gtk${ZATHURA_GTK_VERSION}) GIRARA_INC ?= $(shell pkg-config --cflags girara-gtk${ZATHURA_GTK_VERSION})
GIRARA_LIB ?= $(shell pkg-config --libs girara-gtk${ZATHURA_GTK_VERSION}) GIRARA_LIB ?= $(shell pkg-config --libs girara-gtk${ZATHURA_GTK_VERSION})
@ -65,8 +78,8 @@ MAGIC_INC ?=
MAGIC_LIB ?= -lmagic MAGIC_LIB ?= -lmagic
endif endif
INCS = ${GIRARA_INC} ${GTK_INC} ${GTHREAD_INC} ${GMODULE_INC} INCS = ${GIRARA_INC} ${GTK_INC} ${GTHREAD_INC} ${GMODULE_INC} ${GLIB_INC}
LIBS = ${GIRARA_LIB} ${GTK_LIB} ${GTHREAD_LIB} ${GMODULE_LIB} -lpthread -lm LIBS = ${GIRARA_LIB} ${GTK_LIB} ${GTHREAD_LIB} ${GMODULE_LIB} ${GLIB_LIB} -lpthread -lm
# flags # flags
CFLAGS += -std=c99 -pedantic -Wall -Wno-format-zero-length -Wextra $(INCS) CFLAGS += -std=c99 -pedantic -Wall -Wno-format-zero-length -Wextra $(INCS)

View file

@ -394,14 +394,13 @@ plain_load_bookmarks(zathura_database_t* db, const char* file)
return NULL; return NULL;
} }
char **val_list = NULL;
gsize num_vals = 0; gsize num_vals = 0;
for (gsize i = 0; i < num_keys; i++) { for (gsize i = 0; i < num_keys; i++) {
zathura_bookmark_t* bookmark = g_malloc0(sizeof(zathura_bookmark_t)); zathura_bookmark_t* bookmark = g_malloc0(sizeof(zathura_bookmark_t));
bookmark->id = g_strdup(keys[i]); bookmark->id = g_strdup(keys[i]);
val_list = g_key_file_get_string_list(priv->bookmarks, name, keys[i], &num_vals, NULL); char **val_list = g_key_file_get_string_list(priv->bookmarks, name, keys[i], &num_vals, NULL);
bookmark->page = atoi(val_list[0]); bookmark->page = atoi(val_list[0]);

View file

@ -22,6 +22,7 @@
#include <girara/session.h> #include <girara/session.h>
#include <girara/settings.h> #include <girara/settings.h>
#include "adjustment.h"
#include "document.h" #include "document.h"
#include "utils.h" #include "utils.h"
#include "zathura.h" #include "zathura.h"
@ -50,6 +51,15 @@ struct zathura_document_s {
void* data; /**< Custom data */ void* data; /**< Custom data */
zathura_adjust_mode_t adjust_mode; /**< Adjust mode (best-fit, width) */ zathura_adjust_mode_t adjust_mode; /**< Adjust mode (best-fit, width) */
int page_offset; /**< Page offset */ int page_offset; /**< Page offset */
double cell_width; /**< width of a page cell in the document (not ransformed by scale and rotation) */
double cell_height; /**< height of a page cell in the document (not ransformed by scale and rotation) */
unsigned int view_width; /**< width of current viewport */
unsigned int view_height; /**< height of current viewport */
unsigned int pages_per_row; /**< number of pages in a row */
unsigned int first_page_column; /**< column of the first page */
unsigned int page_padding; /**< padding between pages */
double position_x; /**< X adjustment */
double position_y; /**< Y adjustment */
/** /**
* Document pages * Document pages
@ -124,6 +134,12 @@ zathura_document_open(zathura_plugin_manager_t* plugin_manager, const char*
document->scale = 1.0; document->scale = 1.0;
document->plugin = plugin; document->plugin = plugin;
document->adjust_mode = ZATHURA_ADJUST_NONE; document->adjust_mode = ZATHURA_ADJUST_NONE;
document->cell_width = 0.0;
document->cell_height = 0.0;
document->view_height = 0;
document->view_width = 0;
document->position_x = 0.0;
document->position_y = 0.0;
/* open document */ /* open document */
zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin); zathura_plugin_functions_t* functions = zathura_plugin_get_functions(plugin);
@ -155,6 +171,15 @@ zathura_document_open(zathura_plugin_manager_t* plugin_manager, const char*
} }
document->pages[page_id] = page; document->pages[page_id] = page;
/* cell_width and cell_height is the maximum of all the pages width and height */
const double width = zathura_page_get_width(page);
if (document->cell_width < width)
document->cell_width = width;
const double height = zathura_page_get_height(page);
if (document->cell_height < height)
document->cell_height = height;
} }
return document; return document;
@ -310,6 +335,46 @@ zathura_document_set_current_page_number(zathura_document_t* document, unsigned
document->current_page_number = current_page; document->current_page_number = current_page;
} }
double
zathura_document_get_position_x(zathura_document_t* document)
{
if (document == NULL) {
return 0;
}
return document->position_x;
}
double
zathura_document_get_position_y(zathura_document_t* document)
{
if (document == NULL) {
return 0;
}
return document->position_y;
}
void
zathura_document_set_position_x(zathura_document_t* document, double position_x)
{
if (document == NULL) {
return;
}
document->position_x = position_x;
}
void
zathura_document_set_position_y(zathura_document_t* document, double position_y)
{
if (document == NULL) {
return;
}
document->position_y = position_y;
}
double double
zathura_document_get_scale(zathura_document_t* document) zathura_document_get_scale(zathura_document_t* document)
{ {
@ -400,32 +465,98 @@ zathura_document_set_page_offset(zathura_document_t* document, unsigned int page
document->page_offset = page_offset; document->page_offset = page_offset;
} }
void
zathura_document_set_viewport_width(zathura_document_t* document, unsigned int width)
{
if (document == NULL) {
return;
}
document->view_width = width;
}
void
zathura_document_set_viewport_height(zathura_document_t* document, unsigned int height)
{
if (document == NULL) {
return;
}
document->view_height = height;
}
void
zathura_document_get_viewport_size(zathura_document_t* document,
unsigned int *height, unsigned int* width)
{
g_return_if_fail(document != NULL && height != NULL && width != NULL);
*height = document->view_height;
*width = document->view_width;
}
void void
zathura_document_get_cell_size(zathura_document_t* document, zathura_document_get_cell_size(zathura_document_t* document,
unsigned int* height, unsigned int* width) unsigned int* height, unsigned int* width)
{ {
g_return_if_fail(document != NULL && height != NULL && width != NULL); g_return_if_fail(document != NULL && height != NULL && width != NULL);
unsigned int number_of_pages = page_calc_height_width(document, document->cell_height, document->cell_width,
zathura_document_get_number_of_pages(document); height, width, true);
*width = 0; }
*height = 0;
/* Get the size of each cell of the table/grid, assuming it is homogeneous void
* (i.e. each cell has the same dimensions. */ zathura_document_get_document_size(zathura_document_t* document,
for (unsigned int page_id = 0; page_id < number_of_pages; page_id++) { unsigned int* height, unsigned int* width)
zathura_page_t* page = zathura_document_get_page(document, page_id); {
if (page == NULL) g_return_if_fail(document != NULL && height != NULL && width != NULL);
continue;
unsigned int page_width = 0, page_height = 0; unsigned int npag = zathura_document_get_number_of_pages(document);
page_calc_height_width(page, &page_height, &page_width, true); unsigned int ncol = zathura_document_get_pages_per_row(document);
unsigned int c0 = zathura_document_get_first_page_column(document);
unsigned int nrow = (npag + c0 - 1 + ncol - 1) / ncol; /* number of rows */
unsigned int pad = zathura_document_get_page_padding(document);
if (*width < page_width) unsigned int cell_height = 0;
*width = page_width; unsigned int cell_width = 0;
if (*height < page_height) zathura_document_get_cell_size(document, &cell_height, &cell_width);
*height = page_height;
*width = ncol * cell_width + (ncol - 1) * pad;
*height = nrow * cell_height + (nrow - 1) * pad;
}
void
zathura_document_set_page_layout(zathura_document_t* document, unsigned int page_padding,
unsigned int pages_per_row, unsigned int first_page_column)
{
g_return_if_fail(document != NULL);
document->page_padding = page_padding;
document->pages_per_row = pages_per_row;
document->first_page_column = first_page_column;
}
unsigned int
zathura_document_get_page_padding(zathura_document_t* document)
{
if (document == NULL) {
return 0;
} }
return document->page_padding;
}
unsigned int
zathura_document_get_pages_per_row(zathura_document_t* document)
{
if (document == NULL) {
return 0;
}
return document->pages_per_row;
}
unsigned int
zathura_document_get_first_page_column(zathura_document_t* document)
{
if (document == NULL) {
return 0;
}
return document->first_page_column;
} }
zathura_error_t zathura_error_t

View file

@ -15,7 +15,7 @@
* @param path Path to the document * @param path Path to the document
* @param password Password of the document or NULL * @param password Password of the document or NULL
* @param error Optional error parameter * @param error Optional error parameter
* @return The document object * @return The document object and NULL if an error occurs
*/ */
zathura_document_t* zathura_document_open(zathura_plugin_manager_t* zathura_document_t* zathura_document_open(zathura_plugin_manager_t*
plugin_manager, const char* path, const char* password, zathura_error_t* plugin_manager, const char* path, const char* password, zathura_error_t*
@ -97,6 +97,42 @@ unsigned int zathura_document_get_current_page_number(zathura_document_t* docume
void zathura_document_set_current_page_number(zathura_document_t* document, unsigned void zathura_document_set_current_page_number(zathura_document_t* document, unsigned
int current_page); int current_page);
/**
* Returns the X position, as a value relative to the document width (0=left,
* 1=right).
*
* @param document The document
* @return X adjustment
*/
double zathura_document_get_position_x(zathura_document_t* document);
/**
* Returns the Y position as value relative to the document height (0=top,
* 1=bottom)
*
* @param document The document
* @return Y adjustment
*/
double zathura_document_get_position_y(zathura_document_t* document);
/**
* Sets the X position as a value relative to the document width (0=left,
* 1=right)
*
* @param document The document
* @param position_x the X adjustment
*/
void zathura_document_set_position_x(zathura_document_t* document, double position_x);
/**
* Sets the Y position as a value relative to the document height (0=top,
* 1=bottom)
*
* @param document The document
* @param position_y the Y adjustment
*/
void zathura_document_set_position_y(zathura_document_t* document, double position_y);
/** /**
* Returns the current scale value of the document * Returns the current scale value of the document
* *
@ -178,9 +214,37 @@ void* zathura_document_get_data(zathura_document_t* document);
void zathura_document_set_data(zathura_document_t* document, void* data); void zathura_document_set_data(zathura_document_t* document, void* data);
/** /**
* Computes the size of a cell in the document's layout table, assuming that * Sets the width of the viewport in pixels.
* the table is homogeneous (i.e. every cell has the same dimensions). It takes *
* the current scale into account. * @param[in] document The document instance
* @param[in] width The width of the viewport
*/
void
zathura_document_set_viewport_width(zathura_document_t* document, unsigned int width);
/**
* Sets the height of the viewport in pixels.
*
* @param[in] document The document instance
* @param[in] height The height of the viewport
*/
void
zathura_document_set_viewport_height(zathura_document_t* document, unsigned int height);
/**
* Return the size of the viewport in pixels.
*
* @param[in] document The document instance
* @param[out] height,width The width and height of the viewport
*/
void
zathura_document_get_viewport_size(zathura_document_t* document,
unsigned int *height, unsigned int* width);
/**
* Return the size of a cell from the document's layout table in pixels. Assumes
* that the table is homogeneous (i.e. every cell has the same dimensions). It
* takes the current scale into account.
* *
* @param[in] document The document instance * @param[in] document The document instance
* @param[out] height,width The computed height and width of the cell * @param[out] height,width The computed height and width of the cell
@ -188,6 +252,52 @@ void zathura_document_set_data(zathura_document_t* document, void* data);
void zathura_document_get_cell_size(zathura_document_t* document, void zathura_document_get_cell_size(zathura_document_t* document,
unsigned int* height, unsigned int* width); unsigned int* height, unsigned int* width);
/**
* Compute the size of the entire document to be displayed in pixels. Takes into
* account the scale, the layout of the pages, and the padding between them. It
* should be equal to the allocation of zathura->ui.page_widget once it's shown.
*
* @param[in] document The document
* @param[out] height,width The height and width of the document
*/
void zathura_document_get_document_size(zathura_document_t* document,
unsigned int* height, unsigned int* width);
/**
* Sets the layout of the pages in the document
*
* @param[in] document The document instance
* @param[in] page_padding pixels of padding between pages
* @param[in] pages_per_row number of pages per row
* @param[in] first_page_column column of the first page (first column is 1)
*/
void zathura_document_set_page_layout(zathura_document_t* document, unsigned int page_padding,
unsigned int pages_per_row, unsigned int first_page_column);
/**
* Returns the padding in pixels betwen pages
*
* @param document The document
* @return The padding in pixels between pages
*/
unsigned int zathura_document_get_page_padding(zathura_document_t* document);
/**
* Returns the number of pages per row
*
* @param document The document
* @return The number of pages per row
*/
unsigned int zathura_document_get_pages_per_row(zathura_document_t* document);
/**
* Returns the column for the first page (first column = 1)
*
* @param document The document
* @return The column for the first page
*/
unsigned int zathura_document_get_first_page_column(zathura_document_t* document);
/** /**
* Save the document * Save the document
* *

64
links.c
View file

@ -6,10 +6,13 @@
#include <girara/session.h> #include <girara/session.h>
#include <girara/settings.h> #include <girara/settings.h>
#include "adjustment.h"
#include "links.h" #include "links.h"
#include "zathura.h" #include "zathura.h"
#include "document.h" #include "document.h"
#include "utils.h" #include "utils.h"
#include "page.h"
#include "render.h"
struct zathura_link_s { struct zathura_link_s {
zathura_rectangle_t position; /**< Position of the link */ zathura_rectangle_t position; /**< Position of the link */
@ -122,11 +125,15 @@ zathura_link_evaluate(zathura_t* zathura, zathura_link_t* link)
return; return;
} }
bool link_zoom = true;
girara_setting_get(zathura->ui.session, "link-zoom", &link_zoom);
switch (link->type) { switch (link->type) {
case ZATHURA_LINK_GOTO_DEST: case ZATHURA_LINK_GOTO_DEST:
if (link->target.destination_type != ZATHURA_LINK_DESTINATION_UNKNOWN) { if (link->target.destination_type != ZATHURA_LINK_DESTINATION_UNKNOWN) {
if (link->target.scale != 0) { if (link->target.scale != 0 && link_zoom) {
zathura_document_set_scale(zathura->document, link->target.scale); zathura_document_set_scale(zathura->document, link->target.scale);
render_all(zathura);
} }
/* get page */ /* get page */
@ -136,34 +143,51 @@ zathura_link_evaluate(zathura_t* zathura, zathura_link_t* link)
return; return;
} }
page_offset_t offset; /* compute the position with the page aligned to the top and left
page_calculate_offset(zathura, page, &offset); 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);
if (link->target.destination_type == ZATHURA_LINK_DESTINATION_XYZ) { /* correct to place the target position at the top of the viewport */
if (link->target.left != -1) { /* NOTE: link->target is in page units, needs to be scaled and rotated */
offset.x += link->target.left * zathura_document_get_scale(zathura->document); unsigned int cell_height = 0;
} unsigned int cell_width = 0;
zathura_document_get_cell_size(zathura->document, &cell_height, &cell_width);
if (link->target.top != -1) { unsigned int doc_height = 0;
offset.y += link->target.top * zathura_document_get_scale(zathura->document); unsigned int doc_width = 0;
} zathura_document_get_document_size(zathura->document, &doc_height, &doc_width);
}
zathura_jumplist_add(zathura);
/* jump to the page */
page_set(zathura, link->target.page_number);
/* move to the target position */
bool link_hadjust = true; bool link_hadjust = true;
girara_setting_get(zathura->ui.session, "link-hadjust", &link_hadjust); girara_setting_get(zathura->ui.session, "link-hadjust", &link_hadjust);
if (link_hadjust == true) { /* scale and rotate */
position_set(zathura, offset.x, offset.y); 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 { } else {
position_set(zathura, -1, offset.y); 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); zathura_jumplist_add(zathura);
} }
break; break;

10
main.c
View file

@ -25,7 +25,9 @@ main(int argc, char* argv[])
#if !GLIB_CHECK_VERSION(2, 31, 0) #if !GLIB_CHECK_VERSION(2, 31, 0)
g_thread_init(NULL); g_thread_init(NULL);
#endif #endif
#if !GTK_CHECK_VERSION(3, 6, 0)
gdk_threads_init(); gdk_threads_init();
#endif
gtk_init(&argc, &argv); gtk_init(&argc, &argv);
/* create zathura session */ /* create zathura session */
@ -46,7 +48,7 @@ main(int argc, char* argv[])
bool synctex = false; bool synctex = false;
int page_number = ZATHURA_PAGE_NUMBER_UNSPECIFIED; int page_number = ZATHURA_PAGE_NUMBER_UNSPECIFIED;
#if (GTK_MAJOR_VERSION == 3) #if GTK_CHECK_VERSION(3, 0, 0)
Window embed = 0; Window embed = 0;
#else #else
GdkNativeWindow embed = 0; GdkNativeWindow embed = 0;
@ -109,7 +111,7 @@ main(int argc, char* argv[])
zathura_set_argv(zathura, argv); zathura_set_argv(zathura, argv);
/* Init zathura */ /* Init zathura */
if(zathura_init(zathura) == false) { if (zathura_init(zathura) == false) {
girara_error("Could not initialize zathura."); girara_error("Could not initialize zathura.");
zathura_free(zathura); zathura_free(zathura);
return -1; return -1;
@ -148,9 +150,13 @@ main(int argc, char* argv[])
} }
/* run zathura */ /* run zathura */
#if !GTK_CHECK_VERSION(3, 6, 0)
gdk_threads_enter(); gdk_threads_enter();
#endif
gtk_main(); gtk_main();
#if !GTK_CHECK_VERSION(3, 6, 0)
gdk_threads_leave(); gdk_threads_leave();
#endif
/* free zathura */ /* free zathura */
zathura_free(zathura); zathura_free(zathura);

35
marks.c
View file

@ -23,7 +23,8 @@ struct zathura_mark_s {
int key; /**> Marks key */ int key; /**> Marks key */
double position_x; /**> Horizontal adjustment */ double position_x; /**> Horizontal adjustment */
double position_y; /**> Vertical adjustment */ double position_y; /**> Vertical adjustment */
float scale; /**> Zoom level */ unsigned int page; /**> Page number */
double scale; /**> Zoom level */
}; };
bool bool
@ -71,8 +72,10 @@ cb_marks_view_key_press_event_add(GtkWidget* UNUSED(widget), GdkEventKey* event,
G_CALLBACK(girara_callback_view_key_press_event), session); G_CALLBACK(girara_callback_view_key_press_event), session);
/* evaluate key */ /* evaluate key */
if (((event->keyval >= 0x41 && event->keyval <= 0x5A) || (event->keyval >= if (((event->keyval >= '0' && event->keyval <= '9') ||
0x61 && event->keyval <= 0x7A)) == false) { (event->keyval >= 'a' && event->keyval <= 'z') ||
(event->keyval >= 'A' && event->keyval <= 'Z')
) == false) {
return false; return false;
} }
@ -95,8 +98,10 @@ bool cb_marks_view_key_press_event_evaluate(GtkWidget* UNUSED(widget), GdkEventK
G_CALLBACK(girara_callback_view_key_press_event), session); G_CALLBACK(girara_callback_view_key_press_event), session);
/* evaluate key */ /* evaluate key */
if (((event->keyval >= 0x41 && event->keyval <= 0x5A) || (event->keyval >= if (((event->keyval >= '0' && event->keyval <= '9') ||
0x61 && event->keyval <= 0x7A)) == false) { (event->keyval >= 'a' && event->keyval <= 'z') ||
(event->keyval >= 'A' && event->keyval <= 'Z')
) == false) {
return true; return true;
} }
@ -192,21 +197,16 @@ mark_add(zathura_t* zathura, int key)
return; return;
} }
GtkScrolledWindow *window = GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view); unsigned int page_id = zathura_document_get_current_page_number(zathura->document);
GtkAdjustment* v_adjustment = gtk_scrolled_window_get_vadjustment(window); double position_x = zathura_document_get_position_x(zathura->document);
GtkAdjustment* h_adjustment = gtk_scrolled_window_get_hadjustment(window); double position_y = zathura_document_get_position_y(zathura->document);
if (v_adjustment == NULL || h_adjustment == NULL) { double scale = zathura_document_get_scale(zathura->document);
return;
}
double position_x = gtk_adjustment_get_value(h_adjustment);
double position_y = gtk_adjustment_get_value(v_adjustment);
float scale = zathura_document_get_scale(zathura->document);
/* search for existing mark */ /* search for existing mark */
GIRARA_LIST_FOREACH(zathura->global.marks, zathura_mark_t*, iter, mark) GIRARA_LIST_FOREACH(zathura->global.marks, zathura_mark_t*, iter, mark)
if (mark->key == key) { if (mark->key == key) {
mark->page = page_id;
mark->position_x = position_x; mark->position_x = position_x;
mark->position_y = position_y; mark->position_y = position_y;
mark->scale = scale; mark->scale = scale;
@ -218,6 +218,7 @@ mark_add(zathura_t* zathura, int key)
zathura_mark_t* mark = g_malloc0(sizeof(zathura_mark_t)); zathura_mark_t* mark = g_malloc0(sizeof(zathura_mark_t));
mark->key = key; mark->key = key;
mark->page = page_id;
mark->position_x = position_x; mark->position_x = position_x;
mark->position_y = position_y; mark->position_y = position_y;
mark->scale = scale; mark->scale = scale;
@ -239,12 +240,10 @@ mark_evaluate(zathura_t* zathura, int key)
render_all(zathura); render_all(zathura);
zathura_jumplist_add(zathura); zathura_jumplist_add(zathura);
page_set(zathura, mark->page);
position_set(zathura, mark->position_x, mark->position_y); position_set(zathura, mark->position_x, mark->position_y);
zathura_jumplist_add(zathura); zathura_jumplist_add(zathura);
cb_view_vadjustment_value_changed(NULL, zathura);
zathura->global.update_page_number = true;
return; return;
} }
GIRARA_LIST_FOREACH_END(zathura->global.marks, zathura_mark_t*, iter, mark); GIRARA_LIST_FOREACH_END(zathura->global.marks, zathura_mark_t*, iter, mark);

View file

@ -15,6 +15,7 @@
#include "utils.h" #include "utils.h"
#include "shortcuts.h" #include "shortcuts.h"
#include "synctex.h" #include "synctex.h"
#include "zathura.h"
G_DEFINE_TYPE(ZathuraPage, zathura_page_widget, GTK_TYPE_DRAWING_AREA) G_DEFINE_TYPE(ZathuraPage, zathura_page_widget, GTK_TYPE_DRAWING_AREA)
@ -22,9 +23,9 @@ typedef struct zathura_page_widget_private_s {
zathura_page_t* page; /**< Page object */ zathura_page_t* page; /**< Page object */
zathura_t* zathura; /**< Zathura object */ zathura_t* zathura; /**< Zathura object */
cairo_surface_t* surface; /**< Cairo surface */ cairo_surface_t* surface; /**< Cairo surface */
bool render_requested; /**< No surface and rendering has been requested */ ZathuraRenderRequest* render_request; /* Request object */
gint64 last_view; /**< Last time the page has been viewed */
mutex lock; /**< Lock */ mutex lock; /**< Lock */
bool cached; /**< Cached state */
struct { struct {
girara_list_t* list; /**< List of links on the page */ girara_list_t* list; /**< List of links on the page */
@ -56,7 +57,8 @@ typedef struct zathura_page_widget_private_s {
} zathura_page_widget_private_t; } zathura_page_widget_private_t;
#define ZATHURA_PAGE_GET_PRIVATE(obj) \ #define ZATHURA_PAGE_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE ((obj), ZATHURA_TYPE_PAGE, zathura_page_widget_private_t)) (G_TYPE_INSTANCE_GET_PRIVATE((obj), ZATHURA_TYPE_PAGE, \
zathura_page_widget_private_t))
static gboolean zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo); static gboolean zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo);
#if GTK_MAJOR_VERSION == 2 #if GTK_MAJOR_VERSION == 2
@ -75,6 +77,9 @@ static gboolean cb_zathura_page_widget_motion_notify(GtkWidget* widget, GdkEvent
static gboolean cb_zathura_page_widget_popup_menu(GtkWidget* widget); static gboolean cb_zathura_page_widget_popup_menu(GtkWidget* widget);
static void cb_menu_image_copy(GtkMenuItem* item, ZathuraPage* page); static void cb_menu_image_copy(GtkMenuItem* item, ZathuraPage* page);
static void cb_menu_image_save(GtkMenuItem* item, ZathuraPage* page); static void cb_menu_image_save(GtkMenuItem* item, ZathuraPage* page);
static void cb_update_surface(ZathuraRenderRequest* request, cairo_surface_t* surface, void* data);
static void cb_cache_added(ZathuraRenderRequest* request, void* data);
static void cb_cache_invalidated(ZathuraRenderRequest* request, void* data);
enum properties_e { enum properties_e {
PROP_0, PROP_0,
@ -90,6 +95,14 @@ enum properties_e {
PROP_LAST_VIEW, PROP_LAST_VIEW,
}; };
enum {
TEXT_SELECTED,
IMAGE_SELECTED,
LAST_SIGNAL
};
static guint signals[LAST_SIGNAL] = { 0 };
static void static void
zathura_page_widget_class_init(ZathuraPageClass* class) zathura_page_widget_class_init(ZathuraPageClass* class)
{ {
@ -98,10 +111,10 @@ zathura_page_widget_class_init(ZathuraPageClass* class)
/* overwrite methods */ /* overwrite methods */
GtkWidgetClass* widget_class = GTK_WIDGET_CLASS(class); GtkWidgetClass* widget_class = GTK_WIDGET_CLASS(class);
#if GTK_MAJOR_VERSION == 3 #if GTK_MAJOR_VERSION == 2
widget_class->draw = zathura_page_widget_draw;
#else
widget_class->expose_event = zathura_page_widget_expose; widget_class->expose_event = zathura_page_widget_expose;
#else
widget_class->draw = zathura_page_widget_draw;
#endif #endif
widget_class->size_allocate = zathura_page_widget_size_allocate; widget_class->size_allocate = zathura_page_widget_size_allocate;
widget_class->button_press_event = cb_zathura_page_widget_button_press_event; widget_class->button_press_event = cb_zathura_page_widget_button_press_event;
@ -133,8 +146,29 @@ zathura_page_widget_class_init(ZathuraPageClass* class)
g_param_spec_int("search-length", "search-length", "The number of search results", -1, INT_MAX, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); g_param_spec_int("search-length", "search-length", "The number of search results", -1, INT_MAX, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property(object_class, PROP_DRAW_SEARCH_RESULTS, g_object_class_install_property(object_class, PROP_DRAW_SEARCH_RESULTS,
g_param_spec_boolean("draw-search-results", "draw-search-results", "Set to true if search results should be drawn", FALSE, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS)); g_param_spec_boolean("draw-search-results", "draw-search-results", "Set to true if search results should be drawn", FALSE, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property(object_class, PROP_LAST_VIEW,
g_param_spec_int64("last-view", "last-view", "Last time the page has been viewed", -1, G_MAXINT64, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); /* add signals */
signals[TEXT_SELECTED] = g_signal_new("text-selected",
ZATHURA_TYPE_PAGE,
G_SIGNAL_RUN_LAST,
0,
NULL,
NULL,
g_cclosure_marshal_generic,
G_TYPE_NONE,
1,
G_TYPE_STRING);
signals[IMAGE_SELECTED] = g_signal_new("image-selected",
ZATHURA_TYPE_PAGE,
G_SIGNAL_RUN_LAST,
0,
NULL,
NULL,
g_cclosure_marshal_generic,
G_TYPE_NONE,
1,
G_TYPE_OBJECT);
} }
static void static void
@ -143,8 +177,8 @@ zathura_page_widget_init(ZathuraPage* widget)
zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget);
priv->page = NULL; priv->page = NULL;
priv->surface = NULL; priv->surface = NULL;
priv->render_requested = false; priv->render_request = NULL;
priv->last_view = g_get_real_time(); priv->cached = false;
priv->links.list = NULL; priv->links.list = NULL;
priv->links.retrieved = false; priv->links.retrieved = false;
@ -177,7 +211,22 @@ zathura_page_widget_new(zathura_t* zathura, zathura_page_t* page)
{ {
g_return_val_if_fail(page != NULL, NULL); g_return_val_if_fail(page != NULL, NULL);
return g_object_new(ZATHURA_TYPE_PAGE, "page", page, "zathura", zathura, NULL); GObject* ret = g_object_new(ZATHURA_TYPE_PAGE, "page", page, "zathura", zathura, NULL);
if (ret == NULL) {
return NULL;
}
ZathuraPage* widget = ZATHURA_PAGE(ret);
zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_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);
g_signal_connect_object(priv->render_request, "cache-added",
G_CALLBACK(cb_cache_added), widget, 0);
g_signal_connect_object(priv->render_request, "cache-invalidated",
G_CALLBACK(cb_cache_invalidated), widget, 0);
return GTK_WIDGET(ret);
} }
static void static void
@ -190,6 +239,10 @@ zathura_page_widget_finalize(GObject* object)
cairo_surface_destroy(priv->surface); cairo_surface_destroy(priv->surface);
} }
if (priv->render_request != NULL) {
g_object_unref(priv->render_request);
}
if (priv->search.list != NULL) { if (priv->search.list != NULL) {
girara_list_free(priv->search.list); girara_list_free(priv->search.list);
} }
@ -280,7 +333,7 @@ zathura_page_widget_set_property(GObject* object, guint prop_id, const GValue* v
*/ */
if (priv->search.list != NULL && zathura_page_get_visibility(priv->page)) { if (priv->search.list != NULL && zathura_page_get_visibility(priv->page)) {
gtk_widget_queue_draw(GTK_WIDGET(object)); gtk_widget_queue_draw(GTK_WIDGET(object));
} }
break; break;
default: default:
@ -307,9 +360,6 @@ zathura_page_widget_get_property(GObject* object, guint prop_id, GValue* value,
case PROP_SEARCH_RESULTS: case PROP_SEARCH_RESULTS:
g_value_set_pointer(value, priv->search.list); g_value_set_pointer(value, priv->search.list);
break; break;
case PROP_LAST_VIEW:
g_value_set_int64(value, priv->last_view);
break;
case PROP_DRAW_SEARCH_RESULTS: case PROP_DRAW_SEARCH_RESULTS:
g_value_set_boolean(value, priv->search.draw); g_value_set_boolean(value, priv->search.draw);
break; break;
@ -448,8 +498,9 @@ zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
} }
} else { } else {
/* set background color */ /* set background color */
if (priv->zathura->global.recolor == true) { if (zathura_renderer_recolor_enabled(priv->zathura->sync.render_thread) == true) {
GdkColor color = priv->zathura->ui.colors.recolor_light_color; GdkColor color;
zathura_renderer_get_recolor_colors(priv->zathura->sync.render_thread, &color, NULL);
cairo_set_source_rgb(cairo, color.red/65535.0, color.green/65535.0, color.blue/65535.0); cairo_set_source_rgb(cairo, color.red/65535.0, color.green/65535.0, color.blue/65535.0);
} else { } else {
GdkColor color = priv->zathura->ui.colors.render_loading_bg; GdkColor color = priv->zathura->ui.colors.render_loading_bg;
@ -463,8 +514,9 @@ zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
/* write text */ /* write text */
if (render_loading == true) { if (render_loading == true) {
if (priv->zathura->global.recolor == true) { if (zathura_renderer_recolor_enabled(priv->zathura->sync.render_thread) == true) {
GdkColor color = priv->zathura->ui.colors.recolor_dark_color; GdkColor color;
zathura_renderer_get_recolor_colors(priv->zathura->sync.render_thread, NULL, &color);
cairo_set_source_rgb(cairo, color.red/65535.0, color.green/65535.0, color.blue/65535.0); cairo_set_source_rgb(cairo, color.red/65535.0, color.green/65535.0, color.blue/65535.0);
} else { } else {
GdkColor color = priv->zathura->ui.colors.render_loading_fg; GdkColor color = priv->zathura->ui.colors.render_loading_fg;
@ -483,10 +535,7 @@ zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
} }
/* render real page */ /* render real page */
if (priv->render_requested == false) { zathura_render_request(priv->render_request, g_get_real_time());
priv->render_requested = true;
render_page(priv->zathura->sync.render_thread, priv->page);
}
} }
mutex_unlock(&(priv->lock)); mutex_unlock(&(priv->lock));
return FALSE; return FALSE;
@ -508,14 +557,9 @@ zathura_page_widget_update_surface(ZathuraPage* widget, cairo_surface_t* surface
cairo_surface_destroy(priv->surface); cairo_surface_destroy(priv->surface);
priv->surface = NULL; priv->surface = NULL;
} }
priv->render_requested = false;
if (surface != NULL) { if (surface != NULL) {
/* if we're not visible or not cached, we don't care about the surface */ priv->surface = surface;
if (zathura_page_get_visibility(priv->page) == true || cairo_surface_reference(surface);
zathura_page_cache_is_cached(priv->zathura, zathura_page_get_index(priv->page)) == true) {
priv->surface = surface;
cairo_surface_reference(surface);
}
} }
mutex_unlock(&(priv->lock)); mutex_unlock(&(priv->lock));
/* force a redraw here */ /* force a redraw here */
@ -524,6 +568,42 @@ zathura_page_widget_update_surface(ZathuraPage* widget, cairo_surface_t* surface
} }
} }
static void
cb_update_surface(ZathuraRenderRequest* UNUSED(request),
cairo_surface_t* surface, void* data)
{
ZathuraPage* widget = data;
g_return_if_fail(ZATHURA_IS_PAGE(widget));
zathura_page_widget_update_surface(widget, surface);
}
static void
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);
priv->cached = true;
}
static void
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);
if (zathura_page_widget_have_surface(widget) == true &&
priv->cached == true &&
zathura_page_get_visibility(priv->page) == false) {
/* The page was in the cache but got removed and is invisible, so get rid of
* the surface. */
zathura_page_widget_update_surface(widget, NULL);
}
priv->cached = false;
}
static void static void
zathura_page_widget_size_allocate(GtkWidget* widget, GdkRectangle* allocation) zathura_page_widget_size_allocate(GtkWidget* widget, GdkRectangle* allocation)
{ {
@ -540,10 +620,10 @@ redraw_rect(ZathuraPage* widget, zathura_rectangle_t* rectangle)
grect.y = rectangle->y1; grect.y = rectangle->y1;
grect.width = (rectangle->x2 + 1) - rectangle->x1; grect.width = (rectangle->x2 + 1) - rectangle->x1;
grect.height = (rectangle->y2 + 1) - rectangle->y1; grect.height = (rectangle->y2 + 1) - rectangle->y1;
#if (GTK_MAJOR_VERSION == 3) #if GTK_MAJOR_VERSION == 2
gtk_widget_queue_draw_area(GTK_WIDGET(widget), grect.x, grect.y, grect.width, grect.height);
#else
gdk_window_invalidate_rect(gtk_widget_get_window(GTK_WIDGET(widget)), &grect, TRUE); gdk_window_invalidate_rect(gtk_widget_get_window(GTK_WIDGET(widget)), &grect, TRUE);
#else
gtk_widget_queue_draw_area(GTK_WIDGET(widget), grect.x, grect.y, grect.width, grect.height);
#endif #endif
} }
@ -669,15 +749,8 @@ cb_zathura_page_widget_button_release_event(GtkWidget* widget, GdkEventButton* b
char* text = zathura_page_get_text(priv->page, tmp, NULL); char* text = zathura_page_get_text(priv->page, tmp, NULL);
if (text != NULL) { if (text != NULL) {
if (strlen(text) > 0) { if (strlen(text) > 0) {
/* copy to clipboard */ /* emit text-selected signal */
gtk_clipboard_set_text(gtk_clipboard_get(GDK_SELECTION_PRIMARY), text, -1); g_signal_emit(ZATHURA_PAGE(widget), signals[TEXT_SELECTED], 0, text);
if (priv->page != NULL && document != NULL && priv->zathura != NULL) {
char* stripped_text = g_strdelimit(g_strdup(text), "\n\t\r\n", ' ');
girara_notify(priv->zathura->ui.session, GIRARA_INFO, _("Copied selected text to clipboard: %s"), stripped_text);
g_free(stripped_text);
}
} }
g_free(text); g_free(text);
@ -736,10 +809,6 @@ zathura_page_widget_popup_menu(GtkWidget* widget, GdkEventButton* event)
g_return_if_fail(event != NULL); g_return_if_fail(event != NULL);
zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget);
#if GTK_MAJOR_VERSION == 3 // FIXME
return;
#endif
if (priv->images.retrieved == false) { if (priv->images.retrieved == false) {
priv->images.list = zathura_page_images_get(priv->page, NULL); priv->images.list = zathura_page_images_get(priv->page, NULL);
priv->images.retrieved = true; priv->images.retrieved = true;
@ -808,7 +877,6 @@ cb_zathura_page_widget_popup_menu(GtkWidget* widget)
static void static void
cb_menu_image_copy(GtkMenuItem* item, ZathuraPage* page) cb_menu_image_copy(GtkMenuItem* item, ZathuraPage* page)
{ {
#if GTK_MAJOR_VERSION == 2 // FIXME
g_return_if_fail(item != NULL); g_return_if_fail(item != NULL);
g_return_if_fail(page != NULL); g_return_if_fail(page != NULL);
zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(page); zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(page);
@ -819,9 +887,10 @@ cb_menu_image_copy(GtkMenuItem* item, ZathuraPage* page)
return; return;
} }
int width = cairo_image_surface_get_width(surface); const int width = cairo_image_surface_get_width(surface);
int height = cairo_image_surface_get_height(surface); const int height = cairo_image_surface_get_height(surface);
#if GTK_MAJOR_VERSION == 2
GdkPixmap* pixmap = gdk_pixmap_new(gtk_widget_get_window(GTK_WIDGET(item)), width, height, -1); GdkPixmap* pixmap = gdk_pixmap_new(gtk_widget_get_window(GTK_WIDGET(item)), width, height, -1);
cairo_t* cairo = gdk_cairo_create(pixmap); cairo_t* cairo = gdk_cairo_create(pixmap);
@ -831,13 +900,15 @@ cb_menu_image_copy(GtkMenuItem* item, ZathuraPage* page)
GdkPixbuf* pixbuf = gdk_pixbuf_get_from_drawable(NULL, pixmap, NULL, 0, 0, 0, GdkPixbuf* pixbuf = gdk_pixbuf_get_from_drawable(NULL, pixmap, NULL, 0, 0, 0,
0, width, height); 0, width, height);
#else
gtk_clipboard_set_image(gtk_clipboard_get(GDK_SELECTION_CLIPBOARD), pixbuf); GdkPixbuf* pixbuf = gdk_pixbuf_get_from_surface(surface, 0, 0, width, height);
gtk_clipboard_set_image(gtk_clipboard_get(GDK_SELECTION_PRIMARY), pixbuf); #endif
g_signal_emit(page, signals[IMAGE_SELECTED], 0, pixbuf);
g_object_unref(pixbuf);
cairo_surface_destroy(surface);
/* reset */ /* reset */
priv->images.current = NULL; priv->images.current = NULL;
#endif
} }
static void static void
@ -854,11 +925,11 @@ cb_menu_image_save(GtkMenuItem* item, ZathuraPage* page)
unsigned int image_id = 1; unsigned int image_id = 1;
GIRARA_LIST_FOREACH(priv->images.list, zathura_image_t*, iter, image_it) GIRARA_LIST_FOREACH(priv->images.list, zathura_image_t*, iter, image_it)
if (image_it == priv->images.current) { if (image_it == priv->images.current) {
break; break;
} }
image_id++; image_id++;
GIRARA_LIST_FOREACH_END(priv->images.list, zathura_image_t*, iter, image_it); GIRARA_LIST_FOREACH_END(priv->images.list, zathura_image_t*, iter, image_it);
/* set command */ /* set command */
@ -874,19 +945,36 @@ cb_menu_image_save(GtkMenuItem* item, ZathuraPage* page)
void void
zathura_page_widget_update_view_time(ZathuraPage* widget) zathura_page_widget_update_view_time(ZathuraPage* widget)
{ {
g_return_if_fail(ZATHURA_IS_PAGE(widget) == TRUE); g_return_if_fail(ZATHURA_IS_PAGE(widget));
zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget);
if (zathura_page_get_visibility(priv->page) == true) { if (zathura_page_get_visibility(priv->page) == true) {
priv->last_view = g_get_real_time(); zathura_render_request_update_view_time(priv->render_request);
} }
} }
bool bool
zathura_page_widget_have_surface(ZathuraPage* widget) zathura_page_widget_have_surface(ZathuraPage* widget)
{ {
g_return_val_if_fail(ZATHURA_IS_PAGE(widget) == TRUE, false); g_return_val_if_fail(ZATHURA_IS_PAGE(widget), false);
zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget); zathura_page_widget_private_t* priv = ZATHURA_PAGE_GET_PRIVATE(widget);
return priv->surface != NULL; return priv->surface != NULL;
} }
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);
zathura_render_request_abort(priv->render_request);
/* Make sure that if we are not cached and invisible, that there is no
* surface.
*
* TODO: Maybe this should be moved somewhere else. */
if (zathura_page_widget_have_surface(widget) == true &&
priv->cached == false) {
zathura_page_widget_update_surface(widget, NULL);
}
}

View file

@ -4,6 +4,7 @@
#define PAGE_WIDGET_H #define PAGE_WIDGET_H
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "types.h"
#include "document.h" #include "document.h"
/** /**
@ -14,9 +15,6 @@
* Before the properties contain the correct values, 'draw-links' has to be set * Before the properties contain the correct values, 'draw-links' has to be set
* to TRUE at least one time. * to TRUE at least one time.
* */ * */
typedef struct zathura_page_widget_s ZathuraPage;
typedef struct zathura_page_widget_class_s ZathuraPageClass;
struct zathura_page_widget_s struct zathura_page_widget_s
{ {
GtkDrawingArea parent; GtkDrawingArea parent;
@ -96,4 +94,11 @@ void zathura_page_widget_update_view_time(ZathuraPage* widget);
*/ */
bool zathura_page_widget_have_surface(ZathuraPage* widget); bool zathura_page_widget_have_surface(ZathuraPage* widget);
/**
* Abort outstanding render requests
*
* @param widget the widget
*/
void zathura_page_widget_abort_render_request(ZathuraPage* widget);
#endif #endif

256
po/ca.po
View file

@ -9,8 +9,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2013-08-15 00:28+0200\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n"
"PO-Revision-Date: 2013-08-15 00:33+0200\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Catalan (http://www.transifex.com/projects/p/zathura/language/" "Language-Team: Catalan (http://www.transifex.com/projects/p/zathura/language/"
"ca/)\n" "ca/)\n"
@ -20,24 +20,29 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../callbacks.c:314 #: ../callbacks.c:297
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Entrada invàlida '%s'." msgstr "Entrada invàlida '%s'."
#: ../callbacks.c:350 #: ../callbacks.c:333
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Índex invàlid '%s'." msgstr "Índex invàlid '%s'."
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:158 #: ../callbacks.c:546
#: ../commands.c:274 ../commands.c:304 ../commands.c:330 ../commands.c:425 #, c-format
#: ../commands.c:546 ../shortcuts.c:485 ../shortcuts.c:1251 msgid "Copied selected text to clipboard: %s"
#: ../shortcuts.c:1280 msgstr "Copiat el text seleccionat al porta-retalls: %s"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:152
#: ../commands.c:268 ../commands.c:298 ../commands.c:324 ../commands.c:419
#: ../commands.c:540 ../shortcuts.c:403 ../shortcuts.c:1163
#: ../shortcuts.c:1192
msgid "No document opened." msgid "No document opened."
msgstr "No s'ha obert cap document." msgstr "No s'ha obert cap document."
#: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:430 #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424
msgid "Invalid number of arguments given." msgid "Invalid number of arguments given."
msgstr "Nombre d'arguments invàlids." msgstr "Nombre d'arguments invàlids."
@ -76,61 +81,93 @@ msgstr "No s'ha pogut esborrar el marcador: %s"
msgid "No such bookmark: %s" msgid "No such bookmark: %s"
msgstr "Marcador no existent: %s" msgstr "Marcador no existent: %s"
#: ../commands.c:180 ../commands.c:202 #: ../commands.c:162
msgid "Title"
msgstr ""
#: ../commands.c:163
msgid "Author"
msgstr ""
#: ../commands.c:164
msgid "Subject"
msgstr ""
#: ../commands.c:165
msgid "Keywords"
msgstr ""
#: ../commands.c:166
msgid "Creator"
msgstr ""
#: ../commands.c:167
msgid "Producer"
msgstr ""
#: ../commands.c:168
msgid "Creation date"
msgstr ""
#: ../commands.c:169
msgid "Modification date"
msgstr ""
#: ../commands.c:174 ../commands.c:196
msgid "No information available." msgid "No information available."
msgstr "Cap informació disponible." msgstr "Cap informació disponible."
#: ../commands.c:240 #: ../commands.c:234
msgid "Too many arguments." msgid "Too many arguments."
msgstr "Massa arguments." msgstr "Massa arguments."
#: ../commands.c:251 #: ../commands.c:245
msgid "No arguments given." msgid "No arguments given."
msgstr "Cap argument subministrat." msgstr "Cap argument subministrat."
#: ../commands.c:310 ../commands.c:336 #: ../commands.c:304 ../commands.c:330
msgid "Document saved." msgid "Document saved."
msgstr "Document desat." msgstr "Document desat."
#: ../commands.c:312 ../commands.c:338 #: ../commands.c:306 ../commands.c:332
msgid "Failed to save document." msgid "Failed to save document."
msgstr "No s'ha pogut desar el document." msgstr "No s'ha pogut desar el document."
#: ../commands.c:315 ../commands.c:341 #: ../commands.c:309 ../commands.c:335
msgid "Invalid number of arguments." msgid "Invalid number of arguments."
msgstr "Nombre d'arguments invàlids." msgstr "Nombre d'arguments invàlids."
#: ../commands.c:449 #: ../commands.c:443
#, c-format #, c-format
msgid "Couldn't write attachment '%s' to '%s'." msgid "Couldn't write attachment '%s' to '%s'."
msgstr "No s'ha pogut escriure el fitxer adjunt '%s' a '%s'." msgstr "No s'ha pogut escriure el fitxer adjunt '%s' a '%s'."
#: ../commands.c:451 #: ../commands.c:445
#, c-format #, c-format
msgid "Wrote attachment '%s' to '%s'." msgid "Wrote attachment '%s' to '%s'."
msgstr "S'ha escrit el fitxer adjunt '%s' a '%s'." msgstr "S'ha escrit el fitxer adjunt '%s' a '%s'."
#: ../commands.c:495 #: ../commands.c:489
#, c-format #, c-format
msgid "Wrote image '%s' to '%s'." msgid "Wrote image '%s' to '%s'."
msgstr "S'ha escrit la imatge '%s' a '%s'." msgstr "S'ha escrit la imatge '%s' a '%s'."
#: ../commands.c:497 #: ../commands.c:491
#, c-format #, c-format
msgid "Couldn't write image '%s' to '%s'." msgid "Couldn't write image '%s' to '%s'."
msgstr "No s'ha pogut escriure la imatge '%s' a '%s'." msgstr "No s'ha pogut escriure la imatge '%s' a '%s'."
#: ../commands.c:504 #: ../commands.c:498
#, c-format #, c-format
msgid "Unknown image '%s'." msgid "Unknown image '%s'."
msgstr "Imatge desconeguda '%s'." msgstr "Imatge desconeguda '%s'."
#: ../commands.c:508 #: ../commands.c:502
#, c-format #, c-format
msgid "Unknown attachment or image '%s'." msgid "Unknown attachment or image '%s'."
msgstr "Imatge o fitxer adjunt desconegut '%s'." msgstr "Imatge o fitxer adjunt desconegut '%s'."
#: ../commands.c:559 #: ../commands.c:553
msgid "Argument must be a number." msgid "Argument must be a number."
msgstr "L'argument ha de ser un nombre." msgstr "L'argument ha de ser un nombre."
@ -149,326 +186,333 @@ msgid "Images"
msgstr "Imatges" msgstr "Imatges"
#. zathura settings #. zathura settings
#: ../config.c:147 #: ../config.c:131
msgid "Database backend" msgid "Database backend"
msgstr "Base de dades de rerefons" msgstr "Base de dades de rerefons"
#: ../config.c:149 #: ../config.c:133
msgid "Zoom step" msgid "Zoom step"
msgstr "Pas d'ampliació" msgstr "Pas d'ampliació"
#: ../config.c:151 #: ../config.c:135
msgid "Padding between pages" msgid "Padding between pages"
msgstr "Separació entre pàgines" msgstr "Separació entre pàgines"
#: ../config.c:153 #: ../config.c:137
msgid "Number of pages per row" msgid "Number of pages per row"
msgstr "Nombre de pàgines per fila" msgstr "Nombre de pàgines per fila"
#: ../config.c:155 #: ../config.c:139
msgid "Column of the first page" msgid "Column of the first page"
msgstr "Columna de la primera pàgina" msgstr "Columna de la primera pàgina"
#: ../config.c:157 #: ../config.c:141
msgid "Scroll step" msgid "Scroll step"
msgstr "Pas de desplaçament" msgstr "Pas de desplaçament"
#: ../config.c:159 #: ../config.c:143
msgid "Horizontal scroll step" msgid "Horizontal scroll step"
msgstr "Pas de desplaçament horitzontal" msgstr "Pas de desplaçament horitzontal"
#: ../config.c:161 #: ../config.c:145
msgid "Full page scroll overlap" msgid "Full page scroll overlap"
msgstr "Superposició de pàgines completes de desplaçament" msgstr "Superposició de pàgines completes de desplaçament"
#: ../config.c:163 #: ../config.c:147
msgid "Zoom minimum" msgid "Zoom minimum"
msgstr "Zoom mínim" msgstr "Zoom mínim"
#: ../config.c:165 #: ../config.c:149
msgid "Zoom maximum" msgid "Zoom maximum"
msgstr "Zoom màxim" msgstr "Zoom màxim"
#: ../config.c:167 #: ../config.c:151
msgid "Maximum number of pages to keep in the cache" msgid "Maximum number of pages to keep in the cache"
msgstr "" msgstr ""
#: ../config.c:169 #: ../config.c:153
msgid "Number of positions to remember in the jumplist" msgid "Number of positions to remember in the jumplist"
msgstr "Nombre de posicions per recordar al jumplist" msgstr "Nombre de posicions per recordar al jumplist"
#: ../config.c:171 #: ../config.c:155
msgid "Recoloring (dark color)" msgid "Recoloring (dark color)"
msgstr "Recolorejant (color fosc)" msgstr "Recolorejant (color fosc)"
#: ../config.c:173 #: ../config.c:156
msgid "Recoloring (light color)" msgid "Recoloring (light color)"
msgstr "Recolorejant (color clar)" msgstr "Recolorejant (color clar)"
#: ../config.c:175 #: ../config.c:157
msgid "Color for highlighting" msgid "Color for highlighting"
msgstr "Color de realçament" msgstr "Color de realçament"
#: ../config.c:177 #: ../config.c:159
msgid "Color for highlighting (active)" msgid "Color for highlighting (active)"
msgstr "Color de realçament (activat)" msgstr "Color de realçament (activat)"
#: ../config.c:179 #: ../config.c:161
msgid "'Loading ...' background color" msgid "'Loading ...' background color"
msgstr "" msgstr ""
#: ../config.c:181 #: ../config.c:163
msgid "'Loading ...' foreground color" msgid "'Loading ...' foreground color"
msgstr "" msgstr ""
#: ../config.c:185 #: ../config.c:167
msgid "Recolor pages" msgid "Recolor pages"
msgstr "Recolorejant les pàgines" msgstr "Recolorejant les pàgines"
#: ../config.c:187 #: ../config.c:169
msgid "When recoloring keep original hue and adjust lightness only" msgid "When recoloring keep original hue and adjust lightness only"
msgstr "Quan recoloregis manté el to original i ajusta només la lluminositat" msgstr "Quan recoloregis manté el to original i ajusta només la lluminositat"
#: ../config.c:189 #: ../config.c:171
msgid "Wrap scrolling" msgid "Wrap scrolling"
msgstr "Desplaçament recollit" msgstr "Desplaçament recollit"
#: ../config.c:191 #: ../config.c:173
msgid "Page aware scrolling" msgid "Page aware scrolling"
msgstr "Desplaçament recollit" msgstr "Desplaçament recollit"
#: ../config.c:193 #: ../config.c:175
msgid "Advance number of pages per row" msgid "Advance number of pages per row"
msgstr "Avançar nombre de pàgines per fila" msgstr "Avançar nombre de pàgines per fila"
#: ../config.c:195 #: ../config.c:177
msgid "Horizontally centered zoom" msgid "Horizontally centered zoom"
msgstr "Zoom centrat horitzontalment" msgstr "Zoom centrat horitzontalment"
#: ../config.c:197 #: ../config.c:179
msgid "Align link target to the left" msgid "Align link target to the left"
msgstr "" msgstr ""
#: ../config.c:199 #: ../config.c:181
msgid "Let zoom be changed when following links"
msgstr ""
#: ../config.c:183
msgid "Center result horizontally" msgid "Center result horizontally"
msgstr "Centra el resultat horitzontalment" msgstr "Centra el resultat horitzontalment"
#: ../config.c:201 #: ../config.c:185
msgid "Transparency for highlighting" msgid "Transparency for highlighting"
msgstr "Transparència del realçat" msgstr "Transparència del realçat"
#: ../config.c:203 #: ../config.c:187
msgid "Render 'Loading ...'" msgid "Render 'Loading ...'"
msgstr "Renderitza 'Carregant ...'" msgstr "Renderitza 'Carregant ...'"
#: ../config.c:204 #: ../config.c:188
msgid "Adjust to when opening file" msgid "Adjust to when opening file"
msgstr "Ajustar al fitxer quan s'obri" msgstr "Ajustar al fitxer quan s'obri"
#: ../config.c:206 #: ../config.c:190
msgid "Show hidden files and directories" msgid "Show hidden files and directories"
msgstr "Mostra els directoris i fitxers ocults" msgstr "Mostra els directoris i fitxers ocults"
#: ../config.c:208 #: ../config.c:192
msgid "Show directories" msgid "Show directories"
msgstr "Mostra els directoris" msgstr "Mostra els directoris"
#: ../config.c:210 #: ../config.c:194
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Obrir sempre la primera pàgina" msgstr "Obrir sempre la primera pàgina"
#: ../config.c:212 #: ../config.c:196
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Realça els resultats de recerca" msgstr "Realça els resultats de recerca"
#: ../config.c:214 #: ../config.c:198
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "Habilita la cerca incremental" msgstr "Habilita la cerca incremental"
#: ../config.c:216 #: ../config.c:200
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Esborra els resultats de recerca a l'interrompre" msgstr "Esborra els resultats de recerca a l'interrompre"
#: ../config.c:218 #: ../config.c:202
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "Utilitza el nom base del fitxer en el títol de la finestra" msgstr "Utilitza el nom base del fitxer en el títol de la finestra"
#: ../config.c:220 #: ../config.c:204
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../config.c:222 #: ../config.c:206
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../config.c:224 ../main.c:65 #: ../config.c:208 ../main.c:67
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "Habilitar la compatibilitat amb synctex" msgstr "Habilitar la compatibilitat amb synctex"
#: ../config.c:210
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../config.c:383 #: ../config.c:369
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Afegir un marcador" msgstr "Afegir un marcador"
#: ../config.c:384 #: ../config.c:370
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Esborrar un marcador" msgstr "Esborrar un marcador"
#: ../config.c:385 #: ../config.c:371
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Llista tots els marcadors" msgstr "Llista tots els marcadors"
#: ../config.c:386 #: ../config.c:372
msgid "Close current file" msgid "Close current file"
msgstr "Tancar el fitxer actual" msgstr "Tancar el fitxer actual"
#: ../config.c:387 #: ../config.c:373
msgid "Show file information" msgid "Show file information"
msgstr "Mostra informació sobre el fitxer" msgstr "Mostra informació sobre el fitxer"
#: ../config.c:388 #: ../config.c:374
msgid "Execute a command" msgid "Execute a command"
msgstr "Executar una comanda" msgstr "Executar una comanda"
#: ../config.c:389 #: ../config.c:375
msgid "Show help" msgid "Show help"
msgstr "Mostrar l'ajuda" msgstr "Mostrar l'ajuda"
#: ../config.c:390 #: ../config.c:376
msgid "Open document" msgid "Open document"
msgstr "Obrir document" msgstr "Obrir document"
#: ../config.c:391 #: ../config.c:377
msgid "Close zathura" msgid "Close zathura"
msgstr "Tancar Zathura" msgstr "Tancar Zathura"
#: ../config.c:392 #: ../config.c:378
msgid "Print document" msgid "Print document"
msgstr "Imprimir document" msgstr "Imprimir document"
#: ../config.c:393 #: ../config.c:379
msgid "Save document" msgid "Save document"
msgstr "Desar document" msgstr "Desar document"
#: ../config.c:394 #: ../config.c:380
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Desar document (i forçar la sobreescritura)" msgstr "Desar document (i forçar la sobreescritura)"
#: ../config.c:395 #: ../config.c:381
msgid "Save attachments" msgid "Save attachments"
msgstr "Desa els fitxers adjunts" msgstr "Desa els fitxers adjunts"
#: ../config.c:396 #: ../config.c:382
msgid "Set page offset" msgid "Set page offset"
msgstr "Assigna el desplaçament de pàgina" msgstr "Assigna el desplaçament de pàgina"
#: ../config.c:397 #: ../config.c:383
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Marca la posició actual dins el document" msgstr "Marca la posició actual dins el document"
#: ../config.c:398 #: ../config.c:384
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Esborrar les marques especificades" msgstr "Esborrar les marques especificades"
#: ../config.c:399 #: ../config.c:385
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "No realcis els resultats de la recerca actual" msgstr "No realcis els resultats de la recerca actual"
#: ../config.c:400 #: ../config.c:386
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Realça els resultats de recerca actual" msgstr "Realça els resultats de recerca actual"
#: ../config.c:401 #: ../config.c:387
msgid "Show version information" msgid "Show version information"
msgstr "Mostra informació sobre la versió" msgstr "Mostra informació sobre la versió"
#: ../links.c:175 ../links.c:254 #: ../links.c:199 ../links.c:278
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "No s'ha pogut executar xdg-open." msgstr "No s'ha pogut executar xdg-open."
#: ../links.c:193 #: ../links.c:217
#, c-format #, c-format
msgid "Link: page %d" msgid "Link: page %d"
msgstr "Enllaçar: pàgina %d" msgstr "Enllaçar: pàgina %d"
#: ../links.c:200 #: ../links.c:224
#, c-format #, c-format
msgid "Link: %s" msgid "Link: %s"
msgstr "Enllaç: %s" msgstr "Enllaç: %s"
#: ../links.c:204 #: ../links.c:228
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Enllaç: Invàlid" msgstr "Enllaç: Invàlid"
#: ../main.c:56 #: ../main.c:58
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid"
msgstr "Reassigna a la finestra especificada per xid" msgstr "Reassigna a la finestra especificada per xid"
#: ../main.c:57 #: ../main.c:59
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Ruta al directori de configuració" msgstr "Ruta al directori de configuració"
#: ../main.c:58 #: ../main.c:60
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Camí al directori de dades" msgstr "Camí al directori de dades"
#: ../main.c:59 #: ../main.c:61
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Camí al directori que conté els plugins" msgstr "Camí al directori que conté els plugins"
#: ../main.c:60 #: ../main.c:62
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Bifurca en segon pla" msgstr "Bifurca en segon pla"
#: ../main.c:61 #: ../main.c:63
msgid "Document password" msgid "Document password"
msgstr "Contrasenya del document" msgstr "Contrasenya del document"
#: ../main.c:62 #: ../main.c:64
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../main.c:63 #: ../main.c:65
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Nivell de registre (depuració, informació, advertiments, errors)" msgstr "Nivell de registre (depuració, informació, advertiments, errors)"
#: ../main.c:64 #: ../main.c:66
msgid "Print version information" msgid "Print version information"
msgstr "Imprimeix informació sobre la versió" msgstr "Imprimeix informació sobre la versió"
#: ../main.c:66 #: ../main.c:68
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor synctex (reenviat a l'ordre synctex)" msgstr "Editor synctex (reenviat a l'ordre synctex)"
#: ../page-widget.c:474 #: ../page-widget.c:526
msgid "Loading..." msgid "Loading..."
msgstr "Carregant..." msgstr "Carregant..."
#: ../page-widget.c:678 #: ../page-widget.c:845
#, c-format
msgid "Copied selected text to clipboard: %s"
msgstr "Copiat el text seleccionat al porta-retalls: %s"
#: ../page-widget.c:776
msgid "Copy image" msgid "Copy image"
msgstr "Copia la imatge" msgstr "Copia la imatge"
#: ../page-widget.c:777 #: ../page-widget.c:846
msgid "Save image as" msgid "Save image as"
msgstr "Desa imatge com a" msgstr "Desa imatge com a"
#: ../shortcuts.c:1154 #: ../shortcuts.c:1076
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Aquest document no conté cap índex" msgstr "Aquest document no conté cap índex"
#: ../zathura.c:227 ../zathura.c:975 #: ../zathura.c:213 ../zathura.c:959
msgid "[No name]" msgid "[No name]"
msgstr "[Sense nom]" msgstr "[Sense nom]"
#: ../zathura.c:584 #: ../zathura.c:486
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
#: ../zathura.c:535
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura.c:594 #: ../zathura.c:545
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

256
po/cs.po
View file

@ -5,8 +5,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2013-08-15 00:28+0200\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n"
"PO-Revision-Date: 2013-08-15 00:33+0200\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n"
"Last-Translator: Martin Pelikan <pelikan@storkhole.cz>\n" "Last-Translator: Martin Pelikan <pelikan@storkhole.cz>\n"
"Language-Team: pwmt.org <mail@pwmt.org>\n" "Language-Team: pwmt.org <mail@pwmt.org>\n"
"Language: cs\n" "Language: cs\n"
@ -14,24 +14,29 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: ../callbacks.c:314 #: ../callbacks.c:297
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Neplatný vstup: %s" msgstr "Neplatný vstup: %s"
#: ../callbacks.c:350 #: ../callbacks.c:333
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Neplatný index: %s" msgstr "Neplatný index: %s"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:158 #: ../callbacks.c:546
#: ../commands.c:274 ../commands.c:304 ../commands.c:330 ../commands.c:425 #, c-format
#: ../commands.c:546 ../shortcuts.c:485 ../shortcuts.c:1251 msgid "Copied selected text to clipboard: %s"
#: ../shortcuts.c:1280 msgstr "Vybraný text zkopírován do schránky: %s"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:152
#: ../commands.c:268 ../commands.c:298 ../commands.c:324 ../commands.c:419
#: ../commands.c:540 ../shortcuts.c:403 ../shortcuts.c:1163
#: ../shortcuts.c:1192
msgid "No document opened." msgid "No document opened."
msgstr "Není otevřený žádný dokument." msgstr "Není otevřený žádný dokument."
#: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:430 #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424
msgid "Invalid number of arguments given." msgid "Invalid number of arguments given."
msgstr "Špatný počet argumentů." msgstr "Špatný počet argumentů."
@ -70,61 +75,93 @@ msgstr "Nemůžu smazat záložku: %s"
msgid "No such bookmark: %s" msgid "No such bookmark: %s"
msgstr "Záložka neexistuje: %s" msgstr "Záložka neexistuje: %s"
#: ../commands.c:180 ../commands.c:202 #: ../commands.c:162
msgid "Title"
msgstr ""
#: ../commands.c:163
msgid "Author"
msgstr ""
#: ../commands.c:164
msgid "Subject"
msgstr ""
#: ../commands.c:165
msgid "Keywords"
msgstr ""
#: ../commands.c:166
msgid "Creator"
msgstr ""
#: ../commands.c:167
msgid "Producer"
msgstr ""
#: ../commands.c:168
msgid "Creation date"
msgstr ""
#: ../commands.c:169
msgid "Modification date"
msgstr ""
#: ../commands.c:174 ../commands.c:196
msgid "No information available." msgid "No information available."
msgstr "Nejsou dostupné žádné informace." msgstr "Nejsou dostupné žádné informace."
#: ../commands.c:240 #: ../commands.c:234
msgid "Too many arguments." msgid "Too many arguments."
msgstr "Příliš mnoho argumentů." msgstr "Příliš mnoho argumentů."
#: ../commands.c:251 #: ../commands.c:245
msgid "No arguments given." msgid "No arguments given."
msgstr "Nezadali jste argumenty." msgstr "Nezadali jste argumenty."
#: ../commands.c:310 ../commands.c:336 #: ../commands.c:304 ../commands.c:330
msgid "Document saved." msgid "Document saved."
msgstr "Dokument uložen." msgstr "Dokument uložen."
#: ../commands.c:312 ../commands.c:338 #: ../commands.c:306 ../commands.c:332
msgid "Failed to save document." msgid "Failed to save document."
msgstr "Nepovedlo se uložit dokument." msgstr "Nepovedlo se uložit dokument."
#: ../commands.c:315 ../commands.c:341 #: ../commands.c:309 ../commands.c:335
msgid "Invalid number of arguments." msgid "Invalid number of arguments."
msgstr "Špatný počet argumentů." msgstr "Špatný počet argumentů."
#: ../commands.c:449 #: ../commands.c:443
#, c-format #, c-format
msgid "Couldn't write attachment '%s' to '%s'." msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Nepovedlo se zapsat přílohu '%s' do '%s'." msgstr "Nepovedlo se zapsat přílohu '%s' do '%s'."
#: ../commands.c:451 #: ../commands.c:445
#, c-format #, c-format
msgid "Wrote attachment '%s' to '%s'." msgid "Wrote attachment '%s' to '%s'."
msgstr "Příloha '%s' zapsána do '%s'." msgstr "Příloha '%s' zapsána do '%s'."
#: ../commands.c:495 #: ../commands.c:489
#, c-format #, c-format
msgid "Wrote image '%s' to '%s'." msgid "Wrote image '%s' to '%s'."
msgstr "Obrázek '%s' zapsán do '%s'." msgstr "Obrázek '%s' zapsán do '%s'."
#: ../commands.c:497 #: ../commands.c:491
#, c-format #, c-format
msgid "Couldn't write image '%s' to '%s'." msgid "Couldn't write image '%s' to '%s'."
msgstr "Nepovedlo se zapsat obrázek '%s' do '%s'." msgstr "Nepovedlo se zapsat obrázek '%s' do '%s'."
#: ../commands.c:504 #: ../commands.c:498
#, c-format #, c-format
msgid "Unknown image '%s'." msgid "Unknown image '%s'."
msgstr "Neznámý obrázek '%s'." msgstr "Neznámý obrázek '%s'."
#: ../commands.c:508 #: ../commands.c:502
#, c-format #, c-format
msgid "Unknown attachment or image '%s'." msgid "Unknown attachment or image '%s'."
msgstr "Neznámá příloha nebo obrázek '%s'." msgstr "Neznámá příloha nebo obrázek '%s'."
#: ../commands.c:559 #: ../commands.c:553
msgid "Argument must be a number." msgid "Argument must be a number."
msgstr "Argumentem musí být číslo." msgstr "Argumentem musí být číslo."
@ -143,326 +180,333 @@ msgid "Images"
msgstr "Obrázky" msgstr "Obrázky"
#. zathura settings #. zathura settings
#: ../config.c:147 #: ../config.c:131
msgid "Database backend" msgid "Database backend"
msgstr "Databázový backend" msgstr "Databázový backend"
#: ../config.c:149 #: ../config.c:133
msgid "Zoom step" msgid "Zoom step"
msgstr "Zoom step" msgstr "Zoom step"
#: ../config.c:151 #: ../config.c:135
msgid "Padding between pages" msgid "Padding between pages"
msgstr "Mezery mezi stránkami" msgstr "Mezery mezi stránkami"
#: ../config.c:153 #: ../config.c:137
msgid "Number of pages per row" msgid "Number of pages per row"
msgstr "Počet stránek na řádek" msgstr "Počet stránek na řádek"
#: ../config.c:155 #: ../config.c:139
msgid "Column of the first page" msgid "Column of the first page"
msgstr "" msgstr ""
#: ../config.c:157 #: ../config.c:141
msgid "Scroll step" msgid "Scroll step"
msgstr "Scroll step" msgstr "Scroll step"
#: ../config.c:159 #: ../config.c:143
msgid "Horizontal scroll step" msgid "Horizontal scroll step"
msgstr "" msgstr ""
#: ../config.c:161 #: ../config.c:145
msgid "Full page scroll overlap" msgid "Full page scroll overlap"
msgstr "" msgstr ""
#: ../config.c:163 #: ../config.c:147
msgid "Zoom minimum" msgid "Zoom minimum"
msgstr "Oddálit" msgstr "Oddálit"
#: ../config.c:165 #: ../config.c:149
msgid "Zoom maximum" msgid "Zoom maximum"
msgstr "Přiblížit" msgstr "Přiblížit"
#: ../config.c:167 #: ../config.c:151
msgid "Maximum number of pages to keep in the cache" msgid "Maximum number of pages to keep in the cache"
msgstr "" msgstr ""
#: ../config.c:169 #: ../config.c:153
msgid "Number of positions to remember in the jumplist" msgid "Number of positions to remember in the jumplist"
msgstr "" msgstr ""
#: ../config.c:171 #: ../config.c:155
msgid "Recoloring (dark color)" msgid "Recoloring (dark color)"
msgstr "Přebarvuji do tmava" msgstr "Přebarvuji do tmava"
#: ../config.c:173 #: ../config.c:156
msgid "Recoloring (light color)" msgid "Recoloring (light color)"
msgstr "Přebarvuji do světla" msgstr "Přebarvuji do světla"
#: ../config.c:175 #: ../config.c:157
msgid "Color for highlighting" msgid "Color for highlighting"
msgstr "Barva zvýrazňovače" msgstr "Barva zvýrazňovače"
#: ../config.c:177 #: ../config.c:159
msgid "Color for highlighting (active)" msgid "Color for highlighting (active)"
msgstr "Barva zvýrazňovače (aktivní)" msgstr "Barva zvýrazňovače (aktivní)"
#: ../config.c:179 #: ../config.c:161
msgid "'Loading ...' background color" msgid "'Loading ...' background color"
msgstr "" msgstr ""
#: ../config.c:181 #: ../config.c:163
msgid "'Loading ...' foreground color" msgid "'Loading ...' foreground color"
msgstr "" msgstr ""
#: ../config.c:185 #: ../config.c:167
msgid "Recolor pages" msgid "Recolor pages"
msgstr "Přebarvit stránky" msgstr "Přebarvit stránky"
#: ../config.c:187 #: ../config.c:169
msgid "When recoloring keep original hue and adjust lightness only" msgid "When recoloring keep original hue and adjust lightness only"
msgstr "" msgstr ""
#: ../config.c:189 #: ../config.c:171
msgid "Wrap scrolling" msgid "Wrap scrolling"
msgstr "Scrollovat přes konce" msgstr "Scrollovat přes konce"
#: ../config.c:191 #: ../config.c:173
msgid "Page aware scrolling" msgid "Page aware scrolling"
msgstr "" msgstr ""
#: ../config.c:193 #: ../config.c:175
msgid "Advance number of pages per row" msgid "Advance number of pages per row"
msgstr "" msgstr ""
#: ../config.c:195 #: ../config.c:177
msgid "Horizontally centered zoom" msgid "Horizontally centered zoom"
msgstr "" msgstr ""
#: ../config.c:197 #: ../config.c:179
msgid "Align link target to the left" msgid "Align link target to the left"
msgstr "" msgstr ""
#: ../config.c:199 #: ../config.c:181
msgid "Let zoom be changed when following links"
msgstr ""
#: ../config.c:183
msgid "Center result horizontally" msgid "Center result horizontally"
msgstr "" msgstr ""
#: ../config.c:201 #: ../config.c:185
msgid "Transparency for highlighting" msgid "Transparency for highlighting"
msgstr "Průhlednost při zvýrazňování" msgstr "Průhlednost při zvýrazňování"
#: ../config.c:203 #: ../config.c:187
msgid "Render 'Loading ...'" msgid "Render 'Loading ...'"
msgstr "Vypisovat 'Načítám ...'" msgstr "Vypisovat 'Načítám ...'"
#: ../config.c:204 #: ../config.c:188
msgid "Adjust to when opening file" msgid "Adjust to when opening file"
msgstr "Přiblížení po otevření souboru" msgstr "Přiblížení po otevření souboru"
#: ../config.c:206 #: ../config.c:190
msgid "Show hidden files and directories" msgid "Show hidden files and directories"
msgstr "Zobrazovat skryté soubory" msgstr "Zobrazovat skryté soubory"
#: ../config.c:208 #: ../config.c:192
msgid "Show directories" msgid "Show directories"
msgstr "Zobrazovat adresáře" msgstr "Zobrazovat adresáře"
#: ../config.c:210 #: ../config.c:194
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Vždy otevírat na první straně" msgstr "Vždy otevírat na první straně"
#: ../config.c:212 #: ../config.c:196
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Zvýrazňovat výsledky hledání" msgstr "Zvýrazňovat výsledky hledání"
#: ../config.c:214 #: ../config.c:198
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../config.c:216 #: ../config.c:200
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Při abortu smazat výsledky hledání" msgstr "Při abortu smazat výsledky hledání"
#: ../config.c:218 #: ../config.c:202
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../config.c:220 #: ../config.c:204
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../config.c:222 #: ../config.c:206
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../config.c:224 ../main.c:65 #: ../config.c:208 ../main.c:67
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../config.c:210
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../config.c:383 #: ../config.c:369
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Přidat záložku" msgstr "Přidat záložku"
#: ../config.c:384 #: ../config.c:370
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Smazat záložku" msgstr "Smazat záložku"
#: ../config.c:385 #: ../config.c:371
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Vypsat záložky" msgstr "Vypsat záložky"
#: ../config.c:386 #: ../config.c:372
msgid "Close current file" msgid "Close current file"
msgstr "Zavřít tenhle soubor" msgstr "Zavřít tenhle soubor"
#: ../config.c:387 #: ../config.c:373
msgid "Show file information" msgid "Show file information"
msgstr "Zobrazit informace o souboru" msgstr "Zobrazit informace o souboru"
#: ../config.c:388 #: ../config.c:374
msgid "Execute a command" msgid "Execute a command"
msgstr "" msgstr ""
#: ../config.c:389 #: ../config.c:375
msgid "Show help" msgid "Show help"
msgstr "Zobrazit nápovědu" msgstr "Zobrazit nápovědu"
#: ../config.c:390 #: ../config.c:376
msgid "Open document" msgid "Open document"
msgstr "Otevřít dokument" msgstr "Otevřít dokument"
#: ../config.c:391 #: ../config.c:377
msgid "Close zathura" msgid "Close zathura"
msgstr "Zavřít zathuru" msgstr "Zavřít zathuru"
#: ../config.c:392 #: ../config.c:378
msgid "Print document" msgid "Print document"
msgstr "Tisknout dokument" msgstr "Tisknout dokument"
#: ../config.c:393 #: ../config.c:379
msgid "Save document" msgid "Save document"
msgstr "Uložit dokument" msgstr "Uložit dokument"
#: ../config.c:394 #: ../config.c:380
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Uložit a přepsat dokument" msgstr "Uložit a přepsat dokument"
#: ../config.c:395 #: ../config.c:381
msgid "Save attachments" msgid "Save attachments"
msgstr "Uložit přílohy" msgstr "Uložit přílohy"
#: ../config.c:396 #: ../config.c:382
msgid "Set page offset" msgid "Set page offset"
msgstr "" msgstr ""
#: ../config.c:397 #: ../config.c:383
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Označit současnou pozici v dokumentu" msgstr "Označit současnou pozici v dokumentu"
#: ../config.c:398 #: ../config.c:384
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Smazat vybrané značky" msgstr "Smazat vybrané značky"
#: ../config.c:399 #: ../config.c:385
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "Nezvýrazňovat výsledky tohoto hledání" msgstr "Nezvýrazňovat výsledky tohoto hledání"
#: ../config.c:400 #: ../config.c:386
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Zvýrazňovat výsledky tohoto hledání" msgstr "Zvýrazňovat výsledky tohoto hledání"
#: ../config.c:401 #: ../config.c:387
msgid "Show version information" msgid "Show version information"
msgstr "" msgstr ""
#: ../links.c:175 ../links.c:254 #: ../links.c:199 ../links.c:278
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Nepovedlo se spustit xdg-open." msgstr "Nepovedlo se spustit xdg-open."
#: ../links.c:193 #: ../links.c:217
#, c-format #, c-format
msgid "Link: page %d" msgid "Link: page %d"
msgstr "" msgstr ""
#: ../links.c:200 #: ../links.c:224
#, c-format #, c-format
msgid "Link: %s" msgid "Link: %s"
msgstr "" msgstr ""
#: ../links.c:204 #: ../links.c:228
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../main.c:56 #: ../main.c:58
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid"
msgstr "" msgstr ""
#: ../main.c:57 #: ../main.c:59
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Cesta k souboru s nastavením" msgstr "Cesta k souboru s nastavením"
#: ../main.c:58 #: ../main.c:60
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Cesta k adresáři s daty" msgstr "Cesta k adresáři s daty"
#: ../main.c:59 #: ../main.c:61
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Cesta k adresářům s pluginy" msgstr "Cesta k adresářům s pluginy"
#: ../main.c:60 #: ../main.c:62
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Forknout se na pozadí" msgstr "Forknout se na pozadí"
#: ../main.c:61 #: ../main.c:63
msgid "Document password" msgid "Document password"
msgstr "Heslo" msgstr "Heslo"
#: ../main.c:62 #: ../main.c:64
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../main.c:63 #: ../main.c:65
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Úroveň logování (debug, info, warning, error)" msgstr "Úroveň logování (debug, info, warning, error)"
#: ../main.c:64 #: ../main.c:66
msgid "Print version information" msgid "Print version information"
msgstr "Zobrazit informace o souboru" msgstr "Zobrazit informace o souboru"
#: ../main.c:66 #: ../main.c:68
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../page-widget.c:474 #: ../page-widget.c:526
msgid "Loading..." msgid "Loading..."
msgstr "Načítám ..." msgstr "Načítám ..."
#: ../page-widget.c:678 #: ../page-widget.c:845
#, c-format
msgid "Copied selected text to clipboard: %s"
msgstr "Vybraný text zkopírován do schránky: %s"
#: ../page-widget.c:776
msgid "Copy image" msgid "Copy image"
msgstr "Zkopíruj obrázek" msgstr "Zkopíruj obrázek"
#: ../page-widget.c:777 #: ../page-widget.c:846
msgid "Save image as" msgid "Save image as"
msgstr "Ulož obrázek jako" msgstr "Ulož obrázek jako"
#: ../shortcuts.c:1154 #: ../shortcuts.c:1076
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Tenhle dokument neobsahuje žádné indexy" msgstr "Tenhle dokument neobsahuje žádné indexy"
#: ../zathura.c:227 ../zathura.c:975 #: ../zathura.c:213 ../zathura.c:959
msgid "[No name]" msgid "[No name]"
msgstr "[Nepojmenovaný]" msgstr "[Nepojmenovaný]"
#: ../zathura.c:584 #: ../zathura.c:486
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
#: ../zathura.c:535
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura.c:594 #: ../zathura.c:545
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

274
po/de.po
View file

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2013-08-15 00:28+0200\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n"
"PO-Revision-Date: 2013-08-15 00:37+0200\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: German (http://www.transifex.com/projects/p/zathura/language/" "Language-Team: German (http://www.transifex.com/projects/p/zathura/language/"
"de/)\n" "de/)\n"
@ -18,24 +18,29 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../callbacks.c:314 #: ../callbacks.c:297
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Ungültige Eingabe '%s' angegeben." msgstr "Ungültige Eingabe '%s' angegeben."
#: ../callbacks.c:350 #: ../callbacks.c:333
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Ungültiger Index '%s' angegeben." msgstr "Ungültiger Index '%s' angegeben."
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:158 #: ../callbacks.c:546
#: ../commands.c:274 ../commands.c:304 ../commands.c:330 ../commands.c:425 #, c-format
#: ../commands.c:546 ../shortcuts.c:485 ../shortcuts.c:1251 msgid "Copied selected text to clipboard: %s"
#: ../shortcuts.c:1280 msgstr "Der gewählte Text wurde in die Zwischenablage kopiert: %s"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:152
#: ../commands.c:268 ../commands.c:298 ../commands.c:324 ../commands.c:419
#: ../commands.c:540 ../shortcuts.c:403 ../shortcuts.c:1163
#: ../shortcuts.c:1192
msgid "No document opened." msgid "No document opened."
msgstr "Kein Dokument geöffnet." msgstr "Kein Dokument geöffnet."
#: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:430 #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424
msgid "Invalid number of arguments given." msgid "Invalid number of arguments given."
msgstr "Ungültige Anzahl an Argumenten angegeben." msgstr "Ungültige Anzahl an Argumenten angegeben."
@ -74,61 +79,93 @@ msgstr "Konnte Lesezeichen nicht entfernen: %s"
msgid "No such bookmark: %s" msgid "No such bookmark: %s"
msgstr "Lesezeichen existiert nicht: %s" msgstr "Lesezeichen existiert nicht: %s"
#: ../commands.c:180 ../commands.c:202 #: ../commands.c:162
msgid "Title"
msgstr "Titel"
#: ../commands.c:163
msgid "Author"
msgstr "Autor"
#: ../commands.c:164
msgid "Subject"
msgstr "Betreff"
#: ../commands.c:165
msgid "Keywords"
msgstr "Schlagwörter"
#: ../commands.c:166
msgid "Creator"
msgstr "Ersteller"
#: ../commands.c:167
msgid "Producer"
msgstr "Produzent"
#: ../commands.c:168
msgid "Creation date"
msgstr "Erstellungsdatum"
#: ../commands.c:169
msgid "Modification date"
msgstr "Modifikationsdatum"
#: ../commands.c:174 ../commands.c:196
msgid "No information available." msgid "No information available."
msgstr "Keine Information verfügbar." msgstr "Keine Information verfügbar."
#: ../commands.c:240 #: ../commands.c:234
msgid "Too many arguments." msgid "Too many arguments."
msgstr "Zu viele Argumente angegeben." msgstr "Zu viele Argumente angegeben."
#: ../commands.c:251 #: ../commands.c:245
msgid "No arguments given." msgid "No arguments given."
msgstr "Keine Argumente angegeben." msgstr "Keine Argumente angegeben."
#: ../commands.c:310 ../commands.c:336 #: ../commands.c:304 ../commands.c:330
msgid "Document saved." msgid "Document saved."
msgstr "Dokument gespeichert." msgstr "Dokument gespeichert."
#: ../commands.c:312 ../commands.c:338 #: ../commands.c:306 ../commands.c:332
msgid "Failed to save document." msgid "Failed to save document."
msgstr "Konnte Dokument nicht speichern." msgstr "Konnte Dokument nicht speichern."
#: ../commands.c:315 ../commands.c:341 #: ../commands.c:309 ../commands.c:335
msgid "Invalid number of arguments." msgid "Invalid number of arguments."
msgstr "Ungültige Anzahl an Argumenten." msgstr "Ungültige Anzahl an Argumenten."
#: ../commands.c:449 #: ../commands.c:443
#, c-format #, c-format
msgid "Couldn't write attachment '%s' to '%s'." msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben." msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben."
#: ../commands.c:451 #: ../commands.c:445
#, c-format #, c-format
msgid "Wrote attachment '%s' to '%s'." msgid "Wrote attachment '%s' to '%s'."
msgstr "Anhang '%s' nach '%s' geschrieben." msgstr "Anhang '%s' nach '%s' geschrieben."
#: ../commands.c:495 #: ../commands.c:489
#, c-format #, c-format
msgid "Wrote image '%s' to '%s'." msgid "Wrote image '%s' to '%s'."
msgstr "Anhang '%s' nach '%s' geschrieben." msgstr "Anhang '%s' nach '%s' geschrieben."
#: ../commands.c:497 #: ../commands.c:491
#, c-format #, c-format
msgid "Couldn't write image '%s' to '%s'." msgid "Couldn't write image '%s' to '%s'."
msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben." msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben."
#: ../commands.c:504 #: ../commands.c:498
#, c-format #, c-format
msgid "Unknown image '%s'." msgid "Unknown image '%s'."
msgstr "Unbekanntes Bild '%s'." msgstr "Unbekanntes Bild '%s'."
#: ../commands.c:508 #: ../commands.c:502
#, c-format #, c-format
msgid "Unknown attachment or image '%s'." msgid "Unknown attachment or image '%s'."
msgstr "Unbekannter Anhanng oder Bild '%s'." msgstr "Unbekannter Anhanng oder Bild '%s'."
#: ../commands.c:559 #: ../commands.c:553
msgid "Argument must be a number." msgid "Argument must be a number."
msgstr "Das Argument ist keine Zahl." msgstr "Das Argument ist keine Zahl."
@ -147,328 +184,335 @@ msgid "Images"
msgstr "Bilder" msgstr "Bilder"
#. zathura settings #. zathura settings
#: ../config.c:147 #: ../config.c:131
msgid "Database backend" msgid "Database backend"
msgstr "Datenbank Backend" msgstr "Datenbank Backend"
#: ../config.c:149 #: ../config.c:133
msgid "Zoom step" msgid "Zoom step"
msgstr "Vergrößerungsstufe" msgstr "Vergrößerungsstufe"
#: ../config.c:151 #: ../config.c:135
msgid "Padding between pages" msgid "Padding between pages"
msgstr "Abstand zwischen den Seiten" msgstr "Abstand zwischen den Seiten"
#: ../config.c:153 #: ../config.c:137
msgid "Number of pages per row" msgid "Number of pages per row"
msgstr "Anzahl der Seiten in einer Reihe" msgstr "Anzahl der Seiten in einer Reihe"
#: ../config.c:155 #: ../config.c:139
msgid "Column of the first page" msgid "Column of the first page"
msgstr "Spalte der ersten Seite" msgstr "Spalte der ersten Seite"
#: ../config.c:157 #: ../config.c:141
msgid "Scroll step" msgid "Scroll step"
msgstr "Schrittgröße beim Scrollen" msgstr "Schrittgröße beim Scrollen"
#: ../config.c:159 #: ../config.c:143
msgid "Horizontal scroll step" msgid "Horizontal scroll step"
msgstr "Horizontale Schrittgröße beim Scrollen" msgstr "Horizontale Schrittgröße beim Scrollen"
#: ../config.c:161 #: ../config.c:145
msgid "Full page scroll overlap" msgid "Full page scroll overlap"
msgstr "" msgstr "Überlappung beim Scrollen von ganzen Seiten"
#: ../config.c:163 #: ../config.c:147
msgid "Zoom minimum" msgid "Zoom minimum"
msgstr "Minimale Vergrößerungsstufe" msgstr "Minimale Vergrößerungsstufe"
#: ../config.c:165 #: ../config.c:149
msgid "Zoom maximum" msgid "Zoom maximum"
msgstr "Maximale Vergrößerungsstufe" msgstr "Maximale Vergrößerungsstufe"
#: ../config.c:167 #: ../config.c:151
msgid "Maximum number of pages to keep in the cache" msgid "Maximum number of pages to keep in the cache"
msgstr "" msgstr "Maximale Seitenzahl im Zwischenspeicher"
#: ../config.c:169 #: ../config.c:153
msgid "Number of positions to remember in the jumplist" msgid "Number of positions to remember in the jumplist"
msgstr "" msgstr "Anzahl der Liste zu behaltenden Positionen"
#: ../config.c:171 #: ../config.c:155
msgid "Recoloring (dark color)" msgid "Recoloring (dark color)"
msgstr "Neufärben (Dunkle Farbe)" msgstr "Neufärben (Dunkle Farbe)"
#: ../config.c:173 #: ../config.c:156
msgid "Recoloring (light color)" msgid "Recoloring (light color)"
msgstr "Neufärben (Helle Farbe)" msgstr "Neufärben (Helle Farbe)"
#: ../config.c:175 #: ../config.c:157
msgid "Color for highlighting" msgid "Color for highlighting"
msgstr "Farbe für eine Markierung" msgstr "Farbe für eine Markierung"
#: ../config.c:177 #: ../config.c:159
msgid "Color for highlighting (active)" msgid "Color for highlighting (active)"
msgstr "Farbe für die aktuelle Markierung" msgstr "Farbe für die aktuelle Markierung"
#: ../config.c:179 #: ../config.c:161
msgid "'Loading ...' background color" msgid "'Loading ...' background color"
msgstr "" msgstr "Hintergrundfarbe von 'Lädt...'"
#: ../config.c:181 #: ../config.c:163
msgid "'Loading ...' foreground color" msgid "'Loading ...' foreground color"
msgstr "" msgstr "Vordergrundfarbe von 'Lädt...'"
#: ../config.c:185 #: ../config.c:167
msgid "Recolor pages" msgid "Recolor pages"
msgstr "Färbe die Seiten ein" msgstr "Färbe die Seiten ein"
#: ../config.c:187 #: ../config.c:169
msgid "When recoloring keep original hue and adjust lightness only" msgid "When recoloring keep original hue and adjust lightness only"
msgstr "" msgstr ""
"Behalte beim Neuzeichnen den ursprünglichen Hue-Wert bei und stimme nur die " "Behalte beim Neuzeichnen den ursprünglichen Hue-Wert bei und stimme nur die "
"Helligkeit ab" "Helligkeit ab"
#: ../config.c:189 #: ../config.c:171
msgid "Wrap scrolling" msgid "Wrap scrolling"
msgstr "Scroll-Umbruch" msgstr "Scroll-Umbruch"
#: ../config.c:191 #: ../config.c:173
msgid "Page aware scrolling" msgid "Page aware scrolling"
msgstr "" msgstr "Seiten beim Scrollen beachten"
#: ../config.c:193 #: ../config.c:175
msgid "Advance number of pages per row" msgid "Advance number of pages per row"
msgstr "Gehe Anzahl der Seiten in einer Reihe weiter" msgstr "Gehe Anzahl der Seiten in einer Reihe weiter"
#: ../config.c:195 #: ../config.c:177
msgid "Horizontally centered zoom" msgid "Horizontally centered zoom"
msgstr "Horizontal zentrierter Zoom" msgstr "Horizontal zentrierter Zoom"
#: ../config.c:197 #: ../config.c:179
msgid "Align link target to the left" msgid "Align link target to the left"
msgstr "Linkziel links ausrichten"
#: ../config.c:181
msgid "Let zoom be changed when following links"
msgstr "" msgstr ""
#: ../config.c:199 #: ../config.c:183
msgid "Center result horizontally" msgid "Center result horizontally"
msgstr "Zentriere Ergebnis horizontal" msgstr "Zentriere Ergebnis horizontal"
#: ../config.c:201 #: ../config.c:185
msgid "Transparency for highlighting" msgid "Transparency for highlighting"
msgstr "Transparenz einer Markierung" msgstr "Transparenz einer Markierung"
#: ../config.c:203 #: ../config.c:187
msgid "Render 'Loading ...'" msgid "Render 'Loading ...'"
msgstr "Zeige 'Lädt...'-Text beim Zeichnen einer Seite" msgstr "Zeige 'Lädt...'-Text beim Zeichnen einer Seite"
#: ../config.c:204 #: ../config.c:188
msgid "Adjust to when opening file" msgid "Adjust to when opening file"
msgstr "Seite einpassen" msgstr "Seite einpassen"
#: ../config.c:206 #: ../config.c:190
msgid "Show hidden files and directories" msgid "Show hidden files and directories"
msgstr "Zeige versteckte Dateien und Ordner an" msgstr "Zeige versteckte Dateien und Ordner an"
#: ../config.c:208 #: ../config.c:192
msgid "Show directories" msgid "Show directories"
msgstr "Zeige Ordner an" msgstr "Zeige Ordner an"
#: ../config.c:210 #: ../config.c:194
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Öffne Dokument immer auf der ersten Seite" msgstr "Öffne Dokument immer auf der ersten Seite"
#: ../config.c:212 #: ../config.c:196
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Hebe Suchergebnisse hervor" msgstr "Hebe Suchergebnisse hervor"
#: ../config.c:214 #: ../config.c:198
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr "Aktiviere inkrementelle Suche"
#: ../config.c:216 #: ../config.c:200
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Lösche Suchergebnisse bei Abbruch" msgstr "Lösche Suchergebnisse bei Abbruch"
#: ../config.c:218 #: ../config.c:202
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "Verwende den Dateinamen der Datei im Fenstertitel" msgstr "Verwende den Dateinamen der Datei im Fenstertitel"
#: ../config.c:220 #: ../config.c:204
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "Verwende die Seitenzal im Fenstertitel" msgstr "Verwende die Seitenzal im Fenstertitel"
#: ../config.c:222 #: ../config.c:206
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "Verwende den Dateinamen der Datei in der Statusleiste" msgstr "Verwende den Dateinamen der Datei in der Statusleiste"
#: ../config.c:224 ../main.c:65 #: ../config.c:208 ../main.c:67
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "Aktiviere SyncTeX-Unterstützung" msgstr "Aktiviere SyncTeX-Unterstützung"
#: ../config.c:210
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../config.c:383 #: ../config.c:369
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Füge Lesezeichen hinzu" msgstr "Füge Lesezeichen hinzu"
#: ../config.c:384 #: ../config.c:370
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Lösche ein Lesezeichen" msgstr "Lösche ein Lesezeichen"
#: ../config.c:385 #: ../config.c:371
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Liste all Lesezeichen auf" msgstr "Liste all Lesezeichen auf"
#: ../config.c:386 #: ../config.c:372
msgid "Close current file" msgid "Close current file"
msgstr "Schließe das aktuelle Dokument" msgstr "Schließe das aktuelle Dokument"
#: ../config.c:387 #: ../config.c:373
msgid "Show file information" msgid "Show file information"
msgstr "Zeige Dokumentinformationen an" msgstr "Zeige Dokumentinformationen an"
#: ../config.c:388 #: ../config.c:374
msgid "Execute a command" msgid "Execute a command"
msgstr "Führe einen Befehl aus" msgstr "Führe einen Befehl aus"
#: ../config.c:389 #: ../config.c:375
msgid "Show help" msgid "Show help"
msgstr "Zeige Hilfe an" msgstr "Zeige Hilfe an"
#: ../config.c:390 #: ../config.c:376
msgid "Open document" msgid "Open document"
msgstr "Öffne Dokument" msgstr "Öffne Dokument"
#: ../config.c:391 #: ../config.c:377
msgid "Close zathura" msgid "Close zathura"
msgstr "Beende zathura" msgstr "Beende zathura"
#: ../config.c:392 #: ../config.c:378
msgid "Print document" msgid "Print document"
msgstr "Drucke Dokument" msgstr "Drucke Dokument"
#: ../config.c:393 #: ../config.c:379
msgid "Save document" msgid "Save document"
msgstr "Speichere Dokument" msgstr "Speichere Dokument"
#: ../config.c:394 #: ../config.c:380
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Speichere Dokument (und überschreibe bestehende)" msgstr "Speichere Dokument (und überschreibe bestehende)"
#: ../config.c:395 #: ../config.c:381
msgid "Save attachments" msgid "Save attachments"
msgstr "Speichere Anhänge" msgstr "Speichere Anhänge"
#: ../config.c:396 #: ../config.c:382
msgid "Set page offset" msgid "Set page offset"
msgstr "Setze den Seitenabstand" msgstr "Setze den Seitenabstand"
#: ../config.c:397 #: ../config.c:383
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Markiere aktuelle Position im Doukument" msgstr "Markiere aktuelle Position im Doukument"
#: ../config.c:398 #: ../config.c:384
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Lösche angegebene Markierung" msgstr "Lösche angegebene Markierung"
#: ../config.c:399 #: ../config.c:385
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "Hebe aktuelle Suchergebnisse nicht hervor" msgstr "Hebe aktuelle Suchergebnisse nicht hervor"
#: ../config.c:400 #: ../config.c:386
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Hebe aktuelle Suchergebnisse hervor" msgstr "Hebe aktuelle Suchergebnisse hervor"
#: ../config.c:401 #: ../config.c:387
msgid "Show version information" msgid "Show version information"
msgstr "Zeige Versionsinformationen an" msgstr "Zeige Versionsinformationen an"
#: ../links.c:175 ../links.c:254 #: ../links.c:199 ../links.c:278
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Konnte xdg-open nicht ausführen." msgstr "Konnte xdg-open nicht ausführen."
#: ../links.c:193 #: ../links.c:217
#, c-format #, c-format
msgid "Link: page %d" msgid "Link: page %d"
msgstr "Verknüpfung: Seite %d" msgstr "Verknüpfung: Seite %d"
#: ../links.c:200 #: ../links.c:224
#, c-format #, c-format
msgid "Link: %s" msgid "Link: %s"
msgstr "Verknüpfung: %s" msgstr "Verknüpfung: %s"
#: ../links.c:204 #: ../links.c:228
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Verknüpfung: ungültig" msgstr "Verknüpfung: ungültig"
#: ../main.c:56 #: ../main.c:58
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid"
msgstr "Reparentiert zathura an das Fenster mit der xid" msgstr "Reparentiert zathura an das Fenster mit der xid"
#: ../main.c:57 #: ../main.c:59
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Pfad zum Konfigurationsverzeichnis" msgstr "Pfad zum Konfigurationsverzeichnis"
#: ../main.c:58 #: ../main.c:60
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Pfad zum Datenverzeichnis" msgstr "Pfad zum Datenverzeichnis"
#: ../main.c:59 #: ../main.c:61
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Pfad zum Pluginverzeichnis" msgstr "Pfad zum Pluginverzeichnis"
#: ../main.c:60 #: ../main.c:62
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Forkt den Prozess in den Hintergrund" msgstr "Forkt den Prozess in den Hintergrund"
#: ../main.c:61 #: ../main.c:63
msgid "Document password" msgid "Document password"
msgstr "Dokument Passwort" msgstr "Dokument Passwort"
#: ../main.c:62 #: ../main.c:64
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr "Zur Seitenzahl springen"
#: ../main.c:63 #: ../main.c:65
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Log-Stufe (debug, info, warning, error)" msgstr "Log-Stufe (debug, info, warning, error)"
#: ../main.c:64 #: ../main.c:66
msgid "Print version information" msgid "Print version information"
msgstr "Zeige Versionsinformationen an" msgstr "Zeige Versionsinformationen an"
#: ../main.c:66 #: ../main.c:68
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex Editor (wird an synctex weitergeleitet)" msgstr "Synctex Editor (wird an synctex weitergeleitet)"
#: ../page-widget.c:474 #: ../page-widget.c:526
msgid "Loading..." msgid "Loading..."
msgstr "Lädt..." msgstr "Lädt..."
#: ../page-widget.c:678 #: ../page-widget.c:845
#, c-format
msgid "Copied selected text to clipboard: %s"
msgstr "Der gewählte Text wurde in die Zwischenablage kopiert: %s"
#: ../page-widget.c:776
msgid "Copy image" msgid "Copy image"
msgstr "Bild kopieren" msgstr "Bild kopieren"
#: ../page-widget.c:777 #: ../page-widget.c:846
msgid "Save image as" msgid "Save image as"
msgstr "Bild speichern als" msgstr "Bild speichern als"
#: ../shortcuts.c:1154 #: ../shortcuts.c:1076
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis." msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis."
#: ../zathura.c:227 ../zathura.c:975 #: ../zathura.c:213 ../zathura.c:959
msgid "[No name]" msgid "[No name]"
msgstr "[Kein Name]" msgstr "[Kein Name]"
#: ../zathura.c:584 #: ../zathura.c:486
msgid "Unsupported file type. Please install the necessary plugin." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
#: ../zathura.c:594 #: ../zathura.c:535
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Dateityp ist nicht unterstützt. Installiere das benötigete Plugin."
#: ../zathura.c:545
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "Dieses Dokument beinhaltet kein Seiten" msgstr "Dieses Dokument beinhaltet kein Seiten"

259
po/el.po
View file

@ -8,8 +8,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2013-08-15 00:28+0200\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n"
"PO-Revision-Date: 2013-08-15 00:34+0200\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Greek (http://www.transifex.com/projects/p/zathura/language/" "Language-Team: Greek (http://www.transifex.com/projects/p/zathura/language/"
"el/)\n" "el/)\n"
@ -19,24 +19,29 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../callbacks.c:314 #: ../callbacks.c:297
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Η είσοδος '%s' είναι άκυρη." msgstr "Η είσοδος '%s' είναι άκυρη."
#: ../callbacks.c:350 #: ../callbacks.c:333
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Ο δείκτης '%s' είναι άκυρος." msgstr "Ο δείκτης '%s' είναι άκυρος."
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:158 #: ../callbacks.c:546
#: ../commands.c:274 ../commands.c:304 ../commands.c:330 ../commands.c:425 #, c-format
#: ../commands.c:546 ../shortcuts.c:485 ../shortcuts.c:1251 msgid "Copied selected text to clipboard: %s"
#: ../shortcuts.c:1280 msgstr "Το επιλεγμένο κείμενο αποθηκεύτηκε στην μνήμη: %s"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:152
#: ../commands.c:268 ../commands.c:298 ../commands.c:324 ../commands.c:419
#: ../commands.c:540 ../shortcuts.c:403 ../shortcuts.c:1163
#: ../shortcuts.c:1192
msgid "No document opened." msgid "No document opened."
msgstr "Δεν άνοιξε κανένα αρχείο. " msgstr "Δεν άνοιξε κανένα αρχείο. "
#: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:430 #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424
msgid "Invalid number of arguments given." msgid "Invalid number of arguments given."
msgstr "Μη έγκυρος αριθμός παραμέτρων." msgstr "Μη έγκυρος αριθμός παραμέτρων."
@ -75,61 +80,93 @@ msgstr "Η διαγραφή του σελιδοδείκτη: %s απέτυχε.
msgid "No such bookmark: %s" msgid "No such bookmark: %s"
msgstr "Ο σελιδοδείκτης: %s δεν βρέθηκε. " msgstr "Ο σελιδοδείκτης: %s δεν βρέθηκε. "
#: ../commands.c:180 ../commands.c:202 #: ../commands.c:162
msgid "Title"
msgstr ""
#: ../commands.c:163
msgid "Author"
msgstr ""
#: ../commands.c:164
msgid "Subject"
msgstr ""
#: ../commands.c:165
msgid "Keywords"
msgstr ""
#: ../commands.c:166
msgid "Creator"
msgstr ""
#: ../commands.c:167
msgid "Producer"
msgstr ""
#: ../commands.c:168
msgid "Creation date"
msgstr ""
#: ../commands.c:169
msgid "Modification date"
msgstr ""
#: ../commands.c:174 ../commands.c:196
msgid "No information available." msgid "No information available."
msgstr "Δεν υπάρχουν διαθέσιμες πληροφορίες." msgstr "Δεν υπάρχουν διαθέσιμες πληροφορίες."
#: ../commands.c:240 #: ../commands.c:234
msgid "Too many arguments." msgid "Too many arguments."
msgstr "Εισήχθησαν πολλές παράμετροι. " msgstr "Εισήχθησαν πολλές παράμετροι. "
#: ../commands.c:251 #: ../commands.c:245
msgid "No arguments given." msgid "No arguments given."
msgstr "Δεν εισήχθησαν παράμετροι. " msgstr "Δεν εισήχθησαν παράμετροι. "
#: ../commands.c:310 ../commands.c:336 #: ../commands.c:304 ../commands.c:330
msgid "Document saved." msgid "Document saved."
msgstr "Το αρχείο αποθηκεύτηκε." msgstr "Το αρχείο αποθηκεύτηκε."
#: ../commands.c:312 ../commands.c:338 #: ../commands.c:306 ../commands.c:332
msgid "Failed to save document." msgid "Failed to save document."
msgstr "Η αποθήκευση του αρχείου απέτυχε. " msgstr "Η αποθήκευση του αρχείου απέτυχε. "
#: ../commands.c:315 ../commands.c:341 #: ../commands.c:309 ../commands.c:335
msgid "Invalid number of arguments." msgid "Invalid number of arguments."
msgstr "Μη έγκυρος ο αριθμός των παραμέτρων. " msgstr "Μη έγκυρος ο αριθμός των παραμέτρων. "
#: ../commands.c:449 #: ../commands.c:443
#, c-format #, c-format
msgid "Couldn't write attachment '%s' to '%s'." msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Μη επιτυχής η εγγραγή της προσάρτησης '%s' στην '%s'." msgstr "Μη επιτυχής η εγγραγή της προσάρτησης '%s' στην '%s'."
#: ../commands.c:451 #: ../commands.c:445
#, c-format #, c-format
msgid "Wrote attachment '%s' to '%s'." msgid "Wrote attachment '%s' to '%s'."
msgstr "Επιτυχής η εγγραφή της προσάρτησης '%s' στην '%s'." msgstr "Επιτυχής η εγγραφή της προσάρτησης '%s' στην '%s'."
#: ../commands.c:495 #: ../commands.c:489
#, c-format #, c-format
msgid "Wrote image '%s' to '%s'." msgid "Wrote image '%s' to '%s'."
msgstr "Ενεγράφει η εικόνα '%s' στην '%s'" msgstr "Ενεγράφει η εικόνα '%s' στην '%s'"
#: ../commands.c:497 #: ../commands.c:491
#, c-format #, c-format
msgid "Couldn't write image '%s' to '%s'." msgid "Couldn't write image '%s' to '%s'."
msgstr "Δεν ενεγράφει η εικόνα '%s' στην '%s'." msgstr "Δεν ενεγράφει η εικόνα '%s' στην '%s'."
#: ../commands.c:504 #: ../commands.c:498
#, c-format #, c-format
msgid "Unknown image '%s'." msgid "Unknown image '%s'."
msgstr "Άγνωστη εικόνα '%s'. " msgstr "Άγνωστη εικόνα '%s'. "
#: ../commands.c:508 #: ../commands.c:502
#, c-format #, c-format
msgid "Unknown attachment or image '%s'." msgid "Unknown attachment or image '%s'."
msgstr "Άγνωστο προσάρτημα είτε εικόνα '%s'. " msgstr "Άγνωστο προσάρτημα είτε εικόνα '%s'. "
#: ../commands.c:559 #: ../commands.c:553
msgid "Argument must be a number." msgid "Argument must be a number."
msgstr "Η παράμετρος πρέπει να είναι αριθμός." msgstr "Η παράμετρος πρέπει να είναι αριθμός."
@ -148,329 +185,335 @@ msgid "Images"
msgstr "Εικόνες" msgstr "Εικόνες"
#. zathura settings #. zathura settings
#: ../config.c:147 #: ../config.c:131
msgid "Database backend" msgid "Database backend"
msgstr "Το βασικό εργαλείο της βάσης δεδομένων" msgstr "Το βασικό εργαλείο της βάσης δεδομένων"
#: ../config.c:149 #: ../config.c:133
msgid "Zoom step" msgid "Zoom step"
msgstr "Βήμα μεγέθυνσης" msgstr "Βήμα μεγέθυνσης"
#: ../config.c:151 #: ../config.c:135
msgid "Padding between pages" msgid "Padding between pages"
msgstr "Διάκενο μεταξύ σελίδων" msgstr "Διάκενο μεταξύ σελίδων"
#: ../config.c:153 #: ../config.c:137
msgid "Number of pages per row" msgid "Number of pages per row"
msgstr "Αριθμός σελίδων ανά γραμμή" msgstr "Αριθμός σελίδων ανά γραμμή"
#: ../config.c:155 #: ../config.c:139
msgid "Column of the first page" msgid "Column of the first page"
msgstr "Στήλη της πρώτης σελίδας" msgstr "Στήλη της πρώτης σελίδας"
#: ../config.c:157 #: ../config.c:141
msgid "Scroll step" msgid "Scroll step"
msgstr "Βήμα κύλισης" msgstr "Βήμα κύλισης"
#: ../config.c:159 #: ../config.c:143
msgid "Horizontal scroll step" msgid "Horizontal scroll step"
msgstr "Βήμα οριζόντιας κύλησης" msgstr "Βήμα οριζόντιας κύλησης"
#: ../config.c:161 #: ../config.c:145
msgid "Full page scroll overlap" msgid "Full page scroll overlap"
msgstr "" msgstr ""
#: ../config.c:163 #: ../config.c:147
msgid "Zoom minimum" msgid "Zoom minimum"
msgstr "Ελάχιστη μεγέθυνση" msgstr "Ελάχιστη μεγέθυνση"
#: ../config.c:165 #: ../config.c:149
msgid "Zoom maximum" msgid "Zoom maximum"
msgstr "Μέγιστη μεγέθυνση" msgstr "Μέγιστη μεγέθυνση"
#: ../config.c:167 #: ../config.c:151
msgid "Maximum number of pages to keep in the cache" msgid "Maximum number of pages to keep in the cache"
msgstr "" msgstr ""
#: ../config.c:169 #: ../config.c:153
msgid "Number of positions to remember in the jumplist" msgid "Number of positions to remember in the jumplist"
msgstr "" msgstr ""
#: ../config.c:171 #: ../config.c:155
msgid "Recoloring (dark color)" msgid "Recoloring (dark color)"
msgstr "Επαναχρωματισμός (σκούρο χρώμα)" msgstr "Επαναχρωματισμός (σκούρο χρώμα)"
#: ../config.c:173 #: ../config.c:156
msgid "Recoloring (light color)" msgid "Recoloring (light color)"
msgstr "Επαναχρωματισμός (ανοικτό χρώμα)" msgstr "Επαναχρωματισμός (ανοικτό χρώμα)"
#: ../config.c:175 #: ../config.c:157
msgid "Color for highlighting" msgid "Color for highlighting"
msgstr "Χρώμα τονισμού" msgstr "Χρώμα τονισμού"
#: ../config.c:177 #: ../config.c:159
msgid "Color for highlighting (active)" msgid "Color for highlighting (active)"
msgstr "Χρώμα τονισμού (ενεργό)" msgstr "Χρώμα τονισμού (ενεργό)"
#: ../config.c:179 #: ../config.c:161
msgid "'Loading ...' background color" msgid "'Loading ...' background color"
msgstr "" msgstr ""
#: ../config.c:181 #: ../config.c:163
msgid "'Loading ...' foreground color" msgid "'Loading ...' foreground color"
msgstr "" msgstr ""
#: ../config.c:185 #: ../config.c:167
msgid "Recolor pages" msgid "Recolor pages"
msgstr "Επαναχρωματισμός σελίδων" msgstr "Επαναχρωματισμός σελίδων"
#: ../config.c:187 #: ../config.c:169
msgid "When recoloring keep original hue and adjust lightness only" msgid "When recoloring keep original hue and adjust lightness only"
msgstr "" msgstr ""
"Κατά τον επαναχρωματισμό της σελιδάς διατήρηση της αρχικής απόχρωσης και " "Κατά τον επαναχρωματισμό της σελιδάς διατήρηση της αρχικής απόχρωσης και "
"αλλαγή μόνο της φωτεινότητας" "αλλαγή μόνο της φωτεινότητας"
#: ../config.c:189 #: ../config.c:171
msgid "Wrap scrolling" msgid "Wrap scrolling"
msgstr "Κυκλική κύληση" msgstr "Κυκλική κύληση"
#: ../config.c:191 #: ../config.c:173
msgid "Page aware scrolling" msgid "Page aware scrolling"
msgstr "" msgstr ""
#: ../config.c:193 #: ../config.c:175
msgid "Advance number of pages per row" msgid "Advance number of pages per row"
msgstr "Προώθηση σε αριθμό σελίδων ανά γραμμή" msgstr "Προώθηση σε αριθμό σελίδων ανά γραμμή"
#: ../config.c:195 #: ../config.c:177
msgid "Horizontally centered zoom" msgid "Horizontally centered zoom"
msgstr "Μεγένθηση οριζοντίως κεντραρισμένη" msgstr "Μεγένθηση οριζοντίως κεντραρισμένη"
#: ../config.c:197 #: ../config.c:179
msgid "Align link target to the left" msgid "Align link target to the left"
msgstr "" msgstr ""
#: ../config.c:199 #: ../config.c:181
msgid "Let zoom be changed when following links"
msgstr ""
#: ../config.c:183
msgid "Center result horizontally" msgid "Center result horizontally"
msgstr "Οριζόντιο κεντράρισμα αποτελεσμάτων" msgstr "Οριζόντιο κεντράρισμα αποτελεσμάτων"
#: ../config.c:201 #: ../config.c:185
msgid "Transparency for highlighting" msgid "Transparency for highlighting"
msgstr "Διαφάνεια για τονισμό" msgstr "Διαφάνεια για τονισμό"
#: ../config.c:203 #: ../config.c:187
msgid "Render 'Loading ...'" msgid "Render 'Loading ...'"
msgstr "Εμφάνιση της ένδειξης 'Φορτώνει ...'" msgstr "Εμφάνιση της ένδειξης 'Φορτώνει ...'"
#: ../config.c:204 #: ../config.c:188
msgid "Adjust to when opening file" msgid "Adjust to when opening file"
msgstr "Προσαρμογή κατά το άνοιγμα του αρχείου" msgstr "Προσαρμογή κατά το άνοιγμα του αρχείου"
#: ../config.c:206 #: ../config.c:190
msgid "Show hidden files and directories" msgid "Show hidden files and directories"
msgstr "Εμφάνιση κρυφών αρχείων και φακέλων" msgstr "Εμφάνιση κρυφών αρχείων και φακέλων"
#: ../config.c:208 #: ../config.c:192
msgid "Show directories" msgid "Show directories"
msgstr "Εμφάνιση καταλόγων" msgstr "Εμφάνιση καταλόγων"
#: ../config.c:210 #: ../config.c:194
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Άνοιγμα πάντα στην πρώτη σελίδα" msgstr "Άνοιγμα πάντα στην πρώτη σελίδα"
#: ../config.c:212 #: ../config.c:196
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Τονισμός αποτελεσμάτων αναζήτησης" msgstr "Τονισμός αποτελεσμάτων αναζήτησης"
#: ../config.c:214 #: ../config.c:198
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../config.c:216 #: ../config.c:200
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Εκκαθάριση των απολεσμάτων αναζήτησης κατά την διακοπή" msgstr "Εκκαθάριση των απολεσμάτων αναζήτησης κατά την διακοπή"
#: ../config.c:218 #: ../config.c:202
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "Χρήση του ονόματος του αρχείο στο τίτλο του παραθύρου" msgstr "Χρήση του ονόματος του αρχείο στο τίτλο του παραθύρου"
#: ../config.c:220 #: ../config.c:204
#, fuzzy
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "Χρήση του ονόματος του αρχείο στο τίτλο του παραθύρου" msgstr ""
#: ../config.c:222 #: ../config.c:206
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../config.c:224 ../main.c:65 #: ../config.c:208 ../main.c:67
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "Ενεργοποίηση υποστήριξης synctex" msgstr "Ενεργοποίηση υποστήριξης synctex"
#: ../config.c:210
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../config.c:383 #: ../config.c:369
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Προσθήκη σελιδοδείκτη" msgstr "Προσθήκη σελιδοδείκτη"
#: ../config.c:384 #: ../config.c:370
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Διαγραφή σελιδοδείκτη" msgstr "Διαγραφή σελιδοδείκτη"
#: ../config.c:385 #: ../config.c:371
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Εμφάνιση όλων των σελιδοδεικτών" msgstr "Εμφάνιση όλων των σελιδοδεικτών"
#: ../config.c:386 #: ../config.c:372
msgid "Close current file" msgid "Close current file"
msgstr "Κλείσιμο αρχείου" msgstr "Κλείσιμο αρχείου"
#: ../config.c:387 #: ../config.c:373
msgid "Show file information" msgid "Show file information"
msgstr "Προβολή πληροφοριών αρχείου" msgstr "Προβολή πληροφοριών αρχείου"
#: ../config.c:388 #: ../config.c:374
msgid "Execute a command" msgid "Execute a command"
msgstr "Εκτέλεση εντολής" msgstr "Εκτέλεση εντολής"
#: ../config.c:389 #: ../config.c:375
msgid "Show help" msgid "Show help"
msgstr "Εμφάνιση βοήθειας" msgstr "Εμφάνιση βοήθειας"
#: ../config.c:390 #: ../config.c:376
msgid "Open document" msgid "Open document"
msgstr "Άνοιγμα αρχείου" msgstr "Άνοιγμα αρχείου"
#: ../config.c:391 #: ../config.c:377
msgid "Close zathura" msgid "Close zathura"
msgstr "Κλείσιμο" msgstr "Κλείσιμο"
#: ../config.c:392 #: ../config.c:378
msgid "Print document" msgid "Print document"
msgstr "Εκτύπωση αρχείου" msgstr "Εκτύπωση αρχείου"
#: ../config.c:393 #: ../config.c:379
msgid "Save document" msgid "Save document"
msgstr "Αποθήκευση αρχείου" msgstr "Αποθήκευση αρχείου"
#: ../config.c:394 #: ../config.c:380
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Αποθήκευση αρχείου (και αντικατάσταση)" msgstr "Αποθήκευση αρχείου (και αντικατάσταση)"
#: ../config.c:395 #: ../config.c:381
msgid "Save attachments" msgid "Save attachments"
msgstr "Αποθήκευση προσαρτήσεων. " msgstr "Αποθήκευση προσαρτήσεων. "
#: ../config.c:396 #: ../config.c:382
msgid "Set page offset" msgid "Set page offset"
msgstr "Ρύθμιση αντιστάθμισης σελίδας" msgstr "Ρύθμιση αντιστάθμισης σελίδας"
#: ../config.c:397 #: ../config.c:383
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Επισήμανση τρέχουσας θέσης στο κείμενο" msgstr "Επισήμανση τρέχουσας θέσης στο κείμενο"
#: ../config.c:398 #: ../config.c:384
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Διαγραφή επιλεγμένων σημείων" msgstr "Διαγραφή επιλεγμένων σημείων"
#: ../config.c:399 #: ../config.c:385
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "Χωρίς τονισμό τα τρέχοντα αποτελέσματα της αναζήτησης" msgstr "Χωρίς τονισμό τα τρέχοντα αποτελέσματα της αναζήτησης"
#: ../config.c:400 #: ../config.c:386
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Τονισμός στα τρέχοντα αποτελέσματα της αναζήτησης" msgstr "Τονισμός στα τρέχοντα αποτελέσματα της αναζήτησης"
#: ../config.c:401 #: ../config.c:387
msgid "Show version information" msgid "Show version information"
msgstr "Εμφάνιση πληροφοριών έκδοσης" msgstr "Εμφάνιση πληροφοριών έκδοσης"
#: ../links.c:175 ../links.c:254 #: ../links.c:199 ../links.c:278
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Απέτυχε η εκτέλεση του xdg-open. " msgstr "Απέτυχε η εκτέλεση του xdg-open. "
#: ../links.c:193 #: ../links.c:217
#, c-format #, c-format
msgid "Link: page %d" msgid "Link: page %d"
msgstr "" msgstr ""
#: ../links.c:200 #: ../links.c:224
#, c-format #, c-format
msgid "Link: %s" msgid "Link: %s"
msgstr "" msgstr ""
#: ../links.c:204 #: ../links.c:228
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../main.c:56 #: ../main.c:58
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid"
msgstr "Reparents to window specified by xid" msgstr "Reparents to window specified by xid"
#: ../main.c:57 #: ../main.c:59
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Διαδρομή του αρχείου ρυθμίσεων" msgstr "Διαδρομή του αρχείου ρυθμίσεων"
#: ../main.c:58 #: ../main.c:60
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Διαδρομή του φακέλου δεδομένων" msgstr "Διαδρομή του φακέλου δεδομένων"
#: ../main.c:59 #: ../main.c:61
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Διαδρομή φακέλου που περιέχει τα πρόσθετα" msgstr "Διαδρομή φακέλου που περιέχει τα πρόσθετα"
#: ../main.c:60 #: ../main.c:62
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Διακλάδωση στο παρασκήνιο" msgstr "Διακλάδωση στο παρασκήνιο"
#: ../main.c:61 #: ../main.c:63
msgid "Document password" msgid "Document password"
msgstr "Κωδικός αρχείου" msgstr "Κωδικός αρχείου"
#: ../main.c:62 #: ../main.c:64
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../main.c:63 #: ../main.c:65
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Επίπεδο καταγραφής (debug, info, warning, error)" msgstr "Επίπεδο καταγραφής (debug, info, warning, error)"
#: ../main.c:64 #: ../main.c:66
msgid "Print version information" msgid "Print version information"
msgstr "Εκτύπωση πληροφοριών έκδοσης" msgstr "Εκτύπωση πληροφοριών έκδοσης"
#: ../main.c:66 #: ../main.c:68
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex editor (Προώθηση στην εντολή synctex)" msgstr "Synctex editor (Προώθηση στην εντολή synctex)"
#: ../page-widget.c:474 #: ../page-widget.c:526
msgid "Loading..." msgid "Loading..."
msgstr "Φορτώνει ..." msgstr "Φορτώνει ..."
#: ../page-widget.c:678 #: ../page-widget.c:845
#, c-format
msgid "Copied selected text to clipboard: %s"
msgstr "Το επιλεγμένο κείμενο αποθηκεύτηκε στην μνήμη: %s"
#: ../page-widget.c:776
msgid "Copy image" msgid "Copy image"
msgstr "Αντιγραφή εικόνας" msgstr "Αντιγραφή εικόνας"
#: ../page-widget.c:777 #: ../page-widget.c:846
msgid "Save image as" msgid "Save image as"
msgstr "Αποθήκευση εικόνας ως..." msgstr "Αποθήκευση εικόνας ως..."
#: ../shortcuts.c:1154 #: ../shortcuts.c:1076
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Το αρχείο δεν περιέχει κανένα δείκτη" msgstr "Το αρχείο δεν περιέχει κανένα δείκτη"
#: ../zathura.c:227 ../zathura.c:975 #: ../zathura.c:213 ../zathura.c:959
msgid "[No name]" msgid "[No name]"
msgstr "[Χωρίς όνομα]" msgstr "[Χωρίς όνομα]"
#: ../zathura.c:584 #: ../zathura.c:486
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
#: ../zathura.c:535
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura.c:594 #: ../zathura.c:545
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

256
po/eo.po
View file

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2013-08-15 00:28+0200\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n"
"PO-Revision-Date: 2013-08-15 00:34+0200\n" "PO-Revision-Date: 2013-11-05 01:06+0100\n"
"Last-Translator: norbux <manelsales@ono.com>\n" "Last-Translator: norbux <manelsales@ono.com>\n"
"Language-Team: Esperanto (http://www.transifex.com/projects/p/zathura/" "Language-Team: Esperanto (http://www.transifex.com/projects/p/zathura/"
"language/eo/)\n" "language/eo/)\n"
@ -18,24 +18,29 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n"
#: ../callbacks.c:314 #: ../callbacks.c:297
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Nevalida enigo '%s' uzata." msgstr "Nevalida enigo '%s' uzata."
#: ../callbacks.c:350 #: ../callbacks.c:333
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Nevalida indekso '%s' uzata." msgstr "Nevalida indekso '%s' uzata."
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:158 #: ../callbacks.c:546
#: ../commands.c:274 ../commands.c:304 ../commands.c:330 ../commands.c:425 #, c-format
#: ../commands.c:546 ../shortcuts.c:485 ../shortcuts.c:1251 msgid "Copied selected text to clipboard: %s"
#: ../shortcuts.c:1280 msgstr "Selektita teksto estas kopiita en la poŝo: %s"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:152
#: ../commands.c:268 ../commands.c:298 ../commands.c:324 ../commands.c:419
#: ../commands.c:540 ../shortcuts.c:403 ../shortcuts.c:1163
#: ../shortcuts.c:1192
msgid "No document opened." msgid "No document opened."
msgstr "Neniu dokumento malfermita." msgstr "Neniu dokumento malfermita."
#: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:430 #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424
msgid "Invalid number of arguments given." msgid "Invalid number of arguments given."
msgstr "Nevalida nombro da argumentoj uzata." msgstr "Nevalida nombro da argumentoj uzata."
@ -74,61 +79,93 @@ msgstr "Neeble forigi paĝosignon: %s"
msgid "No such bookmark: %s" msgid "No such bookmark: %s"
msgstr "Neniu paĝosigno: %s" msgstr "Neniu paĝosigno: %s"
#: ../commands.c:180 ../commands.c:202 #: ../commands.c:162
msgid "Title"
msgstr ""
#: ../commands.c:163
msgid "Author"
msgstr ""
#: ../commands.c:164
msgid "Subject"
msgstr ""
#: ../commands.c:165
msgid "Keywords"
msgstr ""
#: ../commands.c:166
msgid "Creator"
msgstr ""
#: ../commands.c:167
msgid "Producer"
msgstr ""
#: ../commands.c:168
msgid "Creation date"
msgstr ""
#: ../commands.c:169
msgid "Modification date"
msgstr ""
#: ../commands.c:174 ../commands.c:196
msgid "No information available." msgid "No information available."
msgstr "Neniu informacio disponebla." msgstr "Neniu informacio disponebla."
#: ../commands.c:240 #: ../commands.c:234
msgid "Too many arguments." msgid "Too many arguments."
msgstr "Tro multe da argumentoj." msgstr "Tro multe da argumentoj."
#: ../commands.c:251 #: ../commands.c:245
msgid "No arguments given." msgid "No arguments given."
msgstr "Neniuj argumentoj uzata." msgstr "Neniuj argumentoj uzata."
#: ../commands.c:310 ../commands.c:336 #: ../commands.c:304 ../commands.c:330
msgid "Document saved." msgid "Document saved."
msgstr "Dokumento konservita." msgstr "Dokumento konservita."
#: ../commands.c:312 ../commands.c:338 #: ../commands.c:306 ../commands.c:332
msgid "Failed to save document." msgid "Failed to save document."
msgstr "Neeble konservi dokumenton." msgstr "Neeble konservi dokumenton."
#: ../commands.c:315 ../commands.c:341 #: ../commands.c:309 ../commands.c:335
msgid "Invalid number of arguments." msgid "Invalid number of arguments."
msgstr "Nevalida nombro da argumentoj." msgstr "Nevalida nombro da argumentoj."
#: ../commands.c:449 #: ../commands.c:443
#, c-format #, c-format
msgid "Couldn't write attachment '%s' to '%s'." msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Neeble skribi kunsendaĵon '%s' en '%s'." msgstr "Neeble skribi kunsendaĵon '%s' en '%s'."
#: ../commands.c:451 #: ../commands.c:445
#, c-format #, c-format
msgid "Wrote attachment '%s' to '%s'." msgid "Wrote attachment '%s' to '%s'."
msgstr "Skribis kunsendaĵon '%s' en '%s'." msgstr "Skribis kunsendaĵon '%s' en '%s'."
#: ../commands.c:495 #: ../commands.c:489
#, c-format #, c-format
msgid "Wrote image '%s' to '%s'." msgid "Wrote image '%s' to '%s'."
msgstr "Skribis kunsendaĵon '%s' en '%s'." msgstr "Skribis kunsendaĵon '%s' en '%s'."
#: ../commands.c:497 #: ../commands.c:491
#, c-format #, c-format
msgid "Couldn't write image '%s' to '%s'." msgid "Couldn't write image '%s' to '%s'."
msgstr "Neeble skribi kunsendaĵon '%s' en '%s'." msgstr "Neeble skribi kunsendaĵon '%s' en '%s'."
#: ../commands.c:504 #: ../commands.c:498
#, c-format #, c-format
msgid "Unknown image '%s'." msgid "Unknown image '%s'."
msgstr "Nekonata bildo '%s'." msgstr "Nekonata bildo '%s'."
#: ../commands.c:508 #: ../commands.c:502
#, c-format #, c-format
msgid "Unknown attachment or image '%s'." msgid "Unknown attachment or image '%s'."
msgstr "" msgstr ""
#: ../commands.c:559 #: ../commands.c:553
msgid "Argument must be a number." msgid "Argument must be a number."
msgstr "Argumento devas esti nombro." msgstr "Argumento devas esti nombro."
@ -147,326 +184,333 @@ msgid "Images"
msgstr "Bildoj" msgstr "Bildoj"
#. zathura settings #. zathura settings
#: ../config.c:147 #: ../config.c:131
msgid "Database backend" msgid "Database backend"
msgstr "" msgstr ""
#: ../config.c:149 #: ../config.c:133
msgid "Zoom step" msgid "Zoom step"
msgstr "Zompaŝo" msgstr "Zompaŝo"
#: ../config.c:151 #: ../config.c:135
msgid "Padding between pages" msgid "Padding between pages"
msgstr "Interpaĝa plenigo" msgstr "Interpaĝa plenigo"
#: ../config.c:153 #: ../config.c:137
msgid "Number of pages per row" msgid "Number of pages per row"
msgstr "Nombro da paĝoj po vico" msgstr "Nombro da paĝoj po vico"
#: ../config.c:155 #: ../config.c:139
msgid "Column of the first page" msgid "Column of the first page"
msgstr "" msgstr ""
#: ../config.c:157 #: ../config.c:141
msgid "Scroll step" msgid "Scroll step"
msgstr "Rulumpaŝo" msgstr "Rulumpaŝo"
#: ../config.c:159 #: ../config.c:143
msgid "Horizontal scroll step" msgid "Horizontal scroll step"
msgstr "" msgstr ""
#: ../config.c:161 #: ../config.c:145
msgid "Full page scroll overlap" msgid "Full page scroll overlap"
msgstr "" msgstr ""
#: ../config.c:163 #: ../config.c:147
msgid "Zoom minimum" msgid "Zoom minimum"
msgstr "Mimimuma zomo" msgstr "Mimimuma zomo"
#: ../config.c:165 #: ../config.c:149
msgid "Zoom maximum" msgid "Zoom maximum"
msgstr "Maksimuma zomo" msgstr "Maksimuma zomo"
#: ../config.c:167 #: ../config.c:151
msgid "Maximum number of pages to keep in the cache" msgid "Maximum number of pages to keep in the cache"
msgstr "" msgstr ""
#: ../config.c:169 #: ../config.c:153
msgid "Number of positions to remember in the jumplist" msgid "Number of positions to remember in the jumplist"
msgstr "" msgstr ""
#: ../config.c:171 #: ../config.c:155
msgid "Recoloring (dark color)" msgid "Recoloring (dark color)"
msgstr "Rekolorigo (malhela koloro)" msgstr "Rekolorigo (malhela koloro)"
#: ../config.c:173 #: ../config.c:156
msgid "Recoloring (light color)" msgid "Recoloring (light color)"
msgstr "Rekolorigo (hela koloro)" msgstr "Rekolorigo (hela koloro)"
#: ../config.c:175 #: ../config.c:157
msgid "Color for highlighting" msgid "Color for highlighting"
msgstr "Koloro por fonlumo" msgstr "Koloro por fonlumo"
#: ../config.c:177 #: ../config.c:159
msgid "Color for highlighting (active)" msgid "Color for highlighting (active)"
msgstr "Koloro por fonlumo (aktiva)" msgstr "Koloro por fonlumo (aktiva)"
#: ../config.c:179 #: ../config.c:161
msgid "'Loading ...' background color" msgid "'Loading ...' background color"
msgstr "" msgstr ""
#: ../config.c:181 #: ../config.c:163
msgid "'Loading ...' foreground color" msgid "'Loading ...' foreground color"
msgstr "" msgstr ""
#: ../config.c:185 #: ../config.c:167
msgid "Recolor pages" msgid "Recolor pages"
msgstr "Rekoloru paĝojn" msgstr "Rekoloru paĝojn"
#: ../config.c:187 #: ../config.c:169
msgid "When recoloring keep original hue and adjust lightness only" msgid "When recoloring keep original hue and adjust lightness only"
msgstr "" msgstr ""
#: ../config.c:189 #: ../config.c:171
msgid "Wrap scrolling" msgid "Wrap scrolling"
msgstr "Ĉirkaŭflua rulumado" msgstr "Ĉirkaŭflua rulumado"
#: ../config.c:191 #: ../config.c:173
msgid "Page aware scrolling" msgid "Page aware scrolling"
msgstr "" msgstr ""
#: ../config.c:193 #: ../config.c:175
msgid "Advance number of pages per row" msgid "Advance number of pages per row"
msgstr "" msgstr ""
#: ../config.c:195 #: ../config.c:177
msgid "Horizontally centered zoom" msgid "Horizontally centered zoom"
msgstr "" msgstr ""
#: ../config.c:197 #: ../config.c:179
msgid "Align link target to the left" msgid "Align link target to the left"
msgstr "" msgstr ""
#: ../config.c:199 #: ../config.c:181
msgid "Let zoom be changed when following links"
msgstr ""
#: ../config.c:183
msgid "Center result horizontally" msgid "Center result horizontally"
msgstr "" msgstr ""
#: ../config.c:201 #: ../config.c:185
msgid "Transparency for highlighting" msgid "Transparency for highlighting"
msgstr "Travidebleco por fonlumo" msgstr "Travidebleco por fonlumo"
#: ../config.c:203 #: ../config.c:187
msgid "Render 'Loading ...'" msgid "Render 'Loading ...'"
msgstr "Bildigu 'Ŝargado ...'" msgstr "Bildigu 'Ŝargado ...'"
#: ../config.c:204 #: ../config.c:188
msgid "Adjust to when opening file" msgid "Adjust to when opening file"
msgstr "Adaptaĵo ĉe malfermo de dosiero" msgstr "Adaptaĵo ĉe malfermo de dosiero"
#: ../config.c:206 #: ../config.c:190
msgid "Show hidden files and directories" msgid "Show hidden files and directories"
msgstr "Montru kaŝitajn dosierojn kaj -ujojn" msgstr "Montru kaŝitajn dosierojn kaj -ujojn"
#: ../config.c:208 #: ../config.c:192
msgid "Show directories" msgid "Show directories"
msgstr "Montru dosierujojn" msgstr "Montru dosierujojn"
#: ../config.c:210 #: ../config.c:194
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Ĉiam malfermu ĉe unua paĝo" msgstr "Ĉiam malfermu ĉe unua paĝo"
#: ../config.c:212 #: ../config.c:196
msgid "Highlight search results" msgid "Highlight search results"
msgstr "" msgstr ""
#: ../config.c:214 #: ../config.c:198
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../config.c:216 #: ../config.c:200
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "" msgstr ""
#: ../config.c:218 #: ../config.c:202
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../config.c:220 #: ../config.c:204
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../config.c:222 #: ../config.c:206
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../config.c:224 ../main.c:65 #: ../config.c:208 ../main.c:67
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../config.c:210
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../config.c:383 #: ../config.c:369
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Aldonu paĝosignon" msgstr "Aldonu paĝosignon"
#: ../config.c:384 #: ../config.c:370
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Forigu paĝosignon" msgstr "Forigu paĝosignon"
#: ../config.c:385 #: ../config.c:371
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Listigu ĉiujn paĝosignojn" msgstr "Listigu ĉiujn paĝosignojn"
#: ../config.c:386 #: ../config.c:372
msgid "Close current file" msgid "Close current file"
msgstr "Fermu nunan dosieron" msgstr "Fermu nunan dosieron"
#: ../config.c:387 #: ../config.c:373
msgid "Show file information" msgid "Show file information"
msgstr "Montru dosiera informacio" msgstr "Montru dosiera informacio"
#: ../config.c:388 #: ../config.c:374
msgid "Execute a command" msgid "Execute a command"
msgstr "" msgstr ""
#: ../config.c:389 #: ../config.c:375
msgid "Show help" msgid "Show help"
msgstr "Montru helpon" msgstr "Montru helpon"
#: ../config.c:390 #: ../config.c:376
msgid "Open document" msgid "Open document"
msgstr "Malfermu dokumenton" msgstr "Malfermu dokumenton"
#: ../config.c:391 #: ../config.c:377
msgid "Close zathura" msgid "Close zathura"
msgstr "Fermu zathura" msgstr "Fermu zathura"
#: ../config.c:392 #: ../config.c:378
msgid "Print document" msgid "Print document"
msgstr "Presu dokumenton" msgstr "Presu dokumenton"
#: ../config.c:393 #: ../config.c:379
msgid "Save document" msgid "Save document"
msgstr "Konservu dokumenton" msgstr "Konservu dokumenton"
#: ../config.c:394 #: ../config.c:380
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Konservu dokumenton (deviga anstataŭo)" msgstr "Konservu dokumenton (deviga anstataŭo)"
#: ../config.c:395 #: ../config.c:381
msgid "Save attachments" msgid "Save attachments"
msgstr "Konservu kunsendaĵojn" msgstr "Konservu kunsendaĵojn"
#: ../config.c:396 #: ../config.c:382
msgid "Set page offset" msgid "Set page offset"
msgstr "Agordu paĝdelokado" msgstr "Agordu paĝdelokado"
#: ../config.c:397 #: ../config.c:383
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "" msgstr ""
#: ../config.c:398 #: ../config.c:384
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "" msgstr ""
#: ../config.c:399 #: ../config.c:385
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "" msgstr ""
#: ../config.c:400 #: ../config.c:386
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "" msgstr ""
#: ../config.c:401 #: ../config.c:387
msgid "Show version information" msgid "Show version information"
msgstr "" msgstr ""
#: ../links.c:175 ../links.c:254 #: ../links.c:199 ../links.c:278
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Fiaskis iro de xdg-open" msgstr "Fiaskis iro de xdg-open"
#: ../links.c:193 #: ../links.c:217
#, c-format #, c-format
msgid "Link: page %d" msgid "Link: page %d"
msgstr "" msgstr ""
#: ../links.c:200 #: ../links.c:224
#, c-format #, c-format
msgid "Link: %s" msgid "Link: %s"
msgstr "" msgstr ""
#: ../links.c:204 #: ../links.c:228
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../main.c:56 #: ../main.c:58
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid"
msgstr "" msgstr ""
#: ../main.c:57 #: ../main.c:59
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Vojo al la agorda dosierujo" msgstr "Vojo al la agorda dosierujo"
#: ../main.c:58 #: ../main.c:60
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Vojo al la datuma dosierujo" msgstr "Vojo al la datuma dosierujo"
#: ../main.c:59 #: ../main.c:61
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Vojoj al dosierujoj enhavantaj kromaĵojn" msgstr "Vojoj al dosierujoj enhavantaj kromaĵojn"
#: ../main.c:60 #: ../main.c:62
msgid "Fork into the background" msgid "Fork into the background"
msgstr "" msgstr ""
#: ../main.c:61 #: ../main.c:63
msgid "Document password" msgid "Document password"
msgstr "" msgstr ""
#: ../main.c:62 #: ../main.c:64
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../main.c:63 #: ../main.c:65
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Nivelo de ĵurnalo (debug, info, warning, error)" msgstr "Nivelo de ĵurnalo (debug, info, warning, error)"
#: ../main.c:64 #: ../main.c:66
msgid "Print version information" msgid "Print version information"
msgstr "Montru dosiera informacio" msgstr "Montru dosiera informacio"
#: ../main.c:66 #: ../main.c:68
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../page-widget.c:474 #: ../page-widget.c:526
msgid "Loading..." msgid "Loading..."
msgstr "Ŝargado ..." msgstr "Ŝargado ..."
#: ../page-widget.c:678 #: ../page-widget.c:845
#, c-format
msgid "Copied selected text to clipboard: %s"
msgstr "Selektita teksto estas kopiita en la poŝo: %s"
#: ../page-widget.c:776
msgid "Copy image" msgid "Copy image"
msgstr "Kopiu bildon" msgstr "Kopiu bildon"
#: ../page-widget.c:777 #: ../page-widget.c:846
msgid "Save image as" msgid "Save image as"
msgstr "Savi bildojn kiel" msgstr "Savi bildojn kiel"
#: ../shortcuts.c:1154 #: ../shortcuts.c:1076
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Ĉi-tiu dokumento enhavas neniam indekson." msgstr "Ĉi-tiu dokumento enhavas neniam indekson."
#: ../zathura.c:227 ../zathura.c:975 #: ../zathura.c:213 ../zathura.c:959
msgid "[No name]" msgid "[No name]"
msgstr "[Neniu nomo]" msgstr "[Neniu nomo]"
#: ../zathura.c:584 #: ../zathura.c:486
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
#: ../zathura.c:535
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura.c:594 #: ../zathura.c:545
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

259
po/es.po
View file

@ -6,8 +6,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2013-08-15 00:28+0200\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n"
"PO-Revision-Date: 2013-08-15 00:34+0200\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n"
"Last-Translator: Moritz Lipp <mlq@pwmt.org>\n" "Last-Translator: Moritz Lipp <mlq@pwmt.org>\n"
"Language-Team: Spanish (Castilian) (http://www.transifex.net/projects/p/" "Language-Team: Spanish (Castilian) (http://www.transifex.net/projects/p/"
"zathura/language/es/)\n" "zathura/language/es/)\n"
@ -17,24 +17,29 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n"
#: ../callbacks.c:314 #: ../callbacks.c:297
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Entrada inválida: '%s'." msgstr "Entrada inválida: '%s'."
#: ../callbacks.c:350 #: ../callbacks.c:333
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Índice invalido: '%s'." msgstr "Índice invalido: '%s'."
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:158 #: ../callbacks.c:546
#: ../commands.c:274 ../commands.c:304 ../commands.c:330 ../commands.c:425 #, c-format
#: ../commands.c:546 ../shortcuts.c:485 ../shortcuts.c:1251 msgid "Copied selected text to clipboard: %s"
#: ../shortcuts.c:1280 msgstr "Se ha copiado el texto seleccionado al portapapeles: %s"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:152
#: ../commands.c:268 ../commands.c:298 ../commands.c:324 ../commands.c:419
#: ../commands.c:540 ../shortcuts.c:403 ../shortcuts.c:1163
#: ../shortcuts.c:1192
msgid "No document opened." msgid "No document opened."
msgstr "Ningún documento abierto." msgstr "Ningún documento abierto."
#: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:430 #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424
msgid "Invalid number of arguments given." msgid "Invalid number of arguments given."
msgstr "Número de argumentos inválido." msgstr "Número de argumentos inválido."
@ -73,61 +78,93 @@ msgstr "Error al eliminar el favorito: %s"
msgid "No such bookmark: %s" msgid "No such bookmark: %s"
msgstr "No existe el favorito: %s" msgstr "No existe el favorito: %s"
#: ../commands.c:180 ../commands.c:202 #: ../commands.c:162
msgid "Title"
msgstr ""
#: ../commands.c:163
msgid "Author"
msgstr ""
#: ../commands.c:164
msgid "Subject"
msgstr ""
#: ../commands.c:165
msgid "Keywords"
msgstr ""
#: ../commands.c:166
msgid "Creator"
msgstr ""
#: ../commands.c:167
msgid "Producer"
msgstr ""
#: ../commands.c:168
msgid "Creation date"
msgstr ""
#: ../commands.c:169
msgid "Modification date"
msgstr ""
#: ../commands.c:174 ../commands.c:196
msgid "No information available." msgid "No information available."
msgstr "No hay información disponible." msgstr "No hay información disponible."
#: ../commands.c:240 #: ../commands.c:234
msgid "Too many arguments." msgid "Too many arguments."
msgstr "Demasiados argumentos." msgstr "Demasiados argumentos."
#: ../commands.c:251 #: ../commands.c:245
msgid "No arguments given." msgid "No arguments given."
msgstr "Ningún argumento recibido." msgstr "Ningún argumento recibido."
#: ../commands.c:310 ../commands.c:336 #: ../commands.c:304 ../commands.c:330
msgid "Document saved." msgid "Document saved."
msgstr "Documento guardado." msgstr "Documento guardado."
#: ../commands.c:312 ../commands.c:338 #: ../commands.c:306 ../commands.c:332
msgid "Failed to save document." msgid "Failed to save document."
msgstr "Error al guardar el documento." msgstr "Error al guardar el documento."
#: ../commands.c:315 ../commands.c:341 #: ../commands.c:309 ../commands.c:335
msgid "Invalid number of arguments." msgid "Invalid number of arguments."
msgstr "Número de argumentos inválido." msgstr "Número de argumentos inválido."
#: ../commands.c:449 #: ../commands.c:443
#, c-format #, c-format
msgid "Couldn't write attachment '%s' to '%s'." msgid "Couldn't write attachment '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'." msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
#: ../commands.c:451 #: ../commands.c:445
#, c-format #, c-format
msgid "Wrote attachment '%s' to '%s'." msgid "Wrote attachment '%s' to '%s'."
msgstr "Escrito fichero adjunto '%s' a '%s'." msgstr "Escrito fichero adjunto '%s' a '%s'."
#: ../commands.c:495 #: ../commands.c:489
#, c-format #, c-format
msgid "Wrote image '%s' to '%s'." msgid "Wrote image '%s' to '%s'."
msgstr "Escrito fichero adjunto '%s' a '%s'." msgstr "Escrito fichero adjunto '%s' a '%s'."
#: ../commands.c:497 #: ../commands.c:491
#, c-format #, c-format
msgid "Couldn't write image '%s' to '%s'." msgid "Couldn't write image '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'." msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
#: ../commands.c:504 #: ../commands.c:498
#, c-format #, c-format
msgid "Unknown image '%s'." msgid "Unknown image '%s'."
msgstr "Imagen desconocida '%s'." msgstr "Imagen desconocida '%s'."
#: ../commands.c:508 #: ../commands.c:502
#, c-format #, c-format
msgid "Unknown attachment or image '%s'." msgid "Unknown attachment or image '%s'."
msgstr "Adjunto o imagen desconocidos '%s'." msgstr "Adjunto o imagen desconocidos '%s'."
#: ../commands.c:559 #: ../commands.c:553
msgid "Argument must be a number." msgid "Argument must be a number."
msgstr "El argumento ha de ser un número." msgstr "El argumento ha de ser un número."
@ -146,329 +183,335 @@ msgid "Images"
msgstr "Imágenes" msgstr "Imágenes"
#. zathura settings #. zathura settings
#: ../config.c:147 #: ../config.c:131
msgid "Database backend" msgid "Database backend"
msgstr "Base de datos" msgstr "Base de datos"
#: ../config.c:149 #: ../config.c:133
msgid "Zoom step" msgid "Zoom step"
msgstr "Unidad de zoom" msgstr "Unidad de zoom"
#: ../config.c:151 #: ../config.c:135
msgid "Padding between pages" msgid "Padding between pages"
msgstr "Separación entre páginas" msgstr "Separación entre páginas"
#: ../config.c:153 #: ../config.c:137
msgid "Number of pages per row" msgid "Number of pages per row"
msgstr "Número de páginas por fila" msgstr "Número de páginas por fila"
#: ../config.c:155 #: ../config.c:139
msgid "Column of the first page" msgid "Column of the first page"
msgstr "Columna de la primera página" msgstr "Columna de la primera página"
#: ../config.c:157 #: ../config.c:141
msgid "Scroll step" msgid "Scroll step"
msgstr "Paso de desplazamiento" msgstr "Paso de desplazamiento"
#: ../config.c:159 #: ../config.c:143
msgid "Horizontal scroll step" msgid "Horizontal scroll step"
msgstr "Paso de desplazamiento horizontal" msgstr "Paso de desplazamiento horizontal"
#: ../config.c:161 #: ../config.c:145
msgid "Full page scroll overlap" msgid "Full page scroll overlap"
msgstr "Solapamiento del desplazamiento de página" msgstr "Solapamiento del desplazamiento de página"
#: ../config.c:163 #: ../config.c:147
msgid "Zoom minimum" msgid "Zoom minimum"
msgstr "Zoom mínimo" msgstr "Zoom mínimo"
#: ../config.c:165 #: ../config.c:149
msgid "Zoom maximum" msgid "Zoom maximum"
msgstr "Zoom máximo" msgstr "Zoom máximo"
#: ../config.c:167 #: ../config.c:151
msgid "Maximum number of pages to keep in the cache" msgid "Maximum number of pages to keep in the cache"
msgstr "" msgstr ""
#: ../config.c:169 #: ../config.c:153
msgid "Number of positions to remember in the jumplist" msgid "Number of positions to remember in the jumplist"
msgstr "Número de posiciones a recordar en la lista de saltos" msgstr "Número de posiciones a recordar en la lista de saltos"
#: ../config.c:171 #: ../config.c:155
msgid "Recoloring (dark color)" msgid "Recoloring (dark color)"
msgstr "Recoloreado (color oscuro)" msgstr "Recoloreado (color oscuro)"
#: ../config.c:173 #: ../config.c:156
msgid "Recoloring (light color)" msgid "Recoloring (light color)"
msgstr "Recoloreado (color claro)" msgstr "Recoloreado (color claro)"
#: ../config.c:175 #: ../config.c:157
msgid "Color for highlighting" msgid "Color for highlighting"
msgstr "Color para destacar" msgstr "Color para destacar"
#: ../config.c:177 #: ../config.c:159
msgid "Color for highlighting (active)" msgid "Color for highlighting (active)"
msgstr "Color para destacar (activo)" msgstr "Color para destacar (activo)"
#: ../config.c:179 #: ../config.c:161
msgid "'Loading ...' background color" msgid "'Loading ...' background color"
msgstr "" msgstr ""
#: ../config.c:181 #: ../config.c:163
msgid "'Loading ...' foreground color" msgid "'Loading ...' foreground color"
msgstr "" msgstr ""
#: ../config.c:185 #: ../config.c:167
msgid "Recolor pages" msgid "Recolor pages"
msgstr "Recolorear páginas" msgstr "Recolorear páginas"
#: ../config.c:187 #: ../config.c:169
msgid "When recoloring keep original hue and adjust lightness only" msgid "When recoloring keep original hue and adjust lightness only"
msgstr "" msgstr ""
"Cuando se recoloree, mantener el tono original y ajustar únicamente la " "Cuando se recoloree, mantener el tono original y ajustar únicamente la "
"luminosidad" "luminosidad"
#: ../config.c:189 #: ../config.c:171
msgid "Wrap scrolling" msgid "Wrap scrolling"
msgstr "Navegación/Scroll cíclica/o" msgstr "Navegación/Scroll cíclica/o"
#: ../config.c:191 #: ../config.c:173
msgid "Page aware scrolling" msgid "Page aware scrolling"
msgstr "" msgstr ""
#: ../config.c:193 #: ../config.c:175
msgid "Advance number of pages per row" msgid "Advance number of pages per row"
msgstr "" msgstr ""
#: ../config.c:195 #: ../config.c:177
msgid "Horizontally centered zoom" msgid "Horizontally centered zoom"
msgstr "Zoom centrado horizontalmente" msgstr "Zoom centrado horizontalmente"
#: ../config.c:197 #: ../config.c:179
msgid "Align link target to the left" msgid "Align link target to the left"
msgstr "" msgstr ""
#: ../config.c:199 #: ../config.c:181
msgid "Let zoom be changed when following links"
msgstr ""
#: ../config.c:183
msgid "Center result horizontally" msgid "Center result horizontally"
msgstr "Centrar el resultado horizontalmente" msgstr "Centrar el resultado horizontalmente"
#: ../config.c:201 #: ../config.c:185
msgid "Transparency for highlighting" msgid "Transparency for highlighting"
msgstr "Transparencia para el destacado" msgstr "Transparencia para el destacado"
#: ../config.c:203 #: ../config.c:187
msgid "Render 'Loading ...'" msgid "Render 'Loading ...'"
msgstr "Renderizado 'Cargando ...'" msgstr "Renderizado 'Cargando ...'"
#: ../config.c:204 #: ../config.c:188
msgid "Adjust to when opening file" msgid "Adjust to when opening file"
msgstr "Ajustarse al abrir un fichero" msgstr "Ajustarse al abrir un fichero"
#: ../config.c:206 #: ../config.c:190
msgid "Show hidden files and directories" msgid "Show hidden files and directories"
msgstr "Mostrar directorios y ficheros ocultos" msgstr "Mostrar directorios y ficheros ocultos"
#: ../config.c:208 #: ../config.c:192
msgid "Show directories" msgid "Show directories"
msgstr "Mostrar directorios" msgstr "Mostrar directorios"
#: ../config.c:210 #: ../config.c:194
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Abrir siempre la primera página" msgstr "Abrir siempre la primera página"
#: ../config.c:212 #: ../config.c:196
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Destacar los resultados de búsqueda" msgstr "Destacar los resultados de búsqueda"
#: ../config.c:214 #: ../config.c:198
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "Habilitar la búsqueda incremental" msgstr "Habilitar la búsqueda incremental"
#: ../config.c:216 #: ../config.c:200
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Borrar resultados de búsqueda al abortar" msgstr "Borrar resultados de búsqueda al abortar"
#: ../config.c:218 #: ../config.c:202
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "Usar el nombre del archivo en el título de la ventana" msgstr "Usar el nombre del archivo en el título de la ventana"
#: ../config.c:220 #: ../config.c:204
#, fuzzy
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "Usar el nombre del archivo en el título de la ventana" msgstr ""
#: ../config.c:222 #: ../config.c:206
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../config.c:224 ../main.c:65 #: ../config.c:208 ../main.c:67
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "Habilitar soporte synctex" msgstr "Habilitar soporte synctex"
#: ../config.c:210
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../config.c:383 #: ../config.c:369
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Añadir Favorito" msgstr "Añadir Favorito"
#: ../config.c:384 #: ../config.c:370
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Eliminar Favorito" msgstr "Eliminar Favorito"
#: ../config.c:385 #: ../config.c:371
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Listar favoritos" msgstr "Listar favoritos"
#: ../config.c:386 #: ../config.c:372
msgid "Close current file" msgid "Close current file"
msgstr "Cerrar fichero actual" msgstr "Cerrar fichero actual"
#: ../config.c:387 #: ../config.c:373
msgid "Show file information" msgid "Show file information"
msgstr "Mostrar información del fichero" msgstr "Mostrar información del fichero"
#: ../config.c:388 #: ../config.c:374
msgid "Execute a command" msgid "Execute a command"
msgstr "Ejecutar un comando" msgstr "Ejecutar un comando"
#: ../config.c:389 #: ../config.c:375
msgid "Show help" msgid "Show help"
msgstr "Mostrar ayuda" msgstr "Mostrar ayuda"
#: ../config.c:390 #: ../config.c:376
msgid "Open document" msgid "Open document"
msgstr "Abrir documento" msgstr "Abrir documento"
#: ../config.c:391 #: ../config.c:377
msgid "Close zathura" msgid "Close zathura"
msgstr "Salir de zathura" msgstr "Salir de zathura"
#: ../config.c:392 #: ../config.c:378
msgid "Print document" msgid "Print document"
msgstr "Imprimir documento" msgstr "Imprimir documento"
#: ../config.c:393 #: ../config.c:379
msgid "Save document" msgid "Save document"
msgstr "Guardar documento" msgstr "Guardar documento"
#: ../config.c:394 #: ../config.c:380
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Guardar documento (y sobreescribir)" msgstr "Guardar documento (y sobreescribir)"
#: ../config.c:395 #: ../config.c:381
msgid "Save attachments" msgid "Save attachments"
msgstr "Guardar ficheros adjuntos" msgstr "Guardar ficheros adjuntos"
#: ../config.c:396 #: ../config.c:382
msgid "Set page offset" msgid "Set page offset"
msgstr "Asignar el desplazamiento de página" msgstr "Asignar el desplazamiento de página"
#: ../config.c:397 #: ../config.c:383
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Marcar la posición actual en el documento" msgstr "Marcar la posición actual en el documento"
#: ../config.c:398 #: ../config.c:384
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Borrar las marcas especificadas" msgstr "Borrar las marcas especificadas"
#: ../config.c:399 #: ../config.c:385
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "No destacar los resultados de la búsqueda actual" msgstr "No destacar los resultados de la búsqueda actual"
#: ../config.c:400 #: ../config.c:386
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Destacar los resultados de la búsqueda actual" msgstr "Destacar los resultados de la búsqueda actual"
#: ../config.c:401 #: ../config.c:387
msgid "Show version information" msgid "Show version information"
msgstr "Mostrar versión" msgstr "Mostrar versión"
#: ../links.c:175 ../links.c:254 #: ../links.c:199 ../links.c:278
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Error al tratar de ejecutar xdg-open" msgstr "Error al tratar de ejecutar xdg-open"
#: ../links.c:193 #: ../links.c:217
#, c-format #, c-format
msgid "Link: page %d" msgid "Link: page %d"
msgstr "" msgstr ""
#: ../links.c:200 #: ../links.c:224
#, c-format #, c-format
msgid "Link: %s" msgid "Link: %s"
msgstr "" msgstr ""
#: ../links.c:204 #: ../links.c:228
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../main.c:56 #: ../main.c:58
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid"
msgstr "Reasignar a la ventana especificada por xid" msgstr "Reasignar a la ventana especificada por xid"
#: ../main.c:57 #: ../main.c:59
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Ruta al directorio de configuración" msgstr "Ruta al directorio de configuración"
#: ../main.c:58 #: ../main.c:60
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Ruta para el directorio de datos" msgstr "Ruta para el directorio de datos"
#: ../main.c:59 #: ../main.c:61
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Ruta a los directorios que contienen los plugins" msgstr "Ruta a los directorios que contienen los plugins"
#: ../main.c:60 #: ../main.c:62
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Fork, ejecutándose en background" msgstr "Fork, ejecutándose en background"
#: ../main.c:61 #: ../main.c:63
msgid "Document password" msgid "Document password"
msgstr "Contraseña del documento" msgstr "Contraseña del documento"
#: ../main.c:62 #: ../main.c:64
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../main.c:63 #: ../main.c:65
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Nivel de log (debug, info, warning, error)" msgstr "Nivel de log (debug, info, warning, error)"
#: ../main.c:64 #: ../main.c:66
msgid "Print version information" msgid "Print version information"
msgstr "Mostrar información del fichero" msgstr "Mostrar información del fichero"
#: ../main.c:66 #: ../main.c:68
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor de Synctex (reenvíado al commando synctex)" msgstr "Editor de Synctex (reenvíado al commando synctex)"
#: ../page-widget.c:474 #: ../page-widget.c:526
msgid "Loading..." msgid "Loading..."
msgstr "Cargando ..." msgstr "Cargando ..."
#: ../page-widget.c:678 #: ../page-widget.c:845
#, c-format
msgid "Copied selected text to clipboard: %s"
msgstr "Se ha copiado el texto seleccionado al portapapeles: %s"
#: ../page-widget.c:776
msgid "Copy image" msgid "Copy image"
msgstr "Copiar imagen" msgstr "Copiar imagen"
#: ../page-widget.c:777 #: ../page-widget.c:846
msgid "Save image as" msgid "Save image as"
msgstr "Salvar imagen como" msgstr "Salvar imagen como"
#: ../shortcuts.c:1154 #: ../shortcuts.c:1076
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Este documento no contiene ningún índice" msgstr "Este documento no contiene ningún índice"
#: ../zathura.c:227 ../zathura.c:975 #: ../zathura.c:213 ../zathura.c:959
msgid "[No name]" msgid "[No name]"
msgstr "[Sin nombre]" msgstr "[Sin nombre]"
#: ../zathura.c:584 #: ../zathura.c:486
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
#: ../zathura.c:535
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura.c:594 #: ../zathura.c:545
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

View file

@ -2,13 +2,13 @@
# See LICENSE file for license and copyright information # See LICENSE file for license and copyright information
# #
# Translators: # Translators:
# <wat.sh1ken@gmail.com>, 2012. # watsh1ken <wat.sh1ken@gmail.com>, 2012
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2013-08-15 00:28+0200\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n"
"PO-Revision-Date: 2013-08-15 00:34+0200\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n"
"Last-Translator: watsh1ken <wat.sh1ken@gmail.com>\n" "Last-Translator: watsh1ken <wat.sh1ken@gmail.com>\n"
"Language-Team: Spanish (Chile) (http://www.transifex.net/projects/p/zathura/" "Language-Team: Spanish (Chile) (http://www.transifex.net/projects/p/zathura/"
"language/es_CL/)\n" "language/es_CL/)\n"
@ -18,24 +18,29 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n"
#: ../callbacks.c:314 #: ../callbacks.c:297
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Entrada inválida: '%s'." msgstr "Entrada inválida: '%s'."
#: ../callbacks.c:350 #: ../callbacks.c:333
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Índice invalido: '%s'." msgstr "Índice invalido: '%s'."
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:158 #: ../callbacks.c:546
#: ../commands.c:274 ../commands.c:304 ../commands.c:330 ../commands.c:425 #, c-format
#: ../commands.c:546 ../shortcuts.c:485 ../shortcuts.c:1251 msgid "Copied selected text to clipboard: %s"
#: ../shortcuts.c:1280 msgstr "Texto seleccionado copiado al portapapeles: %s"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:152
#: ../commands.c:268 ../commands.c:298 ../commands.c:324 ../commands.c:419
#: ../commands.c:540 ../shortcuts.c:403 ../shortcuts.c:1163
#: ../shortcuts.c:1192
msgid "No document opened." msgid "No document opened."
msgstr "Ningún documento abierto." msgstr "Ningún documento abierto."
#: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:430 #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424
msgid "Invalid number of arguments given." msgid "Invalid number of arguments given."
msgstr "Número de argumentos inválido." msgstr "Número de argumentos inválido."
@ -74,61 +79,93 @@ msgstr "Error al eliminar marcador: %s"
msgid "No such bookmark: %s" msgid "No such bookmark: %s"
msgstr "No existe marcador: %s" msgstr "No existe marcador: %s"
#: ../commands.c:180 ../commands.c:202 #: ../commands.c:162
msgid "Title"
msgstr ""
#: ../commands.c:163
msgid "Author"
msgstr ""
#: ../commands.c:164
msgid "Subject"
msgstr ""
#: ../commands.c:165
msgid "Keywords"
msgstr ""
#: ../commands.c:166
msgid "Creator"
msgstr ""
#: ../commands.c:167
msgid "Producer"
msgstr ""
#: ../commands.c:168
msgid "Creation date"
msgstr ""
#: ../commands.c:169
msgid "Modification date"
msgstr ""
#: ../commands.c:174 ../commands.c:196
msgid "No information available." msgid "No information available."
msgstr "No hay información disponible." msgstr "No hay información disponible."
#: ../commands.c:240 #: ../commands.c:234
msgid "Too many arguments." msgid "Too many arguments."
msgstr "Demasiados argumentos." msgstr "Demasiados argumentos."
#: ../commands.c:251 #: ../commands.c:245
msgid "No arguments given." msgid "No arguments given."
msgstr "Ningún argumento recibido." msgstr "Ningún argumento recibido."
#: ../commands.c:310 ../commands.c:336 #: ../commands.c:304 ../commands.c:330
msgid "Document saved." msgid "Document saved."
msgstr "Documento guardado." msgstr "Documento guardado."
#: ../commands.c:312 ../commands.c:338 #: ../commands.c:306 ../commands.c:332
msgid "Failed to save document." msgid "Failed to save document."
msgstr "Error al guardar el documento." msgstr "Error al guardar el documento."
#: ../commands.c:315 ../commands.c:341 #: ../commands.c:309 ../commands.c:335
msgid "Invalid number of arguments." msgid "Invalid number of arguments."
msgstr "Número de argumentos inválido." msgstr "Número de argumentos inválido."
#: ../commands.c:449 #: ../commands.c:443
#, c-format #, c-format
msgid "Couldn't write attachment '%s' to '%s'." msgid "Couldn't write attachment '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'." msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
#: ../commands.c:451 #: ../commands.c:445
#, c-format #, c-format
msgid "Wrote attachment '%s' to '%s'." msgid "Wrote attachment '%s' to '%s'."
msgstr "Fichero adjunto escrito '%s' a '%s'." msgstr "Fichero adjunto escrito '%s' a '%s'."
#: ../commands.c:495 #: ../commands.c:489
#, c-format #, c-format
msgid "Wrote image '%s' to '%s'." msgid "Wrote image '%s' to '%s'."
msgstr "Fichero adjunto escrito '%s' a '%s'." msgstr "Fichero adjunto escrito '%s' a '%s'."
#: ../commands.c:497 #: ../commands.c:491
#, c-format #, c-format
msgid "Couldn't write image '%s' to '%s'." msgid "Couldn't write image '%s' to '%s'."
msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'." msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'."
#: ../commands.c:504 #: ../commands.c:498
#, c-format #, c-format
msgid "Unknown image '%s'." msgid "Unknown image '%s'."
msgstr "" msgstr ""
#: ../commands.c:508 #: ../commands.c:502
#, c-format #, c-format
msgid "Unknown attachment or image '%s'." msgid "Unknown attachment or image '%s'."
msgstr "" msgstr ""
#: ../commands.c:559 #: ../commands.c:553
msgid "Argument must be a number." msgid "Argument must be a number."
msgstr "El argumento debe ser un número." msgstr "El argumento debe ser un número."
@ -147,326 +184,333 @@ msgid "Images"
msgstr "" msgstr ""
#. zathura settings #. zathura settings
#: ../config.c:147 #: ../config.c:131
msgid "Database backend" msgid "Database backend"
msgstr "Fin de la base de datos." msgstr "Fin de la base de datos."
#: ../config.c:149 #: ../config.c:133
msgid "Zoom step" msgid "Zoom step"
msgstr "Unidad de zoom" msgstr "Unidad de zoom"
#: ../config.c:151 #: ../config.c:135
msgid "Padding between pages" msgid "Padding between pages"
msgstr "Separación entre páginas" msgstr "Separación entre páginas"
#: ../config.c:153 #: ../config.c:137
msgid "Number of pages per row" msgid "Number of pages per row"
msgstr "Numero de páginas por fila" msgstr "Numero de páginas por fila"
#: ../config.c:155 #: ../config.c:139
msgid "Column of the first page" msgid "Column of the first page"
msgstr "" msgstr ""
#: ../config.c:157 #: ../config.c:141
msgid "Scroll step" msgid "Scroll step"
msgstr "Unidad de desplazamiento" msgstr "Unidad de desplazamiento"
#: ../config.c:159 #: ../config.c:143
msgid "Horizontal scroll step" msgid "Horizontal scroll step"
msgstr "" msgstr ""
#: ../config.c:161 #: ../config.c:145
msgid "Full page scroll overlap" msgid "Full page scroll overlap"
msgstr "" msgstr ""
#: ../config.c:163 #: ../config.c:147
msgid "Zoom minimum" msgid "Zoom minimum"
msgstr "Zoom mínimo" msgstr "Zoom mínimo"
#: ../config.c:165 #: ../config.c:149
msgid "Zoom maximum" msgid "Zoom maximum"
msgstr "Zoom máximo" msgstr "Zoom máximo"
#: ../config.c:167 #: ../config.c:151
msgid "Maximum number of pages to keep in the cache" msgid "Maximum number of pages to keep in the cache"
msgstr "" msgstr ""
#: ../config.c:169 #: ../config.c:153
msgid "Number of positions to remember in the jumplist" msgid "Number of positions to remember in the jumplist"
msgstr "" msgstr ""
#: ../config.c:171 #: ../config.c:155
msgid "Recoloring (dark color)" msgid "Recoloring (dark color)"
msgstr "Recolorando (color oscuro)" msgstr "Recolorando (color oscuro)"
#: ../config.c:173 #: ../config.c:156
msgid "Recoloring (light color)" msgid "Recoloring (light color)"
msgstr "Recolorando (color claro)" msgstr "Recolorando (color claro)"
#: ../config.c:175 #: ../config.c:157
msgid "Color for highlighting" msgid "Color for highlighting"
msgstr "Color para destacar" msgstr "Color para destacar"
#: ../config.c:177 #: ../config.c:159
msgid "Color for highlighting (active)" msgid "Color for highlighting (active)"
msgstr "Color para destacar (activo)" msgstr "Color para destacar (activo)"
#: ../config.c:179 #: ../config.c:161
msgid "'Loading ...' background color" msgid "'Loading ...' background color"
msgstr "" msgstr ""
#: ../config.c:181 #: ../config.c:163
msgid "'Loading ...' foreground color" msgid "'Loading ...' foreground color"
msgstr "" msgstr ""
#: ../config.c:185 #: ../config.c:167
msgid "Recolor pages" msgid "Recolor pages"
msgstr "Recolorar páginas" msgstr "Recolorar páginas"
#: ../config.c:187 #: ../config.c:169
msgid "When recoloring keep original hue and adjust lightness only" msgid "When recoloring keep original hue and adjust lightness only"
msgstr "" msgstr ""
#: ../config.c:189 #: ../config.c:171
msgid "Wrap scrolling" msgid "Wrap scrolling"
msgstr "Scroll cíclico" msgstr "Scroll cíclico"
#: ../config.c:191 #: ../config.c:173
msgid "Page aware scrolling" msgid "Page aware scrolling"
msgstr "" msgstr ""
#: ../config.c:193 #: ../config.c:175
msgid "Advance number of pages per row" msgid "Advance number of pages per row"
msgstr "" msgstr ""
#: ../config.c:195 #: ../config.c:177
msgid "Horizontally centered zoom" msgid "Horizontally centered zoom"
msgstr "" msgstr ""
#: ../config.c:197 #: ../config.c:179
msgid "Align link target to the left" msgid "Align link target to the left"
msgstr "" msgstr ""
#: ../config.c:199 #: ../config.c:181
msgid "Let zoom be changed when following links"
msgstr ""
#: ../config.c:183
msgid "Center result horizontally" msgid "Center result horizontally"
msgstr "" msgstr ""
#: ../config.c:201 #: ../config.c:185
msgid "Transparency for highlighting" msgid "Transparency for highlighting"
msgstr "Transparencia para lo destacado" msgstr "Transparencia para lo destacado"
#: ../config.c:203 #: ../config.c:187
msgid "Render 'Loading ...'" msgid "Render 'Loading ...'"
msgstr "Renderizando 'Cargando...'" msgstr "Renderizando 'Cargando...'"
#: ../config.c:204 #: ../config.c:188
msgid "Adjust to when opening file" msgid "Adjust to when opening file"
msgstr "Ajustar al abrirse un archivo" msgstr "Ajustar al abrirse un archivo"
#: ../config.c:206 #: ../config.c:190
msgid "Show hidden files and directories" msgid "Show hidden files and directories"
msgstr "Mostrar archivos ocultos y directorios" msgstr "Mostrar archivos ocultos y directorios"
#: ../config.c:208 #: ../config.c:192
msgid "Show directories" msgid "Show directories"
msgstr "Mostrar directorios" msgstr "Mostrar directorios"
#: ../config.c:210 #: ../config.c:194
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Siempre abrir en primera página" msgstr "Siempre abrir en primera página"
#: ../config.c:212 #: ../config.c:196
msgid "Highlight search results" msgid "Highlight search results"
msgstr "" msgstr ""
#: ../config.c:214 #: ../config.c:198
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../config.c:216 #: ../config.c:200
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "" msgstr ""
#: ../config.c:218 #: ../config.c:202
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../config.c:220 #: ../config.c:204
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../config.c:222 #: ../config.c:206
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../config.c:224 ../main.c:65 #: ../config.c:208 ../main.c:67
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../config.c:210
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../config.c:383 #: ../config.c:369
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Agregar un marcador" msgstr "Agregar un marcador"
#: ../config.c:384 #: ../config.c:370
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Eliminar un marcador" msgstr "Eliminar un marcador"
#: ../config.c:385 #: ../config.c:371
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Listar todos los marcadores" msgstr "Listar todos los marcadores"
#: ../config.c:386 #: ../config.c:372
msgid "Close current file" msgid "Close current file"
msgstr "Cerrar archivo actual" msgstr "Cerrar archivo actual"
#: ../config.c:387 #: ../config.c:373
msgid "Show file information" msgid "Show file information"
msgstr "Mostrar información del archivo" msgstr "Mostrar información del archivo"
#: ../config.c:388 #: ../config.c:374
msgid "Execute a command" msgid "Execute a command"
msgstr "" msgstr ""
#: ../config.c:389 #: ../config.c:375
msgid "Show help" msgid "Show help"
msgstr "Mostrar ayuda" msgstr "Mostrar ayuda"
#: ../config.c:390 #: ../config.c:376
msgid "Open document" msgid "Open document"
msgstr "Abrir documento" msgstr "Abrir documento"
#: ../config.c:391 #: ../config.c:377
msgid "Close zathura" msgid "Close zathura"
msgstr "Cerrar zathura" msgstr "Cerrar zathura"
#: ../config.c:392 #: ../config.c:378
msgid "Print document" msgid "Print document"
msgstr "Imprimir documento" msgstr "Imprimir documento"
#: ../config.c:393 #: ../config.c:379
msgid "Save document" msgid "Save document"
msgstr "Guardar documento" msgstr "Guardar documento"
#: ../config.c:394 #: ../config.c:380
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Guardar documento (y forzar sobreescritura)" msgstr "Guardar documento (y forzar sobreescritura)"
#: ../config.c:395 #: ../config.c:381
msgid "Save attachments" msgid "Save attachments"
msgstr "Guardar archivos adjuntos" msgstr "Guardar archivos adjuntos"
#: ../config.c:396 #: ../config.c:382
msgid "Set page offset" msgid "Set page offset"
msgstr "Asignar desplazamiento de la página" msgstr "Asignar desplazamiento de la página"
#: ../config.c:397 #: ../config.c:383
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "" msgstr ""
#: ../config.c:398 #: ../config.c:384
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "" msgstr ""
#: ../config.c:399 #: ../config.c:385
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "" msgstr ""
#: ../config.c:400 #: ../config.c:386
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "" msgstr ""
#: ../config.c:401 #: ../config.c:387
msgid "Show version information" msgid "Show version information"
msgstr "" msgstr ""
#: ../links.c:175 ../links.c:254 #: ../links.c:199 ../links.c:278
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Error al ejecutar xdg-open." msgstr "Error al ejecutar xdg-open."
#: ../links.c:193 #: ../links.c:217
#, c-format #, c-format
msgid "Link: page %d" msgid "Link: page %d"
msgstr "" msgstr ""
#: ../links.c:200 #: ../links.c:224
#, c-format #, c-format
msgid "Link: %s" msgid "Link: %s"
msgstr "" msgstr ""
#: ../links.c:204 #: ../links.c:228
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../main.c:56 #: ../main.c:58
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid"
msgstr "Reasignar a la ventana especificada por xid" msgstr "Reasignar a la ventana especificada por xid"
#: ../main.c:57 #: ../main.c:59
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Ruta al directorio de configuración" msgstr "Ruta al directorio de configuración"
#: ../main.c:58 #: ../main.c:60
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Ruta al directorio de datos" msgstr "Ruta al directorio de datos"
#: ../main.c:59 #: ../main.c:61
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Ruta al directorio que contiene plugins" msgstr "Ruta al directorio que contiene plugins"
#: ../main.c:60 #: ../main.c:62
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Ejecución en background" msgstr "Ejecución en background"
#: ../main.c:61 #: ../main.c:63
msgid "Document password" msgid "Document password"
msgstr "" msgstr ""
#: ../main.c:62 #: ../main.c:64
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../main.c:63 #: ../main.c:65
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Nivel de log (debug, info, warning, error)" msgstr "Nivel de log (debug, info, warning, error)"
#: ../main.c:64 #: ../main.c:66
msgid "Print version information" msgid "Print version information"
msgstr "Mostrar información del archivo" msgstr "Mostrar información del archivo"
#: ../main.c:66 #: ../main.c:68
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../page-widget.c:474 #: ../page-widget.c:526
msgid "Loading..." msgid "Loading..."
msgstr "Cargando..." msgstr "Cargando..."
#: ../page-widget.c:678 #: ../page-widget.c:845
#, c-format
msgid "Copied selected text to clipboard: %s"
msgstr "Texto seleccionado copiado al portapapeles: %s"
#: ../page-widget.c:776
msgid "Copy image" msgid "Copy image"
msgstr "Copiar imagen" msgstr "Copiar imagen"
#: ../page-widget.c:777 #: ../page-widget.c:846
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../shortcuts.c:1154 #: ../shortcuts.c:1076
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Este document no contiene índice" msgstr "Este document no contiene índice"
#: ../zathura.c:227 ../zathura.c:975 #: ../zathura.c:213 ../zathura.c:959
msgid "[No name]" msgid "[No name]"
msgstr "[Sin nombre]" msgstr "[Sin nombre]"
#: ../zathura.c:584 #: ../zathura.c:486
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
#: ../zathura.c:535
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura.c:594 #: ../zathura.c:545
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

258
po/et.po
View file

@ -2,13 +2,13 @@
# See LICENSE file for license and copyright information # See LICENSE file for license and copyright information
# #
# Translators: # Translators:
# Rivo Zängov <eraser@eraser.ee>, 2012. # Rivo Zängov <eraser@eraser.ee>, 2012
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2013-08-15 00:28+0200\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n"
"PO-Revision-Date: 2012-04-03 15:25+0000\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n"
"Last-Translator: Rivo Zängov <eraser@eraser.ee>\n" "Last-Translator: Rivo Zängov <eraser@eraser.ee>\n"
"Language-Team: Estonian (http://www.transifex.net/projects/p/zathura/" "Language-Team: Estonian (http://www.transifex.net/projects/p/zathura/"
"language/et/)\n" "language/et/)\n"
@ -18,24 +18,29 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n"
#: ../callbacks.c:314 #: ../callbacks.c:297
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "" msgstr ""
#: ../callbacks.c:350 #: ../callbacks.c:333
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "" msgstr ""
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:158 #: ../callbacks.c:546
#: ../commands.c:274 ../commands.c:304 ../commands.c:330 ../commands.c:425 #, c-format
#: ../commands.c:546 ../shortcuts.c:485 ../shortcuts.c:1251 msgid "Copied selected text to clipboard: %s"
#: ../shortcuts.c:1280 msgstr ""
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:152
#: ../commands.c:268 ../commands.c:298 ../commands.c:324 ../commands.c:419
#: ../commands.c:540 ../shortcuts.c:403 ../shortcuts.c:1163
#: ../shortcuts.c:1192
msgid "No document opened." msgid "No document opened."
msgstr "" msgstr ""
#: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:430 #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424
msgid "Invalid number of arguments given." msgid "Invalid number of arguments given."
msgstr "" msgstr ""
@ -74,61 +79,93 @@ msgstr ""
msgid "No such bookmark: %s" msgid "No such bookmark: %s"
msgstr "" msgstr ""
#: ../commands.c:180 ../commands.c:202 #: ../commands.c:162
msgid "Title"
msgstr ""
#: ../commands.c:163
msgid "Author"
msgstr ""
#: ../commands.c:164
msgid "Subject"
msgstr ""
#: ../commands.c:165
msgid "Keywords"
msgstr ""
#: ../commands.c:166
msgid "Creator"
msgstr ""
#: ../commands.c:167
msgid "Producer"
msgstr ""
#: ../commands.c:168
msgid "Creation date"
msgstr ""
#: ../commands.c:169
msgid "Modification date"
msgstr ""
#: ../commands.c:174 ../commands.c:196
msgid "No information available." msgid "No information available."
msgstr "" msgstr ""
#: ../commands.c:240 #: ../commands.c:234
msgid "Too many arguments." msgid "Too many arguments."
msgstr "" msgstr ""
#: ../commands.c:251 #: ../commands.c:245
msgid "No arguments given." msgid "No arguments given."
msgstr "" msgstr ""
#: ../commands.c:310 ../commands.c:336 #: ../commands.c:304 ../commands.c:330
msgid "Document saved." msgid "Document saved."
msgstr "" msgstr ""
#: ../commands.c:312 ../commands.c:338 #: ../commands.c:306 ../commands.c:332
msgid "Failed to save document." msgid "Failed to save document."
msgstr "" msgstr ""
#: ../commands.c:315 ../commands.c:341 #: ../commands.c:309 ../commands.c:335
msgid "Invalid number of arguments." msgid "Invalid number of arguments."
msgstr "" msgstr ""
#: ../commands.c:449 #: ../commands.c:443
#, c-format #, c-format
msgid "Couldn't write attachment '%s' to '%s'." msgid "Couldn't write attachment '%s' to '%s'."
msgstr "" msgstr ""
#: ../commands.c:451 #: ../commands.c:445
#, c-format #, c-format
msgid "Wrote attachment '%s' to '%s'." msgid "Wrote attachment '%s' to '%s'."
msgstr "" msgstr ""
#: ../commands.c:495 #: ../commands.c:489
#, c-format #, c-format
msgid "Wrote image '%s' to '%s'." msgid "Wrote image '%s' to '%s'."
msgstr "" msgstr ""
#: ../commands.c:497 #: ../commands.c:491
#, c-format #, c-format
msgid "Couldn't write image '%s' to '%s'." msgid "Couldn't write image '%s' to '%s'."
msgstr "" msgstr ""
#: ../commands.c:504 #: ../commands.c:498
#, c-format #, c-format
msgid "Unknown image '%s'." msgid "Unknown image '%s'."
msgstr "" msgstr ""
#: ../commands.c:508 #: ../commands.c:502
#, c-format #, c-format
msgid "Unknown attachment or image '%s'." msgid "Unknown attachment or image '%s'."
msgstr "" msgstr ""
#: ../commands.c:559 #: ../commands.c:553
msgid "Argument must be a number." msgid "Argument must be a number."
msgstr "" msgstr ""
@ -147,326 +184,333 @@ msgid "Images"
msgstr "" msgstr ""
#. zathura settings #. zathura settings
#: ../config.c:147 #: ../config.c:131
msgid "Database backend" msgid "Database backend"
msgstr "" msgstr ""
#: ../config.c:149 #: ../config.c:133
msgid "Zoom step" msgid "Zoom step"
msgstr "" msgstr ""
#: ../config.c:151 #: ../config.c:135
msgid "Padding between pages" msgid "Padding between pages"
msgstr "" msgstr ""
#: ../config.c:153 #: ../config.c:137
msgid "Number of pages per row" msgid "Number of pages per row"
msgstr "" msgstr ""
#: ../config.c:155 #: ../config.c:139
msgid "Column of the first page" msgid "Column of the first page"
msgstr "" msgstr ""
#: ../config.c:157 #: ../config.c:141
msgid "Scroll step" msgid "Scroll step"
msgstr "" msgstr ""
#: ../config.c:159 #: ../config.c:143
msgid "Horizontal scroll step" msgid "Horizontal scroll step"
msgstr "" msgstr ""
#: ../config.c:161 #: ../config.c:145
msgid "Full page scroll overlap" msgid "Full page scroll overlap"
msgstr "" msgstr ""
#: ../config.c:163 #: ../config.c:147
msgid "Zoom minimum" msgid "Zoom minimum"
msgstr "" msgstr ""
#: ../config.c:165 #: ../config.c:149
msgid "Zoom maximum" msgid "Zoom maximum"
msgstr "" msgstr ""
#: ../config.c:167 #: ../config.c:151
msgid "Maximum number of pages to keep in the cache" msgid "Maximum number of pages to keep in the cache"
msgstr "" msgstr ""
#: ../config.c:169 #: ../config.c:153
msgid "Number of positions to remember in the jumplist" msgid "Number of positions to remember in the jumplist"
msgstr "" msgstr ""
#: ../config.c:171 #: ../config.c:155
msgid "Recoloring (dark color)" msgid "Recoloring (dark color)"
msgstr "" msgstr ""
#: ../config.c:173 #: ../config.c:156
msgid "Recoloring (light color)" msgid "Recoloring (light color)"
msgstr "" msgstr ""
#: ../config.c:175 #: ../config.c:157
msgid "Color for highlighting" msgid "Color for highlighting"
msgstr "Esiletõstmise värv" msgstr "Esiletõstmise värv"
#: ../config.c:177 #: ../config.c:159
msgid "Color for highlighting (active)" msgid "Color for highlighting (active)"
msgstr "Esiletõstmise värv (aktiivne)" msgstr "Esiletõstmise värv (aktiivne)"
#: ../config.c:179 #: ../config.c:161
msgid "'Loading ...' background color" msgid "'Loading ...' background color"
msgstr "" msgstr ""
#: ../config.c:181 #: ../config.c:163
msgid "'Loading ...' foreground color" msgid "'Loading ...' foreground color"
msgstr "" msgstr ""
#: ../config.c:185 #: ../config.c:167
msgid "Recolor pages" msgid "Recolor pages"
msgstr "" msgstr ""
#: ../config.c:187 #: ../config.c:169
msgid "When recoloring keep original hue and adjust lightness only" msgid "When recoloring keep original hue and adjust lightness only"
msgstr "" msgstr ""
#: ../config.c:189 #: ../config.c:171
msgid "Wrap scrolling" msgid "Wrap scrolling"
msgstr "" msgstr ""
#: ../config.c:191 #: ../config.c:173
msgid "Page aware scrolling" msgid "Page aware scrolling"
msgstr "" msgstr ""
#: ../config.c:193 #: ../config.c:175
msgid "Advance number of pages per row" msgid "Advance number of pages per row"
msgstr "" msgstr ""
#: ../config.c:195 #: ../config.c:177
msgid "Horizontally centered zoom" msgid "Horizontally centered zoom"
msgstr "" msgstr ""
#: ../config.c:197 #: ../config.c:179
msgid "Align link target to the left" msgid "Align link target to the left"
msgstr "" msgstr ""
#: ../config.c:199 #: ../config.c:181
msgid "Let zoom be changed when following links"
msgstr ""
#: ../config.c:183
msgid "Center result horizontally" msgid "Center result horizontally"
msgstr "" msgstr ""
#: ../config.c:201 #: ../config.c:185
msgid "Transparency for highlighting" msgid "Transparency for highlighting"
msgstr "" msgstr ""
#: ../config.c:203 #: ../config.c:187
msgid "Render 'Loading ...'" msgid "Render 'Loading ...'"
msgstr "" msgstr ""
#: ../config.c:204 #: ../config.c:188
msgid "Adjust to when opening file" msgid "Adjust to when opening file"
msgstr "" msgstr ""
#: ../config.c:206 #: ../config.c:190
msgid "Show hidden files and directories" msgid "Show hidden files and directories"
msgstr "" msgstr ""
#: ../config.c:208 #: ../config.c:192
msgid "Show directories" msgid "Show directories"
msgstr "Näita kaustasid" msgstr "Näita kaustasid"
#: ../config.c:210 #: ../config.c:194
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Ava alati esimene leht" msgstr "Ava alati esimene leht"
#: ../config.c:212 #: ../config.c:196
msgid "Highlight search results" msgid "Highlight search results"
msgstr "" msgstr ""
#: ../config.c:214 #: ../config.c:198
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../config.c:216 #: ../config.c:200
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "" msgstr ""
#: ../config.c:218 #: ../config.c:202
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../config.c:220 #: ../config.c:204
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../config.c:222 #: ../config.c:206
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../config.c:224 ../main.c:65 #: ../config.c:208 ../main.c:67
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../config.c:210
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../config.c:383 #: ../config.c:369
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Lisa järjehoidja" msgstr "Lisa järjehoidja"
#: ../config.c:384 #: ../config.c:370
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Kustuta järjehoidja" msgstr "Kustuta järjehoidja"
#: ../config.c:385 #: ../config.c:371
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Näita kõiki järjehoidjaid" msgstr "Näita kõiki järjehoidjaid"
#: ../config.c:386 #: ../config.c:372
msgid "Close current file" msgid "Close current file"
msgstr "Sulge praegune fail" msgstr "Sulge praegune fail"
#: ../config.c:387 #: ../config.c:373
msgid "Show file information" msgid "Show file information"
msgstr "Näita faili infot" msgstr "Näita faili infot"
#: ../config.c:388 #: ../config.c:374
msgid "Execute a command" msgid "Execute a command"
msgstr "" msgstr ""
#: ../config.c:389 #: ../config.c:375
msgid "Show help" msgid "Show help"
msgstr "Näita abiinfot" msgstr "Näita abiinfot"
#: ../config.c:390 #: ../config.c:376
msgid "Open document" msgid "Open document"
msgstr "Ava dokument" msgstr "Ava dokument"
#: ../config.c:391 #: ../config.c:377
msgid "Close zathura" msgid "Close zathura"
msgstr "Sule zathura" msgstr "Sule zathura"
#: ../config.c:392 #: ../config.c:378
msgid "Print document" msgid "Print document"
msgstr "Prindi dokument" msgstr "Prindi dokument"
#: ../config.c:393 #: ../config.c:379
msgid "Save document" msgid "Save document"
msgstr "Salvesta dokument" msgstr "Salvesta dokument"
#: ../config.c:394 #: ../config.c:380
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "" msgstr ""
#: ../config.c:395 #: ../config.c:381
msgid "Save attachments" msgid "Save attachments"
msgstr "Salvesta manused" msgstr "Salvesta manused"
#: ../config.c:396 #: ../config.c:382
msgid "Set page offset" msgid "Set page offset"
msgstr "" msgstr ""
#: ../config.c:397 #: ../config.c:383
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "" msgstr ""
#: ../config.c:398 #: ../config.c:384
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "" msgstr ""
#: ../config.c:399 #: ../config.c:385
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "" msgstr ""
#: ../config.c:400 #: ../config.c:386
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "" msgstr ""
#: ../config.c:401 #: ../config.c:387
msgid "Show version information" msgid "Show version information"
msgstr "" msgstr ""
#: ../links.c:175 ../links.c:254 #: ../links.c:199 ../links.c:278
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "" msgstr ""
#: ../links.c:193 #: ../links.c:217
#, c-format #, c-format
msgid "Link: page %d" msgid "Link: page %d"
msgstr "" msgstr ""
#: ../links.c:200 #: ../links.c:224
#, c-format #, c-format
msgid "Link: %s" msgid "Link: %s"
msgstr "" msgstr ""
#: ../links.c:204 #: ../links.c:228
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../main.c:56 #: ../main.c:58
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid"
msgstr "" msgstr ""
#: ../main.c:57 #: ../main.c:59
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "" msgstr ""
#: ../main.c:58 #: ../main.c:60
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "" msgstr ""
#: ../main.c:59 #: ../main.c:61
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "" msgstr ""
#: ../main.c:60 #: ../main.c:62
msgid "Fork into the background" msgid "Fork into the background"
msgstr "" msgstr ""
#: ../main.c:61 #: ../main.c:63
msgid "Document password" msgid "Document password"
msgstr "" msgstr ""
#: ../main.c:62 #: ../main.c:64
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../main.c:63 #: ../main.c:65
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "" msgstr ""
#: ../main.c:64 #: ../main.c:66
msgid "Print version information" msgid "Print version information"
msgstr "Näita faili infot" msgstr "Näita faili infot"
#: ../main.c:66 #: ../main.c:68
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../page-widget.c:474 #: ../page-widget.c:526
msgid "Loading..." msgid "Loading..."
msgstr "" msgstr ""
#: ../page-widget.c:678 #: ../page-widget.c:845
#, c-format
msgid "Copied selected text to clipboard: %s"
msgstr ""
#: ../page-widget.c:776
msgid "Copy image" msgid "Copy image"
msgstr "Kopeeri pilt" msgstr "Kopeeri pilt"
#: ../page-widget.c:777 #: ../page-widget.c:846
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../shortcuts.c:1154 #: ../shortcuts.c:1076
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "" msgstr ""
#: ../zathura.c:227 ../zathura.c:975 #: ../zathura.c:213 ../zathura.c:959
msgid "[No name]" msgid "[No name]"
msgstr "[Nime pole]" msgstr "[Nime pole]"
#: ../zathura.c:584 #: ../zathura.c:486
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
#: ../zathura.c:535
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura.c:594 #: ../zathura.c:545
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

273
po/fr.po
View file

@ -2,16 +2,16 @@
# See LICENSE file for license and copyright information # See LICENSE file for license and copyright information
# #
# Translators: # Translators:
# Dorian <munto@free.fr>, 2012. # bknecht <benoit.knecht@gmail.com>, 2012
# Quentin Stiévenart <quentin.stievenart@gmail.com>, 2012. # Dorian <munto@free.fr>, 2012
# Stéphane Aulery <lkppo@free.fr>, 2012. # Quentin Stiévenart <quentin.stievenart@gmail.com>, 2012
# Benoît Knecht <benoit.knecht@gmail.com>, 2012. # Stéphane Aulery <lkppo@free.fr>, 2012
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2013-08-15 00:28+0200\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n"
"PO-Revision-Date: 2013-08-15 00:34+0200\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n"
"Last-Translator: Benoît Knecht <benoit.knecht@fsfe.org>\n" "Last-Translator: Benoît Knecht <benoit.knecht@fsfe.org>\n"
"Language-Team: French (http://www.transifex.com/projects/p/zathura/language/" "Language-Team: French (http://www.transifex.com/projects/p/zathura/language/"
"fr/)\n" "fr/)\n"
@ -21,24 +21,29 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: ../callbacks.c:314 #: ../callbacks.c:297
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Entrée invalide : '%s'" msgstr "Entrée invalide : '%s'"
#: ../callbacks.c:350 #: ../callbacks.c:333
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Index invalide : '%s'" msgstr "Index invalide : '%s'"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:158 #: ../callbacks.c:546
#: ../commands.c:274 ../commands.c:304 ../commands.c:330 ../commands.c:425 #, c-format
#: ../commands.c:546 ../shortcuts.c:485 ../shortcuts.c:1251 msgid "Copied selected text to clipboard: %s"
#: ../shortcuts.c:1280 msgstr "Texte sélectionné copié dans le presse-papiers : %s"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:152
#: ../commands.c:268 ../commands.c:298 ../commands.c:324 ../commands.c:419
#: ../commands.c:540 ../shortcuts.c:403 ../shortcuts.c:1163
#: ../shortcuts.c:1192
msgid "No document opened." msgid "No document opened."
msgstr "Aucun document ouvert." msgstr "Aucun document ouvert."
#: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:430 #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424
msgid "Invalid number of arguments given." msgid "Invalid number of arguments given."
msgstr "Nombre d'arguments invalide." msgstr "Nombre d'arguments invalide."
@ -77,61 +82,93 @@ msgstr "Échec lors de la suppression du marque-page : %s"
msgid "No such bookmark: %s" msgid "No such bookmark: %s"
msgstr "Aucun marque-page correspondant : %s" msgstr "Aucun marque-page correspondant : %s"
#: ../commands.c:180 ../commands.c:202 #: ../commands.c:162
msgid "Title"
msgstr ""
#: ../commands.c:163
msgid "Author"
msgstr ""
#: ../commands.c:164
msgid "Subject"
msgstr ""
#: ../commands.c:165
msgid "Keywords"
msgstr ""
#: ../commands.c:166
msgid "Creator"
msgstr ""
#: ../commands.c:167
msgid "Producer"
msgstr ""
#: ../commands.c:168
msgid "Creation date"
msgstr ""
#: ../commands.c:169
msgid "Modification date"
msgstr ""
#: ../commands.c:174 ../commands.c:196
msgid "No information available." msgid "No information available."
msgstr "Aucune information disponible." msgstr "Aucune information disponible."
#: ../commands.c:240 #: ../commands.c:234
msgid "Too many arguments." msgid "Too many arguments."
msgstr "Trop d'arguments." msgstr "Trop d'arguments."
#: ../commands.c:251 #: ../commands.c:245
msgid "No arguments given." msgid "No arguments given."
msgstr "Aucun argument passé." msgstr "Aucun argument passé."
#: ../commands.c:310 ../commands.c:336 #: ../commands.c:304 ../commands.c:330
msgid "Document saved." msgid "Document saved."
msgstr "Document enregistré." msgstr "Document enregistré."
#: ../commands.c:312 ../commands.c:338 #: ../commands.c:306 ../commands.c:332
msgid "Failed to save document." msgid "Failed to save document."
msgstr "Échec lors de l'enregistrement du document." msgstr "Échec lors de l'enregistrement du document."
#: ../commands.c:315 ../commands.c:341 #: ../commands.c:309 ../commands.c:335
msgid "Invalid number of arguments." msgid "Invalid number of arguments."
msgstr "Nombre d'arguments invalide." msgstr "Nombre d'arguments invalide."
#: ../commands.c:449 #: ../commands.c:443
#, c-format #, c-format
msgid "Couldn't write attachment '%s' to '%s'." msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Impossible d'écrire la pièce jointe '%s' dans '%s'." msgstr "Impossible d'écrire la pièce jointe '%s' dans '%s'."
#: ../commands.c:451 #: ../commands.c:445
#, c-format #, c-format
msgid "Wrote attachment '%s' to '%s'." msgid "Wrote attachment '%s' to '%s'."
msgstr "Pièce jointe '%s' écrite dans '%s'." msgstr "Pièce jointe '%s' écrite dans '%s'."
#: ../commands.c:495 #: ../commands.c:489
#, c-format #, c-format
msgid "Wrote image '%s' to '%s'." msgid "Wrote image '%s' to '%s'."
msgstr "Image '%s' écrite dans '%s'." msgstr "Image '%s' écrite dans '%s'."
#: ../commands.c:497 #: ../commands.c:491
#, c-format #, c-format
msgid "Couldn't write image '%s' to '%s'." msgid "Couldn't write image '%s' to '%s'."
msgstr "Impossible d'écrire l'image '%s' dans '%s'." msgstr "Impossible d'écrire l'image '%s' dans '%s'."
#: ../commands.c:504 #: ../commands.c:498
#, c-format #, c-format
msgid "Unknown image '%s'." msgid "Unknown image '%s'."
msgstr "Image '%s' inconnue." msgstr "Image '%s' inconnue."
#: ../commands.c:508 #: ../commands.c:502
#, c-format #, c-format
msgid "Unknown attachment or image '%s'." msgid "Unknown attachment or image '%s'."
msgstr "Pièce jointe ou image '%s' inconnue." msgstr "Pièce jointe ou image '%s' inconnue."
#: ../commands.c:559 #: ../commands.c:553
msgid "Argument must be a number." msgid "Argument must be a number."
msgstr "L'argument doit être un nombre." msgstr "L'argument doit être un nombre."
@ -150,335 +187,335 @@ msgid "Images"
msgstr "Images" msgstr "Images"
#. zathura settings #. zathura settings
#: ../config.c:147 #: ../config.c:131
msgid "Database backend" msgid "Database backend"
msgstr "Gestionnaire de base de données" msgstr "Gestionnaire de base de données"
#: ../config.c:149 #: ../config.c:133
msgid "Zoom step" msgid "Zoom step"
msgstr "Incrément de zoom" msgstr "Incrément de zoom"
#: ../config.c:151 #: ../config.c:135
msgid "Padding between pages" msgid "Padding between pages"
msgstr "Espacement entre les pages" msgstr "Espacement entre les pages"
#: ../config.c:153 #: ../config.c:137
msgid "Number of pages per row" msgid "Number of pages per row"
msgstr "Nombre de page par rangée" msgstr "Nombre de page par rangée"
#: ../config.c:155 #: ../config.c:139
msgid "Column of the first page" msgid "Column of the first page"
msgstr "Colonne de la première page" msgstr "Colonne de la première page"
#: ../config.c:157 #: ../config.c:141
msgid "Scroll step" msgid "Scroll step"
msgstr "Incrément de défilement" msgstr "Incrément de défilement"
#: ../config.c:159 #: ../config.c:143
msgid "Horizontal scroll step" msgid "Horizontal scroll step"
msgstr "Incrément de défilement horizontal" msgstr "Incrément de défilement horizontal"
#: ../config.c:161 #: ../config.c:145
msgid "Full page scroll overlap" msgid "Full page scroll overlap"
msgstr "Recouvrement lors du défilement par page entière" msgstr "Recouvrement lors du défilement par page entière"
#: ../config.c:163 #: ../config.c:147
msgid "Zoom minimum" msgid "Zoom minimum"
msgstr "Zoom minimum" msgstr "Zoom minimum"
#: ../config.c:165 #: ../config.c:149
msgid "Zoom maximum" msgid "Zoom maximum"
msgstr "Zoom maximum" msgstr "Zoom maximum"
#: ../config.c:167 #: ../config.c:151
msgid "Maximum number of pages to keep in the cache" msgid "Maximum number of pages to keep in the cache"
msgstr "" msgstr ""
#: ../config.c:169 #: ../config.c:153
msgid "Number of positions to remember in the jumplist" msgid "Number of positions to remember in the jumplist"
msgstr "Nombre de positions à mémoriser dans la liste de sauts" msgstr "Nombre de positions à mémoriser dans la liste de sauts"
#: ../config.c:171 #: ../config.c:155
msgid "Recoloring (dark color)" msgid "Recoloring (dark color)"
msgstr "Recoloration (couleur sombre)" msgstr "Recoloration (couleur sombre)"
#: ../config.c:173 #: ../config.c:156
msgid "Recoloring (light color)" msgid "Recoloring (light color)"
msgstr "Recoloration (couleur claire)" msgstr "Recoloration (couleur claire)"
#: ../config.c:175 #: ../config.c:157
msgid "Color for highlighting" msgid "Color for highlighting"
msgstr "Couleur de surbrillance" msgstr "Couleur de surbrillance"
#: ../config.c:177 #: ../config.c:159
msgid "Color for highlighting (active)" msgid "Color for highlighting (active)"
msgstr "Couleur de surbrillance (active)" msgstr "Couleur de surbrillance (active)"
#: ../config.c:179 #: ../config.c:161
msgid "'Loading ...' background color" msgid "'Loading ...' background color"
msgstr "Couleur d'arrière-plan de 'Chargement...'" msgstr "Couleur d'arrière-plan de 'Chargement...'"
#: ../config.c:181 #: ../config.c:163
msgid "'Loading ...' foreground color" msgid "'Loading ...' foreground color"
msgstr "Couleur de 'Chargement...'" msgstr "Couleur de 'Chargement...'"
#: ../config.c:185 #: ../config.c:167
msgid "Recolor pages" msgid "Recolor pages"
msgstr "Recoloriser les pages" msgstr "Recoloriser les pages"
#: ../config.c:187 #: ../config.c:169
msgid "When recoloring keep original hue and adjust lightness only" msgid "When recoloring keep original hue and adjust lightness only"
msgstr "" msgstr ""
"Lors de la recoloration garder la teinte d'origine et ajuster seulement la " "Lors de la recoloration garder la teinte d'origine et ajuster seulement la "
"luminosité" "luminosité"
#: ../config.c:189 #: ../config.c:171
msgid "Wrap scrolling" msgid "Wrap scrolling"
msgstr "Défiler en boucle" msgstr "Défiler en boucle"
#: ../config.c:191 #: ../config.c:173
msgid "Page aware scrolling" msgid "Page aware scrolling"
msgstr "Défilement tenant compte des limites de page" msgstr "Défilement tenant compte des limites de page"
#: ../config.c:193 #: ../config.c:175
msgid "Advance number of pages per row" msgid "Advance number of pages per row"
msgstr "Augmenter le nombre de pages par rangée" msgstr "Augmenter le nombre de pages par rangée"
#: ../config.c:195 #: ../config.c:177
msgid "Horizontally centered zoom" msgid "Horizontally centered zoom"
msgstr "Zoom centré horizontalement" msgstr "Zoom centré horizontalement"
#: ../config.c:197 #: ../config.c:179
msgid "Align link target to the left" msgid "Align link target to the left"
msgstr "" msgstr ""
#: ../config.c:199 #: ../config.c:181
msgid "Let zoom be changed when following links"
msgstr ""
#: ../config.c:183
msgid "Center result horizontally" msgid "Center result horizontally"
msgstr "Centrer le résultat horizontalement" msgstr "Centrer le résultat horizontalement"
#: ../config.c:201 #: ../config.c:185
msgid "Transparency for highlighting" msgid "Transparency for highlighting"
msgstr "Transparence de la surbrillance" msgstr "Transparence de la surbrillance"
#: ../config.c:203 #: ../config.c:187
msgid "Render 'Loading ...'" msgid "Render 'Loading ...'"
msgstr "Afficher 'Chargement...'" msgstr "Afficher 'Chargement...'"
#: ../config.c:204 #: ../config.c:188
msgid "Adjust to when opening file" msgid "Adjust to when opening file"
msgstr "Ajuster à l'ouverture du fichier" msgstr "Ajuster à l'ouverture du fichier"
#: ../config.c:206 #: ../config.c:190
msgid "Show hidden files and directories" msgid "Show hidden files and directories"
msgstr "Montrer les fichiers et dossiers cachés" msgstr "Montrer les fichiers et dossiers cachés"
#: ../config.c:208 #: ../config.c:192
msgid "Show directories" msgid "Show directories"
msgstr "Montrer les dossiers" msgstr "Montrer les dossiers"
#: ../config.c:210 #: ../config.c:194
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Toujours ouvrir à la première page" msgstr "Toujours ouvrir à la première page"
#: ../config.c:212 #: ../config.c:196
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Surligner les résultats de la recherche" msgstr "Surligner les résultats de la recherche"
#: ../config.c:214 #: ../config.c:198
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "Activer la recherche incrémentale" msgstr "Activer la recherche incrémentale"
#: ../config.c:216 #: ../config.c:200
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Effacer les résultats de recherche en cas d'annulation" msgstr "Effacer les résultats de recherche en cas d'annulation"
#: ../config.c:218 #: ../config.c:202
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "Utiliser le nom de base du fichier dans le titre de la fenêtre" msgstr "Utiliser le nom de base du fichier dans le titre de la fenêtre"
#: ../config.c:220 #: ../config.c:204
#, fuzzy
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "Utiliser le nom de base du fichier dans le titre de la fenêtre" msgstr ""
#: ../config.c:222 #: ../config.c:206
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "Utiliser le nom de base du fichier dans la barre d'état" msgstr "Utiliser le nom de base du fichier dans la barre d'état"
#: ../config.c:224 ../main.c:65 #: ../config.c:208 ../main.c:67
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "Activer la prise en charge de synctex" msgstr "Activer la prise en charge de synctex"
#: ../config.c:210
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../config.c:383 #: ../config.c:369
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Ajouter un marque-page" msgstr "Ajouter un marque-page"
#: ../config.c:384 #: ../config.c:370
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Supprimer un marque-page" msgstr "Supprimer un marque-page"
#: ../config.c:385 #: ../config.c:371
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Lister tous les marque-pages" msgstr "Lister tous les marque-pages"
#: ../config.c:386 #: ../config.c:372
msgid "Close current file" msgid "Close current file"
msgstr "Fermer le fichier actuel" msgstr "Fermer le fichier actuel"
#: ../config.c:387 #: ../config.c:373
msgid "Show file information" msgid "Show file information"
msgstr "Montrer les informations sur le fichier" msgstr "Montrer les informations sur le fichier"
#: ../config.c:388 #: ../config.c:374
msgid "Execute a command" msgid "Execute a command"
msgstr "Exécuter une commande" msgstr "Exécuter une commande"
#: ../config.c:389 #: ../config.c:375
msgid "Show help" msgid "Show help"
msgstr "Afficher l'aide" msgstr "Afficher l'aide"
#: ../config.c:390 #: ../config.c:376
msgid "Open document" msgid "Open document"
msgstr "Ouvrir un document" msgstr "Ouvrir un document"
#: ../config.c:391 #: ../config.c:377
msgid "Close zathura" msgid "Close zathura"
msgstr "Quitter zathura" msgstr "Quitter zathura"
#: ../config.c:392 #: ../config.c:378
msgid "Print document" msgid "Print document"
msgstr "Imprimer le document" msgstr "Imprimer le document"
#: ../config.c:393 #: ../config.c:379
msgid "Save document" msgid "Save document"
msgstr "Sauver le document" msgstr "Sauver le document"
#: ../config.c:394 #: ../config.c:380
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Sauver le document (et forcer l'écrasement)" msgstr "Sauver le document (et forcer l'écrasement)"
#: ../config.c:395 #: ../config.c:381
msgid "Save attachments" msgid "Save attachments"
msgstr "Enregistrer les pièces jointes" msgstr "Enregistrer les pièces jointes"
#: ../config.c:396 #: ../config.c:382
msgid "Set page offset" msgid "Set page offset"
msgstr "Définir le décalage de page" msgstr "Définir le décalage de page"
#: ../config.c:397 #: ../config.c:383
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Marquer l'emplacement actuel dans le document" msgstr "Marquer l'emplacement actuel dans le document"
#: ../config.c:398 #: ../config.c:384
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Supprimer les marques indiquées" msgstr "Supprimer les marques indiquées"
#: ../config.c:399 #: ../config.c:385
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "Ne pas surligner les résultats de la recherche en cours" msgstr "Ne pas surligner les résultats de la recherche en cours"
#: ../config.c:400 #: ../config.c:386
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Surligner les résultats de la recherche en cours" msgstr "Surligner les résultats de la recherche en cours"
#: ../config.c:401 #: ../config.c:387
msgid "Show version information" msgid "Show version information"
msgstr "Afficher les informations de version" msgstr "Afficher les informations de version"
#: ../links.c:175 ../links.c:254 #: ../links.c:199 ../links.c:278
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Échec lors du lancement de xdg-open." msgstr "Échec lors du lancement de xdg-open."
#: ../links.c:193 #: ../links.c:217
#, c-format #, c-format
msgid "Link: page %d" msgid "Link: page %d"
msgstr "Lien : page %d" msgstr "Lien : page %d"
#: ../links.c:200 #: ../links.c:224
#, c-format #, c-format
msgid "Link: %s" msgid "Link: %s"
msgstr "Lien : %s" msgstr "Lien : %s"
#: ../links.c:204 #: ../links.c:228
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Lien : Invalide" msgstr "Lien : Invalide"
#: ../main.c:56 #: ../main.c:58
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid"
msgstr "Rattacher à la fenêtre spécifiée par xid" msgstr "Rattacher à la fenêtre spécifiée par xid"
#: ../main.c:57 #: ../main.c:59
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Chemin vers le dossier de configuration" msgstr "Chemin vers le dossier de configuration"
#: ../main.c:58 #: ../main.c:60
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Chemin vers le dossier de données" msgstr "Chemin vers le dossier de données"
#: ../main.c:59 #: ../main.c:61
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Chemin vers le dossier de plugins" msgstr "Chemin vers le dossier de plugins"
#: ../main.c:60 #: ../main.c:62
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Détacher en arrière-plan" msgstr "Détacher en arrière-plan"
#: ../main.c:61 #: ../main.c:63
msgid "Document password" msgid "Document password"
msgstr "Mot de passe du document" msgstr "Mot de passe du document"
#: ../main.c:62 #: ../main.c:64
msgid "Page number to go to" msgid "Page number to go to"
msgstr "Numéro de page où aller" msgstr "Numéro de page où aller"
#: ../main.c:63 #: ../main.c:65
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Niveau de journalisation (debug, info, warning, error)" msgstr "Niveau de journalisation (debug, info, warning, error)"
#: ../main.c:64 #: ../main.c:66
msgid "Print version information" msgid "Print version information"
msgstr "Afficher les informations de version" msgstr "Afficher les informations de version"
#: ../main.c:66 #: ../main.c:68
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Éditeur synctex (transféré à la commande synctex)" msgstr "Éditeur synctex (transféré à la commande synctex)"
#: ../page-widget.c:474 #: ../page-widget.c:526
msgid "Loading..." msgid "Loading..."
msgstr "Chargement..." msgstr "Chargement..."
#: ../page-widget.c:678 #: ../page-widget.c:845
#, c-format
msgid "Copied selected text to clipboard: %s"
msgstr "Texte sélectionné copié dans le presse-papiers : %s"
#: ../page-widget.c:776
msgid "Copy image" msgid "Copy image"
msgstr "Copier l'image" msgstr "Copier l'image"
#: ../page-widget.c:777 #: ../page-widget.c:846
msgid "Save image as" msgid "Save image as"
msgstr "Enregistrer l'image sous" msgstr "Enregistrer l'image sous"
#: ../shortcuts.c:1154 #: ../shortcuts.c:1076
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Ce document ne contient pas d'index" msgstr "Ce document ne contient pas d'index"
#: ../zathura.c:227 ../zathura.c:975 #: ../zathura.c:213 ../zathura.c:959
msgid "[No name]" msgid "[No name]"
msgstr "[Sans nom]" msgstr "[Sans nom]"
#: ../zathura.c:584 #: ../zathura.c:486
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
#: ../zathura.c:535
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura.c:594 #: ../zathura.c:545
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "Ce document ne contient aucune page" msgstr "Ce document ne contient aucune page"
#~ msgid "Life time (in seconds) of a hidden page"
#~ msgstr "Durée de vie (en secondes) d'une page cachée"
#~ msgid "Amount of seconds between each cache purge"
#~ msgstr "Délai en secondes entre chaque purge du cache"

256
po/he.po
View file

@ -6,8 +6,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2013-08-15 00:28+0200\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n"
"PO-Revision-Date: 2013-01-13 14:12+0000\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Hebrew (http://www.transifex.com/projects/p/zathura/language/" "Language-Team: Hebrew (http://www.transifex.com/projects/p/zathura/language/"
"he/)\n" "he/)\n"
@ -17,24 +17,29 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../callbacks.c:314 #: ../callbacks.c:297
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "" msgstr ""
#: ../callbacks.c:350 #: ../callbacks.c:333
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "" msgstr ""
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:158 #: ../callbacks.c:546
#: ../commands.c:274 ../commands.c:304 ../commands.c:330 ../commands.c:425 #, c-format
#: ../commands.c:546 ../shortcuts.c:485 ../shortcuts.c:1251 msgid "Copied selected text to clipboard: %s"
#: ../shortcuts.c:1280 msgstr ""
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:152
#: ../commands.c:268 ../commands.c:298 ../commands.c:324 ../commands.c:419
#: ../commands.c:540 ../shortcuts.c:403 ../shortcuts.c:1163
#: ../shortcuts.c:1192
msgid "No document opened." msgid "No document opened."
msgstr "" msgstr ""
#: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:430 #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424
msgid "Invalid number of arguments given." msgid "Invalid number of arguments given."
msgstr "" msgstr ""
@ -73,61 +78,93 @@ msgstr ""
msgid "No such bookmark: %s" msgid "No such bookmark: %s"
msgstr "" msgstr ""
#: ../commands.c:180 ../commands.c:202 #: ../commands.c:162
msgid "Title"
msgstr ""
#: ../commands.c:163
msgid "Author"
msgstr ""
#: ../commands.c:164
msgid "Subject"
msgstr ""
#: ../commands.c:165
msgid "Keywords"
msgstr ""
#: ../commands.c:166
msgid "Creator"
msgstr ""
#: ../commands.c:167
msgid "Producer"
msgstr ""
#: ../commands.c:168
msgid "Creation date"
msgstr ""
#: ../commands.c:169
msgid "Modification date"
msgstr ""
#: ../commands.c:174 ../commands.c:196
msgid "No information available." msgid "No information available."
msgstr "" msgstr ""
#: ../commands.c:240 #: ../commands.c:234
msgid "Too many arguments." msgid "Too many arguments."
msgstr "" msgstr ""
#: ../commands.c:251 #: ../commands.c:245
msgid "No arguments given." msgid "No arguments given."
msgstr "" msgstr ""
#: ../commands.c:310 ../commands.c:336 #: ../commands.c:304 ../commands.c:330
msgid "Document saved." msgid "Document saved."
msgstr "" msgstr ""
#: ../commands.c:312 ../commands.c:338 #: ../commands.c:306 ../commands.c:332
msgid "Failed to save document." msgid "Failed to save document."
msgstr "" msgstr ""
#: ../commands.c:315 ../commands.c:341 #: ../commands.c:309 ../commands.c:335
msgid "Invalid number of arguments." msgid "Invalid number of arguments."
msgstr "" msgstr ""
#: ../commands.c:449 #: ../commands.c:443
#, c-format #, c-format
msgid "Couldn't write attachment '%s' to '%s'." msgid "Couldn't write attachment '%s' to '%s'."
msgstr "" msgstr ""
#: ../commands.c:451 #: ../commands.c:445
#, c-format #, c-format
msgid "Wrote attachment '%s' to '%s'." msgid "Wrote attachment '%s' to '%s'."
msgstr "" msgstr ""
#: ../commands.c:495 #: ../commands.c:489
#, c-format #, c-format
msgid "Wrote image '%s' to '%s'." msgid "Wrote image '%s' to '%s'."
msgstr "" msgstr ""
#: ../commands.c:497 #: ../commands.c:491
#, c-format #, c-format
msgid "Couldn't write image '%s' to '%s'." msgid "Couldn't write image '%s' to '%s'."
msgstr "" msgstr ""
#: ../commands.c:504 #: ../commands.c:498
#, c-format #, c-format
msgid "Unknown image '%s'." msgid "Unknown image '%s'."
msgstr "" msgstr ""
#: ../commands.c:508 #: ../commands.c:502
#, c-format #, c-format
msgid "Unknown attachment or image '%s'." msgid "Unknown attachment or image '%s'."
msgstr "" msgstr ""
#: ../commands.c:559 #: ../commands.c:553
msgid "Argument must be a number." msgid "Argument must be a number."
msgstr "" msgstr ""
@ -146,326 +183,333 @@ msgid "Images"
msgstr "" msgstr ""
#. zathura settings #. zathura settings
#: ../config.c:147 #: ../config.c:131
msgid "Database backend" msgid "Database backend"
msgstr "" msgstr ""
#: ../config.c:149 #: ../config.c:133
msgid "Zoom step" msgid "Zoom step"
msgstr "" msgstr ""
#: ../config.c:151 #: ../config.c:135
msgid "Padding between pages" msgid "Padding between pages"
msgstr "" msgstr ""
#: ../config.c:153 #: ../config.c:137
msgid "Number of pages per row" msgid "Number of pages per row"
msgstr "" msgstr ""
#: ../config.c:155 #: ../config.c:139
msgid "Column of the first page" msgid "Column of the first page"
msgstr "" msgstr ""
#: ../config.c:157 #: ../config.c:141
msgid "Scroll step" msgid "Scroll step"
msgstr "" msgstr ""
#: ../config.c:159 #: ../config.c:143
msgid "Horizontal scroll step" msgid "Horizontal scroll step"
msgstr "" msgstr ""
#: ../config.c:161 #: ../config.c:145
msgid "Full page scroll overlap" msgid "Full page scroll overlap"
msgstr "" msgstr ""
#: ../config.c:163 #: ../config.c:147
msgid "Zoom minimum" msgid "Zoom minimum"
msgstr "" msgstr ""
#: ../config.c:165 #: ../config.c:149
msgid "Zoom maximum" msgid "Zoom maximum"
msgstr "" msgstr ""
#: ../config.c:167 #: ../config.c:151
msgid "Maximum number of pages to keep in the cache" msgid "Maximum number of pages to keep in the cache"
msgstr "" msgstr ""
#: ../config.c:169 #: ../config.c:153
msgid "Number of positions to remember in the jumplist" msgid "Number of positions to remember in the jumplist"
msgstr "" msgstr ""
#: ../config.c:171 #: ../config.c:155
msgid "Recoloring (dark color)" msgid "Recoloring (dark color)"
msgstr "" msgstr ""
#: ../config.c:173 #: ../config.c:156
msgid "Recoloring (light color)" msgid "Recoloring (light color)"
msgstr "" msgstr ""
#: ../config.c:175 #: ../config.c:157
msgid "Color for highlighting" msgid "Color for highlighting"
msgstr "" msgstr ""
#: ../config.c:177 #: ../config.c:159
msgid "Color for highlighting (active)" msgid "Color for highlighting (active)"
msgstr "" msgstr ""
#: ../config.c:179 #: ../config.c:161
msgid "'Loading ...' background color" msgid "'Loading ...' background color"
msgstr "" msgstr ""
#: ../config.c:181 #: ../config.c:163
msgid "'Loading ...' foreground color" msgid "'Loading ...' foreground color"
msgstr "" msgstr ""
#: ../config.c:185 #: ../config.c:167
msgid "Recolor pages" msgid "Recolor pages"
msgstr "" msgstr ""
#: ../config.c:187 #: ../config.c:169
msgid "When recoloring keep original hue and adjust lightness only" msgid "When recoloring keep original hue and adjust lightness only"
msgstr "" msgstr ""
#: ../config.c:189 #: ../config.c:171
msgid "Wrap scrolling" msgid "Wrap scrolling"
msgstr "" msgstr ""
#: ../config.c:191 #: ../config.c:173
msgid "Page aware scrolling" msgid "Page aware scrolling"
msgstr "" msgstr ""
#: ../config.c:193 #: ../config.c:175
msgid "Advance number of pages per row" msgid "Advance number of pages per row"
msgstr "" msgstr ""
#: ../config.c:195 #: ../config.c:177
msgid "Horizontally centered zoom" msgid "Horizontally centered zoom"
msgstr "" msgstr ""
#: ../config.c:197 #: ../config.c:179
msgid "Align link target to the left" msgid "Align link target to the left"
msgstr "" msgstr ""
#: ../config.c:199 #: ../config.c:181
msgid "Let zoom be changed when following links"
msgstr ""
#: ../config.c:183
msgid "Center result horizontally" msgid "Center result horizontally"
msgstr "" msgstr ""
#: ../config.c:201 #: ../config.c:185
msgid "Transparency for highlighting" msgid "Transparency for highlighting"
msgstr "" msgstr ""
#: ../config.c:203 #: ../config.c:187
msgid "Render 'Loading ...'" msgid "Render 'Loading ...'"
msgstr "" msgstr ""
#: ../config.c:204 #: ../config.c:188
msgid "Adjust to when opening file" msgid "Adjust to when opening file"
msgstr "" msgstr ""
#: ../config.c:206 #: ../config.c:190
msgid "Show hidden files and directories" msgid "Show hidden files and directories"
msgstr "" msgstr ""
#: ../config.c:208 #: ../config.c:192
msgid "Show directories" msgid "Show directories"
msgstr "" msgstr ""
#: ../config.c:210 #: ../config.c:194
msgid "Always open on first page" msgid "Always open on first page"
msgstr "" msgstr ""
#: ../config.c:212 #: ../config.c:196
msgid "Highlight search results" msgid "Highlight search results"
msgstr "" msgstr ""
#: ../config.c:214 #: ../config.c:198
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../config.c:216 #: ../config.c:200
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "" msgstr ""
#: ../config.c:218 #: ../config.c:202
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../config.c:220 #: ../config.c:204
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../config.c:222 #: ../config.c:206
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../config.c:224 ../main.c:65 #: ../config.c:208 ../main.c:67
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../config.c:210
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../config.c:383 #: ../config.c:369
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "" msgstr ""
#: ../config.c:384 #: ../config.c:370
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "" msgstr ""
#: ../config.c:385 #: ../config.c:371
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "" msgstr ""
#: ../config.c:386 #: ../config.c:372
msgid "Close current file" msgid "Close current file"
msgstr "" msgstr ""
#: ../config.c:387 #: ../config.c:373
msgid "Show file information" msgid "Show file information"
msgstr "" msgstr ""
#: ../config.c:388 #: ../config.c:374
msgid "Execute a command" msgid "Execute a command"
msgstr "" msgstr ""
#: ../config.c:389 #: ../config.c:375
msgid "Show help" msgid "Show help"
msgstr "" msgstr ""
#: ../config.c:390 #: ../config.c:376
msgid "Open document" msgid "Open document"
msgstr "" msgstr ""
#: ../config.c:391 #: ../config.c:377
msgid "Close zathura" msgid "Close zathura"
msgstr "" msgstr ""
#: ../config.c:392 #: ../config.c:378
msgid "Print document" msgid "Print document"
msgstr "" msgstr ""
#: ../config.c:393 #: ../config.c:379
msgid "Save document" msgid "Save document"
msgstr "" msgstr ""
#: ../config.c:394 #: ../config.c:380
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "" msgstr ""
#: ../config.c:395 #: ../config.c:381
msgid "Save attachments" msgid "Save attachments"
msgstr "" msgstr ""
#: ../config.c:396 #: ../config.c:382
msgid "Set page offset" msgid "Set page offset"
msgstr "" msgstr ""
#: ../config.c:397 #: ../config.c:383
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "" msgstr ""
#: ../config.c:398 #: ../config.c:384
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "" msgstr ""
#: ../config.c:399 #: ../config.c:385
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "" msgstr ""
#: ../config.c:400 #: ../config.c:386
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "" msgstr ""
#: ../config.c:401 #: ../config.c:387
msgid "Show version information" msgid "Show version information"
msgstr "" msgstr ""
#: ../links.c:175 ../links.c:254 #: ../links.c:199 ../links.c:278
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "" msgstr ""
#: ../links.c:193 #: ../links.c:217
#, c-format #, c-format
msgid "Link: page %d" msgid "Link: page %d"
msgstr "" msgstr ""
#: ../links.c:200 #: ../links.c:224
#, c-format #, c-format
msgid "Link: %s" msgid "Link: %s"
msgstr "" msgstr ""
#: ../links.c:204 #: ../links.c:228
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../main.c:56 #: ../main.c:58
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid"
msgstr "" msgstr ""
#: ../main.c:57 #: ../main.c:59
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "" msgstr ""
#: ../main.c:58 #: ../main.c:60
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "" msgstr ""
#: ../main.c:59 #: ../main.c:61
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "" msgstr ""
#: ../main.c:60 #: ../main.c:62
msgid "Fork into the background" msgid "Fork into the background"
msgstr "" msgstr ""
#: ../main.c:61 #: ../main.c:63
msgid "Document password" msgid "Document password"
msgstr "" msgstr ""
#: ../main.c:62 #: ../main.c:64
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../main.c:63 #: ../main.c:65
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "" msgstr ""
#: ../main.c:64 #: ../main.c:66
msgid "Print version information" msgid "Print version information"
msgstr "" msgstr ""
#: ../main.c:66 #: ../main.c:68
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../page-widget.c:474 #: ../page-widget.c:526
msgid "Loading..." msgid "Loading..."
msgstr "" msgstr ""
#: ../page-widget.c:678 #: ../page-widget.c:845
#, c-format
msgid "Copied selected text to clipboard: %s"
msgstr ""
#: ../page-widget.c:776
msgid "Copy image" msgid "Copy image"
msgstr "" msgstr ""
#: ../page-widget.c:777 #: ../page-widget.c:846
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../shortcuts.c:1154 #: ../shortcuts.c:1076
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "" msgstr ""
#: ../zathura.c:227 ../zathura.c:975 #: ../zathura.c:213 ../zathura.c:959
msgid "[No name]" msgid "[No name]"
msgstr "" msgstr ""
#: ../zathura.c:584 #: ../zathura.c:486
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
#: ../zathura.c:535
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura.c:594 #: ../zathura.c:545
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

256
po/hr.po
View file

@ -6,8 +6,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2013-08-15 00:28+0200\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n"
"PO-Revision-Date: 2013-01-13 14:12+0000\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Croatian (http://www.transifex.com/projects/p/zathura/" "Language-Team: Croatian (http://www.transifex.com/projects/p/zathura/"
"language/hr/)\n" "language/hr/)\n"
@ -18,24 +18,29 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#: ../callbacks.c:314 #: ../callbacks.c:297
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "" msgstr ""
#: ../callbacks.c:350 #: ../callbacks.c:333
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "" msgstr ""
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:158 #: ../callbacks.c:546
#: ../commands.c:274 ../commands.c:304 ../commands.c:330 ../commands.c:425 #, c-format
#: ../commands.c:546 ../shortcuts.c:485 ../shortcuts.c:1251 msgid "Copied selected text to clipboard: %s"
#: ../shortcuts.c:1280 msgstr ""
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:152
#: ../commands.c:268 ../commands.c:298 ../commands.c:324 ../commands.c:419
#: ../commands.c:540 ../shortcuts.c:403 ../shortcuts.c:1163
#: ../shortcuts.c:1192
msgid "No document opened." msgid "No document opened."
msgstr "" msgstr ""
#: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:430 #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424
msgid "Invalid number of arguments given." msgid "Invalid number of arguments given."
msgstr "" msgstr ""
@ -74,61 +79,93 @@ msgstr ""
msgid "No such bookmark: %s" msgid "No such bookmark: %s"
msgstr "" msgstr ""
#: ../commands.c:180 ../commands.c:202 #: ../commands.c:162
msgid "Title"
msgstr ""
#: ../commands.c:163
msgid "Author"
msgstr ""
#: ../commands.c:164
msgid "Subject"
msgstr ""
#: ../commands.c:165
msgid "Keywords"
msgstr ""
#: ../commands.c:166
msgid "Creator"
msgstr ""
#: ../commands.c:167
msgid "Producer"
msgstr ""
#: ../commands.c:168
msgid "Creation date"
msgstr ""
#: ../commands.c:169
msgid "Modification date"
msgstr ""
#: ../commands.c:174 ../commands.c:196
msgid "No information available." msgid "No information available."
msgstr "" msgstr ""
#: ../commands.c:240 #: ../commands.c:234
msgid "Too many arguments." msgid "Too many arguments."
msgstr "" msgstr ""
#: ../commands.c:251 #: ../commands.c:245
msgid "No arguments given." msgid "No arguments given."
msgstr "" msgstr ""
#: ../commands.c:310 ../commands.c:336 #: ../commands.c:304 ../commands.c:330
msgid "Document saved." msgid "Document saved."
msgstr "" msgstr ""
#: ../commands.c:312 ../commands.c:338 #: ../commands.c:306 ../commands.c:332
msgid "Failed to save document." msgid "Failed to save document."
msgstr "" msgstr ""
#: ../commands.c:315 ../commands.c:341 #: ../commands.c:309 ../commands.c:335
msgid "Invalid number of arguments." msgid "Invalid number of arguments."
msgstr "" msgstr ""
#: ../commands.c:449 #: ../commands.c:443
#, c-format #, c-format
msgid "Couldn't write attachment '%s' to '%s'." msgid "Couldn't write attachment '%s' to '%s'."
msgstr "" msgstr ""
#: ../commands.c:451 #: ../commands.c:445
#, c-format #, c-format
msgid "Wrote attachment '%s' to '%s'." msgid "Wrote attachment '%s' to '%s'."
msgstr "" msgstr ""
#: ../commands.c:495 #: ../commands.c:489
#, c-format #, c-format
msgid "Wrote image '%s' to '%s'." msgid "Wrote image '%s' to '%s'."
msgstr "" msgstr ""
#: ../commands.c:497 #: ../commands.c:491
#, c-format #, c-format
msgid "Couldn't write image '%s' to '%s'." msgid "Couldn't write image '%s' to '%s'."
msgstr "" msgstr ""
#: ../commands.c:504 #: ../commands.c:498
#, c-format #, c-format
msgid "Unknown image '%s'." msgid "Unknown image '%s'."
msgstr "" msgstr ""
#: ../commands.c:508 #: ../commands.c:502
#, c-format #, c-format
msgid "Unknown attachment or image '%s'." msgid "Unknown attachment or image '%s'."
msgstr "" msgstr ""
#: ../commands.c:559 #: ../commands.c:553
msgid "Argument must be a number." msgid "Argument must be a number."
msgstr "" msgstr ""
@ -147,326 +184,333 @@ msgid "Images"
msgstr "" msgstr ""
#. zathura settings #. zathura settings
#: ../config.c:147 #: ../config.c:131
msgid "Database backend" msgid "Database backend"
msgstr "" msgstr ""
#: ../config.c:149 #: ../config.c:133
msgid "Zoom step" msgid "Zoom step"
msgstr "" msgstr ""
#: ../config.c:151 #: ../config.c:135
msgid "Padding between pages" msgid "Padding between pages"
msgstr "" msgstr ""
#: ../config.c:153 #: ../config.c:137
msgid "Number of pages per row" msgid "Number of pages per row"
msgstr "" msgstr ""
#: ../config.c:155 #: ../config.c:139
msgid "Column of the first page" msgid "Column of the first page"
msgstr "" msgstr ""
#: ../config.c:157 #: ../config.c:141
msgid "Scroll step" msgid "Scroll step"
msgstr "" msgstr ""
#: ../config.c:159 #: ../config.c:143
msgid "Horizontal scroll step" msgid "Horizontal scroll step"
msgstr "" msgstr ""
#: ../config.c:161 #: ../config.c:145
msgid "Full page scroll overlap" msgid "Full page scroll overlap"
msgstr "" msgstr ""
#: ../config.c:163 #: ../config.c:147
msgid "Zoom minimum" msgid "Zoom minimum"
msgstr "" msgstr ""
#: ../config.c:165 #: ../config.c:149
msgid "Zoom maximum" msgid "Zoom maximum"
msgstr "" msgstr ""
#: ../config.c:167 #: ../config.c:151
msgid "Maximum number of pages to keep in the cache" msgid "Maximum number of pages to keep in the cache"
msgstr "" msgstr ""
#: ../config.c:169 #: ../config.c:153
msgid "Number of positions to remember in the jumplist" msgid "Number of positions to remember in the jumplist"
msgstr "" msgstr ""
#: ../config.c:171 #: ../config.c:155
msgid "Recoloring (dark color)" msgid "Recoloring (dark color)"
msgstr "" msgstr ""
#: ../config.c:173 #: ../config.c:156
msgid "Recoloring (light color)" msgid "Recoloring (light color)"
msgstr "" msgstr ""
#: ../config.c:175 #: ../config.c:157
msgid "Color for highlighting" msgid "Color for highlighting"
msgstr "" msgstr ""
#: ../config.c:177 #: ../config.c:159
msgid "Color for highlighting (active)" msgid "Color for highlighting (active)"
msgstr "" msgstr ""
#: ../config.c:179 #: ../config.c:161
msgid "'Loading ...' background color" msgid "'Loading ...' background color"
msgstr "" msgstr ""
#: ../config.c:181 #: ../config.c:163
msgid "'Loading ...' foreground color" msgid "'Loading ...' foreground color"
msgstr "" msgstr ""
#: ../config.c:185 #: ../config.c:167
msgid "Recolor pages" msgid "Recolor pages"
msgstr "" msgstr ""
#: ../config.c:187 #: ../config.c:169
msgid "When recoloring keep original hue and adjust lightness only" msgid "When recoloring keep original hue and adjust lightness only"
msgstr "" msgstr ""
#: ../config.c:189 #: ../config.c:171
msgid "Wrap scrolling" msgid "Wrap scrolling"
msgstr "" msgstr ""
#: ../config.c:191 #: ../config.c:173
msgid "Page aware scrolling" msgid "Page aware scrolling"
msgstr "" msgstr ""
#: ../config.c:193 #: ../config.c:175
msgid "Advance number of pages per row" msgid "Advance number of pages per row"
msgstr "" msgstr ""
#: ../config.c:195 #: ../config.c:177
msgid "Horizontally centered zoom" msgid "Horizontally centered zoom"
msgstr "" msgstr ""
#: ../config.c:197 #: ../config.c:179
msgid "Align link target to the left" msgid "Align link target to the left"
msgstr "" msgstr ""
#: ../config.c:199 #: ../config.c:181
msgid "Let zoom be changed when following links"
msgstr ""
#: ../config.c:183
msgid "Center result horizontally" msgid "Center result horizontally"
msgstr "" msgstr ""
#: ../config.c:201 #: ../config.c:185
msgid "Transparency for highlighting" msgid "Transparency for highlighting"
msgstr "" msgstr ""
#: ../config.c:203 #: ../config.c:187
msgid "Render 'Loading ...'" msgid "Render 'Loading ...'"
msgstr "" msgstr ""
#: ../config.c:204 #: ../config.c:188
msgid "Adjust to when opening file" msgid "Adjust to when opening file"
msgstr "" msgstr ""
#: ../config.c:206 #: ../config.c:190
msgid "Show hidden files and directories" msgid "Show hidden files and directories"
msgstr "" msgstr ""
#: ../config.c:208 #: ../config.c:192
msgid "Show directories" msgid "Show directories"
msgstr "" msgstr ""
#: ../config.c:210 #: ../config.c:194
msgid "Always open on first page" msgid "Always open on first page"
msgstr "" msgstr ""
#: ../config.c:212 #: ../config.c:196
msgid "Highlight search results" msgid "Highlight search results"
msgstr "" msgstr ""
#: ../config.c:214 #: ../config.c:198
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../config.c:216 #: ../config.c:200
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "" msgstr ""
#: ../config.c:218 #: ../config.c:202
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../config.c:220 #: ../config.c:204
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../config.c:222 #: ../config.c:206
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../config.c:224 ../main.c:65 #: ../config.c:208 ../main.c:67
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../config.c:210
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../config.c:383 #: ../config.c:369
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "" msgstr ""
#: ../config.c:384 #: ../config.c:370
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "" msgstr ""
#: ../config.c:385 #: ../config.c:371
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "" msgstr ""
#: ../config.c:386 #: ../config.c:372
msgid "Close current file" msgid "Close current file"
msgstr "" msgstr ""
#: ../config.c:387 #: ../config.c:373
msgid "Show file information" msgid "Show file information"
msgstr "" msgstr ""
#: ../config.c:388 #: ../config.c:374
msgid "Execute a command" msgid "Execute a command"
msgstr "" msgstr ""
#: ../config.c:389 #: ../config.c:375
msgid "Show help" msgid "Show help"
msgstr "" msgstr ""
#: ../config.c:390 #: ../config.c:376
msgid "Open document" msgid "Open document"
msgstr "" msgstr ""
#: ../config.c:391 #: ../config.c:377
msgid "Close zathura" msgid "Close zathura"
msgstr "" msgstr ""
#: ../config.c:392 #: ../config.c:378
msgid "Print document" msgid "Print document"
msgstr "" msgstr ""
#: ../config.c:393 #: ../config.c:379
msgid "Save document" msgid "Save document"
msgstr "" msgstr ""
#: ../config.c:394 #: ../config.c:380
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "" msgstr ""
#: ../config.c:395 #: ../config.c:381
msgid "Save attachments" msgid "Save attachments"
msgstr "" msgstr ""
#: ../config.c:396 #: ../config.c:382
msgid "Set page offset" msgid "Set page offset"
msgstr "" msgstr ""
#: ../config.c:397 #: ../config.c:383
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "" msgstr ""
#: ../config.c:398 #: ../config.c:384
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "" msgstr ""
#: ../config.c:399 #: ../config.c:385
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "" msgstr ""
#: ../config.c:400 #: ../config.c:386
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "" msgstr ""
#: ../config.c:401 #: ../config.c:387
msgid "Show version information" msgid "Show version information"
msgstr "" msgstr ""
#: ../links.c:175 ../links.c:254 #: ../links.c:199 ../links.c:278
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "" msgstr ""
#: ../links.c:193 #: ../links.c:217
#, c-format #, c-format
msgid "Link: page %d" msgid "Link: page %d"
msgstr "" msgstr ""
#: ../links.c:200 #: ../links.c:224
#, c-format #, c-format
msgid "Link: %s" msgid "Link: %s"
msgstr "" msgstr ""
#: ../links.c:204 #: ../links.c:228
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../main.c:56 #: ../main.c:58
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid"
msgstr "" msgstr ""
#: ../main.c:57 #: ../main.c:59
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "" msgstr ""
#: ../main.c:58 #: ../main.c:60
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "" msgstr ""
#: ../main.c:59 #: ../main.c:61
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "" msgstr ""
#: ../main.c:60 #: ../main.c:62
msgid "Fork into the background" msgid "Fork into the background"
msgstr "" msgstr ""
#: ../main.c:61 #: ../main.c:63
msgid "Document password" msgid "Document password"
msgstr "" msgstr ""
#: ../main.c:62 #: ../main.c:64
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../main.c:63 #: ../main.c:65
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "" msgstr ""
#: ../main.c:64 #: ../main.c:66
msgid "Print version information" msgid "Print version information"
msgstr "" msgstr ""
#: ../main.c:66 #: ../main.c:68
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../page-widget.c:474 #: ../page-widget.c:526
msgid "Loading..." msgid "Loading..."
msgstr "" msgstr ""
#: ../page-widget.c:678 #: ../page-widget.c:845
#, c-format
msgid "Copied selected text to clipboard: %s"
msgstr ""
#: ../page-widget.c:776
msgid "Copy image" msgid "Copy image"
msgstr "" msgstr ""
#: ../page-widget.c:777 #: ../page-widget.c:846
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../shortcuts.c:1154 #: ../shortcuts.c:1076
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "" msgstr ""
#: ../zathura.c:227 ../zathura.c:975 #: ../zathura.c:213 ../zathura.c:959
msgid "[No name]" msgid "[No name]"
msgstr "" msgstr ""
#: ../zathura.c:584 #: ../zathura.c:486
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
#: ../zathura.c:535
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura.c:594 #: ../zathura.c:545
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

View file

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2013-08-15 00:28+0200\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n"
"PO-Revision-Date: 2013-08-15 00:34+0200\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n"
"Last-Translator: andjeng <teratower8@gmail.com>\n" "Last-Translator: andjeng <teratower8@gmail.com>\n"
"Language-Team: Indonesian (Indonesia) (http://www.transifex.com/projects/p/" "Language-Team: Indonesian (Indonesia) (http://www.transifex.com/projects/p/"
"zathura/language/id_ID/)\n" "zathura/language/id_ID/)\n"
@ -18,24 +18,29 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
#: ../callbacks.c:314 #: ../callbacks.c:297
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Masukan '%s' tidak valid" msgstr "Masukan '%s' tidak valid"
#: ../callbacks.c:350 #: ../callbacks.c:333
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Index '%s' tidak valid" msgstr "Index '%s' tidak valid"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:158 #: ../callbacks.c:546
#: ../commands.c:274 ../commands.c:304 ../commands.c:330 ../commands.c:425 #, c-format
#: ../commands.c:546 ../shortcuts.c:485 ../shortcuts.c:1251 msgid "Copied selected text to clipboard: %s"
#: ../shortcuts.c:1280 msgstr "Menyalin teks terpilih ke papan semat: %s"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:152
#: ../commands.c:268 ../commands.c:298 ../commands.c:324 ../commands.c:419
#: ../commands.c:540 ../shortcuts.c:403 ../shortcuts.c:1163
#: ../shortcuts.c:1192
msgid "No document opened." msgid "No document opened."
msgstr "Tidak ada dokumen yang terbuka." msgstr "Tidak ada dokumen yang terbuka."
#: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:430 #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424
msgid "Invalid number of arguments given." msgid "Invalid number of arguments given."
msgstr "jumlah argumen yang diberikan tidak valid" msgstr "jumlah argumen yang diberikan tidak valid"
@ -74,61 +79,93 @@ msgstr "Gagal menghapus bookmark: %s"
msgid "No such bookmark: %s" msgid "No such bookmark: %s"
msgstr "Tidak ada bookmark: %s" msgstr "Tidak ada bookmark: %s"
#: ../commands.c:180 ../commands.c:202 #: ../commands.c:162
msgid "Title"
msgstr ""
#: ../commands.c:163
msgid "Author"
msgstr ""
#: ../commands.c:164
msgid "Subject"
msgstr ""
#: ../commands.c:165
msgid "Keywords"
msgstr ""
#: ../commands.c:166
msgid "Creator"
msgstr ""
#: ../commands.c:167
msgid "Producer"
msgstr ""
#: ../commands.c:168
msgid "Creation date"
msgstr ""
#: ../commands.c:169
msgid "Modification date"
msgstr ""
#: ../commands.c:174 ../commands.c:196
msgid "No information available." msgid "No information available."
msgstr "Tidak ada informasi tersedia" msgstr "Tidak ada informasi tersedia"
#: ../commands.c:240 #: ../commands.c:234
msgid "Too many arguments." msgid "Too many arguments."
msgstr "Argumen terlalu banyak" msgstr "Argumen terlalu banyak"
#: ../commands.c:251 #: ../commands.c:245
msgid "No arguments given." msgid "No arguments given."
msgstr "Tidak ada argumen yang diberikan" msgstr "Tidak ada argumen yang diberikan"
#: ../commands.c:310 ../commands.c:336 #: ../commands.c:304 ../commands.c:330
msgid "Document saved." msgid "Document saved."
msgstr "Dokumen telah disimpan" msgstr "Dokumen telah disimpan"
#: ../commands.c:312 ../commands.c:338 #: ../commands.c:306 ../commands.c:332
msgid "Failed to save document." msgid "Failed to save document."
msgstr "Gagal menyimpan dokumen" msgstr "Gagal menyimpan dokumen"
#: ../commands.c:315 ../commands.c:341 #: ../commands.c:309 ../commands.c:335
msgid "Invalid number of arguments." msgid "Invalid number of arguments."
msgstr "Jumlah argumen tidak valid" msgstr "Jumlah argumen tidak valid"
#: ../commands.c:449 #: ../commands.c:443
#, c-format #, c-format
msgid "Couldn't write attachment '%s' to '%s'." msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Tidak dapat menulis lampiran '%s' ke '%s'" msgstr "Tidak dapat menulis lampiran '%s' ke '%s'"
#: ../commands.c:451 #: ../commands.c:445
#, c-format #, c-format
msgid "Wrote attachment '%s' to '%s'." msgid "Wrote attachment '%s' to '%s'."
msgstr "Tidak dapat menyimpan lampiran '%s' ke '%s'" msgstr "Tidak dapat menyimpan lampiran '%s' ke '%s'"
#: ../commands.c:495 #: ../commands.c:489
#, c-format #, c-format
msgid "Wrote image '%s' to '%s'." msgid "Wrote image '%s' to '%s'."
msgstr "Menulis citra dari '%s' ke '%s'" msgstr "Menulis citra dari '%s' ke '%s'"
#: ../commands.c:497 #: ../commands.c:491
#, c-format #, c-format
msgid "Couldn't write image '%s' to '%s'." msgid "Couldn't write image '%s' to '%s'."
msgstr "Tidak dapat menulis citra '%s' ke %s'" msgstr "Tidak dapat menulis citra '%s' ke %s'"
#: ../commands.c:504 #: ../commands.c:498
#, c-format #, c-format
msgid "Unknown image '%s'." msgid "Unknown image '%s'."
msgstr "Citra tidak diketahui '%s'" msgstr "Citra tidak diketahui '%s'"
#: ../commands.c:508 #: ../commands.c:502
#, c-format #, c-format
msgid "Unknown attachment or image '%s'." msgid "Unknown attachment or image '%s'."
msgstr "Lampiran atau gambar tidak diketahui '%s'" msgstr "Lampiran atau gambar tidak diketahui '%s'"
#: ../commands.c:559 #: ../commands.c:553
msgid "Argument must be a number." msgid "Argument must be a number."
msgstr "Argumen harus berupa angka." msgstr "Argumen harus berupa angka."
@ -147,326 +184,333 @@ msgid "Images"
msgstr "Citra" msgstr "Citra"
#. zathura settings #. zathura settings
#: ../config.c:147 #: ../config.c:131
msgid "Database backend" msgid "Database backend"
msgstr "" msgstr ""
#: ../config.c:149 #: ../config.c:133
msgid "Zoom step" msgid "Zoom step"
msgstr "Tingkat pembesaran" msgstr "Tingkat pembesaran"
#: ../config.c:151 #: ../config.c:135
msgid "Padding between pages" msgid "Padding between pages"
msgstr "Selisih antar halaman" msgstr "Selisih antar halaman"
#: ../config.c:153 #: ../config.c:137
msgid "Number of pages per row" msgid "Number of pages per row"
msgstr "Jumlah halaman tiap kolom" msgstr "Jumlah halaman tiap kolom"
#: ../config.c:155 #: ../config.c:139
msgid "Column of the first page" msgid "Column of the first page"
msgstr "Kolom pada halaman pertama" msgstr "Kolom pada halaman pertama"
#: ../config.c:157 #: ../config.c:141
msgid "Scroll step" msgid "Scroll step"
msgstr "Tingkat menggulung" msgstr "Tingkat menggulung"
#: ../config.c:159 #: ../config.c:143
msgid "Horizontal scroll step" msgid "Horizontal scroll step"
msgstr "Tingkat penggulungan horisontal" msgstr "Tingkat penggulungan horisontal"
#: ../config.c:161 #: ../config.c:145
msgid "Full page scroll overlap" msgid "Full page scroll overlap"
msgstr "" msgstr ""
#: ../config.c:163 #: ../config.c:147
msgid "Zoom minimum" msgid "Zoom minimum"
msgstr "Pembesaran minimum" msgstr "Pembesaran minimum"
#: ../config.c:165 #: ../config.c:149
msgid "Zoom maximum" msgid "Zoom maximum"
msgstr "Pembesaran maksimal" msgstr "Pembesaran maksimal"
#: ../config.c:167 #: ../config.c:151
msgid "Maximum number of pages to keep in the cache" msgid "Maximum number of pages to keep in the cache"
msgstr "" msgstr ""
#: ../config.c:169 #: ../config.c:153
msgid "Number of positions to remember in the jumplist" msgid "Number of positions to remember in the jumplist"
msgstr "Jumlah posisi yang diingat pada jumplist" msgstr "Jumlah posisi yang diingat pada jumplist"
#: ../config.c:171 #: ../config.c:155
msgid "Recoloring (dark color)" msgid "Recoloring (dark color)"
msgstr "Mewarnai ulang (warna gelap)" msgstr "Mewarnai ulang (warna gelap)"
#: ../config.c:173 #: ../config.c:156
msgid "Recoloring (light color)" msgid "Recoloring (light color)"
msgstr "Mewarnai ulang (warna cerah)" msgstr "Mewarnai ulang (warna cerah)"
#: ../config.c:175 #: ../config.c:157
msgid "Color for highlighting" msgid "Color for highlighting"
msgstr "Warna sorotan" msgstr "Warna sorotan"
#: ../config.c:177 #: ../config.c:159
msgid "Color for highlighting (active)" msgid "Color for highlighting (active)"
msgstr "Warna sorotan (aktif)" msgstr "Warna sorotan (aktif)"
#: ../config.c:179 #: ../config.c:161
msgid "'Loading ...' background color" msgid "'Loading ...' background color"
msgstr "" msgstr ""
#: ../config.c:181 #: ../config.c:163
msgid "'Loading ...' foreground color" msgid "'Loading ...' foreground color"
msgstr "" msgstr ""
#: ../config.c:185 #: ../config.c:167
msgid "Recolor pages" msgid "Recolor pages"
msgstr "Mewarnai ulang halaman" msgstr "Mewarnai ulang halaman"
#: ../config.c:187 #: ../config.c:169
msgid "When recoloring keep original hue and adjust lightness only" msgid "When recoloring keep original hue and adjust lightness only"
msgstr "Ketika mewarnai ulang, jaga hue dan sesuaikan kecerahan saja" msgstr "Ketika mewarnai ulang, jaga hue dan sesuaikan kecerahan saja"
#: ../config.c:189 #: ../config.c:171
msgid "Wrap scrolling" msgid "Wrap scrolling"
msgstr "" msgstr ""
#: ../config.c:191 #: ../config.c:173
msgid "Page aware scrolling" msgid "Page aware scrolling"
msgstr "Penggulungan sadar halaman" msgstr "Penggulungan sadar halaman"
#: ../config.c:193 #: ../config.c:175
msgid "Advance number of pages per row" msgid "Advance number of pages per row"
msgstr "Jumlah halaman per baris \"lanjutan\"" msgstr "Jumlah halaman per baris \"lanjutan\""
#: ../config.c:195 #: ../config.c:177
msgid "Horizontally centered zoom" msgid "Horizontally centered zoom"
msgstr "Pembesaran horisontal tengah" msgstr "Pembesaran horisontal tengah"
#: ../config.c:197 #: ../config.c:179
msgid "Align link target to the left" msgid "Align link target to the left"
msgstr "" msgstr ""
#: ../config.c:199 #: ../config.c:181
msgid "Let zoom be changed when following links"
msgstr ""
#: ../config.c:183
msgid "Center result horizontally" msgid "Center result horizontally"
msgstr "Tengah-horisontalkan hasil" msgstr "Tengah-horisontalkan hasil"
#: ../config.c:201 #: ../config.c:185
msgid "Transparency for highlighting" msgid "Transparency for highlighting"
msgstr "Transparansi sorotan" msgstr "Transparansi sorotan"
#: ../config.c:203 #: ../config.c:187
msgid "Render 'Loading ...'" msgid "Render 'Loading ...'"
msgstr "Memuat Render..." msgstr "Memuat Render..."
#: ../config.c:204 #: ../config.c:188
msgid "Adjust to when opening file" msgid "Adjust to when opening file"
msgstr "Menyesuaikan ketika membuka file" msgstr "Menyesuaikan ketika membuka file"
#: ../config.c:206 #: ../config.c:190
msgid "Show hidden files and directories" msgid "Show hidden files and directories"
msgstr "Perlihatkan file dan direktori tersembunyi" msgstr "Perlihatkan file dan direktori tersembunyi"
#: ../config.c:208 #: ../config.c:192
msgid "Show directories" msgid "Show directories"
msgstr "Perlihatkan direktori" msgstr "Perlihatkan direktori"
#: ../config.c:210 #: ../config.c:194
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Selalu buka halaman pertama" msgstr "Selalu buka halaman pertama"
#: ../config.c:212 #: ../config.c:196
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Sorot hasil pencarian" msgstr "Sorot hasil pencarian"
#: ../config.c:214 #: ../config.c:198
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "Fungsikan pencarian berkelanjutan" msgstr "Fungsikan pencarian berkelanjutan"
#: ../config.c:216 #: ../config.c:200
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Hapus hasil pencarian ketika batal mencari" msgstr "Hapus hasil pencarian ketika batal mencari"
#: ../config.c:218 #: ../config.c:202
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "Gunakan nama dasar file pada judul jendela" msgstr "Gunakan nama dasar file pada judul jendela"
#: ../config.c:220 #: ../config.c:204
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../config.c:222 #: ../config.c:206
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../config.c:224 ../main.c:65 #: ../config.c:208 ../main.c:67
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "Support synctex" msgstr "Support synctex"
#: ../config.c:210
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../config.c:383 #: ../config.c:369
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Tambahkan pada bookmark" msgstr "Tambahkan pada bookmark"
#: ../config.c:384 #: ../config.c:370
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Hapus bookmark" msgstr "Hapus bookmark"
#: ../config.c:385 #: ../config.c:371
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Perlihatkan semua bookmark" msgstr "Perlihatkan semua bookmark"
#: ../config.c:386 #: ../config.c:372
msgid "Close current file" msgid "Close current file"
msgstr "Tutup file ini" msgstr "Tutup file ini"
#: ../config.c:387 #: ../config.c:373
msgid "Show file information" msgid "Show file information"
msgstr "Informasi file" msgstr "Informasi file"
#: ../config.c:388 #: ../config.c:374
msgid "Execute a command" msgid "Execute a command"
msgstr "Jalankan perintah" msgstr "Jalankan perintah"
#: ../config.c:389 #: ../config.c:375
msgid "Show help" msgid "Show help"
msgstr "Bantuan" msgstr "Bantuan"
#: ../config.c:390 #: ../config.c:376
msgid "Open document" msgid "Open document"
msgstr "Buka dokumen" msgstr "Buka dokumen"
#: ../config.c:391 #: ../config.c:377
msgid "Close zathura" msgid "Close zathura"
msgstr "Tutup zathura" msgstr "Tutup zathura"
#: ../config.c:392 #: ../config.c:378
msgid "Print document" msgid "Print document"
msgstr "Cetak dokumen" msgstr "Cetak dokumen"
#: ../config.c:393 #: ../config.c:379
msgid "Save document" msgid "Save document"
msgstr "Simpan dokumen" msgstr "Simpan dokumen"
#: ../config.c:394 #: ../config.c:380
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Simpan dokumen (dan menimpa berkas)" msgstr "Simpan dokumen (dan menimpa berkas)"
#: ../config.c:395 #: ../config.c:381
msgid "Save attachments" msgid "Save attachments"
msgstr "Simpan lampiran" msgstr "Simpan lampiran"
#: ../config.c:396 #: ../config.c:382
msgid "Set page offset" msgid "Set page offset"
msgstr "Set offset halaman" msgstr "Set offset halaman"
#: ../config.c:397 #: ../config.c:383
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Tandai lokasi sekarang dalam dokumen" msgstr "Tandai lokasi sekarang dalam dokumen"
#: ../config.c:398 #: ../config.c:384
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Hapus tanda terpilih" msgstr "Hapus tanda terpilih"
#: ../config.c:399 #: ../config.c:385
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "Jangan menyorot hasil cari sekarang" msgstr "Jangan menyorot hasil cari sekarang"
#: ../config.c:400 #: ../config.c:386
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "" msgstr ""
#: ../config.c:401 #: ../config.c:387
msgid "Show version information" msgid "Show version information"
msgstr "Tunjukan informasi versi" msgstr "Tunjukan informasi versi"
#: ../links.c:175 ../links.c:254 #: ../links.c:199 ../links.c:278
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Gagal menjalankan program xdg-open" msgstr "Gagal menjalankan program xdg-open"
#: ../links.c:193 #: ../links.c:217
#, c-format #, c-format
msgid "Link: page %d" msgid "Link: page %d"
msgstr "Link: halaman %d" msgstr "Link: halaman %d"
#: ../links.c:200 #: ../links.c:224
#, c-format #, c-format
msgid "Link: %s" msgid "Link: %s"
msgstr "Link: %s" msgstr "Link: %s"
#: ../links.c:204 #: ../links.c:228
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Link: Tidak valid" msgstr "Link: Tidak valid"
#: ../main.c:56 #: ../main.c:58
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid"
msgstr "Mengembalikan jendela sesuai dengan xid yang ditentukan" msgstr "Mengembalikan jendela sesuai dengan xid yang ditentukan"
#: ../main.c:57 #: ../main.c:59
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Path ke direktori konfigurasi" msgstr "Path ke direktori konfigurasi"
#: ../main.c:58 #: ../main.c:60
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Path ke direktori data" msgstr "Path ke direktori data"
#: ../main.c:59 #: ../main.c:61
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Path ke direktori plugin" msgstr "Path ke direktori plugin"
#: ../main.c:60 #: ../main.c:62
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Jalankan pada latar" msgstr "Jalankan pada latar"
#: ../main.c:61 #: ../main.c:63
msgid "Document password" msgid "Document password"
msgstr "Kata sandi dokumen" msgstr "Kata sandi dokumen"
#: ../main.c:62 #: ../main.c:64
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../main.c:63 #: ../main.c:65
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Tingkat log (debug, info, peringatan, error)" msgstr "Tingkat log (debug, info, peringatan, error)"
#: ../main.c:64 #: ../main.c:66
msgid "Print version information" msgid "Print version information"
msgstr "Cetak informasi versi" msgstr "Cetak informasi versi"
#: ../main.c:66 #: ../main.c:68
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Synctex editor (diteruskan ke perintah synctex)" msgstr "Synctex editor (diteruskan ke perintah synctex)"
#: ../page-widget.c:474 #: ../page-widget.c:526
msgid "Loading..." msgid "Loading..."
msgstr "Memuat....." msgstr "Memuat....."
#: ../page-widget.c:678 #: ../page-widget.c:845
#, c-format
msgid "Copied selected text to clipboard: %s"
msgstr "Menyalin teks terpilih ke papan semat: %s"
#: ../page-widget.c:776
msgid "Copy image" msgid "Copy image"
msgstr "Salin gambar" msgstr "Salin gambar"
#: ../page-widget.c:777 #: ../page-widget.c:846
msgid "Save image as" msgid "Save image as"
msgstr "Simpan gambar sebagai" msgstr "Simpan gambar sebagai"
#: ../shortcuts.c:1154 #: ../shortcuts.c:1076
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Dokumen ini tidak mempunyai indeks" msgstr "Dokumen ini tidak mempunyai indeks"
#: ../zathura.c:227 ../zathura.c:975 #: ../zathura.c:213 ../zathura.c:959
msgid "[No name]" msgid "[No name]"
msgstr "[Tidak berjudul]" msgstr "[Tidak berjudul]"
#: ../zathura.c:584 #: ../zathura.c:486
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
#: ../zathura.c:535
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura.c:594 #: ../zathura.c:545
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

258
po/it.po
View file

@ -2,13 +2,13 @@
# See LICENSE file for license and copyright information # See LICENSE file for license and copyright information
# #
# Translators: # Translators:
# <segnalazionidalweb@gmail.com>, 2012. # TheLemonMan <segnalazionidalweb@gmail.com>, 2012
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2013-08-15 00:28+0200\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n"
"PO-Revision-Date: 2013-08-15 00:35+0200\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Italian (http://www.transifex.com/projects/p/zathura/language/" "Language-Team: Italian (http://www.transifex.com/projects/p/zathura/language/"
"it/)\n" "it/)\n"
@ -18,24 +18,29 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n"
#: ../callbacks.c:314 #: ../callbacks.c:297
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Input inserito '%s' non valido." msgstr "Input inserito '%s' non valido."
#: ../callbacks.c:350 #: ../callbacks.c:333
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Indice inserito '%s' non valido." msgstr "Indice inserito '%s' non valido."
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:158 #: ../callbacks.c:546
#: ../commands.c:274 ../commands.c:304 ../commands.c:330 ../commands.c:425 #, c-format
#: ../commands.c:546 ../shortcuts.c:485 ../shortcuts.c:1251 msgid "Copied selected text to clipboard: %s"
#: ../shortcuts.c:1280 msgstr "La selezione è stato copiata negli appunti:%s"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:152
#: ../commands.c:268 ../commands.c:298 ../commands.c:324 ../commands.c:419
#: ../commands.c:540 ../shortcuts.c:403 ../shortcuts.c:1163
#: ../shortcuts.c:1192
msgid "No document opened." msgid "No document opened."
msgstr "Nessun documento aperto." msgstr "Nessun documento aperto."
#: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:430 #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424
msgid "Invalid number of arguments given." msgid "Invalid number of arguments given."
msgstr "Numero di argomenti errato." msgstr "Numero di argomenti errato."
@ -74,61 +79,93 @@ msgstr "Impossibile rimuovere il segnalibro:%s"
msgid "No such bookmark: %s" msgid "No such bookmark: %s"
msgstr "Nessun segnalibro corrispondente:%s" msgstr "Nessun segnalibro corrispondente:%s"
#: ../commands.c:180 ../commands.c:202 #: ../commands.c:162
msgid "Title"
msgstr ""
#: ../commands.c:163
msgid "Author"
msgstr ""
#: ../commands.c:164
msgid "Subject"
msgstr ""
#: ../commands.c:165
msgid "Keywords"
msgstr ""
#: ../commands.c:166
msgid "Creator"
msgstr ""
#: ../commands.c:167
msgid "Producer"
msgstr ""
#: ../commands.c:168
msgid "Creation date"
msgstr ""
#: ../commands.c:169
msgid "Modification date"
msgstr ""
#: ../commands.c:174 ../commands.c:196
msgid "No information available." msgid "No information available."
msgstr "Nessun' informazione disponibile." msgstr "Nessun' informazione disponibile."
#: ../commands.c:240 #: ../commands.c:234
msgid "Too many arguments." msgid "Too many arguments."
msgstr "Numero di argomenti eccessivo." msgstr "Numero di argomenti eccessivo."
#: ../commands.c:251 #: ../commands.c:245
msgid "No arguments given." msgid "No arguments given."
msgstr "Nessun argomento specificato." msgstr "Nessun argomento specificato."
#: ../commands.c:310 ../commands.c:336 #: ../commands.c:304 ../commands.c:330
msgid "Document saved." msgid "Document saved."
msgstr "Documento salvato." msgstr "Documento salvato."
#: ../commands.c:312 ../commands.c:338 #: ../commands.c:306 ../commands.c:332
msgid "Failed to save document." msgid "Failed to save document."
msgstr "Impossibile salvare il documento." msgstr "Impossibile salvare il documento."
#: ../commands.c:315 ../commands.c:341 #: ../commands.c:309 ../commands.c:335
msgid "Invalid number of arguments." msgid "Invalid number of arguments."
msgstr "Numero di argomenti non valido." msgstr "Numero di argomenti non valido."
#: ../commands.c:449 #: ../commands.c:443
#, c-format #, c-format
msgid "Couldn't write attachment '%s' to '%s'." msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Impossibile salvare l' allegato '%s' in '%s'" msgstr "Impossibile salvare l' allegato '%s' in '%s'"
#: ../commands.c:451 #: ../commands.c:445
#, c-format #, c-format
msgid "Wrote attachment '%s' to '%s'." msgid "Wrote attachment '%s' to '%s'."
msgstr "Allegato '%s' salvato in '%s'" msgstr "Allegato '%s' salvato in '%s'"
#: ../commands.c:495 #: ../commands.c:489
#, c-format #, c-format
msgid "Wrote image '%s' to '%s'." msgid "Wrote image '%s' to '%s'."
msgstr "" msgstr ""
#: ../commands.c:497 #: ../commands.c:491
#, c-format #, c-format
msgid "Couldn't write image '%s' to '%s'." msgid "Couldn't write image '%s' to '%s'."
msgstr "" msgstr ""
#: ../commands.c:504 #: ../commands.c:498
#, c-format #, c-format
msgid "Unknown image '%s'." msgid "Unknown image '%s'."
msgstr "" msgstr ""
#: ../commands.c:508 #: ../commands.c:502
#, c-format #, c-format
msgid "Unknown attachment or image '%s'." msgid "Unknown attachment or image '%s'."
msgstr "" msgstr ""
#: ../commands.c:559 #: ../commands.c:553
msgid "Argument must be a number." msgid "Argument must be a number."
msgstr "L' argomento dev' essere un numero." msgstr "L' argomento dev' essere un numero."
@ -147,326 +184,333 @@ msgid "Images"
msgstr "" msgstr ""
#. zathura settings #. zathura settings
#: ../config.c:147 #: ../config.c:131
msgid "Database backend" msgid "Database backend"
msgstr "Backend del database" msgstr "Backend del database"
#: ../config.c:149 #: ../config.c:133
msgid "Zoom step" msgid "Zoom step"
msgstr "" msgstr ""
#: ../config.c:151 #: ../config.c:135
msgid "Padding between pages" msgid "Padding between pages"
msgstr "Spaziatura tra le pagine" msgstr "Spaziatura tra le pagine"
#: ../config.c:153 #: ../config.c:137
msgid "Number of pages per row" msgid "Number of pages per row"
msgstr "Numero di pagine per riga" msgstr "Numero di pagine per riga"
#: ../config.c:155 #: ../config.c:139
msgid "Column of the first page" msgid "Column of the first page"
msgstr "" msgstr ""
#: ../config.c:157 #: ../config.c:141
msgid "Scroll step" msgid "Scroll step"
msgstr "" msgstr ""
#: ../config.c:159 #: ../config.c:143
msgid "Horizontal scroll step" msgid "Horizontal scroll step"
msgstr "" msgstr ""
#: ../config.c:161 #: ../config.c:145
msgid "Full page scroll overlap" msgid "Full page scroll overlap"
msgstr "" msgstr ""
#: ../config.c:163 #: ../config.c:147
msgid "Zoom minimum" msgid "Zoom minimum"
msgstr "Zoom minimo" msgstr "Zoom minimo"
#: ../config.c:165 #: ../config.c:149
msgid "Zoom maximum" msgid "Zoom maximum"
msgstr "Zoom massimo" msgstr "Zoom massimo"
#: ../config.c:167 #: ../config.c:151
msgid "Maximum number of pages to keep in the cache" msgid "Maximum number of pages to keep in the cache"
msgstr "" msgstr ""
#: ../config.c:169 #: ../config.c:153
msgid "Number of positions to remember in the jumplist" msgid "Number of positions to remember in the jumplist"
msgstr "" msgstr ""
#: ../config.c:171 #: ../config.c:155
msgid "Recoloring (dark color)" msgid "Recoloring (dark color)"
msgstr "" msgstr ""
#: ../config.c:173 #: ../config.c:156
msgid "Recoloring (light color)" msgid "Recoloring (light color)"
msgstr "" msgstr ""
#: ../config.c:175 #: ../config.c:157
msgid "Color for highlighting" msgid "Color for highlighting"
msgstr "" msgstr ""
#: ../config.c:177 #: ../config.c:159
msgid "Color for highlighting (active)" msgid "Color for highlighting (active)"
msgstr "" msgstr ""
#: ../config.c:179 #: ../config.c:161
msgid "'Loading ...' background color" msgid "'Loading ...' background color"
msgstr "" msgstr ""
#: ../config.c:181 #: ../config.c:163
msgid "'Loading ...' foreground color" msgid "'Loading ...' foreground color"
msgstr "" msgstr ""
#: ../config.c:185 #: ../config.c:167
msgid "Recolor pages" msgid "Recolor pages"
msgstr "Ricolora le pagine" msgstr "Ricolora le pagine"
#: ../config.c:187 #: ../config.c:169
msgid "When recoloring keep original hue and adjust lightness only" msgid "When recoloring keep original hue and adjust lightness only"
msgstr "" msgstr ""
#: ../config.c:189 #: ../config.c:171
msgid "Wrap scrolling" msgid "Wrap scrolling"
msgstr "Scrolling continuo" msgstr "Scrolling continuo"
#: ../config.c:191 #: ../config.c:173
msgid "Page aware scrolling" msgid "Page aware scrolling"
msgstr "" msgstr ""
#: ../config.c:193 #: ../config.c:175
msgid "Advance number of pages per row" msgid "Advance number of pages per row"
msgstr "" msgstr ""
#: ../config.c:195 #: ../config.c:177
msgid "Horizontally centered zoom" msgid "Horizontally centered zoom"
msgstr "" msgstr ""
#: ../config.c:197 #: ../config.c:179
msgid "Align link target to the left" msgid "Align link target to the left"
msgstr "" msgstr ""
#: ../config.c:199 #: ../config.c:181
msgid "Let zoom be changed when following links"
msgstr ""
#: ../config.c:183
msgid "Center result horizontally" msgid "Center result horizontally"
msgstr "" msgstr ""
#: ../config.c:201 #: ../config.c:185
msgid "Transparency for highlighting" msgid "Transparency for highlighting"
msgstr "" msgstr ""
#: ../config.c:203 #: ../config.c:187
msgid "Render 'Loading ...'" msgid "Render 'Loading ...'"
msgstr "" msgstr ""
#: ../config.c:204 #: ../config.c:188
msgid "Adjust to when opening file" msgid "Adjust to when opening file"
msgstr "" msgstr ""
#: ../config.c:206 #: ../config.c:190
msgid "Show hidden files and directories" msgid "Show hidden files and directories"
msgstr "Mostra file e cartelle nascosti" msgstr "Mostra file e cartelle nascosti"
#: ../config.c:208 #: ../config.c:192
msgid "Show directories" msgid "Show directories"
msgstr "Mostra cartelle" msgstr "Mostra cartelle"
#: ../config.c:210 #: ../config.c:194
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Apri sempre alla prima pagina" msgstr "Apri sempre alla prima pagina"
#: ../config.c:212 #: ../config.c:196
msgid "Highlight search results" msgid "Highlight search results"
msgstr "" msgstr ""
#: ../config.c:214 #: ../config.c:198
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../config.c:216 #: ../config.c:200
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "" msgstr ""
#: ../config.c:218 #: ../config.c:202
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../config.c:220 #: ../config.c:204
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../config.c:222 #: ../config.c:206
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../config.c:224 ../main.c:65 #: ../config.c:208 ../main.c:67
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../config.c:210
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../config.c:383 #: ../config.c:369
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Aggiungi un segnalibro" msgstr "Aggiungi un segnalibro"
#: ../config.c:384 #: ../config.c:370
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Elimina un segnalibro" msgstr "Elimina un segnalibro"
#: ../config.c:385 #: ../config.c:371
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Mostra i segnalibri" msgstr "Mostra i segnalibri"
#: ../config.c:386 #: ../config.c:372
msgid "Close current file" msgid "Close current file"
msgstr "Chiudi il file corrente" msgstr "Chiudi il file corrente"
#: ../config.c:387 #: ../config.c:373
msgid "Show file information" msgid "Show file information"
msgstr "Mostra le informazioni sul file" msgstr "Mostra le informazioni sul file"
#: ../config.c:388 #: ../config.c:374
msgid "Execute a command" msgid "Execute a command"
msgstr "" msgstr ""
#: ../config.c:389 #: ../config.c:375
msgid "Show help" msgid "Show help"
msgstr "Mostra l' aiuto" msgstr "Mostra l' aiuto"
#: ../config.c:390 #: ../config.c:376
msgid "Open document" msgid "Open document"
msgstr "Apri un documento" msgstr "Apri un documento"
#: ../config.c:391 #: ../config.c:377
msgid "Close zathura" msgid "Close zathura"
msgstr "Chiudi zathura" msgstr "Chiudi zathura"
#: ../config.c:392 #: ../config.c:378
msgid "Print document" msgid "Print document"
msgstr "Stampa il documento" msgstr "Stampa il documento"
#: ../config.c:393 #: ../config.c:379
msgid "Save document" msgid "Save document"
msgstr "Salva il documento" msgstr "Salva il documento"
#: ../config.c:394 #: ../config.c:380
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Salva il documento (e sovrascrivi)" msgstr "Salva il documento (e sovrascrivi)"
#: ../config.c:395 #: ../config.c:381
msgid "Save attachments" msgid "Save attachments"
msgstr "Salva allegati" msgstr "Salva allegati"
#: ../config.c:396 #: ../config.c:382
msgid "Set page offset" msgid "Set page offset"
msgstr "Imposta l' offset della pagina" msgstr "Imposta l' offset della pagina"
#: ../config.c:397 #: ../config.c:383
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "" msgstr ""
#: ../config.c:398 #: ../config.c:384
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "" msgstr ""
#: ../config.c:399 #: ../config.c:385
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "" msgstr ""
#: ../config.c:400 #: ../config.c:386
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "" msgstr ""
#: ../config.c:401 #: ../config.c:387
msgid "Show version information" msgid "Show version information"
msgstr "" msgstr ""
#: ../links.c:175 ../links.c:254 #: ../links.c:199 ../links.c:278
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Impossibile eseguire xdg-open." msgstr "Impossibile eseguire xdg-open."
#: ../links.c:193 #: ../links.c:217
#, c-format #, c-format
msgid "Link: page %d" msgid "Link: page %d"
msgstr "" msgstr ""
#: ../links.c:200 #: ../links.c:224
#, c-format #, c-format
msgid "Link: %s" msgid "Link: %s"
msgstr "" msgstr ""
#: ../links.c:204 #: ../links.c:228
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../main.c:56 #: ../main.c:58
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid"
msgstr "" msgstr ""
#: ../main.c:57 #: ../main.c:59
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Percorso della directory della configurazione" msgstr "Percorso della directory della configurazione"
#: ../main.c:58 #: ../main.c:60
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Percorso della directory dei dati" msgstr "Percorso della directory dei dati"
#: ../main.c:59 #: ../main.c:61
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Percorso della directory contenente i plugin" msgstr "Percorso della directory contenente i plugin"
#: ../main.c:60 #: ../main.c:62
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Crea un processo separato" msgstr "Crea un processo separato"
#: ../main.c:61 #: ../main.c:63
msgid "Document password" msgid "Document password"
msgstr "" msgstr ""
#: ../main.c:62 #: ../main.c:64
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../main.c:63 #: ../main.c:65
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Livello di log (debug, info, warning, error)" msgstr "Livello di log (debug, info, warning, error)"
#: ../main.c:64 #: ../main.c:66
msgid "Print version information" msgid "Print version information"
msgstr "Mostra le informazioni sul file" msgstr "Mostra le informazioni sul file"
#: ../main.c:66 #: ../main.c:68
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../page-widget.c:474 #: ../page-widget.c:526
msgid "Loading..." msgid "Loading..."
msgstr "" msgstr ""
#: ../page-widget.c:678 #: ../page-widget.c:845
#, c-format
msgid "Copied selected text to clipboard: %s"
msgstr "La selezione è stato copiata negli appunti:%s"
#: ../page-widget.c:776
msgid "Copy image" msgid "Copy image"
msgstr "Copia immagine" msgstr "Copia immagine"
#: ../page-widget.c:777 #: ../page-widget.c:846
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../shortcuts.c:1154 #: ../shortcuts.c:1076
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Questo documento non contiene l' indice" msgstr "Questo documento non contiene l' indice"
#: ../zathura.c:227 ../zathura.c:975 #: ../zathura.c:213 ../zathura.c:959
msgid "[No name]" msgid "[No name]"
msgstr "[Nessun nome]" msgstr "[Nessun nome]"
#: ../zathura.c:584 #: ../zathura.c:486
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
#: ../zathura.c:535
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura.c:594 #: ../zathura.c:545
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

261
po/pl.po
View file

@ -2,13 +2,14 @@
# See LICENSE file for license and copyright information # See LICENSE file for license and copyright information
# #
# Translators: # Translators:
# p <poczciwiec@gmail.com>, 2012. # Łukasz Hryniuk <lukequaint@gmail.com>, 2013
# p <poczciwiec@gmail.com>, 2012
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2013-08-15 00:28+0200\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n"
"PO-Revision-Date: 2013-08-15 00:35+0200\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n"
"Last-Translator: p <poczciwiec@gmail.com>\n" "Last-Translator: p <poczciwiec@gmail.com>\n"
"Language-Team: Polish (http://www.transifex.net/projects/p/zathura/language/" "Language-Team: Polish (http://www.transifex.net/projects/p/zathura/language/"
"pl/)\n" "pl/)\n"
@ -19,24 +20,29 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2)\n" "|| n%100>=20) ? 1 : 2)\n"
#: ../callbacks.c:314 #: ../callbacks.c:297
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Nieprawidłowy argument: %s" msgstr "Nieprawidłowy argument: %s"
#: ../callbacks.c:350 #: ../callbacks.c:333
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Nieprawidłowy indeks: %s" msgstr "Nieprawidłowy indeks: %s"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:158 #: ../callbacks.c:546
#: ../commands.c:274 ../commands.c:304 ../commands.c:330 ../commands.c:425 #, c-format
#: ../commands.c:546 ../shortcuts.c:485 ../shortcuts.c:1251 msgid "Copied selected text to clipboard: %s"
#: ../shortcuts.c:1280 msgstr "Zaznaczony tekst skopiowano do schowka: %s"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:152
#: ../commands.c:268 ../commands.c:298 ../commands.c:324 ../commands.c:419
#: ../commands.c:540 ../shortcuts.c:403 ../shortcuts.c:1163
#: ../shortcuts.c:1192
msgid "No document opened." msgid "No document opened."
msgstr "Nie otwarto żadnego pliku" msgstr "Nie otwarto żadnego pliku"
#: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:430 #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424
msgid "Invalid number of arguments given." msgid "Invalid number of arguments given."
msgstr "Nieprawidłowa liczba parametrów polecenia" msgstr "Nieprawidłowa liczba parametrów polecenia"
@ -75,61 +81,93 @@ msgstr "Nie można usunąć zakładki: %s"
msgid "No such bookmark: %s" msgid "No such bookmark: %s"
msgstr "Nie znaleziono zakładki: %s" msgstr "Nie znaleziono zakładki: %s"
#: ../commands.c:180 ../commands.c:202 #: ../commands.c:162
msgid "Title"
msgstr ""
#: ../commands.c:163
msgid "Author"
msgstr ""
#: ../commands.c:164
msgid "Subject"
msgstr ""
#: ../commands.c:165
msgid "Keywords"
msgstr ""
#: ../commands.c:166
msgid "Creator"
msgstr ""
#: ../commands.c:167
msgid "Producer"
msgstr ""
#: ../commands.c:168
msgid "Creation date"
msgstr ""
#: ../commands.c:169
msgid "Modification date"
msgstr ""
#: ../commands.c:174 ../commands.c:196
msgid "No information available." msgid "No information available."
msgstr "Brak informacji o pliku" msgstr "Brak informacji o pliku"
#: ../commands.c:240 #: ../commands.c:234
msgid "Too many arguments." msgid "Too many arguments."
msgstr "Za dużo parametrów polecenia" msgstr "Za dużo parametrów polecenia"
#: ../commands.c:251 #: ../commands.c:245
msgid "No arguments given." msgid "No arguments given."
msgstr "Nie podano parametrów polecenia" msgstr "Nie podano parametrów polecenia"
#: ../commands.c:310 ../commands.c:336 #: ../commands.c:304 ../commands.c:330
msgid "Document saved." msgid "Document saved."
msgstr "Zapisano dokument" msgstr "Zapisano dokument"
#: ../commands.c:312 ../commands.c:338 #: ../commands.c:306 ../commands.c:332
msgid "Failed to save document." msgid "Failed to save document."
msgstr "Błąd zapisu" msgstr "Błąd zapisu"
#: ../commands.c:315 ../commands.c:341 #: ../commands.c:309 ../commands.c:335
msgid "Invalid number of arguments." msgid "Invalid number of arguments."
msgstr "Niewłaściwa liczba parametrów polecenia" msgstr "Niewłaściwa liczba parametrów polecenia"
#: ../commands.c:449 #: ../commands.c:443
#, c-format #, c-format
msgid "Couldn't write attachment '%s' to '%s'." msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Nie można dodać załącznika %s do pliku %s" msgstr "Nie można dodać załącznika %s do pliku %s"
#: ../commands.c:451 #: ../commands.c:445
#, c-format #, c-format
msgid "Wrote attachment '%s' to '%s'." msgid "Wrote attachment '%s' to '%s'."
msgstr "Zapisano załącznik %s do pliku %s" msgstr "Zapisano załącznik %s do pliku %s"
#: ../commands.c:495 #: ../commands.c:489
#, c-format #, c-format
msgid "Wrote image '%s' to '%s'." msgid "Wrote image '%s' to '%s'."
msgstr "Zapisano obrazek %s do pliku %s" msgstr "Zapisano obrazek %s do pliku %s"
#: ../commands.c:497 #: ../commands.c:491
#, c-format #, c-format
msgid "Couldn't write image '%s' to '%s'." msgid "Couldn't write image '%s' to '%s'."
msgstr "Nie można dodać obrazka %s do pliku %s" msgstr "Nie można dodać obrazka %s do pliku %s"
#: ../commands.c:504 #: ../commands.c:498
#, c-format #, c-format
msgid "Unknown image '%s'." msgid "Unknown image '%s'."
msgstr "Nieznany obrazek '%s'." msgstr "Nieznany obrazek '%s'."
#: ../commands.c:508 #: ../commands.c:502
#, c-format #, c-format
msgid "Unknown attachment or image '%s'." msgid "Unknown attachment or image '%s'."
msgstr "Nieznany załącznik lub obrazek '%s'." msgstr "Nieznany załącznik lub obrazek '%s'."
#: ../commands.c:559 #: ../commands.c:553
msgid "Argument must be a number." msgid "Argument must be a number."
msgstr "Parametr polecenia musi być liczbą" msgstr "Parametr polecenia musi być liczbą"
@ -148,326 +186,333 @@ msgid "Images"
msgstr "Obrazki" msgstr "Obrazki"
#. zathura settings #. zathura settings
#: ../config.c:147 #: ../config.c:131
msgid "Database backend" msgid "Database backend"
msgstr "Baza danych" msgstr "Baza danych"
#: ../config.c:149 #: ../config.c:133
msgid "Zoom step" msgid "Zoom step"
msgstr "Skok powiększenia" msgstr "Skok powiększenia"
#: ../config.c:151 #: ../config.c:135
msgid "Padding between pages" msgid "Padding between pages"
msgstr "Odstęp pomiędzy stronami" msgstr "Odstęp pomiędzy stronami"
#: ../config.c:153 #: ../config.c:137
msgid "Number of pages per row" msgid "Number of pages per row"
msgstr "Liczba stron w wierszu" msgstr "Liczba stron w wierszu"
#: ../config.c:155 #: ../config.c:139
msgid "Column of the first page" msgid "Column of the first page"
msgstr "" msgstr ""
#: ../config.c:157 #: ../config.c:141
msgid "Scroll step" msgid "Scroll step"
msgstr "Skok przewijania" msgstr "Skok przewijania"
#: ../config.c:159 #: ../config.c:143
msgid "Horizontal scroll step" msgid "Horizontal scroll step"
msgstr "" msgstr ""
#: ../config.c:161 #: ../config.c:145
msgid "Full page scroll overlap" msgid "Full page scroll overlap"
msgstr "" msgstr ""
#: ../config.c:163 #: ../config.c:147
msgid "Zoom minimum" msgid "Zoom minimum"
msgstr "Minimalne powiększenie" msgstr "Minimalne powiększenie"
#: ../config.c:165 #: ../config.c:149
msgid "Zoom maximum" msgid "Zoom maximum"
msgstr "Maksymalne powiększenie" msgstr "Maksymalne powiększenie"
#: ../config.c:167 #: ../config.c:151
msgid "Maximum number of pages to keep in the cache" msgid "Maximum number of pages to keep in the cache"
msgstr "" msgstr ""
#: ../config.c:169 #: ../config.c:153
msgid "Number of positions to remember in the jumplist" msgid "Number of positions to remember in the jumplist"
msgstr "" msgstr ""
#: ../config.c:171 #: ../config.c:155
msgid "Recoloring (dark color)" msgid "Recoloring (dark color)"
msgstr "Ciemny kolor negatywu" msgstr "Ciemny kolor negatywu"
#: ../config.c:173 #: ../config.c:156
msgid "Recoloring (light color)" msgid "Recoloring (light color)"
msgstr "Jasny kolor negatywu" msgstr "Jasny kolor negatywu"
#: ../config.c:175 #: ../config.c:157
msgid "Color for highlighting" msgid "Color for highlighting"
msgstr "Kolor wyróżnienia" msgstr "Kolor wyróżnienia"
#: ../config.c:177 #: ../config.c:159
msgid "Color for highlighting (active)" msgid "Color for highlighting (active)"
msgstr "Kolor wyróżnienia bieżącego elementu" msgstr "Kolor wyróżnienia bieżącego elementu"
#: ../config.c:179 #: ../config.c:161
msgid "'Loading ...' background color" msgid "'Loading ...' background color"
msgstr "" msgstr ""
#: ../config.c:181 #: ../config.c:163
msgid "'Loading ...' foreground color" msgid "'Loading ...' foreground color"
msgstr "" msgstr ""
#: ../config.c:185 #: ../config.c:167
msgid "Recolor pages" msgid "Recolor pages"
msgstr "Negatyw" msgstr "Negatyw"
#: ../config.c:187 #: ../config.c:169
msgid "When recoloring keep original hue and adjust lightness only" msgid "When recoloring keep original hue and adjust lightness only"
msgstr "" msgstr ""
#: ../config.c:189 #: ../config.c:171
msgid "Wrap scrolling" msgid "Wrap scrolling"
msgstr "Zawijanie dokumentu" msgstr "Zawijanie dokumentu"
#: ../config.c:191 #: ../config.c:173
msgid "Page aware scrolling" msgid "Page aware scrolling"
msgstr "" msgstr ""
#: ../config.c:193 #: ../config.c:175
msgid "Advance number of pages per row" msgid "Advance number of pages per row"
msgstr "Liczba stron w wierszu" msgstr "Liczba stron w wierszu"
#: ../config.c:195 #: ../config.c:177
msgid "Horizontally centered zoom" msgid "Horizontally centered zoom"
msgstr "" msgstr ""
#: ../config.c:197 #: ../config.c:179
msgid "Align link target to the left" msgid "Align link target to the left"
msgstr "" msgstr ""
#: ../config.c:199 #: ../config.c:181
msgid "Let zoom be changed when following links"
msgstr ""
#: ../config.c:183
msgid "Center result horizontally" msgid "Center result horizontally"
msgstr "" msgstr ""
#: ../config.c:201 #: ../config.c:185
msgid "Transparency for highlighting" msgid "Transparency for highlighting"
msgstr "Przezroczystość wyróżnienia" msgstr "Przezroczystość wyróżnienia"
#: ../config.c:203 #: ../config.c:187
msgid "Render 'Loading ...'" msgid "Render 'Loading ...'"
msgstr "Wyświetlaj: „Wczytywanie pliku...”" msgstr "Wyświetlaj: „Wczytywanie pliku...”"
#: ../config.c:204 #: ../config.c:188
msgid "Adjust to when opening file" msgid "Adjust to when opening file"
msgstr "Dopasowanie widoku pliku" msgstr "Dopasowanie widoku pliku"
#: ../config.c:206 #: ../config.c:190
msgid "Show hidden files and directories" msgid "Show hidden files and directories"
msgstr "Wyświetl ukryte pliki i katalogi" msgstr "Wyświetl ukryte pliki i katalogi"
#: ../config.c:208 #: ../config.c:192
msgid "Show directories" msgid "Show directories"
msgstr "Wyświetl katalogi" msgstr "Wyświetl katalogi"
#: ../config.c:210 #: ../config.c:194
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Zawsze otwieraj na pierwszej stronie" msgstr "Zawsze otwieraj na pierwszej stronie"
#: ../config.c:212 #: ../config.c:196
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Podświetl wyniki wyszukiwania" msgstr "Podświetl wyniki wyszukiwania"
#: ../config.c:214 #: ../config.c:198
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../config.c:216 #: ../config.c:200
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Wyczyść wyniki wyszukiwania po przerwaniu" msgstr "Wyczyść wyniki wyszukiwania po przerwaniu"
#: ../config.c:218 #: ../config.c:202
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../config.c:220 #: ../config.c:204
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../config.c:222 #: ../config.c:206
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../config.c:224 ../main.c:65 #: ../config.c:208 ../main.c:67
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../config.c:210
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../config.c:383 #: ../config.c:369
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Dodaj zakładkę" msgstr "Dodaj zakładkę"
#: ../config.c:384 #: ../config.c:370
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Usuń zakładkę" msgstr "Usuń zakładkę"
#: ../config.c:385 #: ../config.c:371
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Wyświetl zakładki" msgstr "Wyświetl zakładki"
#: ../config.c:386 #: ../config.c:372
msgid "Close current file" msgid "Close current file"
msgstr "Zamknij plik" msgstr "Zamknij plik"
#: ../config.c:387 #: ../config.c:373
msgid "Show file information" msgid "Show file information"
msgstr "Wyświetl informacje o pliku" msgstr "Wyświetl informacje o pliku"
#: ../config.c:388 #: ../config.c:374
msgid "Execute a command" msgid "Execute a command"
msgstr "" msgstr "Wykonaj polecenie"
#: ../config.c:389 #: ../config.c:375
msgid "Show help" msgid "Show help"
msgstr "Wyświetl pomoc" msgstr "Wyświetl pomoc"
#: ../config.c:390 #: ../config.c:376
msgid "Open document" msgid "Open document"
msgstr "Otwórz plik" msgstr "Otwórz plik"
#: ../config.c:391 #: ../config.c:377
msgid "Close zathura" msgid "Close zathura"
msgstr "Zakończ" msgstr "Zakończ"
#: ../config.c:392 #: ../config.c:378
msgid "Print document" msgid "Print document"
msgstr "Wydrukuj" msgstr "Wydrukuj"
#: ../config.c:393 #: ../config.c:379
msgid "Save document" msgid "Save document"
msgstr "Zapisz" msgstr "Zapisz"
#: ../config.c:394 #: ../config.c:380
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Zapisz (nadpisując istniejący plik)" msgstr "Zapisz (nadpisując istniejący plik)"
#: ../config.c:395 #: ../config.c:381
msgid "Save attachments" msgid "Save attachments"
msgstr "Zapisz załączniki" msgstr "Zapisz załączniki"
#: ../config.c:396 #: ../config.c:382
msgid "Set page offset" msgid "Set page offset"
msgstr "Ustaw przesunięcie numerów stron" msgstr "Ustaw przesunięcie numerów stron"
#: ../config.c:397 #: ../config.c:383
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Zaznacz aktualną pozycję w dokumencie" msgstr "Zaznacz aktualną pozycję w dokumencie"
#: ../config.c:398 #: ../config.c:384
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Skasuj określone zakładki" msgstr "Skasuj określone zakładki"
#: ../config.c:399 #: ../config.c:385
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "Nie podświetlaj aktualnych wyników wyszukiwania " msgstr "Nie podświetlaj aktualnych wyników wyszukiwania "
#: ../config.c:400 #: ../config.c:386
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Podświetl aktualne wyniki wyszukiwania" msgstr "Podświetl aktualne wyniki wyszukiwania"
#: ../config.c:401 #: ../config.c:387
msgid "Show version information" msgid "Show version information"
msgstr "Wyświetl informacje o wersji" msgstr "Wyświetl informacje o wersji"
#: ../links.c:175 ../links.c:254 #: ../links.c:199 ../links.c:278
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Wystąpił problem z uruchomieniem xdg-open" msgstr "Wystąpił problem z uruchomieniem xdg-open"
#: ../links.c:193 #: ../links.c:217
#, c-format #, c-format
msgid "Link: page %d" msgid "Link: page %d"
msgstr "" msgstr ""
#: ../links.c:200 #: ../links.c:224
#, c-format #, c-format
msgid "Link: %s" msgid "Link: %s"
msgstr "" msgstr ""
#: ../links.c:204 #: ../links.c:228
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../main.c:56 #: ../main.c:58
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid"
msgstr "Przypisz proces do rodzica o danym xid" msgstr "Przypisz proces do rodzica o danym xid"
#: ../main.c:57 #: ../main.c:59
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Ścieżka do katalogu konfiguracyjnego" msgstr "Ścieżka do katalogu konfiguracyjnego"
#: ../main.c:58 #: ../main.c:60
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Ścieżka do katalogu danych" msgstr "Ścieżka do katalogu danych"
#: ../main.c:59 #: ../main.c:61
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Ścieżka do katalogu wtyczek" msgstr "Ścieżka do katalogu wtyczek"
#: ../main.c:60 #: ../main.c:62
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Forkuj w tle" msgstr "Forkuj w tle"
#: ../main.c:61 #: ../main.c:63
msgid "Document password" msgid "Document password"
msgstr "Hasło dokumentu" msgstr "Hasło dokumentu"
#: ../main.c:62 #: ../main.c:64
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../main.c:63 #: ../main.c:65
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Szczegółowość komunikatów (debug, info, warning, error)" msgstr "Szczegółowość komunikatów (debug, info, warning, error)"
#: ../main.c:64 #: ../main.c:66
msgid "Print version information" msgid "Print version information"
msgstr "Wyświetl informacje o wersji" msgstr "Wyświetl informacje o wersji"
#: ../main.c:66 #: ../main.c:68
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../page-widget.c:474 #: ../page-widget.c:526
msgid "Loading..." msgid "Loading..."
msgstr "Wczytywanie pliku..." msgstr "Wczytywanie pliku..."
#: ../page-widget.c:678 #: ../page-widget.c:845
#, c-format
msgid "Copied selected text to clipboard: %s"
msgstr "Zaznaczony tekst skopiowano do schowka: %s"
#: ../page-widget.c:776
msgid "Copy image" msgid "Copy image"
msgstr "Skopiuj obrazek" msgstr "Skopiuj obrazek"
#: ../page-widget.c:777 #: ../page-widget.c:846
msgid "Save image as" msgid "Save image as"
msgstr "Zapisz obrazek jako" msgstr "Zapisz obrazek jako"
#: ../shortcuts.c:1154 #: ../shortcuts.c:1076
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Dokument nie zawiera indeksu" msgstr "Dokument nie zawiera indeksu"
#: ../zathura.c:227 ../zathura.c:975 #: ../zathura.c:213 ../zathura.c:959
msgid "[No name]" msgid "[No name]"
msgstr "[bez nazwy]" msgstr "[bez nazwy]"
#: ../zathura.c:584 #: ../zathura.c:486
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
#: ../zathura.c:535
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura.c:594 #: ../zathura.c:545
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

View file

@ -8,8 +8,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2013-08-15 00:28+0200\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n"
"PO-Revision-Date: 2013-08-15 00:35+0200\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n"
"Last-Translator: salmora8 <shorterfire@gmail.com>\n" "Last-Translator: salmora8 <shorterfire@gmail.com>\n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/" "Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/"
"zathura/language/pt_BR/)\n" "zathura/language/pt_BR/)\n"
@ -19,24 +19,29 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: ../callbacks.c:314 #: ../callbacks.c:297
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Dados de entrada inválida '%s' ." msgstr "Dados de entrada inválida '%s' ."
#: ../callbacks.c:350 #: ../callbacks.c:333
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Dados de índice invalido '%s'." msgstr "Dados de índice invalido '%s'."
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:158 #: ../callbacks.c:546
#: ../commands.c:274 ../commands.c:304 ../commands.c:330 ../commands.c:425 #, c-format
#: ../commands.c:546 ../shortcuts.c:485 ../shortcuts.c:1251 msgid "Copied selected text to clipboard: %s"
#: ../shortcuts.c:1280 msgstr "Texto selecionado copiado para área de transferência: %s "
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:152
#: ../commands.c:268 ../commands.c:298 ../commands.c:324 ../commands.c:419
#: ../commands.c:540 ../shortcuts.c:403 ../shortcuts.c:1163
#: ../shortcuts.c:1192
msgid "No document opened." msgid "No document opened."
msgstr "Nenhum documento aberto." msgstr "Nenhum documento aberto."
#: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:430 #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424
msgid "Invalid number of arguments given." msgid "Invalid number of arguments given."
msgstr "Número de argumentos dados inválidos." msgstr "Número de argumentos dados inválidos."
@ -75,61 +80,93 @@ msgstr "Falha ao remover favorito: %s"
msgid "No such bookmark: %s" msgid "No such bookmark: %s"
msgstr "Não há favoritos: %s" msgstr "Não há favoritos: %s"
#: ../commands.c:180 ../commands.c:202 #: ../commands.c:162
msgid "Title"
msgstr ""
#: ../commands.c:163
msgid "Author"
msgstr ""
#: ../commands.c:164
msgid "Subject"
msgstr ""
#: ../commands.c:165
msgid "Keywords"
msgstr ""
#: ../commands.c:166
msgid "Creator"
msgstr ""
#: ../commands.c:167
msgid "Producer"
msgstr ""
#: ../commands.c:168
msgid "Creation date"
msgstr ""
#: ../commands.c:169
msgid "Modification date"
msgstr ""
#: ../commands.c:174 ../commands.c:196
msgid "No information available." msgid "No information available."
msgstr "Nenhuma informação disponível." msgstr "Nenhuma informação disponível."
#: ../commands.c:240 #: ../commands.c:234
msgid "Too many arguments." msgid "Too many arguments."
msgstr "Muitos argumentos." msgstr "Muitos argumentos."
#: ../commands.c:251 #: ../commands.c:245
msgid "No arguments given." msgid "No arguments given."
msgstr "Nenhum argumento dado." msgstr "Nenhum argumento dado."
#: ../commands.c:310 ../commands.c:336 #: ../commands.c:304 ../commands.c:330
msgid "Document saved." msgid "Document saved."
msgstr "Documento salvo." msgstr "Documento salvo."
#: ../commands.c:312 ../commands.c:338 #: ../commands.c:306 ../commands.c:332
msgid "Failed to save document." msgid "Failed to save document."
msgstr "Falha ao salvar o documento." msgstr "Falha ao salvar o documento."
#: ../commands.c:315 ../commands.c:341 #: ../commands.c:309 ../commands.c:335
msgid "Invalid number of arguments." msgid "Invalid number of arguments."
msgstr "Número de argumento invalido." msgstr "Número de argumento invalido."
#: ../commands.c:449 #: ../commands.c:443
#, c-format #, c-format
msgid "Couldn't write attachment '%s' to '%s'." msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Não foi possível gravar anexo '%s' para '%s'." msgstr "Não foi possível gravar anexo '%s' para '%s'."
#: ../commands.c:451 #: ../commands.c:445
#, c-format #, c-format
msgid "Wrote attachment '%s' to '%s'." msgid "Wrote attachment '%s' to '%s'."
msgstr "Escreveu anexo '%s' para '%s'." msgstr "Escreveu anexo '%s' para '%s'."
#: ../commands.c:495 #: ../commands.c:489
#, c-format #, c-format
msgid "Wrote image '%s' to '%s'." msgid "Wrote image '%s' to '%s'."
msgstr "Escreveu imagem '%s' para '%s'." msgstr "Escreveu imagem '%s' para '%s'."
#: ../commands.c:497 #: ../commands.c:491
#, c-format #, c-format
msgid "Couldn't write image '%s' to '%s'." msgid "Couldn't write image '%s' to '%s'."
msgstr "Não foi possível gravar imagem '%s' para '%s'." msgstr "Não foi possível gravar imagem '%s' para '%s'."
#: ../commands.c:504 #: ../commands.c:498
#, c-format #, c-format
msgid "Unknown image '%s'." msgid "Unknown image '%s'."
msgstr "Imagem desconhecida '%s'." msgstr "Imagem desconhecida '%s'."
#: ../commands.c:508 #: ../commands.c:502
#, c-format #, c-format
msgid "Unknown attachment or image '%s'." msgid "Unknown attachment or image '%s'."
msgstr "Anexo desconhecido ou imagem '%s'." msgstr "Anexo desconhecido ou imagem '%s'."
#: ../commands.c:559 #: ../commands.c:553
msgid "Argument must be a number." msgid "Argument must be a number."
msgstr "O argumento deve ser um número." msgstr "O argumento deve ser um número."
@ -148,327 +185,335 @@ msgid "Images"
msgstr "Imagens" msgstr "Imagens"
#. zathura settings #. zathura settings
#: ../config.c:147 #: ../config.c:131
msgid "Database backend" msgid "Database backend"
msgstr "Fim da base de dados" msgstr "Fim da base de dados"
#: ../config.c:149 #: ../config.c:133
msgid "Zoom step" msgid "Zoom step"
msgstr "Grau de Zoom" msgstr "Grau de Zoom"
#: ../config.c:151 #: ../config.c:135
msgid "Padding between pages" msgid "Padding between pages"
msgstr "Preenchimento entre páginas" msgstr "Preenchimento entre páginas"
#: ../config.c:153 #: ../config.c:137
msgid "Number of pages per row" msgid "Number of pages per row"
msgstr "Número de paginas por linha" msgstr "Número de paginas por linha"
#: ../config.c:155 #: ../config.c:139
msgid "Column of the first page" msgid "Column of the first page"
msgstr "Coluna da primeira página" msgstr "Coluna da primeira página"
#: ../config.c:157 #: ../config.c:141
msgid "Scroll step" msgid "Scroll step"
msgstr "Fase de Rolagem" msgstr "Fase de Rolagem"
#: ../config.c:159 #: ../config.c:143
msgid "Horizontal scroll step" msgid "Horizontal scroll step"
msgstr "Etapa de rolagem horizontal" msgstr "Etapa de rolagem horizontal"
#: ../config.c:161 #: ../config.c:145
msgid "Full page scroll overlap" msgid "Full page scroll overlap"
msgstr "Sobreposição de rolagem de página inteira" msgstr "Sobreposição de rolagem de página inteira"
#: ../config.c:163 #: ../config.c:147
msgid "Zoom minimum" msgid "Zoom minimum"
msgstr "Zoom minimo" msgstr "Zoom minimo"
#: ../config.c:165 #: ../config.c:149
msgid "Zoom maximum" msgid "Zoom maximum"
msgstr "Zoom máximo" msgstr "Zoom máximo"
#: ../config.c:167 #: ../config.c:151
msgid "Maximum number of pages to keep in the cache" msgid "Maximum number of pages to keep in the cache"
msgstr "Número máximo de páginas para manter no cache" msgstr "Número máximo de páginas para manter no cache"
#: ../config.c:169 #: ../config.c:153
msgid "Number of positions to remember in the jumplist" msgid "Number of positions to remember in the jumplist"
msgstr "Numero de posições para lembrar na lista de salto" msgstr "Numero de posições para lembrar na lista de salto"
#: ../config.c:171 #: ../config.c:155
msgid "Recoloring (dark color)" msgid "Recoloring (dark color)"
msgstr "Recolorindo (cor escura)" msgstr "Recolorindo (cor escura)"
#: ../config.c:173 #: ../config.c:156
msgid "Recoloring (light color)" msgid "Recoloring (light color)"
msgstr "Recolorindo (cor clara)" msgstr "Recolorindo (cor clara)"
#: ../config.c:175 #: ../config.c:157
msgid "Color for highlighting" msgid "Color for highlighting"
msgstr "Cor para destacar" msgstr "Cor para destacar"
#: ../config.c:177 #: ../config.c:159
msgid "Color for highlighting (active)" msgid "Color for highlighting (active)"
msgstr "Cor para destacar (ativo)" msgstr "Cor para destacar (ativo)"
#: ../config.c:179 #: ../config.c:161
msgid "'Loading ...' background color" msgid "'Loading ...' background color"
msgstr "'Carregando ...' cor de fundo" msgstr "'Carregando ...' cor de fundo"
#: ../config.c:181 #: ../config.c:163
msgid "'Loading ...' foreground color" msgid "'Loading ...' foreground color"
msgstr "'Carregando ...' cor de primeiro plano" msgstr "'Carregando ...' cor de primeiro plano"
#: ../config.c:185 #: ../config.c:167
msgid "Recolor pages" msgid "Recolor pages"
msgstr "Recolorir páginas" msgstr "Recolorir páginas"
#: ../config.c:187 #: ../config.c:169
msgid "When recoloring keep original hue and adjust lightness only" msgid "When recoloring keep original hue and adjust lightness only"
msgstr "" msgstr ""
"Quando recolorir, manter tonalidade original e ajustar somente a luminosidade" "Quando recolorir, manter tonalidade original e ajustar somente a luminosidade"
#: ../config.c:189 #: ../config.c:171
msgid "Wrap scrolling" msgid "Wrap scrolling"
msgstr "Rolagem envoltório" msgstr "Rolagem envoltório"
#: ../config.c:191 #: ../config.c:173
msgid "Page aware scrolling" msgid "Page aware scrolling"
msgstr "Rolagem de página consciente" msgstr "Rolagem de página consciente"
#: ../config.c:193 #: ../config.c:175
msgid "Advance number of pages per row" msgid "Advance number of pages per row"
msgstr "Numero de avanço de paginas por linha" msgstr "Numero de avanço de paginas por linha"
#: ../config.c:195 #: ../config.c:177
msgid "Horizontally centered zoom" msgid "Horizontally centered zoom"
msgstr "Zoom centrado horizontalmente" msgstr "Zoom centrado horizontalmente"
#: ../config.c:197 #: ../config.c:179
msgid "Align link target to the left" msgid "Align link target to the left"
msgstr "Alinhe destino do link à esquerda" msgstr "Alinhe destino do link à esquerda"
#: ../config.c:199 #: ../config.c:181
msgid "Let zoom be changed when following links"
msgstr ""
#: ../config.c:183
msgid "Center result horizontally" msgid "Center result horizontally"
msgstr "Resultado centrado horizontalmente" msgstr "Resultado centrado horizontalmente"
#: ../config.c:201 #: ../config.c:185
msgid "Transparency for highlighting" msgid "Transparency for highlighting"
msgstr "Transparência para destacar" msgstr "Transparência para destacar"
#: ../config.c:203 #: ../config.c:187
msgid "Render 'Loading ...'" msgid "Render 'Loading ...'"
msgstr "Renderizando 'Carregando...'" msgstr "Renderizando 'Carregando...'"
#: ../config.c:204 #: ../config.c:188
msgid "Adjust to when opening file" msgid "Adjust to when opening file"
msgstr "Ajuste para quando abrir o arquivo" msgstr "Ajuste para quando abrir o arquivo"
#: ../config.c:206 #: ../config.c:190
msgid "Show hidden files and directories" msgid "Show hidden files and directories"
msgstr "Mostrar arquivos ocultos e diretórios" msgstr "Mostrar arquivos ocultos e diretórios"
#: ../config.c:208 #: ../config.c:192
msgid "Show directories" msgid "Show directories"
msgstr "Mostrar diretórios" msgstr "Mostrar diretórios"
#: ../config.c:210 #: ../config.c:194
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Sempre abrir na primeira página" msgstr "Sempre abrir na primeira página"
#: ../config.c:212 #: ../config.c:196
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Destaque resultados de busca" msgstr "Destaque resultados de busca"
#: ../config.c:214 #: ../config.c:198
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "Ativar pesquisa incremental" msgstr "Ativar pesquisa incremental"
#: ../config.c:216 #: ../config.c:200
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Limpar resultados de busca ou abortar" msgstr "Limpar resultados de busca ou abortar"
#: ../config.c:218 #: ../config.c:202
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "Usar nome do arquivo na barra de titulo" msgstr "Usar nome do arquivo na barra de titulo"
#: ../config.c:220 #: ../config.c:204
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "" msgstr "Exibir o número da página no título da janela."
#: ../config.c:222 #: ../config.c:206
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "Use o nome do arquivo na barra de status" msgstr "Use o nome do arquivo na barra de status"
#: ../config.c:224 ../main.c:65 #: ../config.c:208 ../main.c:67
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "Ativar suporte synctex" msgstr "Ativar suporte synctex"
#: ../config.c:210
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../config.c:383 #: ../config.c:369
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Adicionar um favorito" msgstr "Adicionar um favorito"
#: ../config.c:384 #: ../config.c:370
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Deletar um favorito" msgstr "Deletar um favorito"
#: ../config.c:385 #: ../config.c:371
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Listar todos favoritos" msgstr "Listar todos favoritos"
#: ../config.c:386 #: ../config.c:372
msgid "Close current file" msgid "Close current file"
msgstr "Fechar arquivo atual" msgstr "Fechar arquivo atual"
#: ../config.c:387 #: ../config.c:373
msgid "Show file information" msgid "Show file information"
msgstr "Mostrar informações do arquivo" msgstr "Mostrar informações do arquivo"
#: ../config.c:388 #: ../config.c:374
msgid "Execute a command" msgid "Execute a command"
msgstr "Executar um comando" msgstr "Executar um comando"
#: ../config.c:389 #: ../config.c:375
msgid "Show help" msgid "Show help"
msgstr "Mostrar ajuda" msgstr "Mostrar ajuda"
#: ../config.c:390 #: ../config.c:376
msgid "Open document" msgid "Open document"
msgstr "Abrir documento" msgstr "Abrir documento"
#: ../config.c:391 #: ../config.c:377
msgid "Close zathura" msgid "Close zathura"
msgstr "Fechar zathura" msgstr "Fechar zathura"
#: ../config.c:392 #: ../config.c:378
msgid "Print document" msgid "Print document"
msgstr "Imprimir documento" msgstr "Imprimir documento"
#: ../config.c:393 #: ../config.c:379
msgid "Save document" msgid "Save document"
msgstr "Salvar documento" msgstr "Salvar documento"
#: ../config.c:394 #: ../config.c:380
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Salvar documento (e forçar sobrescrever)" msgstr "Salvar documento (e forçar sobrescrever)"
#: ../config.c:395 #: ../config.c:381
msgid "Save attachments" msgid "Save attachments"
msgstr "Salvar anexos" msgstr "Salvar anexos"
#: ../config.c:396 #: ../config.c:382
msgid "Set page offset" msgid "Set page offset"
msgstr "Definir deslocamento da página" msgstr "Definir deslocamento da página"
#: ../config.c:397 #: ../config.c:383
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Marcar localização atual no documento" msgstr "Marcar localização atual no documento"
#: ../config.c:398 #: ../config.c:384
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Apagar as marcas especificadas" msgstr "Apagar as marcas especificadas"
#: ../config.c:399 #: ../config.c:385
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "Não destacar resultados de busca atual" msgstr "Não destacar resultados de busca atual"
#: ../config.c:400 #: ../config.c:386
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Destacar resultado de busca atual" msgstr "Destacar resultado de busca atual"
#: ../config.c:401 #: ../config.c:387
msgid "Show version information" msgid "Show version information"
msgstr "Mostrar informações sobre a versão" msgstr "Mostrar informações sobre a versão"
#: ../links.c:175 ../links.c:254 #: ../links.c:199 ../links.c:278
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Falha ao executar xdg-open." msgstr "Falha ao executar xdg-open."
#: ../links.c:193 #: ../links.c:217
#, c-format #, c-format
msgid "Link: page %d" msgid "Link: page %d"
msgstr "Link: página %d" msgstr "Link: página %d"
#: ../links.c:200 #: ../links.c:224
#, c-format #, c-format
msgid "Link: %s" msgid "Link: %s"
msgstr "Link: %s" msgstr "Link: %s"
#: ../links.c:204 #: ../links.c:228
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "Link: Inválido" msgstr "Link: Inválido"
#: ../main.c:56 #: ../main.c:58
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid"
msgstr "Reparar a janela especificada por xid" msgstr "Reparar a janela especificada por xid"
#: ../main.c:57 #: ../main.c:59
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Caminho de diretório para configuração" msgstr "Caminho de diretório para configuração"
#: ../main.c:58 #: ../main.c:60
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Caminho para diretório de dados" msgstr "Caminho para diretório de dados"
#: ../main.c:59 #: ../main.c:61
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Caminho de diretório que contenham plugins" msgstr "Caminho de diretório que contenham plugins"
#: ../main.c:60 #: ../main.c:62
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Deslocar no fundo" msgstr "Deslocar no fundo"
#: ../main.c:61 #: ../main.c:63
msgid "Document password" msgid "Document password"
msgstr "Senha do documento" msgstr "Senha do documento"
#: ../main.c:62 #: ../main.c:64
msgid "Page number to go to" msgid "Page number to go to"
msgstr "Número da página para ir" msgstr "Número da página para ir"
#: ../main.c:63 #: ../main.c:65
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Nível de log (depurar, informação, aviso, erro)" msgstr "Nível de log (depurar, informação, aviso, erro)"
#: ../main.c:64 #: ../main.c:66
msgid "Print version information" msgid "Print version information"
msgstr "Imprimir informações sobre a versão" msgstr "Imprimir informações sobre a versão"
#: ../main.c:66 #: ../main.c:68
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "Editor synctex (encaminhado para o comando synctex)" msgstr "Editor synctex (encaminhado para o comando synctex)"
#: ../page-widget.c:474 #: ../page-widget.c:526
msgid "Loading..." msgid "Loading..."
msgstr "Carregando..." msgstr "Carregando..."
#: ../page-widget.c:678 #: ../page-widget.c:845
#, c-format
msgid "Copied selected text to clipboard: %s"
msgstr "Texto selecionado copiado para área de transferência: %s "
#: ../page-widget.c:776
msgid "Copy image" msgid "Copy image"
msgstr "Copiar imagem" msgstr "Copiar imagem"
#: ../page-widget.c:777 #: ../page-widget.c:846
msgid "Save image as" msgid "Save image as"
msgstr "Salvar imagem para" msgstr "Salvar imagem para"
#: ../shortcuts.c:1154 #: ../shortcuts.c:1076
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Este documento não contem qualquer índice" msgstr "Este documento não contem qualquer índice"
#: ../zathura.c:227 ../zathura.c:975 #: ../zathura.c:213 ../zathura.c:959
msgid "[No name]" msgid "[No name]"
msgstr "[Sem nome]" msgstr "[Sem nome]"
#: ../zathura.c:584 #: ../zathura.c:486
msgid "Unsupported file type. Please install the necessary plugin." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
#: ../zathura.c:594 #: ../zathura.c:535
msgid "Unsupported file type. Please install the necessary plugin."
msgstr ""
"Formato de arquivo não suportado. Por favor, instale o plugin necessário."
#: ../zathura.c:545
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "Documento não contém quaisquer páginas" msgstr "Documento não contém quaisquer páginas"

326
po/ru.po
View file

@ -2,13 +2,15 @@
# See LICENSE file for license and copyright information # See LICENSE file for license and copyright information
# #
# Translators: # Translators:
# Mikhail Krutov <>, 2012. # AlexanderR <alexander.r@gmx.com>, 2013
# Alissa <Chertik89@gmail.com>, 2013
# Mikhail Krutov <>, 2012
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2013-08-15 00:28+0200\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n"
"PO-Revision-Date: 2013-08-15 00:35+0200\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Russian (http://www.transifex.com/projects/p/zathura/language/" "Language-Team: Russian (http://www.transifex.com/projects/p/zathura/language/"
"ru/)\n" "ru/)\n"
@ -19,24 +21,29 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
#: ../callbacks.c:314 #: ../callbacks.c:297
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Неправильный ввод: %s" msgstr "Неправильный ввод: %s"
#: ../callbacks.c:350 #: ../callbacks.c:333
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Получен неверный индекс %s" msgstr "Получен неверный индекс %s"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:158 #: ../callbacks.c:546
#: ../commands.c:274 ../commands.c:304 ../commands.c:330 ../commands.c:425 #, c-format
#: ../commands.c:546 ../shortcuts.c:485 ../shortcuts.c:1251 msgid "Copied selected text to clipboard: %s"
#: ../shortcuts.c:1280 msgstr "Выделенный текст скопирован в буфер: %s"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:152
#: ../commands.c:268 ../commands.c:298 ../commands.c:324 ../commands.c:419
#: ../commands.c:540 ../shortcuts.c:403 ../shortcuts.c:1163
#: ../shortcuts.c:1192
msgid "No document opened." msgid "No document opened."
msgstr "Документ не открыт" msgstr "Документ не открыт"
#: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:430 #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424
msgid "Invalid number of arguments given." msgid "Invalid number of arguments given."
msgstr "Неверное число аргументов" msgstr "Неверное число аргументов"
@ -75,399 +82,438 @@ msgstr "Не удалось удалить закладку %s"
msgid "No such bookmark: %s" msgid "No such bookmark: %s"
msgstr "Закладки %s не существует" msgstr "Закладки %s не существует"
#: ../commands.c:180 ../commands.c:202 #: ../commands.c:162
msgid "Title"
msgstr ""
#: ../commands.c:163
msgid "Author"
msgstr ""
#: ../commands.c:164
msgid "Subject"
msgstr ""
#: ../commands.c:165
msgid "Keywords"
msgstr ""
#: ../commands.c:166
msgid "Creator"
msgstr ""
#: ../commands.c:167
msgid "Producer"
msgstr ""
#: ../commands.c:168
msgid "Creation date"
msgstr ""
#: ../commands.c:169
msgid "Modification date"
msgstr ""
#: ../commands.c:174 ../commands.c:196
msgid "No information available." msgid "No information available."
msgstr "Нет доступной информации" msgstr "Нет доступной информации"
#: ../commands.c:240 #: ../commands.c:234
msgid "Too many arguments." msgid "Too many arguments."
msgstr "Слишком много аргументов" msgstr "Слишком много аргументов"
#: ../commands.c:251 #: ../commands.c:245
msgid "No arguments given." msgid "No arguments given."
msgstr "Отсутствуют аргументы" msgstr "Отсутствуют аргументы"
#: ../commands.c:310 ../commands.c:336 #: ../commands.c:304 ../commands.c:330
msgid "Document saved." msgid "Document saved."
msgstr "Документ сохранён" msgstr "Документ сохранён"
#: ../commands.c:312 ../commands.c:338 #: ../commands.c:306 ../commands.c:332
msgid "Failed to save document." msgid "Failed to save document."
msgstr "Не удалось сохранить документ" msgstr "Не удалось сохранить документ"
#: ../commands.c:315 ../commands.c:341 #: ../commands.c:309 ../commands.c:335
msgid "Invalid number of arguments." msgid "Invalid number of arguments."
msgstr "Неверное количество аргументов" msgstr "Неверное количество аргументов"
#: ../commands.c:449 #: ../commands.c:443
#, c-format #, c-format
msgid "Couldn't write attachment '%s' to '%s'." msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Не могу сохранить приложенный файл %s в %s" msgstr "Не могу сохранить приложенный файл %s в %s"
#: ../commands.c:451 #: ../commands.c:445
#, c-format #, c-format
msgid "Wrote attachment '%s' to '%s'." msgid "Wrote attachment '%s' to '%s'."
msgstr "Файл %s сохранён в %s" msgstr "Файл %s сохранён в %s"
#: ../commands.c:495 #: ../commands.c:489
#, c-format #, c-format
msgid "Wrote image '%s' to '%s'." msgid "Wrote image '%s' to '%s'."
msgstr "" msgstr "Файл '%s' сохранён в '%s'"
#: ../commands.c:497 #: ../commands.c:491
#, c-format #, c-format
msgid "Couldn't write image '%s' to '%s'." msgid "Couldn't write image '%s' to '%s'."
msgstr "" msgstr "Не могу сохранить приложенный файл %s в %s"
#: ../commands.c:504 #: ../commands.c:498
#, c-format #, c-format
msgid "Unknown image '%s'." msgid "Unknown image '%s'."
msgstr "" msgstr "Неизвестный файл %s."
#: ../commands.c:508 #: ../commands.c:502
#, c-format #, c-format
msgid "Unknown attachment or image '%s'." msgid "Unknown attachment or image '%s'."
msgstr "" msgstr "Неизвестное вложение %s."
#: ../commands.c:559 #: ../commands.c:553
msgid "Argument must be a number." msgid "Argument must be a number."
msgstr "Аргумент должен быть числом" msgstr "Аргумент должен быть числом"
#: ../completion.c:250 #: ../completion.c:250
#, c-format #, c-format
msgid "Page %d" msgid "Page %d"
msgstr "" msgstr "Страница %d"
#: ../completion.c:293 #: ../completion.c:293
msgid "Attachments" msgid "Attachments"
msgstr "" msgstr "Прикепленные файлы"
#. add images #. add images
#: ../completion.c:324 #: ../completion.c:324
msgid "Images" msgid "Images"
msgstr "" msgstr "Изображения"
#. zathura settings #. zathura settings
#: ../config.c:147 #: ../config.c:131
msgid "Database backend" msgid "Database backend"
msgstr "Бэкэнд базы данных" msgstr "Бэкэнд базы данных"
#: ../config.c:149 #: ../config.c:133
msgid "Zoom step" msgid "Zoom step"
msgstr "Шаг увеличения" msgstr "Шаг увеличения"
#: ../config.c:151 #: ../config.c:135
msgid "Padding between pages" msgid "Padding between pages"
msgstr "Разрыв между страницами" msgstr "Разрыв между страницами"
#: ../config.c:153 #: ../config.c:137
msgid "Number of pages per row" msgid "Number of pages per row"
msgstr "Количество страниц в ряд" msgstr "Количество страниц в ряд"
#: ../config.c:155 #: ../config.c:139
msgid "Column of the first page" msgid "Column of the first page"
msgstr "" msgstr ""
#: ../config.c:157 #: ../config.c:141
msgid "Scroll step" msgid "Scroll step"
msgstr "Шаг прокрутки" msgstr "Шаг прокрутки"
#: ../config.c:159 #: ../config.c:143
msgid "Horizontal scroll step" msgid "Horizontal scroll step"
msgstr "" msgstr "Шаг горизонтальной прокрутки"
#: ../config.c:161 #: ../config.c:145
msgid "Full page scroll overlap" msgid "Full page scroll overlap"
msgstr "" msgstr ""
#: ../config.c:163 #: ../config.c:147
msgid "Zoom minimum" msgid "Zoom minimum"
msgstr "Минимальное увеличение" msgstr "Минимальное увеличение"
#: ../config.c:165 #: ../config.c:149
msgid "Zoom maximum" msgid "Zoom maximum"
msgstr "Максимальное увеличение" msgstr "Максимальное увеличение"
#: ../config.c:167 #: ../config.c:151
msgid "Maximum number of pages to keep in the cache" msgid "Maximum number of pages to keep in the cache"
msgstr "" msgstr ""
#: ../config.c:169 #: ../config.c:153
msgid "Number of positions to remember in the jumplist" msgid "Number of positions to remember in the jumplist"
msgstr "" msgstr "Длина истории переходов"
#: ../config.c:171 #: ../config.c:155
msgid "Recoloring (dark color)" msgid "Recoloring (dark color)"
msgstr "Перекрашивание (тёмные тона)" msgstr "Перекрашивание (тёмные тона)"
#: ../config.c:173 #: ../config.c:156
msgid "Recoloring (light color)" msgid "Recoloring (light color)"
msgstr "Перекрашивание (светлые тона)" msgstr "Перекрашивание (светлые тона)"
#: ../config.c:175 #: ../config.c:157
msgid "Color for highlighting" msgid "Color for highlighting"
msgstr "Цвет для подсветки" msgstr "Цвет для подсветки"
#: ../config.c:177 #: ../config.c:159
msgid "Color for highlighting (active)" msgid "Color for highlighting (active)"
msgstr "Цвет для подсветки (активной)" msgstr "Цвет для подсветки (активной)"
#: ../config.c:179 #: ../config.c:161
msgid "'Loading ...' background color" msgid "'Loading ...' background color"
msgstr "" msgstr "Цвет фона загрузочной заставки"
#: ../config.c:181 #: ../config.c:163
msgid "'Loading ...' foreground color" msgid "'Loading ...' foreground color"
msgstr "" msgstr "Цвет загрузочной заставки"
#: ../config.c:185 #: ../config.c:167
msgid "Recolor pages" msgid "Recolor pages"
msgstr "Перекрасить страницы" msgstr "Перекрасить страницы"
#: ../config.c:187 #: ../config.c:169
msgid "When recoloring keep original hue and adjust lightness only" msgid "When recoloring keep original hue and adjust lightness only"
msgstr "" msgstr ""
#: ../config.c:189 #: ../config.c:171
msgid "Wrap scrolling" msgid "Wrap scrolling"
msgstr "Плавная прокрутка" msgstr "Плавная прокрутка"
#: ../config.c:191 #: ../config.c:173
msgid "Page aware scrolling" msgid "Page aware scrolling"
msgstr "" msgstr ""
#: ../config.c:193 #: ../config.c:175
msgid "Advance number of pages per row" msgid "Advance number of pages per row"
msgstr "Увеличить количество страниц в ряду" msgstr "Увеличить количество страниц в ряду"
#: ../config.c:195 #: ../config.c:177
msgid "Horizontally centered zoom" msgid "Horizontally centered zoom"
msgstr "" msgstr ""
#: ../config.c:197 #: ../config.c:179
msgid "Align link target to the left" msgid "Align link target to the left"
msgstr "" msgstr ""
#: ../config.c:199 #: ../config.c:181
msgid "Center result horizontally" msgid "Let zoom be changed when following links"
msgstr "" msgstr ""
#: ../config.c:201 #: ../config.c:183
msgid "Center result horizontally"
msgstr "Центрировать результат по горизонтали"
#: ../config.c:185
msgid "Transparency for highlighting" msgid "Transparency for highlighting"
msgstr "Прозрачность подсветки" msgstr "Прозрачность подсветки"
#: ../config.c:203 #: ../config.c:187
msgid "Render 'Loading ...'" msgid "Render 'Loading ...'"
msgstr "Рендер 'Загружается ...'" msgstr "Рендер 'Загружается ...'"
#: ../config.c:204 #: ../config.c:188
msgid "Adjust to when opening file" msgid "Adjust to when opening file"
msgstr "" msgstr ""
#: ../config.c:206 #: ../config.c:190
msgid "Show hidden files and directories" msgid "Show hidden files and directories"
msgstr "Показывать скрытые файлы и директории" msgstr "Показывать скрытые файлы и директории"
#: ../config.c:208 #: ../config.c:192
msgid "Show directories" msgid "Show directories"
msgstr "Показывать директории" msgstr "Показывать директории"
#: ../config.c:210 #: ../config.c:194
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Всегда открывать на первой странице" msgstr "Всегда открывать на первой странице"
#: ../config.c:212 #: ../config.c:196
msgid "Highlight search results" msgid "Highlight search results"
msgstr "" msgstr "Подсветить результаты поиска"
#: ../config.c:214 #: ../config.c:198
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr "Инкрементальный поиск"
#: ../config.c:216 #: ../config.c:200
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "" msgstr "Сбросить результаты при отмене поиска"
#: ../config.c:218 #: ../config.c:202
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr "Использовать базовое имя файла в заголовке"
#: ../config.c:220 #: ../config.c:204
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "" msgstr "Отображать номер страницы в заголовке"
#: ../config.c:222 #: ../config.c:206
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr "Использовать базовое имя файла в строке состояния"
#: ../config.c:224 ../main.c:65 #: ../config.c:208 ../main.c:67
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../config.c:210
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../config.c:383 #: ../config.c:369
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Добавить закладку" msgstr "Добавить закладку"
#: ../config.c:384 #: ../config.c:370
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Удалить закладку" msgstr "Удалить закладку"
#: ../config.c:385 #: ../config.c:371
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Показать все закладки" msgstr "Показать все закладки"
#: ../config.c:386 #: ../config.c:372
msgid "Close current file" msgid "Close current file"
msgstr "Закрыть текущий файл" msgstr "Закрыть текущий файл"
#: ../config.c:387 #: ../config.c:373
msgid "Show file information" msgid "Show file information"
msgstr "Показать информацию о файле" msgstr "Показать информацию о файле"
#: ../config.c:388 #: ../config.c:374
msgid "Execute a command" msgid "Execute a command"
msgstr "" msgstr "Выполнить команду"
#: ../config.c:389 #: ../config.c:375
msgid "Show help" msgid "Show help"
msgstr "Помощь" msgstr "Помощь"
#: ../config.c:390 #: ../config.c:376
msgid "Open document" msgid "Open document"
msgstr "Открыть документ" msgstr "Открыть документ"
#: ../config.c:391 #: ../config.c:377
msgid "Close zathura" msgid "Close zathura"
msgstr "Выход" msgstr "Выход"
#: ../config.c:392 #: ../config.c:378
msgid "Print document" msgid "Print document"
msgstr "Печать" msgstr "Печать"
#: ../config.c:393 #: ../config.c:379
msgid "Save document" msgid "Save document"
msgstr "Сохранить документ" msgstr "Сохранить документ"
#: ../config.c:394 #: ../config.c:380
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Сохранить документ (с перезапиьсю)" msgstr "Сохранить документ (с перезапиьсю)"
#: ../config.c:395 #: ../config.c:381
msgid "Save attachments" msgid "Save attachments"
msgstr "Сохранить прикреплённые файлы" msgstr "Сохранить прикреплённые файлы"
#: ../config.c:396 #: ../config.c:382
msgid "Set page offset" msgid "Set page offset"
msgstr "Сохранить смещение страницы" msgstr "Сохранить смещение страницы"
#: ../config.c:397 #: ../config.c:383
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Пометить текущую позицию в документе" msgstr "Пометить текущую позицию в документе"
#: ../config.c:398 #: ../config.c:384
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Удалить указанные пометки" msgstr "Удалить указанные пометки"
#: ../config.c:399 #: ../config.c:385
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "" msgstr "Не подсвечивать результаты текущего поиска"
#: ../config.c:400 #: ../config.c:386
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "" msgstr "Подсветить результаты текущего поиска"
#: ../config.c:401 #: ../config.c:387
msgid "Show version information" msgid "Show version information"
msgstr "" msgstr "Показать информацию о версии файла"
#: ../links.c:175 ../links.c:254 #: ../links.c:199 ../links.c:278
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Не удалось запустить xdg-open" msgstr "Не удалось запустить xdg-open"
#: ../links.c:193 #: ../links.c:217
#, c-format #, c-format
msgid "Link: page %d" msgid "Link: page %d"
msgstr "" msgstr "Ссылка: страница %d"
#: ../links.c:200 #: ../links.c:224
#, c-format #, c-format
msgid "Link: %s" msgid "Link: %s"
msgstr "" msgstr "Ссылка: %s"
#: ../links.c:204 #: ../links.c:228
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../main.c:56 #: ../main.c:58
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid"
msgstr "Сменить материнское окно на окно, указанное в xid" msgstr "Сменить материнское окно на окно, указанное в xid"
#: ../main.c:57 #: ../main.c:59
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Путь к директории конфига" msgstr "Путь к директории конфига"
#: ../main.c:58 #: ../main.c:60
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Путь к директории с данными" msgstr "Путь к директории с данными"
#: ../main.c:59 #: ../main.c:61
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Путь к директории с плагинами" msgstr "Путь к директории с плагинами"
#: ../main.c:60 #: ../main.c:62
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Уйти в бэкграунд" msgstr "Уйти в бэкграунд"
#: ../main.c:61
msgid "Document password"
msgstr ""
#: ../main.c:62
msgid "Page number to go to"
msgstr ""
#: ../main.c:63 #: ../main.c:63
msgid "Document password"
msgstr "Пароль документа"
#: ../main.c:64
msgid "Page number to go to"
msgstr "Перейти к странице номер"
#: ../main.c:65
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Уровень логирования (debug,info,warning,error)" msgstr "Уровень логирования (debug,info,warning,error)"
#: ../main.c:64 #: ../main.c:66
msgid "Print version information" msgid "Print version information"
msgstr "Показать информацию о файле" msgstr "Показать информацию о файле"
#: ../main.c:66 #: ../main.c:68
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../page-widget.c:474 #: ../page-widget.c:526
msgid "Loading..." msgid "Loading..."
msgstr "" msgstr "Загрузка..."
#: ../page-widget.c:678 #: ../page-widget.c:845
#, c-format
msgid "Copied selected text to clipboard: %s"
msgstr "Выделенный текст скопирован в буфер: %s"
#: ../page-widget.c:776
msgid "Copy image" msgid "Copy image"
msgstr "Скопировать изображение" msgstr "Скопировать изображение"
#: ../page-widget.c:777 #: ../page-widget.c:846
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr "Созранить как"
#: ../shortcuts.c:1154 #: ../shortcuts.c:1076
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "В документе нету индекса" msgstr "В документе нету индекса"
#: ../zathura.c:227 ../zathura.c:975 #: ../zathura.c:213 ../zathura.c:959
msgid "[No name]" msgid "[No name]"
msgstr "[No name]" msgstr "[No name]"
#: ../zathura.c:584 #: ../zathura.c:486
msgid "Unsupported file type. Please install the necessary plugin." msgid "Could not read file from stdin and write it to a temporary file."
msgstr "" msgstr ""
#: ../zathura.c:594 #: ../zathura.c:535
msgid "Unsupported file type. Please install the necessary plugin."
msgstr "Тип файла не поддерживается. Установите соответствующий плагин."
#: ../zathura.c:545
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr "Документ не содержит ни одной страницы"

View file

@ -2,13 +2,13 @@
# See LICENSE file for license and copyright information # See LICENSE file for license and copyright information
# #
# Translators: # Translators:
# <mankand007@gmail.com>, 2012. # mankand007 <mankand007@gmail.com>, 2012
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2013-08-15 00:28+0200\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n"
"PO-Revision-Date: 2013-08-15 00:35+0200\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n"
"Last-Translator: mankand007 <mankand007@gmail.com>\n" "Last-Translator: mankand007 <mankand007@gmail.com>\n"
"Language-Team: Tamil (India) (http://www.transifex.net/projects/p/zathura/" "Language-Team: Tamil (India) (http://www.transifex.net/projects/p/zathura/"
"language/ta_IN/)\n" "language/ta_IN/)\n"
@ -18,24 +18,29 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n"
#: ../callbacks.c:314 #: ../callbacks.c:297
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "கொடுக்கப்பட்ட உள்ளீடு(input) '%s' தவறு" msgstr "கொடுக்கப்பட்ட உள்ளீடு(input) '%s' தவறு"
#: ../callbacks.c:350 #: ../callbacks.c:333
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "கொடுக்கப்பட்ட index '%s' தவறு" msgstr "கொடுக்கப்பட்ட index '%s' தவறு"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:158 #: ../callbacks.c:546
#: ../commands.c:274 ../commands.c:304 ../commands.c:330 ../commands.c:425 #, c-format
#: ../commands.c:546 ../shortcuts.c:485 ../shortcuts.c:1251 msgid "Copied selected text to clipboard: %s"
#: ../shortcuts.c:1280 msgstr ""
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:152
#: ../commands.c:268 ../commands.c:298 ../commands.c:324 ../commands.c:419
#: ../commands.c:540 ../shortcuts.c:403 ../shortcuts.c:1163
#: ../shortcuts.c:1192
msgid "No document opened." msgid "No document opened."
msgstr "எந்தக் ஆவணமும் திறக்கப்படவில்லை" msgstr "எந்தக் ஆவணமும் திறக்கப்படவில்லை"
#: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:430 #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424
msgid "Invalid number of arguments given." msgid "Invalid number of arguments given."
msgstr "கொடுக்கப்பட்ட arguments-களின் எண்ணிக்கை தவறு" msgstr "கொடுக்கப்பட்ட arguments-களின் எண்ணிக்கை தவறு"
@ -74,61 +79,93 @@ msgstr "Bookmark-ஐ அழிக்க இயலவில்லை: %s"
msgid "No such bookmark: %s" msgid "No such bookmark: %s"
msgstr "அந்தப் பெயரில் எந்த bookmark-ம் இல்லை: %s" msgstr "அந்தப் பெயரில் எந்த bookmark-ம் இல்லை: %s"
#: ../commands.c:180 ../commands.c:202 #: ../commands.c:162
msgid "Title"
msgstr ""
#: ../commands.c:163
msgid "Author"
msgstr ""
#: ../commands.c:164
msgid "Subject"
msgstr ""
#: ../commands.c:165
msgid "Keywords"
msgstr ""
#: ../commands.c:166
msgid "Creator"
msgstr ""
#: ../commands.c:167
msgid "Producer"
msgstr ""
#: ../commands.c:168
msgid "Creation date"
msgstr ""
#: ../commands.c:169
msgid "Modification date"
msgstr ""
#: ../commands.c:174 ../commands.c:196
msgid "No information available." msgid "No information available."
msgstr "எந்தத் தகவலும் இல்லை" msgstr "எந்தத் தகவலும் இல்லை"
#: ../commands.c:240 #: ../commands.c:234
msgid "Too many arguments." msgid "Too many arguments."
msgstr "Argumentகளின் எண்ணிக்கை மிகவும் அதிகம்" msgstr "Argumentகளின் எண்ணிக்கை மிகவும் அதிகம்"
#: ../commands.c:251 #: ../commands.c:245
msgid "No arguments given." msgid "No arguments given."
msgstr "எந்த argument-ம் தரப்படவில்லை" msgstr "எந்த argument-ம் தரப்படவில்லை"
#: ../commands.c:310 ../commands.c:336 #: ../commands.c:304 ../commands.c:330
msgid "Document saved." msgid "Document saved."
msgstr "கோப்பு சேமிக்கப்பட்டது" msgstr "கோப்பு சேமிக்கப்பட்டது"
#: ../commands.c:312 ../commands.c:338 #: ../commands.c:306 ../commands.c:332
msgid "Failed to save document." msgid "Failed to save document."
msgstr "ஆவணத்தை சேமிக்க இயலவில்லை" msgstr "ஆவணத்தை சேமிக்க இயலவில்லை"
#: ../commands.c:315 ../commands.c:341 #: ../commands.c:309 ../commands.c:335
msgid "Invalid number of arguments." msgid "Invalid number of arguments."
msgstr "கொடுக்கப்பட்ட argument-களின் எண்ணிக்கை தவறு" msgstr "கொடுக்கப்பட்ட argument-களின் எண்ணிக்கை தவறு"
#: ../commands.c:449 #: ../commands.c:443
#, c-format #, c-format
msgid "Couldn't write attachment '%s' to '%s'." msgid "Couldn't write attachment '%s' to '%s'."
msgstr "" msgstr ""
#: ../commands.c:451 #: ../commands.c:445
#, c-format #, c-format
msgid "Wrote attachment '%s' to '%s'." msgid "Wrote attachment '%s' to '%s'."
msgstr "" msgstr ""
#: ../commands.c:495 #: ../commands.c:489
#, c-format #, c-format
msgid "Wrote image '%s' to '%s'." msgid "Wrote image '%s' to '%s'."
msgstr "" msgstr ""
#: ../commands.c:497 #: ../commands.c:491
#, c-format #, c-format
msgid "Couldn't write image '%s' to '%s'." msgid "Couldn't write image '%s' to '%s'."
msgstr "" msgstr ""
#: ../commands.c:504 #: ../commands.c:498
#, c-format #, c-format
msgid "Unknown image '%s'." msgid "Unknown image '%s'."
msgstr "" msgstr ""
#: ../commands.c:508 #: ../commands.c:502
#, c-format #, c-format
msgid "Unknown attachment or image '%s'." msgid "Unknown attachment or image '%s'."
msgstr "" msgstr ""
#: ../commands.c:559 #: ../commands.c:553
msgid "Argument must be a number." msgid "Argument must be a number."
msgstr "Argument ஒரு எண்ணாக இருக்க வேண்டும்" msgstr "Argument ஒரு எண்ணாக இருக்க வேண்டும்"
@ -147,326 +184,333 @@ msgid "Images"
msgstr "" msgstr ""
#. zathura settings #. zathura settings
#: ../config.c:147 #: ../config.c:131
msgid "Database backend" msgid "Database backend"
msgstr "" msgstr ""
#: ../config.c:149 #: ../config.c:133
msgid "Zoom step" msgid "Zoom step"
msgstr "Zoom அமைப்பு" msgstr "Zoom அமைப்பு"
#: ../config.c:151 #: ../config.c:135
msgid "Padding between pages" msgid "Padding between pages"
msgstr "இரு பக்கங்களுக்கிடையில் உள்ள நிரப்பல்(padding)" msgstr "இரு பக்கங்களுக்கிடையில் உள்ள நிரப்பல்(padding)"
#: ../config.c:153 #: ../config.c:137
msgid "Number of pages per row" msgid "Number of pages per row"
msgstr "ஒரு வரிசையில் எத்தனை பக்கங்களைக் காட்ட வேண்டும்" msgstr "ஒரு வரிசையில் எத்தனை பக்கங்களைக் காட்ட வேண்டும்"
#: ../config.c:155 #: ../config.c:139
msgid "Column of the first page" msgid "Column of the first page"
msgstr "" msgstr ""
#: ../config.c:157 #: ../config.c:141
msgid "Scroll step" msgid "Scroll step"
msgstr "திரை உருளல்(scroll) அளவு" msgstr "திரை உருளல்(scroll) அளவு"
#: ../config.c:159 #: ../config.c:143
msgid "Horizontal scroll step" msgid "Horizontal scroll step"
msgstr "" msgstr ""
#: ../config.c:161 #: ../config.c:145
msgid "Full page scroll overlap" msgid "Full page scroll overlap"
msgstr "" msgstr ""
#: ../config.c:163 #: ../config.c:147
msgid "Zoom minimum" msgid "Zoom minimum"
msgstr "முடிந்தவரை சிறியதாகக் காட்டு" msgstr "முடிந்தவரை சிறியதாகக் காட்டு"
#: ../config.c:165 #: ../config.c:149
msgid "Zoom maximum" msgid "Zoom maximum"
msgstr "முடிந்தவரை பெரிதாகக் காட்டு" msgstr "முடிந்தவரை பெரிதாகக் காட்டு"
#: ../config.c:167 #: ../config.c:151
msgid "Maximum number of pages to keep in the cache" msgid "Maximum number of pages to keep in the cache"
msgstr "" msgstr ""
#: ../config.c:169 #: ../config.c:153
msgid "Number of positions to remember in the jumplist" msgid "Number of positions to remember in the jumplist"
msgstr "" msgstr ""
#: ../config.c:171 #: ../config.c:155
msgid "Recoloring (dark color)" msgid "Recoloring (dark color)"
msgstr "" msgstr ""
#: ../config.c:173 #: ../config.c:156
msgid "Recoloring (light color)" msgid "Recoloring (light color)"
msgstr "" msgstr ""
#: ../config.c:175 #: ../config.c:157
msgid "Color for highlighting" msgid "Color for highlighting"
msgstr "" msgstr ""
#: ../config.c:177 #: ../config.c:159
msgid "Color for highlighting (active)" msgid "Color for highlighting (active)"
msgstr "" msgstr ""
#: ../config.c:179 #: ../config.c:161
msgid "'Loading ...' background color" msgid "'Loading ...' background color"
msgstr "" msgstr ""
#: ../config.c:181 #: ../config.c:163
msgid "'Loading ...' foreground color" msgid "'Loading ...' foreground color"
msgstr "" msgstr ""
#: ../config.c:185 #: ../config.c:167
msgid "Recolor pages" msgid "Recolor pages"
msgstr "" msgstr ""
#: ../config.c:187 #: ../config.c:169
msgid "When recoloring keep original hue and adjust lightness only" msgid "When recoloring keep original hue and adjust lightness only"
msgstr "" msgstr ""
#: ../config.c:189 #: ../config.c:171
msgid "Wrap scrolling" msgid "Wrap scrolling"
msgstr "" msgstr ""
#: ../config.c:191 #: ../config.c:173
msgid "Page aware scrolling" msgid "Page aware scrolling"
msgstr "" msgstr ""
#: ../config.c:193 #: ../config.c:175
msgid "Advance number of pages per row" msgid "Advance number of pages per row"
msgstr "" msgstr ""
#: ../config.c:195 #: ../config.c:177
msgid "Horizontally centered zoom" msgid "Horizontally centered zoom"
msgstr "" msgstr ""
#: ../config.c:197 #: ../config.c:179
msgid "Align link target to the left" msgid "Align link target to the left"
msgstr "" msgstr ""
#: ../config.c:199 #: ../config.c:181
msgid "Let zoom be changed when following links"
msgstr ""
#: ../config.c:183
msgid "Center result horizontally" msgid "Center result horizontally"
msgstr "" msgstr ""
#: ../config.c:201 #: ../config.c:185
msgid "Transparency for highlighting" msgid "Transparency for highlighting"
msgstr "" msgstr ""
#: ../config.c:203 #: ../config.c:187
msgid "Render 'Loading ...'" msgid "Render 'Loading ...'"
msgstr "" msgstr ""
#: ../config.c:204 #: ../config.c:188
msgid "Adjust to when opening file" msgid "Adjust to when opening file"
msgstr "" msgstr ""
#: ../config.c:206 #: ../config.c:190
msgid "Show hidden files and directories" msgid "Show hidden files and directories"
msgstr "" msgstr ""
#: ../config.c:208 #: ../config.c:192
msgid "Show directories" msgid "Show directories"
msgstr "" msgstr ""
#: ../config.c:210 #: ../config.c:194
msgid "Always open on first page" msgid "Always open on first page"
msgstr "" msgstr ""
#: ../config.c:212 #: ../config.c:196
msgid "Highlight search results" msgid "Highlight search results"
msgstr "" msgstr ""
#: ../config.c:214 #: ../config.c:198
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../config.c:216 #: ../config.c:200
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "" msgstr ""
#: ../config.c:218 #: ../config.c:202
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../config.c:220 #: ../config.c:204
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../config.c:222 #: ../config.c:206
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../config.c:224 ../main.c:65 #: ../config.c:208 ../main.c:67
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../config.c:210
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../config.c:383 #: ../config.c:369
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "புதிய bookmark உருவாக்கு" msgstr "புதிய bookmark உருவாக்கு"
#: ../config.c:384 #: ../config.c:370
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Bookmark-ஐ அழித்துவிடு" msgstr "Bookmark-ஐ அழித்துவிடு"
#: ../config.c:385 #: ../config.c:371
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "அனைத்து bookmark-களையும் பட்டியலிடு" msgstr "அனைத்து bookmark-களையும் பட்டியலிடு"
#: ../config.c:386 #: ../config.c:372
msgid "Close current file" msgid "Close current file"
msgstr "" msgstr ""
#: ../config.c:387 #: ../config.c:373
msgid "Show file information" msgid "Show file information"
msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு" msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு"
#: ../config.c:388 #: ../config.c:374
msgid "Execute a command" msgid "Execute a command"
msgstr "" msgstr ""
#: ../config.c:389 #: ../config.c:375
msgid "Show help" msgid "Show help"
msgstr "உதவியைக் காட்டு" msgstr "உதவியைக் காட்டு"
#: ../config.c:390 #: ../config.c:376
msgid "Open document" msgid "Open document"
msgstr "ஒரு ஆவணத்தைத் திற" msgstr "ஒரு ஆவணத்தைத் திற"
#: ../config.c:391 #: ../config.c:377
msgid "Close zathura" msgid "Close zathura"
msgstr "zathura-வை விட்டு வெளியேறு" msgstr "zathura-வை விட்டு வெளியேறு"
#: ../config.c:392 #: ../config.c:378
msgid "Print document" msgid "Print document"
msgstr "ஆவணத்தை அச்சிடு" msgstr "ஆவணத்தை அச்சிடு"
#: ../config.c:393 #: ../config.c:379
msgid "Save document" msgid "Save document"
msgstr "ஆவணத்தை சேமிக்கவும்" msgstr "ஆவணத்தை சேமிக்கவும்"
#: ../config.c:394 #: ../config.c:380
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "" msgstr ""
#: ../config.c:395 #: ../config.c:381
msgid "Save attachments" msgid "Save attachments"
msgstr "இணைப்புகளைச் சேமிக்கவும்" msgstr "இணைப்புகளைச் சேமிக்கவும்"
#: ../config.c:396 #: ../config.c:382
msgid "Set page offset" msgid "Set page offset"
msgstr "" msgstr ""
#: ../config.c:397 #: ../config.c:383
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "" msgstr ""
#: ../config.c:398 #: ../config.c:384
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "" msgstr ""
#: ../config.c:399 #: ../config.c:385
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "" msgstr ""
#: ../config.c:400 #: ../config.c:386
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "" msgstr ""
#: ../config.c:401 #: ../config.c:387
msgid "Show version information" msgid "Show version information"
msgstr "" msgstr ""
#: ../links.c:175 ../links.c:254 #: ../links.c:199 ../links.c:278
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "xdg-open-ஐ இயக்க முடியவில்லை" msgstr "xdg-open-ஐ இயக்க முடியவில்லை"
#: ../links.c:193 #: ../links.c:217
#, c-format #, c-format
msgid "Link: page %d" msgid "Link: page %d"
msgstr "" msgstr ""
#: ../links.c:200 #: ../links.c:224
#, c-format #, c-format
msgid "Link: %s" msgid "Link: %s"
msgstr "" msgstr ""
#: ../links.c:204 #: ../links.c:228
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../main.c:56 #: ../main.c:58
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid"
msgstr "" msgstr ""
#: ../main.c:57 #: ../main.c:59
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "" msgstr ""
#: ../main.c:58 #: ../main.c:60
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "" msgstr ""
#: ../main.c:59 #: ../main.c:61
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "" msgstr ""
#: ../main.c:60 #: ../main.c:62
msgid "Fork into the background" msgid "Fork into the background"
msgstr "" msgstr ""
#: ../main.c:61 #: ../main.c:63
msgid "Document password" msgid "Document password"
msgstr "" msgstr ""
#: ../main.c:62 #: ../main.c:64
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../main.c:63 #: ../main.c:65
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "" msgstr ""
#: ../main.c:64 #: ../main.c:66
msgid "Print version information" msgid "Print version information"
msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு" msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு"
#: ../main.c:66 #: ../main.c:68
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../page-widget.c:474 #: ../page-widget.c:526
msgid "Loading..." msgid "Loading..."
msgstr "" msgstr ""
#: ../page-widget.c:678 #: ../page-widget.c:845
#, c-format
msgid "Copied selected text to clipboard: %s"
msgstr ""
#: ../page-widget.c:776
msgid "Copy image" msgid "Copy image"
msgstr "படத்தை ஒரு பிரதியெடு" msgstr "படத்தை ஒரு பிரதியெடு"
#: ../page-widget.c:777 #: ../page-widget.c:846
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../shortcuts.c:1154 #: ../shortcuts.c:1076
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "இந்த ஆவணத்தில் எந்த index-ம் இல்லை" msgstr "இந்த ஆவணத்தில் எந்த index-ம் இல்லை"
#: ../zathura.c:227 ../zathura.c:975 #: ../zathura.c:213 ../zathura.c:959
msgid "[No name]" msgid "[No name]"
msgstr "பெயரற்ற ஆவணம்" msgstr "பெயரற்ற ஆவணம்"
#: ../zathura.c:584 #: ../zathura.c:486
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
#: ../zathura.c:535
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura.c:594 #: ../zathura.c:545
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

256
po/tr.po
View file

@ -8,8 +8,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2013-08-15 00:28+0200\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n"
"PO-Revision-Date: 2013-08-15 00:36+0200\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n"
"Last-Translator: hsngrms <dead-bodies-everywhere@hotmail.com>\n" "Last-Translator: hsngrms <dead-bodies-everywhere@hotmail.com>\n"
"Language-Team: Turkish (http://www.transifex.net/projects/p/zathura/language/" "Language-Team: Turkish (http://www.transifex.net/projects/p/zathura/language/"
"tr/)\n" "tr/)\n"
@ -19,24 +19,29 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
#: ../callbacks.c:314 #: ../callbacks.c:297
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Hatalı girdi '%s'" msgstr "Hatalı girdi '%s'"
#: ../callbacks.c:350 #: ../callbacks.c:333
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Hatalı dizin '%s'" msgstr "Hatalı dizin '%s'"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:158 #: ../callbacks.c:546
#: ../commands.c:274 ../commands.c:304 ../commands.c:330 ../commands.c:425 #, c-format
#: ../commands.c:546 ../shortcuts.c:485 ../shortcuts.c:1251 msgid "Copied selected text to clipboard: %s"
#: ../shortcuts.c:1280 msgstr "Seçili metin panoya kopyalandı: %s"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:152
#: ../commands.c:268 ../commands.c:298 ../commands.c:324 ../commands.c:419
#: ../commands.c:540 ../shortcuts.c:403 ../shortcuts.c:1163
#: ../shortcuts.c:1192
msgid "No document opened." msgid "No document opened."
msgstr "Açık belge yok." msgstr "Açık belge yok."
#: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:430 #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424
msgid "Invalid number of arguments given." msgid "Invalid number of arguments given."
msgstr "Yanlış sayıda argüman" msgstr "Yanlış sayıda argüman"
@ -75,61 +80,93 @@ msgstr "Yer imi silinemedi: %s"
msgid "No such bookmark: %s" msgid "No such bookmark: %s"
msgstr "Böyle bir yer imi yok: %s" msgstr "Böyle bir yer imi yok: %s"
#: ../commands.c:180 ../commands.c:202 #: ../commands.c:162
msgid "Title"
msgstr ""
#: ../commands.c:163
msgid "Author"
msgstr ""
#: ../commands.c:164
msgid "Subject"
msgstr ""
#: ../commands.c:165
msgid "Keywords"
msgstr ""
#: ../commands.c:166
msgid "Creator"
msgstr ""
#: ../commands.c:167
msgid "Producer"
msgstr ""
#: ../commands.c:168
msgid "Creation date"
msgstr ""
#: ../commands.c:169
msgid "Modification date"
msgstr ""
#: ../commands.c:174 ../commands.c:196
msgid "No information available." msgid "No information available."
msgstr "Bilgi mevcut değil." msgstr "Bilgi mevcut değil."
#: ../commands.c:240 #: ../commands.c:234
msgid "Too many arguments." msgid "Too many arguments."
msgstr "Çok fazla sayıda argüman." msgstr "Çok fazla sayıda argüman."
#: ../commands.c:251 #: ../commands.c:245
msgid "No arguments given." msgid "No arguments given."
msgstr "Argüman verilmedi." msgstr "Argüman verilmedi."
#: ../commands.c:310 ../commands.c:336 #: ../commands.c:304 ../commands.c:330
msgid "Document saved." msgid "Document saved."
msgstr "Belge kaydedildi." msgstr "Belge kaydedildi."
#: ../commands.c:312 ../commands.c:338 #: ../commands.c:306 ../commands.c:332
msgid "Failed to save document." msgid "Failed to save document."
msgstr "Belge kaydedilemedi." msgstr "Belge kaydedilemedi."
#: ../commands.c:315 ../commands.c:341 #: ../commands.c:309 ../commands.c:335
msgid "Invalid number of arguments." msgid "Invalid number of arguments."
msgstr "Yanlış sayıda argüman." msgstr "Yanlış sayıda argüman."
#: ../commands.c:449 #: ../commands.c:443
#, c-format #, c-format
msgid "Couldn't write attachment '%s' to '%s'." msgid "Couldn't write attachment '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazılamadı." msgstr "'%s' eki '%s' konumuna yazılamadı."
#: ../commands.c:451 #: ../commands.c:445
#, c-format #, c-format
msgid "Wrote attachment '%s' to '%s'." msgid "Wrote attachment '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazıldı." msgstr "'%s' eki '%s' konumuna yazıldı."
#: ../commands.c:495 #: ../commands.c:489
#, c-format #, c-format
msgid "Wrote image '%s' to '%s'." msgid "Wrote image '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazıldı." msgstr "'%s' eki '%s' konumuna yazıldı."
#: ../commands.c:497 #: ../commands.c:491
#, c-format #, c-format
msgid "Couldn't write image '%s' to '%s'." msgid "Couldn't write image '%s' to '%s'."
msgstr "'%s' eki '%s' konumuna yazılamadı." msgstr "'%s' eki '%s' konumuna yazılamadı."
#: ../commands.c:504 #: ../commands.c:498
#, c-format #, c-format
msgid "Unknown image '%s'." msgid "Unknown image '%s'."
msgstr "Tanınmayan resim dosyası '%s'" msgstr "Tanınmayan resim dosyası '%s'"
#: ../commands.c:508 #: ../commands.c:502
#, c-format #, c-format
msgid "Unknown attachment or image '%s'." msgid "Unknown attachment or image '%s'."
msgstr "Tanınmayan eklenti veya resim dosyası '%s'" msgstr "Tanınmayan eklenti veya resim dosyası '%s'"
#: ../commands.c:559 #: ../commands.c:553
msgid "Argument must be a number." msgid "Argument must be a number."
msgstr "Argüman bir sayı olmalı." msgstr "Argüman bir sayı olmalı."
@ -148,326 +185,333 @@ msgid "Images"
msgstr "Resimler" msgstr "Resimler"
#. zathura settings #. zathura settings
#: ../config.c:147 #: ../config.c:131
msgid "Database backend" msgid "Database backend"
msgstr "Veritabanı arkayüzü" msgstr "Veritabanı arkayüzü"
#: ../config.c:149 #: ../config.c:133
msgid "Zoom step" msgid "Zoom step"
msgstr "Yakınlaşma/uzaklaşma aralığı" msgstr "Yakınlaşma/uzaklaşma aralığı"
#: ../config.c:151 #: ../config.c:135
msgid "Padding between pages" msgid "Padding between pages"
msgstr "Sayfalar arasındaki boşluk" msgstr "Sayfalar arasındaki boşluk"
#: ../config.c:153 #: ../config.c:137
msgid "Number of pages per row" msgid "Number of pages per row"
msgstr "Satır başına sayfa sayısı" msgstr "Satır başına sayfa sayısı"
#: ../config.c:155 #: ../config.c:139
msgid "Column of the first page" msgid "Column of the first page"
msgstr "İlk sayfanın sütunu" msgstr "İlk sayfanın sütunu"
#: ../config.c:157 #: ../config.c:141
msgid "Scroll step" msgid "Scroll step"
msgstr "Kaydırma aralığı" msgstr "Kaydırma aralığı"
#: ../config.c:159 #: ../config.c:143
msgid "Horizontal scroll step" msgid "Horizontal scroll step"
msgstr "Yatay kaydırma adımı" msgstr "Yatay kaydırma adımı"
#: ../config.c:161 #: ../config.c:145
msgid "Full page scroll overlap" msgid "Full page scroll overlap"
msgstr "Tam ekran kaydırma kaplaması" msgstr "Tam ekran kaydırma kaplaması"
#: ../config.c:163 #: ../config.c:147
msgid "Zoom minimum" msgid "Zoom minimum"
msgstr "En fazla uzaklaşma" msgstr "En fazla uzaklaşma"
#: ../config.c:165 #: ../config.c:149
msgid "Zoom maximum" msgid "Zoom maximum"
msgstr "En fazla yakınlaşma" msgstr "En fazla yakınlaşma"
#: ../config.c:167 #: ../config.c:151
msgid "Maximum number of pages to keep in the cache" msgid "Maximum number of pages to keep in the cache"
msgstr "" msgstr ""
#: ../config.c:169 #: ../config.c:153
msgid "Number of positions to remember in the jumplist" msgid "Number of positions to remember in the jumplist"
msgstr "Atlama listesinde hatırlanacak pozisyon sayısı" msgstr "Atlama listesinde hatırlanacak pozisyon sayısı"
#: ../config.c:171 #: ../config.c:155
msgid "Recoloring (dark color)" msgid "Recoloring (dark color)"
msgstr "Renk değişimi (koyu renk)" msgstr "Renk değişimi (koyu renk)"
#: ../config.c:173 #: ../config.c:156
msgid "Recoloring (light color)" msgid "Recoloring (light color)"
msgstr "Renk değişimi (açık renk)" msgstr "Renk değişimi (açık renk)"
#: ../config.c:175 #: ../config.c:157
msgid "Color for highlighting" msgid "Color for highlighting"
msgstr "İşaretleme rengi" msgstr "İşaretleme rengi"
#: ../config.c:177 #: ../config.c:159
msgid "Color for highlighting (active)" msgid "Color for highlighting (active)"
msgstr "İşaretleme rengi (etkin)" msgstr "İşaretleme rengi (etkin)"
#: ../config.c:179 #: ../config.c:161
msgid "'Loading ...' background color" msgid "'Loading ...' background color"
msgstr "" msgstr ""
#: ../config.c:181 #: ../config.c:163
msgid "'Loading ...' foreground color" msgid "'Loading ...' foreground color"
msgstr "" msgstr ""
#: ../config.c:185 #: ../config.c:167
msgid "Recolor pages" msgid "Recolor pages"
msgstr "Sayga rengini değiştir" msgstr "Sayga rengini değiştir"
#: ../config.c:187 #: ../config.c:169
msgid "When recoloring keep original hue and adjust lightness only" msgid "When recoloring keep original hue and adjust lightness only"
msgstr "Yeniden renklendirirken renk değerini tut ve sadece parlaklığı ayarla" msgstr "Yeniden renklendirirken renk değerini tut ve sadece parlaklığı ayarla"
#: ../config.c:189 #: ../config.c:171
msgid "Wrap scrolling" msgid "Wrap scrolling"
msgstr "Kaydırmayı sarmala" msgstr "Kaydırmayı sarmala"
#: ../config.c:191 #: ../config.c:173
msgid "Page aware scrolling" msgid "Page aware scrolling"
msgstr "" msgstr ""
#: ../config.c:193 #: ../config.c:175
msgid "Advance number of pages per row" msgid "Advance number of pages per row"
msgstr "Satır başına sayfa sayısı" msgstr "Satır başına sayfa sayısı"
#: ../config.c:195 #: ../config.c:177
msgid "Horizontally centered zoom" msgid "Horizontally centered zoom"
msgstr "Yatay olarak ortalanmış büyütme" msgstr "Yatay olarak ortalanmış büyütme"
#: ../config.c:197 #: ../config.c:179
msgid "Align link target to the left" msgid "Align link target to the left"
msgstr "" msgstr ""
#: ../config.c:199 #: ../config.c:181
msgid "Let zoom be changed when following links"
msgstr ""
#: ../config.c:183
msgid "Center result horizontally" msgid "Center result horizontally"
msgstr "" msgstr ""
#: ../config.c:201 #: ../config.c:185
msgid "Transparency for highlighting" msgid "Transparency for highlighting"
msgstr "Ön plana çıkarmak için saydamlaştır" msgstr "Ön plana çıkarmak için saydamlaştır"
#: ../config.c:203 #: ../config.c:187
msgid "Render 'Loading ...'" msgid "Render 'Loading ...'"
msgstr "'Yüklüyor ...' yazısını göster" msgstr "'Yüklüyor ...' yazısını göster"
#: ../config.c:204 #: ../config.c:188
msgid "Adjust to when opening file" msgid "Adjust to when opening file"
msgstr "Dosya açarken ayarla" msgstr "Dosya açarken ayarla"
#: ../config.c:206 #: ../config.c:190
msgid "Show hidden files and directories" msgid "Show hidden files and directories"
msgstr "Gizli dosyaları ve dizinleri göster" msgstr "Gizli dosyaları ve dizinleri göster"
#: ../config.c:208 #: ../config.c:192
msgid "Show directories" msgid "Show directories"
msgstr "Dizinleri göster" msgstr "Dizinleri göster"
#: ../config.c:210 #: ../config.c:194
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Her zaman ilk sayfayı aç" msgstr "Her zaman ilk sayfayı aç"
#: ../config.c:212 #: ../config.c:196
msgid "Highlight search results" msgid "Highlight search results"
msgstr "Arama sonuçlarını vurgula" msgstr "Arama sonuçlarını vurgula"
#: ../config.c:214 #: ../config.c:198
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "Artımlı aramayı etkinleştir" msgstr "Artımlı aramayı etkinleştir"
#: ../config.c:216 #: ../config.c:200
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "Kapatınca arama sonuçlarını temizle" msgstr "Kapatınca arama sonuçlarını temizle"
#: ../config.c:218 #: ../config.c:202
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "Pencere başlığı olarak dosyanın adını kullan" msgstr "Pencere başlığı olarak dosyanın adını kullan"
#: ../config.c:220 #: ../config.c:204
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../config.c:222 #: ../config.c:206
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../config.c:224 ../main.c:65 #: ../config.c:208 ../main.c:67
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../config.c:210
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../config.c:383 #: ../config.c:369
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Yer imi ekle" msgstr "Yer imi ekle"
#: ../config.c:384 #: ../config.c:370
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Yer imi sil" msgstr "Yer imi sil"
#: ../config.c:385 #: ../config.c:371
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Yer imlerini listele" msgstr "Yer imlerini listele"
#: ../config.c:386 #: ../config.c:372
msgid "Close current file" msgid "Close current file"
msgstr "Geçerli dosyayı kapat" msgstr "Geçerli dosyayı kapat"
#: ../config.c:387 #: ../config.c:373
msgid "Show file information" msgid "Show file information"
msgstr "Dosya bilgisi göster" msgstr "Dosya bilgisi göster"
#: ../config.c:388 #: ../config.c:374
msgid "Execute a command" msgid "Execute a command"
msgstr "Bir komut çalıştır" msgstr "Bir komut çalıştır"
#: ../config.c:389 #: ../config.c:375
msgid "Show help" msgid "Show help"
msgstr "Yardım bilgisi göster" msgstr "Yardım bilgisi göster"
#: ../config.c:390 #: ../config.c:376
msgid "Open document" msgid "Open document"
msgstr "Belge aç" msgstr "Belge aç"
#: ../config.c:391 #: ../config.c:377
msgid "Close zathura" msgid "Close zathura"
msgstr "Zathura'yı kapat" msgstr "Zathura'yı kapat"
#: ../config.c:392 #: ../config.c:378
msgid "Print document" msgid "Print document"
msgstr "Belge yazdır" msgstr "Belge yazdır"
#: ../config.c:393 #: ../config.c:379
msgid "Save document" msgid "Save document"
msgstr "Belgeyi kaydet" msgstr "Belgeyi kaydet"
#: ../config.c:394 #: ../config.c:380
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Belgeyi kaydet (ve sormadan üzerine yaz)" msgstr "Belgeyi kaydet (ve sormadan üzerine yaz)"
#: ../config.c:395 #: ../config.c:381
msgid "Save attachments" msgid "Save attachments"
msgstr "Ekleri kaydet" msgstr "Ekleri kaydet"
#: ../config.c:396 #: ../config.c:382
msgid "Set page offset" msgid "Set page offset"
msgstr "Sayfa derinliğini ayarla" msgstr "Sayfa derinliğini ayarla"
#: ../config.c:397 #: ../config.c:383
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "Bu belgede bu konumu işaretle" msgstr "Bu belgede bu konumu işaretle"
#: ../config.c:398 #: ../config.c:384
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "Seçilen işaretlemeleri sil" msgstr "Seçilen işaretlemeleri sil"
#: ../config.c:399 #: ../config.c:385
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "Şuanki arama sonuçlarını vurgulama" msgstr "Şuanki arama sonuçlarını vurgulama"
#: ../config.c:400 #: ../config.c:386
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "Şuanki arama sonuçlarını vurgula" msgstr "Şuanki arama sonuçlarını vurgula"
#: ../config.c:401 #: ../config.c:387
msgid "Show version information" msgid "Show version information"
msgstr "Versiyon bilgisi göster" msgstr "Versiyon bilgisi göster"
#: ../links.c:175 ../links.c:254 #: ../links.c:199 ../links.c:278
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "xdg-open çalıştırılamadı" msgstr "xdg-open çalıştırılamadı"
#: ../links.c:193 #: ../links.c:217
#, c-format #, c-format
msgid "Link: page %d" msgid "Link: page %d"
msgstr "" msgstr ""
#: ../links.c:200 #: ../links.c:224
#, c-format #, c-format
msgid "Link: %s" msgid "Link: %s"
msgstr "" msgstr ""
#: ../links.c:204 #: ../links.c:228
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../main.c:56 #: ../main.c:58
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid"
msgstr "Xid tarafından belirlendiği gibi bir üst seviye pencereye bağlı" msgstr "Xid tarafından belirlendiği gibi bir üst seviye pencereye bağlı"
#: ../main.c:57 #: ../main.c:59
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Ayar dizini adresi" msgstr "Ayar dizini adresi"
#: ../main.c:58 #: ../main.c:60
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Veri dizini adresi" msgstr "Veri dizini adresi"
#: ../main.c:59 #: ../main.c:61
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Eklentileri içeren dizinin adresi" msgstr "Eklentileri içeren dizinin adresi"
#: ../main.c:60 #: ../main.c:62
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Arka planda işlemden çocuk oluştur" msgstr "Arka planda işlemden çocuk oluştur"
#: ../main.c:61 #: ../main.c:63
msgid "Document password" msgid "Document password"
msgstr "Belge şifresi" msgstr "Belge şifresi"
#: ../main.c:62 #: ../main.c:64
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../main.c:63 #: ../main.c:65
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Kayıt seviyesi (hata ayıklama, bilgi, uyarı, hata)" msgstr "Kayıt seviyesi (hata ayıklama, bilgi, uyarı, hata)"
#: ../main.c:64 #: ../main.c:66
msgid "Print version information" msgid "Print version information"
msgstr "Dosya bilgisi göster" msgstr "Dosya bilgisi göster"
#: ../main.c:66 #: ../main.c:68
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../page-widget.c:474 #: ../page-widget.c:526
msgid "Loading..." msgid "Loading..."
msgstr "Yüklüyor ..." msgstr "Yüklüyor ..."
#: ../page-widget.c:678 #: ../page-widget.c:845
#, c-format
msgid "Copied selected text to clipboard: %s"
msgstr "Seçili metin panoya kopyalandı: %s"
#: ../page-widget.c:776
msgid "Copy image" msgid "Copy image"
msgstr "Resim kopyala" msgstr "Resim kopyala"
#: ../page-widget.c:777 #: ../page-widget.c:846
msgid "Save image as" msgid "Save image as"
msgstr "Resmi farklı kaydet" msgstr "Resmi farklı kaydet"
#: ../shortcuts.c:1154 #: ../shortcuts.c:1076
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Bu belge fihrist içermiyor" msgstr "Bu belge fihrist içermiyor"
#: ../zathura.c:227 ../zathura.c:975 #: ../zathura.c:213 ../zathura.c:959
msgid "[No name]" msgid "[No name]"
msgstr "[İsimsiz]" msgstr "[İsimsiz]"
#: ../zathura.c:584 #: ../zathura.c:486
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
#: ../zathura.c:535
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura.c:594 #: ../zathura.c:545
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

View file

@ -2,13 +2,13 @@
# See LICENSE file for license and copyright information # See LICENSE file for license and copyright information
# #
# Translators: # Translators:
# <sevenfourk@gmail.com>, 2012. # sevenfourk <sevenfourk@gmail.com>, 2012
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: zathura\n" "Project-Id-Version: zathura\n"
"Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n"
"POT-Creation-Date: 2013-08-15 00:28+0200\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n"
"PO-Revision-Date: 2013-08-15 00:36+0200\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n" "Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/projects/p/" "Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/projects/p/"
"zathura/language/uk_UA/)\n" "zathura/language/uk_UA/)\n"
@ -19,24 +19,29 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
#: ../callbacks.c:314 #: ../callbacks.c:297
#, c-format #, c-format
msgid "Invalid input '%s' given." msgid "Invalid input '%s' given."
msgstr "Вказано невірний аргумент: %s." msgstr "Вказано невірний аргумент: %s."
#: ../callbacks.c:350 #: ../callbacks.c:333
#, c-format #, c-format
msgid "Invalid index '%s' given." msgid "Invalid index '%s' given."
msgstr "Вказано невірний індекс: %s" msgstr "Вказано невірний індекс: %s"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:158 #: ../callbacks.c:546
#: ../commands.c:274 ../commands.c:304 ../commands.c:330 ../commands.c:425 #, c-format
#: ../commands.c:546 ../shortcuts.c:485 ../shortcuts.c:1251 msgid "Copied selected text to clipboard: %s"
#: ../shortcuts.c:1280 msgstr "Вибраний текст скопійовано до буферу: %s"
#: ../commands.c:36 ../commands.c:76 ../commands.c:103 ../commands.c:152
#: ../commands.c:268 ../commands.c:298 ../commands.c:324 ../commands.c:419
#: ../commands.c:540 ../shortcuts.c:403 ../shortcuts.c:1163
#: ../shortcuts.c:1192
msgid "No document opened." msgid "No document opened."
msgstr "Документ не відкрито." msgstr "Документ не відкрито."
#: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:430 #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424
msgid "Invalid number of arguments given." msgid "Invalid number of arguments given."
msgstr "Вказана невірна кількість аргументів." msgstr "Вказана невірна кількість аргументів."
@ -75,61 +80,93 @@ msgstr "Видалення закладки невдалося: %s"
msgid "No such bookmark: %s" msgid "No such bookmark: %s"
msgstr "Такої закладки немає: %s" msgstr "Такої закладки немає: %s"
#: ../commands.c:180 ../commands.c:202 #: ../commands.c:162
msgid "Title"
msgstr ""
#: ../commands.c:163
msgid "Author"
msgstr ""
#: ../commands.c:164
msgid "Subject"
msgstr ""
#: ../commands.c:165
msgid "Keywords"
msgstr ""
#: ../commands.c:166
msgid "Creator"
msgstr ""
#: ../commands.c:167
msgid "Producer"
msgstr ""
#: ../commands.c:168
msgid "Creation date"
msgstr ""
#: ../commands.c:169
msgid "Modification date"
msgstr ""
#: ../commands.c:174 ../commands.c:196
msgid "No information available." msgid "No information available."
msgstr "Інформація недоступна." msgstr "Інформація недоступна."
#: ../commands.c:240 #: ../commands.c:234
msgid "Too many arguments." msgid "Too many arguments."
msgstr "Забагато аргументів." msgstr "Забагато аргументів."
#: ../commands.c:251 #: ../commands.c:245
msgid "No arguments given." msgid "No arguments given."
msgstr "Жодного аргументу не вказано." msgstr "Жодного аргументу не вказано."
#: ../commands.c:310 ../commands.c:336 #: ../commands.c:304 ../commands.c:330
msgid "Document saved." msgid "Document saved."
msgstr "Документ збережено." msgstr "Документ збережено."
#: ../commands.c:312 ../commands.c:338 #: ../commands.c:306 ../commands.c:332
msgid "Failed to save document." msgid "Failed to save document."
msgstr "Документ не вдалося зберегти." msgstr "Документ не вдалося зберегти."
#: ../commands.c:315 ../commands.c:341 #: ../commands.c:309 ../commands.c:335
msgid "Invalid number of arguments." msgid "Invalid number of arguments."
msgstr "Невірна кількість аргументів." msgstr "Невірна кількість аргументів."
#: ../commands.c:449 #: ../commands.c:443
#, c-format #, c-format
msgid "Couldn't write attachment '%s' to '%s'." msgid "Couldn't write attachment '%s' to '%s'."
msgstr "Неможливо записати прикріплення '%s' до '%s'." msgstr "Неможливо записати прикріплення '%s' до '%s'."
#: ../commands.c:451 #: ../commands.c:445
#, c-format #, c-format
msgid "Wrote attachment '%s' to '%s'." msgid "Wrote attachment '%s' to '%s'."
msgstr "Прикріплення записано %s до %s." msgstr "Прикріплення записано %s до %s."
#: ../commands.c:495 #: ../commands.c:489
#, c-format #, c-format
msgid "Wrote image '%s' to '%s'." msgid "Wrote image '%s' to '%s'."
msgstr "" msgstr ""
#: ../commands.c:497 #: ../commands.c:491
#, c-format #, c-format
msgid "Couldn't write image '%s' to '%s'." msgid "Couldn't write image '%s' to '%s'."
msgstr "" msgstr ""
#: ../commands.c:504 #: ../commands.c:498
#, c-format #, c-format
msgid "Unknown image '%s'." msgid "Unknown image '%s'."
msgstr "" msgstr ""
#: ../commands.c:508 #: ../commands.c:502
#, c-format #, c-format
msgid "Unknown attachment or image '%s'." msgid "Unknown attachment or image '%s'."
msgstr "" msgstr ""
#: ../commands.c:559 #: ../commands.c:553
msgid "Argument must be a number." msgid "Argument must be a number."
msgstr "Аргумент повинен бути цифрою." msgstr "Аргумент повинен бути цифрою."
@ -148,326 +185,333 @@ msgid "Images"
msgstr "" msgstr ""
#. zathura settings #. zathura settings
#: ../config.c:147 #: ../config.c:131
msgid "Database backend" msgid "Database backend"
msgstr "Буфер бази" msgstr "Буфер бази"
#: ../config.c:149 #: ../config.c:133
msgid "Zoom step" msgid "Zoom step"
msgstr "Збільшення" msgstr "Збільшення"
#: ../config.c:151 #: ../config.c:135
msgid "Padding between pages" msgid "Padding between pages"
msgstr "Заповнення між сторінками" msgstr "Заповнення між сторінками"
#: ../config.c:153 #: ../config.c:137
msgid "Number of pages per row" msgid "Number of pages per row"
msgstr "Кількість сторінок в одному рядку" msgstr "Кількість сторінок в одному рядку"
#: ../config.c:155 #: ../config.c:139
msgid "Column of the first page" msgid "Column of the first page"
msgstr "" msgstr ""
#: ../config.c:157 #: ../config.c:141
msgid "Scroll step" msgid "Scroll step"
msgstr "Прокручування" msgstr "Прокручування"
#: ../config.c:159 #: ../config.c:143
msgid "Horizontal scroll step" msgid "Horizontal scroll step"
msgstr "" msgstr ""
#: ../config.c:161 #: ../config.c:145
msgid "Full page scroll overlap" msgid "Full page scroll overlap"
msgstr "" msgstr ""
#: ../config.c:163 #: ../config.c:147
msgid "Zoom minimum" msgid "Zoom minimum"
msgstr "Максимальне зменшення" msgstr "Максимальне зменшення"
#: ../config.c:165 #: ../config.c:149
msgid "Zoom maximum" msgid "Zoom maximum"
msgstr "Максимальне збільшення" msgstr "Максимальне збільшення"
#: ../config.c:167 #: ../config.c:151
msgid "Maximum number of pages to keep in the cache" msgid "Maximum number of pages to keep in the cache"
msgstr "" msgstr ""
#: ../config.c:169 #: ../config.c:153
msgid "Number of positions to remember in the jumplist" msgid "Number of positions to remember in the jumplist"
msgstr "" msgstr ""
#: ../config.c:171 #: ../config.c:155
msgid "Recoloring (dark color)" msgid "Recoloring (dark color)"
msgstr "Перефарбування (темний колір)" msgstr "Перефарбування (темний колір)"
#: ../config.c:173 #: ../config.c:156
msgid "Recoloring (light color)" msgid "Recoloring (light color)"
msgstr "Перефарбування (світлий колір)" msgstr "Перефарбування (світлий колір)"
#: ../config.c:175 #: ../config.c:157
msgid "Color for highlighting" msgid "Color for highlighting"
msgstr "Колір для виділення" msgstr "Колір для виділення"
#: ../config.c:177 #: ../config.c:159
msgid "Color for highlighting (active)" msgid "Color for highlighting (active)"
msgstr "Колір для виділення (активний)" msgstr "Колір для виділення (активний)"
#: ../config.c:179 #: ../config.c:161
msgid "'Loading ...' background color" msgid "'Loading ...' background color"
msgstr "" msgstr ""
#: ../config.c:181 #: ../config.c:163
msgid "'Loading ...' foreground color" msgid "'Loading ...' foreground color"
msgstr "" msgstr ""
#: ../config.c:185 #: ../config.c:167
msgid "Recolor pages" msgid "Recolor pages"
msgstr "Змінити кольори" msgstr "Змінити кольори"
#: ../config.c:187 #: ../config.c:169
msgid "When recoloring keep original hue and adjust lightness only" msgid "When recoloring keep original hue and adjust lightness only"
msgstr "" msgstr ""
#: ../config.c:189 #: ../config.c:171
msgid "Wrap scrolling" msgid "Wrap scrolling"
msgstr "Плавне прокручування" msgstr "Плавне прокручування"
#: ../config.c:191 #: ../config.c:173
msgid "Page aware scrolling" msgid "Page aware scrolling"
msgstr "" msgstr ""
#: ../config.c:193 #: ../config.c:175
msgid "Advance number of pages per row" msgid "Advance number of pages per row"
msgstr "" msgstr ""
#: ../config.c:195 #: ../config.c:177
msgid "Horizontally centered zoom" msgid "Horizontally centered zoom"
msgstr "" msgstr ""
#: ../config.c:197 #: ../config.c:179
msgid "Align link target to the left" msgid "Align link target to the left"
msgstr "" msgstr ""
#: ../config.c:199 #: ../config.c:181
msgid "Let zoom be changed when following links"
msgstr ""
#: ../config.c:183
msgid "Center result horizontally" msgid "Center result horizontally"
msgstr "" msgstr ""
#: ../config.c:201 #: ../config.c:185
msgid "Transparency for highlighting" msgid "Transparency for highlighting"
msgstr "Прозорість для виділення" msgstr "Прозорість для виділення"
#: ../config.c:203 #: ../config.c:187
msgid "Render 'Loading ...'" msgid "Render 'Loading ...'"
msgstr "Рендер 'Завантажується ...'" msgstr "Рендер 'Завантажується ...'"
#: ../config.c:204 #: ../config.c:188
msgid "Adjust to when opening file" msgid "Adjust to when opening file"
msgstr "Підлаштовутись при відкритті файлу" msgstr "Підлаштовутись при відкритті файлу"
#: ../config.c:206 #: ../config.c:190
msgid "Show hidden files and directories" msgid "Show hidden files and directories"
msgstr "Показати приховані файли та директорії" msgstr "Показати приховані файли та директорії"
#: ../config.c:208 #: ../config.c:192
msgid "Show directories" msgid "Show directories"
msgstr "Показати диреторії" msgstr "Показати диреторії"
#: ../config.c:210 #: ../config.c:194
msgid "Always open on first page" msgid "Always open on first page"
msgstr "Завжди відкривати на першій сторінці" msgstr "Завжди відкривати на першій сторінці"
#: ../config.c:212 #: ../config.c:196
msgid "Highlight search results" msgid "Highlight search results"
msgstr "" msgstr ""
#: ../config.c:214 #: ../config.c:198
msgid "Enable incremental search" msgid "Enable incremental search"
msgstr "" msgstr ""
#: ../config.c:216 #: ../config.c:200
msgid "Clear search results on abort" msgid "Clear search results on abort"
msgstr "" msgstr ""
#: ../config.c:218 #: ../config.c:202
msgid "Use basename of the file in the window title" msgid "Use basename of the file in the window title"
msgstr "" msgstr ""
#: ../config.c:220 #: ../config.c:204
msgid "Display the page number in the window title" msgid "Display the page number in the window title"
msgstr "" msgstr ""
#: ../config.c:222 #: ../config.c:206
msgid "Use basename of the file in the statusbar" msgid "Use basename of the file in the statusbar"
msgstr "" msgstr ""
#: ../config.c:224 ../main.c:65 #: ../config.c:208 ../main.c:67
msgid "Enable synctex support" msgid "Enable synctex support"
msgstr "" msgstr ""
#: ../config.c:210
msgid "The clipboard into which mouse-selected data will be written"
msgstr ""
#. define default inputbar commands #. define default inputbar commands
#: ../config.c:383 #: ../config.c:369
msgid "Add a bookmark" msgid "Add a bookmark"
msgstr "Додати закладку" msgstr "Додати закладку"
#: ../config.c:384 #: ../config.c:370
msgid "Delete a bookmark" msgid "Delete a bookmark"
msgstr "Вилучити закладку" msgstr "Вилучити закладку"
#: ../config.c:385 #: ../config.c:371
msgid "List all bookmarks" msgid "List all bookmarks"
msgstr "Дивитись усі закладки" msgstr "Дивитись усі закладки"
#: ../config.c:386 #: ../config.c:372
msgid "Close current file" msgid "Close current file"
msgstr "Закрити документ" msgstr "Закрити документ"
#: ../config.c:387 #: ../config.c:373
msgid "Show file information" msgid "Show file information"
msgstr "Показати інформацію файлу" msgstr "Показати інформацію файлу"
#: ../config.c:388 #: ../config.c:374
msgid "Execute a command" msgid "Execute a command"
msgstr "" msgstr ""
#: ../config.c:389 #: ../config.c:375
msgid "Show help" msgid "Show help"
msgstr "Показати довідку" msgstr "Показати довідку"
#: ../config.c:390 #: ../config.c:376
msgid "Open document" msgid "Open document"
msgstr "Відкрити документ" msgstr "Відкрити документ"
#: ../config.c:391 #: ../config.c:377
msgid "Close zathura" msgid "Close zathura"
msgstr "Вийти із zathura" msgstr "Вийти із zathura"
#: ../config.c:392 #: ../config.c:378
msgid "Print document" msgid "Print document"
msgstr "Друкувати документ" msgstr "Друкувати документ"
#: ../config.c:393 #: ../config.c:379
msgid "Save document" msgid "Save document"
msgstr "Зберегти документ" msgstr "Зберегти документ"
#: ../config.c:394 #: ../config.c:380
msgid "Save document (and force overwriting)" msgid "Save document (and force overwriting)"
msgstr "Зберегти документ (форсувати перезапис)" msgstr "Зберегти документ (форсувати перезапис)"
#: ../config.c:395 #: ../config.c:381
msgid "Save attachments" msgid "Save attachments"
msgstr "Зберегти прикріплення" msgstr "Зберегти прикріплення"
#: ../config.c:396 #: ../config.c:382
msgid "Set page offset" msgid "Set page offset"
msgstr "Встановити зміщення сторінки" msgstr "Встановити зміщення сторінки"
#: ../config.c:397 #: ../config.c:383
msgid "Mark current location within the document" msgid "Mark current location within the document"
msgstr "" msgstr ""
#: ../config.c:398 #: ../config.c:384
msgid "Delete the specified marks" msgid "Delete the specified marks"
msgstr "" msgstr ""
#: ../config.c:399 #: ../config.c:385
msgid "Don't highlight current search results" msgid "Don't highlight current search results"
msgstr "" msgstr ""
#: ../config.c:400 #: ../config.c:386
msgid "Highlight current search results" msgid "Highlight current search results"
msgstr "" msgstr ""
#: ../config.c:401 #: ../config.c:387
msgid "Show version information" msgid "Show version information"
msgstr "" msgstr ""
#: ../links.c:175 ../links.c:254 #: ../links.c:199 ../links.c:278
msgid "Failed to run xdg-open." msgid "Failed to run xdg-open."
msgstr "Запуск xdg-open не вдався." msgstr "Запуск xdg-open не вдався."
#: ../links.c:193 #: ../links.c:217
#, c-format #, c-format
msgid "Link: page %d" msgid "Link: page %d"
msgstr "" msgstr ""
#: ../links.c:200 #: ../links.c:224
#, c-format #, c-format
msgid "Link: %s" msgid "Link: %s"
msgstr "" msgstr ""
#: ../links.c:204 #: ../links.c:228
msgid "Link: Invalid" msgid "Link: Invalid"
msgstr "" msgstr ""
#: ../main.c:56 #: ../main.c:58
msgid "Reparents to window specified by xid" msgid "Reparents to window specified by xid"
msgstr "Вертатися до вікна, вказаного xid" msgstr "Вертатися до вікна, вказаного xid"
#: ../main.c:57 #: ../main.c:59
msgid "Path to the config directory" msgid "Path to the config directory"
msgstr "Шлях до теки конфігурації" msgstr "Шлях до теки конфігурації"
#: ../main.c:58 #: ../main.c:60
msgid "Path to the data directory" msgid "Path to the data directory"
msgstr "Шлях до теки з даними" msgstr "Шлях до теки з даними"
#: ../main.c:59 #: ../main.c:61
msgid "Path to the directories containing plugins" msgid "Path to the directories containing plugins"
msgstr "Шлях до теки з плаґінами" msgstr "Шлях до теки з плаґінами"
#: ../main.c:60 #: ../main.c:62
msgid "Fork into the background" msgid "Fork into the background"
msgstr "Працювати у фоні" msgstr "Працювати у фоні"
#: ../main.c:61 #: ../main.c:63
msgid "Document password" msgid "Document password"
msgstr "" msgstr ""
#: ../main.c:62 #: ../main.c:64
msgid "Page number to go to" msgid "Page number to go to"
msgstr "" msgstr ""
#: ../main.c:63 #: ../main.c:65
msgid "Log level (debug, info, warning, error)" msgid "Log level (debug, info, warning, error)"
msgstr "Рівень логування (налагодження, інфо, застереження, помилка)" msgstr "Рівень логування (налагодження, інфо, застереження, помилка)"
#: ../main.c:64 #: ../main.c:66
msgid "Print version information" msgid "Print version information"
msgstr "Показати інформацію файлу" msgstr "Показати інформацію файлу"
#: ../main.c:66 #: ../main.c:68
msgid "Synctex editor (forwarded to the synctex command)" msgid "Synctex editor (forwarded to the synctex command)"
msgstr "" msgstr ""
#: ../page-widget.c:474 #: ../page-widget.c:526
msgid "Loading..." msgid "Loading..."
msgstr "" msgstr ""
#: ../page-widget.c:678 #: ../page-widget.c:845
#, c-format
msgid "Copied selected text to clipboard: %s"
msgstr "Вибраний текст скопійовано до буферу: %s"
#: ../page-widget.c:776
msgid "Copy image" msgid "Copy image"
msgstr "Копіювати картинку" msgstr "Копіювати картинку"
#: ../page-widget.c:777 #: ../page-widget.c:846
msgid "Save image as" msgid "Save image as"
msgstr "" msgstr ""
#: ../shortcuts.c:1154 #: ../shortcuts.c:1076
msgid "This document does not contain any index" msgid "This document does not contain any index"
msgstr "Індекс відсутній в цьому документі" msgstr "Індекс відсутній в цьому документі"
#: ../zathura.c:227 ../zathura.c:975 #: ../zathura.c:213 ../zathura.c:959
msgid "[No name]" msgid "[No name]"
msgstr "[Без назви]" msgstr "[Без назви]"
#: ../zathura.c:584 #: ../zathura.c:486
msgid "Could not read file from stdin and write it to a temporary file."
msgstr ""
#: ../zathura.c:535
msgid "Unsupported file type. Please install the necessary plugin." msgid "Unsupported file type. Please install the necessary plugin."
msgstr "" msgstr ""
#: ../zathura.c:594 #: ../zathura.c:545
msgid "Document does not contain any pages" msgid "Document does not contain any pages"
msgstr "" msgstr ""

15
print.c
View file

@ -109,9 +109,9 @@ cb_print_draw_page(GtkPrintOperation* print_operation, GtkPrintContext*
/* Try to render the page without a temporary surface. This only works with /* Try to render the page without a temporary surface. This only works with
* plugins that support rendering to any surface. */ * plugins that support rendering to any surface. */
girara_debug("printing page %d ...", page_number); girara_debug("printing page %d ...", page_number);
render_lock(zathura->sync.render_thread); zathura_renderer_lock(zathura->sync.render_thread);
int err = zathura_page_render(page, cairo, true); int err = zathura_page_render(page, cairo, true);
render_unlock(zathura->sync.render_thread); zathura_renderer_unlock(zathura->sync.render_thread);
if (err == ZATHURA_ERROR_OK) { if (err == ZATHURA_ERROR_OK) {
return; return;
} }
@ -120,8 +120,9 @@ cb_print_draw_page(GtkPrintOperation* print_operation, GtkPrintContext*
const gdouble width = gtk_print_context_get_width(context); const gdouble width = gtk_print_context_get_width(context);
const gdouble height = gtk_print_context_get_height(context); const gdouble height = gtk_print_context_get_height(context);
const double page_height = zathura_page_get_height(page); /* Render to a surface that is 5 times larger to workaround quality issues. */
const double page_width = zathura_page_get_width(page); const double page_height = zathura_page_get_height(page) * 5;
const double page_width = zathura_page_get_width(page) * 5;
cairo_surface_t* surface = cairo_image_surface_create(CAIRO_FORMAT_RGB24, page_width, page_height); cairo_surface_t* surface = cairo_image_surface_create(CAIRO_FORMAT_RGB24, page_width, page_height);
if (surface == NULL) { if (surface == NULL) {
gtk_print_operation_cancel(print_operation); gtk_print_operation_cancel(print_operation);
@ -143,10 +144,10 @@ cb_print_draw_page(GtkPrintOperation* print_operation, GtkPrintContext*
cairo_restore(temp_cairo); cairo_restore(temp_cairo);
/* Render the page to the temporary surface */ /* Render the page to the temporary surface */
girara_debug("printing page %d ...", page_number); girara_debug("printing page %d (fallback) ...", page_number);
render_lock(zathura->sync.render_thread); zathura_renderer_lock(zathura->sync.render_thread);
err = zathura_page_render(page, temp_cairo, true); err = zathura_page_render(page, temp_cairo, true);
render_unlock(zathura->sync.render_thread); zathura_renderer_unlock(zathura->sync.render_thread);
if (err != ZATHURA_ERROR_OK) { if (err != ZATHURA_ERROR_OK) {
cairo_destroy(temp_cairo); cairo_destroy(temp_cairo);
cairo_surface_destroy(surface); cairo_surface_destroy(surface);

913
render.c

File diff suppressed because it is too large Load diff

204
render.h
View file

@ -5,35 +5,194 @@
#include <stdbool.h> #include <stdbool.h>
#include <stdlib.h> #include <stdlib.h>
#include <glib-object.h>
#include <gdk/gdk.h>
#include <girara/types.h> #include <girara/types.h>
#include "types.h"
#include "zathura.h" typedef struct zathura_renderer_class_s ZathuraRendererClass;
#include "callbacks.h"
struct zathura_renderer_s
{
GObject parent;
};
struct zathura_renderer_class_s
{
GObjectClass parent_class;
};
#define ZATHURA_TYPE_RENDERER \
(zathura_renderer_get_type())
#define ZATHURA_RENDERER(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj), ZATHURA_TYPE_RENDERER, ZathuraRenderer))
#define ZATHURA_RENDERER_CLASS(obj) \
(G_TYPE_CHECK_CLASS_CAST((obj), ZATHURA_TYPE_RENDERER, ZathuraRendererClass))
#define ZATHURA_IS_RENDERER(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj), ZATHURA_TYPE_RENDERER))
#define ZATHURA_IS_RENDERER_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((obj), ZATHURA_TYPE_RENDERER))
#define ZATHURA_RENDERER_GET_CLASS \
(G_TYPE_INSTANCE_GET_CLASS((obj), ZATHURA_TYPE_RENDERER, ZathuraRendererClass))
/** /**
* This function initializes a render thread * Returns the type of the renderer.
* * @return the type
* @param zathura object
* @return The render thread object or NULL if an error occured
*/ */
render_thread_t* render_init(zathura_t* zathura); GType zathura_renderer_get_type(void);
/**
* Create a renderer.
* @return a renderer object
*/
ZathuraRenderer* zathura_renderer_new(size_t cache_size);
/** /**
* This function destroys the render thread object * Return whether recoloring is enabled.
* * @param renderer a renderer object
* @param render_thread The render thread object * @returns true if recoloring is enabled, false otherwise
*/ */
void render_free(render_thread_t* render_thread); bool zathura_renderer_recolor_enabled(ZathuraRenderer* renderer);
/**
* Enable/disable recoloring.
* @param renderer a renderer object
* @param enable wheter to enable or disable recoloring
*/
void zathura_renderer_enable_recolor(ZathuraRenderer* renderer, bool enable);
/**
* Return whether hue should be preserved while recoloring.
* @param renderer a renderer object
* @returns true if hue should be preserved, false otherwise
*/
bool zathura_renderer_recolor_hue_enabled(ZathuraRenderer* renderer);
/**
* Enable/disable preservation of hue while recoloring.
* @param renderer a renderer object
* @param enable wheter to enable or disable hue preservation
*/
void zathura_renderer_enable_recolor_hue(ZathuraRenderer* renderer,
bool enable);
/**
* Set light and dark colors for recoloring.
* @param renderer a renderer object
* @param light light color
* @param dark dark color
*/
void zathura_renderer_set_recolor_colors(ZathuraRenderer* renderer,
const GdkColor* light, const GdkColor* dark);
/**
* Set light and dark colors for recoloring.
* @param renderer a renderer object
* @param light light color
* @param dark dark color
*/
void zathura_renderer_set_recolor_colors_str(ZathuraRenderer* renderer,
const char* light, const char* dark);
/**
* Get light and dark colors for recoloring.
* @param renderer a renderer object
* @param light light color
* @param dark dark color
*/
void zathura_renderer_get_recolor_colors(ZathuraRenderer* renderer,
GdkColor* light, GdkColor* dark);
/**
* Stop rendering.
* @param renderer a render object
*/
void zathura_renderer_stop(ZathuraRenderer* renderer);
/**
* Lock the render thread. This is useful if you want to render on your own (e.g
* for printing).
*
* @param renderer renderer object
*/
void zathura_renderer_lock(ZathuraRenderer* renderer);
/**
* Unlock the render thread.
*
* @param renderer renderer object.
*/
void zathura_renderer_unlock(ZathuraRenderer* renderer);
/**
* Add a page to the page cache.
*
* @param renderer renderer object.
* @param page_index The index of the page to be cached.
*/
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
{
GObject parent;
};
struct zathura_render_request_class_s
{
GObjectClass parent_class;
};
#define ZATHURA_TYPE_RENDER_REQUEST \
(zathura_render_request_get_type())
#define ZATHURA_RENDER_REQUEST(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj), ZATHURA_TYPE_RENDER_REQUEST, \
ZathuraRenderRequest))
#define ZATHURA_RENDER_REQUEST_CLASS(obj) \
(G_TYPE_CHECK_CLASS_CAST((obj), ZATHURA_TYPE_RENDER_REQUEST, \
ZathuraRenderRequestClass))
#define ZATHURA_IS_RENDER_REQUEST(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj), ZATHURA_TYPE_RENDER_REQUEST))
#define ZATHURA_IS_RENDER_REQUEST_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((obj), ZATHURA_TYPE_RENDER_REQUEST))
#define ZATHURA_RENDER_REQUEST_GET_CLASS \
(G_TYPE_INSTANCE_GET_CLASS((obj), ZATHURA_TYPE_RENDER_REQUEST, \
ZathuraRenderRequestClass))
/**
* Returns the type of the render request.
* @return the type
*/
GType zathura_page_render_info_get_type(void);
/**
* Create a render request object
* @param renderer a renderer object
* @param page the page to be displayed
* @returns render request object
*/
ZathuraRenderRequest* zathura_render_request_new(ZathuraRenderer* renderer,
zathura_page_t* page);
/** /**
* This function is used to add a page to the render thread list * This function is used to add a page to the render thread list
* that should be rendered. * that should be rendered.
* *
* @param render_thread The render thread object * @param request request object of the page that should be renderer
* @param page The page that should be rendered * @param last_view_time last view time of the page
* @return true if no error occured
*/ */
bool render_page(render_thread_t* render_thread, zathura_page_t* page); void zathura_render_request(ZathuraRenderRequest* request,
gint64 last_view_time);
/**
* Abort an existing render request.
*
* @param reqeust request that should be aborted
*/
void zathura_render_request_abort(ZathuraRenderRequest* request);
/**
* Update the time the page associated to the render request has been viewed the
* last time.
*
* @param request request that should be updated
*/
void zathura_render_request_update_view_time(ZathuraRenderRequest* request);
/** /**
* This function is used to unmark all pages as not rendered. This should * This function is used to unmark all pages as not rendered. This should
@ -44,19 +203,4 @@ bool render_page(render_thread_t* render_thread, zathura_page_t* page);
*/ */
void render_all(zathura_t* zathura); void render_all(zathura_t* zathura);
/**
* Lock the render thread. This is useful if you want to render on your own (e.g
* for printing).
*
* @param render_thread The render thread object.
*/
void render_lock(render_thread_t* render_thread);
/**
* Unlock the render thread.
*
* @param render_thread The render thread object.
*/
void render_unlock(render_thread_t* render_thread);
#endif // RENDER_H #endif // RENDER_H

View file

@ -102,97 +102,8 @@ sc_adjust_window(girara_session_t* session, girara_argument_t* argument,
zathura_t* zathura = session->global.data; zathura_t* zathura = session->global.data;
g_return_val_if_fail(argument != NULL, false); g_return_val_if_fail(argument != NULL, false);
unsigned int pages_per_row = 1;
girara_setting_get(session, "pages-per-row", &pages_per_row);
unsigned int first_page_column = 1;
girara_setting_get(session, "first-page-column", &first_page_column);
int padding = 1;
girara_setting_get(zathura->ui.session, "page-padding", &padding);
if (zathura->ui.page_widget == NULL || zathura->document == NULL) {
goto error_ret;
}
zathura_document_set_adjust_mode(zathura->document, argument->n); zathura_document_set_adjust_mode(zathura->document, argument->n);
if (argument->n == ZATHURA_ADJUST_NONE) { adjust_view(zathura);
/* there is nothing todo */
goto error_ret;
}
/* get window size */
GtkAllocation allocation;
gtk_widget_get_allocation(session->gtk.view, &allocation);
unsigned int width = allocation.width;
unsigned int height = allocation.height;
/* scrollbar spacing */
gint spacing;
gtk_widget_style_get(session->gtk.view, "scrollbar_spacing", &spacing, NULL);
width -= spacing;
/* correct view size */
if (gtk_widget_get_visible(GTK_WIDGET(session->gtk.inputbar)) == true) {
gtk_widget_get_allocation(session->gtk.inputbar, &allocation);
height += allocation.height;
}
double scale = 1.0;
unsigned int cell_height = 0, cell_width = 0;
unsigned int document_height = 0, document_width = 0;
zathura_document_set_scale(zathura->document, scale);
zathura_document_get_cell_size(zathura->document, &cell_height, &cell_width);
zathura_get_document_size(zathura, cell_height, cell_width,
&document_height, &document_width);
double page_ratio = (double)cell_height / (double)document_width;
double window_ratio = (double)height / (double)width;
if (argument->n == ZATHURA_ADJUST_WIDTH ||
(argument->n == ZATHURA_ADJUST_BESTFIT && page_ratio < window_ratio)) {
scale = (double)(width - (pages_per_row - 1) * padding) /
(double)(pages_per_row * cell_width);
zathura_document_set_scale(zathura->document, scale);
bool show_vscrollbar = false;
girara_setting_get(session, "show-v-scrollbar", &show_vscrollbar);
if (show_vscrollbar) {
/* If the document is taller than the view, there's a vertical
* scrollbar; we need to substract its width from the view's width. */
zathura_get_document_size(zathura, cell_height, cell_width,
&document_height, &document_width);
if (height < document_height) {
GtkWidget* vscrollbar = gtk_scrolled_window_get_vscrollbar(
GTK_SCROLLED_WINDOW(session->gtk.view));
if (vscrollbar != NULL) {
GtkRequisition requisition;
gtk_widget_get_requisition(vscrollbar, &requisition);
if (0 < requisition.width && (unsigned)requisition.width < width) {
width -= requisition.width;
scale = (double)(width - (pages_per_row - 1) * padding) /
(double)(pages_per_row * cell_width);
zathura_document_set_scale(zathura->document, scale);
}
}
}
}
}
else if (argument->n == ZATHURA_ADJUST_BESTFIT) {
scale = (double)height / (double)cell_height;
zathura_document_set_scale(zathura->document, scale);
}
else {
goto error_ret;
}
/* re-render all pages */
render_all(zathura);
error_ret:
return false; return false;
} }
@ -274,16 +185,24 @@ sc_focus_inputbar(girara_session_t* session, girara_argument_t* argument, girara
g_free(tmp); g_free(tmp);
} }
GdkAtom* selection = get_selection(zathura);
/* we save the X clipboard that will be clear by "grab_focus" */ /* we save the X clipboard that will be clear by "grab_focus" */
gchar* x_clipboard_text = gtk_clipboard_wait_for_text(gtk_clipboard_get(GDK_SELECTION_PRIMARY)); gchar* x_clipboard_text = NULL;
if (selection != NULL) {
x_clipboard_text = gtk_clipboard_wait_for_text(gtk_clipboard_get(*selection));
}
gtk_editable_set_position(GTK_EDITABLE(session->gtk.inputbar_entry), -1); gtk_editable_set_position(GTK_EDITABLE(session->gtk.inputbar_entry), -1);
if (x_clipboard_text != NULL) { if (x_clipboard_text != NULL && selection != NULL) {
/* we reset the X clipboard with saved text */ /* we reset the X clipboard with saved text */
gtk_clipboard_set_text(gtk_clipboard_get(GDK_SELECTION_PRIMARY), x_clipboard_text, -1); gtk_clipboard_set_text(gtk_clipboard_get(*selection), x_clipboard_text, -1);
g_free(x_clipboard_text); g_free(x_clipboard_text);
} }
g_free(selection);
} }
return true; return true;
@ -386,7 +305,6 @@ sc_mouse_scroll(girara_session_t* session, girara_argument_t* argument, girara_e
gtk_adjustment_get_value(x_adj) - (event->x - x)); gtk_adjustment_get_value(x_adj) - (event->x - x));
zathura_adjustment_set_value(y_adj, zathura_adjustment_set_value(y_adj,
gtk_adjustment_get_value(y_adj) - (event->y - y)); gtk_adjustment_get_value(y_adj) - (event->y - y));
zathura->global.update_page_number = true;
break; break;
/* unhandled events */ /* unhandled events */
@ -556,7 +474,7 @@ sc_rotate(girara_session_t* session, girara_argument_t* argument,
/* render all pages again */ /* render all pages again */
render_all(zathura); render_all(zathura);
page_set_delayed(zathura, page_number); page_set(zathura, page_number);
return false; return false;
} }
@ -577,18 +495,14 @@ sc_scroll(girara_session_t* session, girara_argument_t* argument,
t = 1; t = 1;
} }
GtkAdjustment* adjustment = NULL; unsigned int view_width=0, view_height=0;
if ( (argument->n == LEFT) || (argument->n == FULL_LEFT) || (argument->n == HALF_LEFT) || zathura_document_get_viewport_size(zathura->document, &view_height, &view_width);
(argument->n == RIGHT) || (argument->n == FULL_RIGHT) || (argument->n == HALF_RIGHT)) {
adjustment = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(session->gtk.view));
} else {
adjustment = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(session->gtk.view));
}
gdouble view_size = gtk_adjustment_get_page_size(adjustment); unsigned int cell_width=0, cell_height=0;
gdouble value = gtk_adjustment_get_value(adjustment); zathura_document_get_cell_size(zathura->document, &cell_height, &cell_width);
gdouble max = gtk_adjustment_get_upper(adjustment) - view_size;
zathura->global.update_page_number = true; unsigned int doc_width=0, doc_height=0;
zathura_document_get_document_size(zathura->document, &doc_height, &doc_width);
float scroll_step = 40; float scroll_step = 40;
girara_setting_get(session, "scroll-step", &scroll_step); girara_setting_get(session, "scroll-step", &scroll_step);
@ -608,108 +522,111 @@ sc_scroll(girara_session_t* session, girara_argument_t* argument,
int padding = 1; int padding = 1;
girara_setting_get(session, "page-padding", &padding); girara_setting_get(session, "page-padding", &padding);
gdouble new_value; double pos_x = zathura_document_get_position_x(zathura->document);
double pos_y = zathura_document_get_position_y(zathura->document);
double page_id = zathura_document_get_current_page_number(zathura->document);
double direction = 1.0;
/* if TOP or BOTTOM, go there and we are done */
if (argument->n == TOP) {
position_set(zathura, -1, 0);
return false;
} else if (argument->n == BOTTOM) {
position_set(zathura, -1, 1.0);
return false;
}
/* compute the direction of scrolling */
if ( (argument->n == LEFT) || (argument->n == FULL_LEFT) || (argument->n == HALF_LEFT) ||
(argument->n == UP) || (argument->n == FULL_UP) || (argument->n == HALF_UP)) {
direction = -1.0;
} else {
direction = 1.0;
}
double vstep = (double)(cell_height + padding) / (double)doc_height;
double hstep = (double)(cell_width + padding) / (double)doc_width;
/* compute new position */
switch(argument->n) { switch(argument->n) {
case FULL_UP: case FULL_UP:
case FULL_LEFT:
new_value = value - (1.0 - scroll_full_overlap) * view_size - padding;
break;
case FULL_DOWN: case FULL_DOWN:
pos_y += direction * (1.0 - scroll_full_overlap) * vstep;
break;
case FULL_LEFT:
case FULL_RIGHT: case FULL_RIGHT:
new_value = value + (1.0 - scroll_full_overlap) * view_size + padding; pos_x += direction * (1.0 - scroll_full_overlap) * hstep;
break; break;
case HALF_UP: case HALF_UP:
case HALF_LEFT:
new_value = value - ((view_size + padding) / 2);
break;
case HALF_DOWN: case HALF_DOWN:
pos_y += direction * 0.5 * vstep;
break;
case HALF_LEFT:
case HALF_RIGHT: case HALF_RIGHT:
new_value = value + ((view_size + padding) / 2); pos_x += direction * 0.5 * hstep;
break;
case LEFT:
new_value = value - scroll_hstep * t;
break; break;
case UP: case UP:
new_value = value - scroll_step * t;
break;
case RIGHT:
new_value = value + scroll_hstep * t;
break;
case DOWN: case DOWN:
new_value = value + scroll_step * t; pos_y += direction * t * scroll_step / (double)doc_height;
break; break;
case TOP:
new_value = 0; case LEFT:
case RIGHT:
pos_x += direction * t * scroll_hstep / (double)doc_width;
break; break;
case BOTTOM:
new_value = max;
break;
default:
new_value = value;
} }
if (scroll_wrap == true) { /* handle boundaries */
if (new_value < 0) double end_x = 0.5 * (double)view_width / (double)doc_width;
new_value = max; double end_y = 0.5 * (double)view_height / (double)doc_height;
else if (new_value > max)
new_value = 0; double new_x = scroll_wrap ? 1.0 - end_x : end_x;
double new_y = scroll_wrap ? 1.0 - end_y : end_y;
if (pos_x < end_x) {
pos_x = new_x;
} else if (pos_x > 1.0 - end_x) {
pos_x = 1 - new_x;
} }
if (scroll_page_aware == true) { if (pos_y < end_y) {
int page_offset; pos_y = new_y;
double page_size; } else if (pos_y > 1.0 - end_y) {
pos_y = 1 - new_y;
}
{ /* snap to the border if we change page */
unsigned int page_id = zathura_document_get_current_page_number(zathura->document); double dummy;
zathura_page_t* page = zathura_document_get_page(zathura->document, page_id); unsigned int new_page_id = position_to_page_number(zathura->document, pos_x, pos_y);
page_offset_t offset; if (scroll_page_aware == true && page_id != new_page_id) {
page_calculate_offset(zathura, page, &offset); switch(argument->n) {
case FULL_LEFT:
case HALF_LEFT:
page_number_to_position(zathura->document, new_page_id, 1.0, 0.0, &pos_x, &dummy);
break;
double scale = zathura_document_get_scale(zathura->document); case FULL_RIGHT:
case HALF_RIGHT:
page_number_to_position(zathura->document, new_page_id, 0.0, 0.0, &pos_x, &dummy);
break;
if ((argument->n == LEFT) || (argument->n == FULL_LEFT) || (argument->n == HALF_LEFT) || case FULL_UP:
(argument->n == RIGHT) || (argument->n == FULL_RIGHT) || (argument->n == HALF_RIGHT)) { case HALF_UP:
page_offset = offset.x; page_number_to_position(zathura->document, new_page_id, 0.0, 1.0, &dummy, &pos_y);
page_size = zathura_page_get_width(page) * scale; break;
} else {
page_offset = offset.y;
page_size = zathura_page_get_height(page) * scale;
}
page_offset -= padding / 2; case FULL_DOWN:
page_size += padding; case HALF_DOWN:
} page_number_to_position(zathura->document, new_page_id, 0.0, 0.0, &dummy, &pos_y);
break;
if ((argument->n == FULL_DOWN) || (argument->n == HALF_DOWN) ||
(argument->n == FULL_RIGHT) || (argument->n == HALF_RIGHT)) {
if ((page_offset > value) &&
(page_offset < value + view_size)) {
new_value = page_offset;
} else if ((page_offset <= value) &&
(page_offset + page_size < value + view_size)) {
new_value = page_offset + page_size + 1;
} else if ((page_offset <= value) &&
(page_offset + page_size < new_value + view_size)) {
new_value = page_offset + page_size - view_size + 1;
}
} else if ((argument->n == FULL_UP) || (argument->n == HALF_UP) ||
(argument->n == FULL_LEFT) || (argument->n == HALF_LEFT)) {
if ((page_offset + 1 >= value) &&
(page_offset < value + view_size)) {
new_value = page_offset - view_size;
} else if ((page_offset <= value) &&
(page_offset + page_size + 1 < value + view_size)) {
new_value = page_offset + page_size - view_size;
} else if ((page_offset <= value) &&
(page_offset > new_value)) {
new_value = page_offset;
}
} }
} }
zathura_adjustment_set_value(adjustment, new_value); position_set(zathura, pos_x, pos_y);
return false; return false;
} }
@ -729,10 +646,9 @@ sc_jumplist(girara_session_t* session, girara_argument_t* argument,
return true; return true;
} }
GtkAdjustment* hadj = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(session->gtk.view)); double x = zathura_document_get_position_x(zathura->document);
GtkAdjustment* vadj = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(session->gtk.view)); double y = zathura_document_get_position_y(zathura->document);
double x = zathura_adjustment_get_ratio(hadj);
double y = zathura_adjustment_get_ratio(vadj);
zathura_jump_t* jump = NULL; zathura_jump_t* jump = NULL;
zathura_jump_t* prev_jump = zathura_jumplist_current(zathura); zathura_jump_t* prev_jump = zathura_jumplist_current(zathura);
bool go_to_current = false; bool go_to_current = false;
@ -772,11 +688,9 @@ sc_jumplist(girara_session_t* session, girara_argument_t* argument,
} }
if (jump != NULL) { if (jump != NULL) {
zathura_adjustment_set_value_from_ratio(hadj, jump->x); page_set(zathura, jump->page);
zathura_adjustment_set_value_from_ratio(vadj, jump->y); position_set(zathura, jump->x, jump->y);
zathura_document_set_current_page_number(zathura->document, jump->page); }
statusbar_page_number_update(zathura);
}
return false; return false;
} }
@ -951,13 +865,12 @@ sc_search(girara_session_t* session, girara_argument_t* argument,
GtkWidget* page_widget = zathura_page_get_widget(zathura, page); GtkWidget* page_widget = zathura_page_get_widget(zathura, page);
int num_search_results = 0, current = -1; int num_search_results = 0, current = -1;
g_object_get(page_widget, "search-current", &current, g_object_get(page_widget, "search-current", &current, "search-length", &num_search_results, NULL);
"search-length", &num_search_results, NULL);
if (num_search_results == 0 || current == -1) { if (num_search_results == 0 || current == -1) {
continue; continue;
} }
if (first_time_after_abort == true && num_search_results > 0) { if (first_time_after_abort == true || (tmp + num_pages) % num_pages != cur_page) {
target_page = page; target_page = page;
target_idx = diff == 1 ? 0 : num_search_results - 1; target_idx = diff == 1 ? 0 : num_search_results - 1;
break; break;
@ -998,26 +911,35 @@ sc_search(girara_session_t* session, girara_argument_t* argument,
zathura_rectangle_t* rect = girara_list_nth(results, target_idx); zathura_rectangle_t* rect = girara_list_nth(results, target_idx);
zathura_rectangle_t rectangle = recalc_rectangle(target_page, *rect); zathura_rectangle_t rectangle = recalc_rectangle(target_page, *rect);
page_offset_t offset;
page_calculate_offset(zathura, target_page, &offset);
zathura_jumplist_add(zathura);
if (zathura_page_get_index(target_page) != cur_page) {
page_set(zathura, zathura_page_get_index(target_page));
}
GtkAdjustment* view_vadjustment = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
int y = offset.y - gtk_adjustment_get_page_size(view_vadjustment) / 2 + rectangle.y1;
zathura_adjustment_set_value(view_vadjustment, y);
bool search_hadjust = true; bool search_hadjust = true;
girara_setting_get(session, "search-hadjust", &search_hadjust); girara_setting_get(session, "search-hadjust", &search_hadjust);
/* compute the position of the center of the page */
double pos_x = 0;
double pos_y = 0;
page_number_to_position(zathura->document, zathura_page_get_index(target_page),
0.5, 0.5, &pos_x, &pos_y);
/* correction to center the current result */
/* NOTE: rectangle is in viewport units, already scaled and rotated */
unsigned int cell_height = 0;
unsigned int cell_width = 0;
zathura_document_get_cell_size(zathura->document, &cell_height, &cell_width);
unsigned int doc_height = 0;
unsigned int doc_width = 0;
zathura_document_get_document_size(zathura->document, &doc_height, &doc_width);
pos_y += (rectangle.y1 - (double)cell_height/2) / (double)doc_height;
if (search_hadjust == true) { if (search_hadjust == true) {
GtkAdjustment* view_hadjustment = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view)); pos_x += (rectangle.x1 - (double)cell_width/2) / (double)doc_width;
int x = offset.x - gtk_adjustment_get_page_size(view_hadjustment) / 2 + rectangle.x1;
zathura_adjustment_set_value(view_hadjustment, x);
} }
/* move to position */
zathura_jumplist_add(zathura);
position_set(zathura, pos_x, pos_y);
zathura_jumplist_add(zathura); zathura_jumplist_add(zathura);
} }
@ -1195,24 +1117,14 @@ sc_toggle_index(girara_session_t* session, girara_argument_t* UNUSED(argument),
gtk_widget_show(treeview); gtk_widget_show(treeview);
} }
static double vvalue = 0;
static double hvalue = 0;
if (gtk_widget_get_visible(GTK_WIDGET(zathura->ui.index))) { if (gtk_widget_get_visible(GTK_WIDGET(zathura->ui.index))) {
girara_set_view(session, zathura->ui.page_widget_alignment); girara_set_view(session, zathura->ui.page_widget_alignment);
gtk_widget_hide(GTK_WIDGET(zathura->ui.index)); gtk_widget_hide(GTK_WIDGET(zathura->ui.index));
girara_mode_set(zathura->ui.session, zathura->modes.normal); girara_mode_set(zathura->ui.session, zathura->modes.normal);
/* reset adjustment */ /* refresh view */
position_set_delayed(zathura, hvalue, vvalue); refresh_view(zathura);
} else { } else {
/* save adjustment */
GtkAdjustment* vadjustment = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(session->gtk.view));
GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(session->gtk.view));
vvalue = gtk_adjustment_get_value(vadjustment);
hvalue = gtk_adjustment_get_value(hadjustment);
/* save current position to the jumplist */ /* save current position to the jumplist */
zathura_jumplist_add(zathura); zathura_jumplist_add(zathura);
@ -1302,7 +1214,7 @@ sc_toggle_fullscreen(girara_session_t* session, girara_argument_t*
/* reset scale */ /* reset scale */
zathura_document_set_scale(zathura->document, zoom); zathura_document_set_scale(zathura->document, zoom);
render_all(zathura); render_all(zathura);
page_set_delayed(zathura, zathura_document_get_current_page_number(zathura->document)); refresh_view(zathura);
/* setm ode */ /* setm ode */
girara_mode_set(session, zathura->modes.normal); girara_mode_set(session, zathura->modes.normal);
@ -1330,7 +1242,7 @@ sc_toggle_fullscreen(girara_session_t* session, girara_argument_t*
/* set full screen */ /* set full screen */
gtk_window_fullscreen(GTK_WINDOW(session->gtk.window)); gtk_window_fullscreen(GTK_WINDOW(session->gtk.window));
page_set_delayed(zathura, zathura_document_get_current_page_number(zathura->document)); refresh_view(zathura);
/* setm ode */ /* setm ode */
girara_mode_set(session, zathura->modes.fullscreen); girara_mode_set(session, zathura->modes.fullscreen);
@ -1407,6 +1319,7 @@ sc_zoom(girara_session_t* session, girara_argument_t* argument, girara_event_t*
} }
render_all(zathura); render_all(zathura);
refresh_view(zathura);
return false; return false;
} }

View file

@ -97,7 +97,7 @@ synctex_record_hits(zathura_t* zathura, int page_idx, girara_list_t* hits, bool
g_object_set(page_widget, "search-results", hits, NULL); g_object_set(page_widget, "search-results", hits, NULL);
if (first) { if (first) {
page_set_delayed(zathura, zathura_page_get_index(page)); page_set(zathura, zathura_page_get_index(page));
g_object_set(page_widget, "search-current", 0, NULL); g_object_set(page_widget, "search-current", 0, NULL);
} }
} }

10
types.h
View file

@ -15,6 +15,11 @@ typedef struct zathura_document_s zathura_document_t;
* Page * Page
*/ */
typedef struct zathura_page_s zathura_page_t; typedef struct zathura_page_s zathura_page_t;
/**
* Page widget
*/
typedef struct zathura_page_widget_s ZathuraPage;
typedef struct zathura_page_widget_class_s ZathuraPageClass;
/** /**
* Zathura * Zathura
*/ */
@ -25,6 +30,11 @@ typedef struct zathura_s zathura_t;
*/ */
typedef struct zathura_plugin_manager_s zathura_plugin_manager_t; typedef struct zathura_plugin_manager_s zathura_plugin_manager_t;
/**
* Renderer
*/
typedef struct zathura_renderer_s ZathuraRenderer;
/** /**
* Error types * Error types
*/ */

91
utils.c
View file

@ -240,71 +240,6 @@ error_ret:
return rectangle; return rectangle;
} }
double
page_calc_height_width(zathura_page_t* page, unsigned int* page_height, unsigned int* page_width, bool rotate)
{
g_return_val_if_fail(page != NULL && page_height != NULL && page_width != NULL, 0.0);
zathura_document_t* document = zathura_page_get_document(page);
if (document == NULL) {
return 0.0;
}
double height = zathura_page_get_height(page);
double width = zathura_page_get_width(page);
double scale = zathura_document_get_scale(document);
double real_scale;
if (rotate && zathura_document_get_rotation(document) % 180) {
*page_width = ceil(height * scale);
*page_height = ceil(width * scale);
real_scale = MAX(*page_width / height, *page_height / width);
} else {
*page_width = ceil(width * scale);
*page_height = ceil(height * scale);
real_scale = MAX(*page_width / width, *page_height / height);
}
return real_scale;
}
void
zathura_get_document_size(zathura_t* zathura,
unsigned int cell_height, unsigned int cell_width,
unsigned int* height, unsigned int* width)
{
g_return_if_fail(zathura != NULL && zathura->document != NULL &&
height != NULL && width != NULL);
unsigned int pages_per_row = 1;
girara_setting_get(zathura->ui.session, "pages-per-row", &pages_per_row);
if (pages_per_row == 0)
pages_per_row = 1;
unsigned int first_page_column = 1;
girara_setting_get(zathura->ui.session, "first-page-column", &first_page_column);
if (first_page_column < 1)
first_page_column = 1;
if (first_page_column > pages_per_row)
first_page_column = (first_page_column - 1) % pages_per_row + 1;
int padding = 1;
girara_setting_get(zathura->ui.session, "page-padding", &padding);
double scale = zathura_document_get_scale(zathura->document);
cell_height = ceil(cell_height * scale);
cell_width = ceil(cell_width * scale);
*width = pages_per_row * cell_width + (pages_per_row - 1) * padding;
unsigned int effective_number_of_pages =
zathura_document_get_number_of_pages(zathura->document) +
first_page_column - 1;
unsigned int rows = effective_number_of_pages / pages_per_row +
(effective_number_of_pages % pages_per_row ? 1 : 0);
*height = rows * cell_height + (rows - 1) * padding;
}
GtkWidget* GtkWidget*
zathura_page_get_widget(zathura_t* zathura, zathura_page_t* page) zathura_page_get_widget(zathura_t* zathura, zathura_page_t* page)
{ {
@ -411,3 +346,29 @@ replace_substring(const char* string, const char* old, const char* new)
return ret; return ret;
} }
GdkAtom* get_selection(zathura_t* zathura)
{
g_return_val_if_fail(zathura != NULL, NULL);
char* value;
girara_setting_get(zathura->ui.session, "selection-clipboard", &value);
GdkAtom* selection = g_malloc(sizeof(GdkAtom));
if (strcmp(value, "primary") == 0) {
*selection = GDK_SELECTION_PRIMARY;
} else if (strcmp(value, "clipboard") == 0) {
*selection = GDK_SELECTION_CLIPBOARD;
} else {
girara_error("Invalid value for the selection-clipboard setting");
g_free(value);
g_free(selection);
return NULL;
}
g_free(value);
return selection;
}

41
utils.h
View file

@ -86,35 +86,6 @@ zathura_rectangle_t rotate_rectangle(zathura_rectangle_t rectangle, unsigned int
*/ */
zathura_rectangle_t recalc_rectangle(zathura_page_t* page, zathura_rectangle_t rectangle); zathura_rectangle_t recalc_rectangle(zathura_page_t* page, zathura_rectangle_t rectangle);
/**
* Calculate the page size according to the corrent scaling and rotation if
* desired.
* @param page the page
* @param page_height the resulting page height
* @param page_width the resultung page width
* @param rotate honor page's rotation
* @return real scale after rounding
*/
double
page_calc_height_width(zathura_page_t* page, unsigned int* page_height, unsigned int* page_width, bool rotate);
/**
* Compute the size of the entire document to be displayed (in pixels), taking
* into account the scale, the layout of the pages, and the padding between
* them. It should be equal to the allocation of zathura->ui.page_widget once
* it's shown.
*
* @param[in] zathura The zathura instance
* @param[in] cell_height,cell_width The height and width of a cell containing
* a single page; it should be obtained
* using zathura_document_get_cell_size()
* with the document scale set to 1.0
* @param[out] height,width The height and width of the document
*/
void zathura_get_document_size(zathura_t* zathura,
unsigned int cell_height, unsigned int cell_width,
unsigned int* height, unsigned int* width);
/** /**
* Returns the page widget of the page * Returns the page widget of the page
* *
@ -138,7 +109,7 @@ void document_draw_search_results(zathura_t* zathura, bool value);
* *
* @param zathura The zathura instance * @param zathura The zathura instance
* @param markup Enable markup * @param markup Enable markup
* @return Version string * @return Version string
*/ */
char* zathura_get_version_string(zathura_t* zathura, bool markup); char* zathura_get_version_string(zathura_t* zathura, bool markup);
@ -154,4 +125,14 @@ char* zathura_get_version_string(zathura_t* zathura, bool markup);
*/ */
char* replace_substring(const char* string, const char* old, const char* new); char* replace_substring(const char* string, const char* old, const char* new);
/**
* Get a pointer to the GdkAtom of the current clipboard.
*
* @param zathura The zathura instance
*
* @return A pointer to a GdkAtom object correspoinding to the current
* clipboard, or NULL.
*/
GdkAtom* get_selection(zathura_t* zathura);
#endif // UTILS_H #endif // UTILS_H

572
zathura.c
View file

@ -42,21 +42,8 @@ typedef struct zathura_document_info_s {
int page_number; int page_number;
} zathura_document_info_t; } zathura_document_info_t;
typedef struct page_set_delayed_s {
zathura_t* zathura;
unsigned int page;
} page_set_delayed_t;
typedef struct position_set_delayed_s {
zathura_t* zathura;
double position_x;
double position_y;
} position_set_delayed_t;
static gboolean document_info_open(gpointer data); static gboolean document_info_open(gpointer data);
static ssize_t zathura_page_cache_lru_invalidate(zathura_t* zathura);
static void zathura_page_cache_invalidate_all(zathura_t* zathura);
static bool zathura_page_cache_is_full(zathura_t* zathura, bool* result);
static void zathura_jumplist_reset_current(zathura_t* zathura); static void zathura_jumplist_reset_current(zathura_t* zathura);
static void zathura_jumplist_append_jump(zathura_t* zathura); static void zathura_jumplist_append_jump(zathura_t* zathura);
static void zathura_jumplist_save(zathura_t* zathura); static void zathura_jumplist_save(zathura_t* zathura);
@ -68,8 +55,6 @@ zathura_create(void)
zathura_t* zathura = g_malloc0(sizeof(zathura_t)); zathura_t* zathura = g_malloc0(sizeof(zathura_t));
/* global settings */ /* global settings */
zathura->global.recolor = false;
zathura->global.update_page_number = true;
zathura->global.search_direction = FORWARD; zathura->global.search_direction = FORWARD;
/* plugins */ /* plugins */
@ -145,6 +130,21 @@ zathura_init(zathura_t* zathura)
zathura->ui.session->events.buffer_changed = cb_buffer_changed; zathura->ui.session->events.buffer_changed = cb_buffer_changed;
zathura->ui.session->events.unknown_command = cb_unknown_command; zathura->ui.session->events.unknown_command = cb_unknown_command;
/* zathura signals */
zathura->signals.refresh_view = g_signal_new("refresh-view",
GTK_TYPE_WIDGET,
G_SIGNAL_RUN_LAST,
0,
NULL,
NULL,
g_cclosure_marshal_generic,
G_TYPE_NONE,
1,
G_TYPE_POINTER);
g_signal_connect(G_OBJECT(zathura->ui.session->gtk.view), "refresh-view",
G_CALLBACK(cb_refresh_view), zathura);
/* page view */ /* page view */
#if (GTK_MAJOR_VERSION == 3) #if (GTK_MAJOR_VERSION == 3)
zathura->ui.page_widget = gtk_grid_new(); zathura->ui.page_widget = gtk_grid_new();
@ -159,37 +159,23 @@ zathura_init(zathura_t* zathura)
g_signal_connect(G_OBJECT(zathura->ui.session->gtk.window), "size-allocate", G_CALLBACK(cb_view_resized), zathura); g_signal_connect(G_OBJECT(zathura->ui.session->gtk.window), "size-allocate", G_CALLBACK(cb_view_resized), zathura);
/* Setup hadjustment tracker */
GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment( GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment(
GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view)); GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
zathura->ui.hadjustment = zathura_adjustment_clone(hadjustment);
g_object_ref_sink(zathura->ui.hadjustment);
/* Connect hadjustment signals */ /* Connect hadjustment signals */
g_signal_connect(G_OBJECT(hadjustment), "value-changed", g_signal_connect(G_OBJECT(hadjustment), "value-changed",
G_CALLBACK(cb_view_vadjustment_value_changed), zathura); G_CALLBACK(cb_view_hadjustment_value_changed), zathura);
g_signal_connect(G_OBJECT(hadjustment), "value-changed",
G_CALLBACK(cb_adjustment_track_value), zathura->ui.hadjustment);
g_signal_connect(G_OBJECT(hadjustment), "changed", g_signal_connect(G_OBJECT(hadjustment), "changed",
G_CALLBACK(cb_view_hadjustment_changed), zathura); G_CALLBACK(cb_view_hadjustment_changed), zathura);
g_signal_connect(G_OBJECT(hadjustment), "changed",
G_CALLBACK(cb_adjustment_track_bounds), zathura->ui.hadjustment);
/* Setup vadjustment tracker */
GtkAdjustment* vadjustment = gtk_scrolled_window_get_vadjustment( GtkAdjustment* vadjustment = gtk_scrolled_window_get_vadjustment(
GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view)); GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
zathura->ui.vadjustment = zathura_adjustment_clone(vadjustment);
g_object_ref_sink(zathura->ui.vadjustment);
/* Connect vadjustment signals */ /* Connect vadjustment signals */
g_signal_connect(G_OBJECT(vadjustment), "value-changed", g_signal_connect(G_OBJECT(vadjustment), "value-changed",
G_CALLBACK(cb_view_vadjustment_value_changed), zathura); G_CALLBACK(cb_view_vadjustment_value_changed), zathura);
g_signal_connect(G_OBJECT(vadjustment), "value-changed",
G_CALLBACK(cb_adjustment_track_value), zathura->ui.vadjustment);
g_signal_connect(G_OBJECT(vadjustment), "changed", g_signal_connect(G_OBJECT(vadjustment), "changed",
G_CALLBACK(cb_view_vadjustment_changed), zathura); G_CALLBACK(cb_view_vadjustment_changed), zathura);
g_signal_connect(G_OBJECT(vadjustment), "changed",
G_CALLBACK(cb_adjustment_track_bounds), zathura->ui.vadjustment);
/* page view alignment */ /* page view alignment */
zathura->ui.page_widget_alignment = gtk_alignment_new(0.5, 0.5, 0, 0); zathura->ui.page_widget_alignment = gtk_alignment_new(0.5, 0.5, 0, 0);
@ -229,18 +215,6 @@ zathura_init(zathura_t* zathura)
/* signals */ /* signals */
g_signal_connect(G_OBJECT(zathura->ui.session->gtk.window), "destroy", G_CALLBACK(cb_destroy), zathura); g_signal_connect(G_OBJECT(zathura->ui.session->gtk.window), "destroy", G_CALLBACK(cb_destroy), zathura);
/* set page padding */
int page_padding = 1;
girara_setting_get(zathura->ui.session, "page-padding", &page_padding);
#if (GTK_MAJOR_VERSION == 3)
gtk_grid_set_row_spacing(GTK_GRID(zathura->ui.page_widget), page_padding);
gtk_grid_set_column_spacing(GTK_GRID(zathura->ui.page_widget), page_padding);
#else
gtk_table_set_row_spacings(GTK_TABLE(zathura->ui.page_widget), page_padding);
gtk_table_set_col_spacings(GTK_TABLE(zathura->ui.page_widget), page_padding);
#endif
/* database */ /* database */
char* database = NULL; char* database = NULL;
girara_setting_get(zathura->ui.session, "database", &database); girara_setting_get(zathura->ui.session, "database", &database);
@ -280,20 +254,6 @@ zathura_init(zathura_t* zathura)
zathura->jumplist.size = 0; zathura->jumplist.size = 0;
zathura->jumplist.cur = NULL; zathura->jumplist.cur = NULL;
/* page cache */
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);
zathura->page_cache.size = ZATHURA_PAGE_CACHE_DEFAULT_SIZE;
} else {
zathura->page_cache.size = cache_size;
}
zathura->page_cache.cache = g_malloc(zathura->page_cache.size * sizeof(int));
zathura_page_cache_invalidate_all(zathura);
return true; return true;
error_free: error_free:
@ -322,13 +282,6 @@ zathura_free(zathura_t* zathura)
girara_session_destroy(zathura->ui.session); girara_session_destroy(zathura->ui.session);
} }
if (zathura->ui.hadjustment != NULL) {
g_object_unref(G_OBJECT(zathura->ui.hadjustment));
}
if (zathura->ui.vadjustment != NULL) {
g_object_unref(G_OBJECT(zathura->ui.vadjustment));
}
/* stdin support */ /* stdin support */
if (zathura->stdin_support.file != NULL) { if (zathura->stdin_support.file != NULL) {
g_unlink(zathura->stdin_support.file); g_unlink(zathura->stdin_support.file);
@ -368,8 +321,6 @@ zathura_free(zathura_t* zathura)
girara_list_iterator_free(zathura->jumplist.cur); girara_list_iterator_free(zathura->jumplist.cur);
} }
g_free(zathura->page_cache.cache);
g_free(zathura); g_free(zathura);
} }
@ -532,7 +483,7 @@ document_info_open(gpointer data)
file = prepare_document_open_from_stdin(document_info->zathura); file = prepare_document_open_from_stdin(document_info->zathura);
if (file == NULL) { if (file == NULL) {
girara_notify(document_info->zathura->ui.session, GIRARA_ERROR, girara_notify(document_info->zathura->ui.session, GIRARA_ERROR,
"Could not read file from stdin and write it to a temporary file."); _("Could not read file from stdin and write it to a temporary file."));
} else { } else {
document_info->zathura->stdin_support.file = g_strdup(file); document_info->zathura->stdin_support.file = g_strdup(file);
} }
@ -711,6 +662,49 @@ document_open(zathura_t* zathura, const char* path, const char* password,
zathura->document = document; zathura->document = 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;
}
/* threads */
zathura->sync.render_thread = zathura_renderer_new(cache_size);
if (zathura->sync.render_thread == NULL) {
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);
/* get view port size */
GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment(
GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
GtkAdjustment* vadjustment = gtk_scrolled_window_get_vadjustment(
GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
const unsigned int view_width = (unsigned int)floor(gtk_adjustment_get_page_size(hadjustment));
zathura_document_set_viewport_width(zathura->document, view_width);
const unsigned int view_height = (unsigned int)floor(gtk_adjustment_get_page_size(vadjustment));
zathura_document_set_viewport_height(zathura->document, view_height);
/* create blank pages */ /* create blank pages */
zathura->pages = calloc(number_of_pages, sizeof(GtkWidget*)); zathura->pages = calloc(number_of_pages, sizeof(GtkWidget*));
if (zathura->pages == NULL) { if (zathura->pages == NULL) {
@ -730,17 +724,19 @@ document_open(zathura_t* zathura, const char* path, const char* password,
zathura->pages[page_id] = page_widget; zathura->pages[page_id] = page_widget;
/* set widget size */ g_signal_connect(G_OBJECT(page_widget), "text-selected",
unsigned int page_height = 0; G_CALLBACK(cb_page_widget_text_selected), zathura);
unsigned int page_width = 0; g_signal_connect(G_OBJECT(page_widget), "image-selected",
page_calc_height_width(page, &page_height, &page_width, true); G_CALLBACK(cb_page_widget_image_selected), zathura);
gtk_widget_set_size_request(page_widget, page_width, page_height);
} }
/* view mode */ /* view mode */
int pages_per_row = 1; unsigned int pages_per_row = 1;
int first_page_column = 1; unsigned int first_page_column = 1;
unsigned int page_padding = 1;
girara_setting_get(zathura->ui.session, "page-padding", &page_padding);
if (file_info.pages_per_row > 0) { if (file_info.pages_per_row > 0) {
pages_per_row = file_info.pages_per_row; pages_per_row = file_info.pages_per_row;
} else { } else {
@ -755,20 +751,12 @@ document_open(zathura_t* zathura, const char* path, const char* password,
girara_setting_set(zathura->ui.session, "pages-per-row", &pages_per_row); girara_setting_set(zathura->ui.session, "pages-per-row", &pages_per_row);
girara_setting_set(zathura->ui.session, "first-page-column", &first_page_column); girara_setting_set(zathura->ui.session, "first-page-column", &first_page_column);
page_widget_set_mode(zathura, pages_per_row, first_page_column);
page_widget_set_mode(zathura, page_padding, pages_per_row, first_page_column);
zathura_document_set_page_layout(zathura->document, page_padding, pages_per_row, first_page_column);
girara_set_view(zathura->ui.session, zathura->ui.page_widget_alignment); girara_set_view(zathura->ui.session, zathura->ui.page_widget_alignment);
/* threads */
zathura->sync.render_thread = render_init(zathura);
if (zathura->sync.render_thread == NULL) {
goto error_free;
}
for (unsigned int page_id = 0; page_id < number_of_pages; page_id++) {
gtk_widget_realize(zathura->pages[page_id]);
}
/* bookmarks */ /* bookmarks */
zathura_bookmarks_load(zathura, file_path); zathura_bookmarks_load(zathura, file_path);
@ -789,20 +777,31 @@ document_open(zathura_t* zathura, const char* path, const char* password,
g_free(file_uri); g_free(file_uri);
/* adjust window */ /* adjust_view */
girara_argument_t argument = { zathura_document_get_adjust_mode(document), NULL }; adjust_view(zathura);
sc_adjust_window(zathura->ui.session, &argument, NULL, 0); for (unsigned int page_id = 0; page_id < number_of_pages; page_id++) {
/* set widget size */
zathura_page_t* page = zathura_document_get_page(document, page_id);
unsigned int page_height = 0;
unsigned int page_width = 0;
/* set position */ /* adjust_view calls render_all in some cases and render_all calls
if (file_info.position_x != 0 || file_info.position_y != 0) { * gtk_widget_set_size_request. To be sure that it's really called, do it
position_set_delayed(zathura, file_info.position_x, file_info.position_y); * here once again. */
} else { double height = zathura_page_get_height(page);
page_set_delayed(zathura, zathura_document_get_current_page_number(document)); double width = zathura_page_get_width(page);
cb_view_vadjustment_value_changed(NULL, zathura); page_calc_height_width(zathura->document, height, width, &page_height, &page_width, true);
gtk_widget_set_size_request(zathura->pages[page_id], page_width, page_height);
/* show widget */
gtk_widget_show(zathura->pages[page_id]);
} }
/* Invalidate all current entries in the page cache */ /* set position */
zathura_page_cache_invalidate_all(zathura); page_set(zathura, zathura_document_get_current_page_number(document));
if (file_info.position_x != 0 || file_info.position_y != 0) {
position_set(zathura, file_info.position_x, file_info.position_y);
}
return true; return true;
@ -883,6 +882,9 @@ document_close(zathura_t* zathura, bool keep_monitor)
return false; return false;
} }
/* stop rendering */
zathura_renderer_stop(zathura->sync.render_thread);
/* remove monitor */ /* remove monitor */
if (keep_monitor == false) { if (keep_monitor == false) {
if (zathura->file_monitor.monitor != NULL) { if (zathura->file_monitor.monitor != NULL) {
@ -926,12 +928,8 @@ document_close(zathura_t* zathura, bool keep_monitor)
girara_setting_get(zathura->ui.session, "first-page-column", &(file_info.first_page_column)); girara_setting_get(zathura->ui.session, "first-page-column", &(file_info.first_page_column));
/* get position */ /* get position */
GtkScrolledWindow *window = GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view); file_info.position_x = zathura_document_get_position_x(zathura->document);
GtkAdjustment* vadjustment = gtk_scrolled_window_get_vadjustment(window); file_info.position_y = zathura_document_get_position_y(zathura->document);
GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment(window);
file_info.position_x = gtk_adjustment_get_value(hadjustment);
file_info.position_y = gtk_adjustment_get_value(vadjustment);
/* save file info */ /* save file info */
zathura_db_set_fileinfo(zathura->database, path, &file_info); zathura_db_set_fileinfo(zathura->database, path, &file_info);
@ -945,7 +943,7 @@ document_close(zathura_t* zathura, bool keep_monitor)
zathura->jumplist.size = 0; zathura->jumplist.size = 0;
/* release render thread */ /* release render thread */
render_free(zathura->sync.render_thread); g_object_unref(zathura->sync.render_thread);
zathura->sync.render_thread = NULL; zathura->sync.render_thread = NULL;
/* remove widgets */ /* remove widgets */
@ -981,31 +979,6 @@ document_close(zathura_t* zathura, bool keep_monitor)
return true; return true;
} }
static gboolean
page_set_delayed_impl(gpointer data)
{
page_set_delayed_t* p = data;
page_set(p->zathura, p->page);
g_free(p);
return FALSE;
}
bool
page_set_delayed(zathura_t* zathura, unsigned int page_id)
{
if (zathura == NULL || zathura->document == NULL ||
(page_id >= zathura_document_get_number_of_pages(zathura->document))) {
return false;
}
page_set_delayed_t* p = g_malloc(sizeof(page_set_delayed_t));
p->zathura = zathura;
p->page = page_id;
gdk_threads_add_idle(page_set_delayed_impl, p);
return true;
}
bool bool
page_set(zathura_t* zathura, unsigned int page_id) page_set(zathura_t* zathura, unsigned int page_id)
{ {
@ -1013,33 +986,17 @@ page_set(zathura_t* zathura, unsigned int page_id)
goto error_out; goto error_out;
} }
/* render page */
zathura_page_t* page = zathura_document_get_page(zathura->document, page_id); zathura_page_t* page = zathura_document_get_page(zathura->document, page_id);
if (page == NULL) { if (page == NULL) {
goto error_out; goto error_out;
} }
zathura_document_set_current_page_number(zathura->document, page_id); zathura_document_set_current_page_number(zathura->document, page_id);
zathura->global.update_page_number = false;
page_offset_t offset; /* negative position means auto */
page_calculate_offset(zathura, page, &offset); return position_set(zathura, -1, -1);
GtkAdjustment* view_vadjustment = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
GtkAdjustment* view_hadjustment = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view));
zathura_adjustment_set_value(view_hadjustment, offset.x);
zathura_adjustment_set_value(view_vadjustment, offset.y);
/* refresh horizontal adjustment, to honor zoom-center */
cb_view_hadjustment_changed(view_hadjustment, zathura);
statusbar_page_number_update(zathura);
return true;
error_out: error_out:
return false; return false;
} }
@ -1079,7 +1036,8 @@ statusbar_page_number_update(zathura_t* zathura)
} }
void void
page_widget_set_mode(zathura_t* zathura, unsigned int pages_per_row, unsigned int first_page_column) page_widget_set_mode(zathura_t* zathura, unsigned int page_padding,
unsigned int pages_per_row, unsigned int first_page_column)
{ {
/* show at least one page */ /* show at least one page */
if (pages_per_row == 0) { if (pages_per_row == 0) {
@ -1090,7 +1048,6 @@ page_widget_set_mode(zathura_t* zathura, unsigned int pages_per_row, unsigned in
if (first_page_column < 1) { if (first_page_column < 1) {
first_page_column = 1; first_page_column = 1;
} }
if (first_page_column > pages_per_row) { if (first_page_column > pages_per_row) {
first_page_column = ((first_page_column - 1) % pages_per_row) + 1; first_page_column = ((first_page_column - 1) % pages_per_row) + 1;
} }
@ -1102,9 +1059,18 @@ page_widget_set_mode(zathura_t* zathura, unsigned int pages_per_row, unsigned in
gtk_container_foreach(GTK_CONTAINER(zathura->ui.page_widget), remove_page_from_table, (gpointer)0); gtk_container_foreach(GTK_CONTAINER(zathura->ui.page_widget), remove_page_from_table, (gpointer)0);
unsigned int number_of_pages = zathura_document_get_number_of_pages(zathura->document); unsigned int number_of_pages = zathura_document_get_number_of_pages(zathura->document);
#if (GTK_MAJOR_VERSION == 3) #if (GTK_MAJOR_VERSION == 3)
gtk_grid_set_row_spacing(GTK_GRID(zathura->ui.page_widget), page_padding);
gtk_grid_set_column_spacing(GTK_GRID(zathura->ui.page_widget), page_padding);
#else #else
gtk_table_resize(GTK_TABLE(zathura->ui.page_widget), ceil((number_of_pages + first_page_column - 1) / pages_per_row), pages_per_row); gtk_table_set_row_spacings(GTK_TABLE(zathura->ui.page_widget), page_padding);
gtk_table_set_col_spacings(GTK_TABLE(zathura->ui.page_widget), page_padding);
unsigned int ncol = pages_per_row;
unsigned int nrow = (number_of_pages + first_page_column - 1 + ncol - 1) / ncol;
gtk_table_resize(GTK_TABLE(zathura->ui.page_widget), nrow, ncol);
#endif #endif
for (unsigned int i = 0; i < number_of_pages; i++) { for (unsigned int i = 0; i < number_of_pages; i++) {
@ -1123,94 +1089,125 @@ page_widget_set_mode(zathura_t* zathura, unsigned int pages_per_row, unsigned in
gtk_widget_show_all(zathura->ui.page_widget); gtk_widget_show_all(zathura->ui.page_widget);
} }
static gboolean bool
position_set_delayed_impl(gpointer data)
{
position_set_delayed_t* p = (position_set_delayed_t*) data;
GtkScrolledWindow *window = GTK_SCROLLED_WINDOW(p->zathura->ui.session->gtk.view);
GtkAdjustment* vadjustment = gtk_scrolled_window_get_vadjustment(window);
GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment(window);
/* negative values mean: don't set the position */
if (p->position_x >= 0) {
zathura_adjustment_set_value(hadjustment, p->position_x);
}
if (p->position_y >= 0) {
zathura_adjustment_set_value(vadjustment, p->position_y);
}
g_free(p);
return FALSE;
}
void
position_set_delayed(zathura_t* zathura, double position_x, double position_y)
{
g_return_if_fail(zathura != NULL);
position_set_delayed_t* p = g_malloc0(sizeof(position_set_delayed_t));
p->zathura = zathura;
p->position_x = position_x;
p->position_y = position_y;
gdk_threads_add_idle(position_set_delayed_impl, p);
}
void
position_set(zathura_t* zathura, double position_x, double position_y) position_set(zathura_t* zathura, double position_x, double position_y)
{ {
g_return_if_fail(zathura != NULL); if (zathura == NULL || zathura->document == NULL) {
goto error_out;
GtkScrolledWindow *window = GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view);
GtkAdjustment* vadjustment = gtk_scrolled_window_get_vadjustment(window);
GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment(window);
/* negative values mean: don't set the position */
if (position_x >= 0) {
zathura_adjustment_set_value(hadjustment, position_x);
} }
if (position_y >= 0) { double comppos_x, comppos_y;
zathura_adjustment_set_value(vadjustment, position_y); unsigned int page_id = zathura_document_get_current_page_number(zathura->document);
/* xalign = 0.5: center horizontally (with the page, not the document) */
/* yalign = 0.0: align page an viewport edges at the top */
page_number_to_position(zathura->document, page_id, 0.5, 0.0, &comppos_x, &comppos_y);
/* automatic horizontal adjustment */
zathura_adjust_mode_t adjust_mode = zathura_document_get_adjust_mode(zathura->document);
/* negative position_x mean: use the computed value */
if (position_x < 0) {
position_x = comppos_x;
bool zoom_center = false;
girara_setting_get(zathura->ui.session, "zoom-center", &zoom_center);
/* center horizontally */
if (adjust_mode == ZATHURA_ADJUST_BESTFIT ||
adjust_mode == ZATHURA_ADJUST_WIDTH ||
zoom_center) {
position_x = 0.5;
}
} }
if (position_y < 0) {
position_y = comppos_y;
}
/* set the position */
zathura_document_set_position_x(zathura->document, position_x);
zathura_document_set_position_y(zathura->document, position_y);
/* trigger a 'change' event for both adjustments */
refresh_view(zathura);
return true;
error_out:
return false;
} }
static void
zathura_jumplist_hide_inputbar(zathura_t* zathura)
{
g_return_if_fail(zathura != NULL && zathura->ui.session->gtk.inputbar != NULL);
girara_argument_t arg = { GIRARA_HIDE, NULL }; void
girara_isc_completion(zathura->ui.session, &arg, NULL, 0); refresh_view(zathura_t* zathura) {
g_return_if_fail(zathura != NULL);
if (zathura->ui.session->global.autohide_inputbar == true) { /* emit a custom refresh-view signal */
/* XXX: This is a workaround for incremental-search. We should revisit this g_signal_emit(zathura->ui.session->gtk.view, zathura->signals.refresh_view,
* when we drop GTK+3 support and the inputbar is placed in a GtkOverlay 0, zathura);
* widget. */ }
char *input = gtk_editable_get_chars(GTK_EDITABLE(zathura->ui.session->gtk.inputbar_entry), 0, -1);
bool res = false;
girara_setting_get(zathura->ui.session, "incremental-search", &res);
if ((*input == '/' || *input == '?') && res == true) { bool
g_free(input); adjust_view(zathura_t* zathura) {
g_return_val_if_fail(zathura != NULL, false);
return; if (zathura->ui.page_widget == NULL || zathura->document == NULL) {
} goto error_ret;
/* </workaround> */
gtk_widget_hide(zathura->ui.session->gtk.inputbar);
} }
/* we want to do it immediately */ zathura_adjust_mode_t adjust_mode = zathura_document_get_adjust_mode(zathura->document);
/* XXX: ... and we want this to go away */ if (adjust_mode == ZATHURA_ADJUST_NONE) {
while (gtk_events_pending()) { /* there is nothing todo */
gtk_main_iteration(); goto error_ret;
} }
unsigned int cell_height = 0, cell_width = 0;
unsigned int document_height = 0, document_width = 0;
unsigned int view_height = 0, view_width = 0;
zathura_document_get_cell_size(zathura->document, &cell_height, &cell_width);
zathura_document_get_document_size(zathura->document, &document_height, &document_width);
zathura_document_get_viewport_size(zathura->document, &view_height, &view_width);
if (view_height == 0 || view_width == 0 || cell_height == 0 || cell_width == 0) {
goto error_ret;
}
double page_ratio = (double)cell_height / (double)document_width;
double view_ratio = (double)view_height / (double)view_width;
double scale = zathura_document_get_scale(zathura->document);
double newscale = scale;
if (adjust_mode == ZATHURA_ADJUST_WIDTH ||
(adjust_mode == ZATHURA_ADJUST_BESTFIT && page_ratio < view_ratio)) {
newscale = scale * (double)view_width / (double)document_width;
} else if (adjust_mode == ZATHURA_ADJUST_BESTFIT) {
newscale = scale * (double)view_height / (double)cell_height;
} else {
goto error_ret;
}
/* save new scale and recompute cell size */
zathura_document_set_scale(zathura->document, newscale);
unsigned int new_cell_height = 0, new_cell_width = 0;
zathura_document_get_cell_size(zathura->document, &new_cell_height, &new_cell_width);
/* if the change in scale changes page cell dimensions by at least one pixel, render */
if (abs(new_cell_width - cell_width) > 1 ||
abs(new_cell_height - cell_height) > 1) {
render_all(zathura);
refresh_view(zathura);
/* otherwise set the old scale and leave */
} else {
zathura_document_set_scale(zathura->document, scale);
}
error_ret:
return false;
} }
bool bool
@ -1311,12 +1308,11 @@ zathura_jumplist_trim(zathura_t* zathura)
void void
zathura_jumplist_add(zathura_t* zathura) zathura_jumplist_add(zathura_t* zathura)
{ {
g_return_if_fail(zathura != NULL && zathura->jumplist.list != NULL); g_return_if_fail(zathura != NULL && zathura->document != NULL && zathura->jumplist.list != NULL);
zathura_jumplist_hide_inputbar(zathura);
unsigned int pagenum = zathura_document_get_current_page_number(zathura->document); unsigned int pagenum = zathura_document_get_current_page_number(zathura->document);
double x = zathura_adjustment_get_ratio(gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view))); double x = zathura_document_get_position_x(zathura->document);
double y = zathura_adjustment_get_ratio(gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view))); double y = zathura_document_get_position_y(zathura->document);
if (zathura->jumplist.size != 0) { if (zathura->jumplist.size != 0) {
zathura_jumplist_reset_current(zathura); zathura_jumplist_reset_current(zathura);
@ -1365,7 +1361,7 @@ zathura_jumplist_load(zathura_t* zathura, const char* file)
static void static void
zathura_jumplist_save(zathura_t* zathura) zathura_jumplist_save(zathura_t* zathura)
{ {
g_return_if_fail(zathura != NULL); g_return_if_fail(zathura != NULL && zathura->document != NULL);
zathura_jump_t* cur = zathura_jumplist_current(zathura); zathura_jump_t* cur = zathura_jumplist_current(zathura);
@ -1373,121 +1369,7 @@ zathura_jumplist_save(zathura_t* zathura)
if (cur) { if (cur) {
cur->page = pagenum; cur->page = pagenum;
cur->x = zathura_adjustment_get_ratio(gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view))); cur->x = zathura_document_get_position_x(zathura->document);
cur->y = zathura_adjustment_get_ratio(gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(zathura->ui.session->gtk.view))); cur->y = zathura_document_get_position_y(zathura->document);
} }
} }
bool
zathura_page_cache_is_cached(zathura_t* zathura, unsigned int page_index)
{
g_return_val_if_fail(zathura != NULL, false);
unsigned int i;
if (zathura->page_cache.num_cached_pages != 0) {
for (i = 0; i < zathura->page_cache.size; ++i) {
if (zathura->page_cache.cache[i] >= 0 && page_index == (unsigned int)zathura->page_cache.cache[i]) {
girara_debug("Page %d is a cache hit", page_index + 1);
return true;
}
}
}
girara_debug("Page %d is a cache miss", page_index + 1);
return false;
}
static ssize_t
zathura_page_cache_lru_invalidate(zathura_t* zathura)
{
g_return_val_if_fail(zathura != NULL, -1);
ssize_t lru_index = 0;
gint64 view_time = 0;
gint64 lru_view_time = G_MAXINT64;
GtkWidget* page_widget;
for (unsigned int i = 0; i < zathura->page_cache.size; ++i) {
page_widget = zathura_page_get_widget(zathura, zathura_document_get_page(zathura->document, zathura->page_cache.cache[i]));
g_return_val_if_fail(page_widget != NULL, -1);
g_object_get(G_OBJECT(page_widget), "last-view", &view_time, NULL);
if (view_time < lru_view_time) {
lru_view_time = view_time;
lru_index = i;
}
}
zathura_page_t* page = zathura_document_get_page(zathura->document, zathura->page_cache.cache[lru_index]);
g_return_val_if_fail(page != NULL, -1);
page_widget = zathura_page_get_widget(zathura, page);
g_return_val_if_fail(page_widget != NULL, -1);
zathura_page_widget_update_surface(ZATHURA_PAGE(page_widget), NULL);
girara_debug("Invalidated page %d at cache index %zd", zathura->page_cache.cache[lru_index] + 1, lru_index);
zathura->page_cache.cache[lru_index] = -1;
--zathura->page_cache.num_cached_pages;
return lru_index;
}
static bool
zathura_page_cache_is_full(zathura_t* zathura, bool* result)
{
g_return_val_if_fail(zathura != NULL && result != NULL, false);
*result = zathura->page_cache.num_cached_pages == zathura->page_cache.size;
return true;
}
void
zathura_page_cache_invalidate_all(zathura_t* zathura)
{
g_return_if_fail(zathura != NULL);
unsigned int i;
for (i = 0; i < zathura->page_cache.size; ++i) {
zathura->page_cache.cache[i] = -1;
}
zathura->page_cache.num_cached_pages = 0;
}
void
zathura_page_cache_add(zathura_t* zathura, unsigned int page_index)
{
g_return_if_fail(zathura != NULL);
zathura_page_t* page = zathura_document_get_page(zathura->document, page_index);
g_return_if_fail(page != NULL);
if (zathura_page_cache_is_cached(zathura, page_index) == true) {
return;
}
bool full;
if (zathura_page_cache_is_full(zathura, &full) == false) {
return;
} else if (full == true) {
ssize_t idx = zathura_page_cache_lru_invalidate(zathura);
if (idx == -1) {
return;
}
zathura->page_cache.cache[idx] = page_index;
++zathura->page_cache.num_cached_pages;
girara_debug("Page %d is cached at cache index %zd", page_index + 1, idx);
return;
}
zathura->page_cache.cache[zathura->page_cache.num_cached_pages++] = page_index;
girara_debug("Page %d is cached at cache index %d", page_index + 1, zathura->page_cache.num_cached_pages - 1);
return;
}

View file

@ -20,3 +20,4 @@ Comment[uk_UA]=Легкий переглядач документів
Exec=zathura %f Exec=zathura %f
Terminal=false Terminal=false
Categories=Office;Viewer; Categories=Office;Viewer;
Keywords=PDF;PS;PostScript;DjVU;document;presentation;

View file

@ -13,8 +13,6 @@
#include <gtk/gtkx.h> #include <gtk/gtkx.h>
#endif #endif
#define ZATHURA_PAGE_CACHE_DEFAULT_SIZE 15
enum { NEXT, PREVIOUS, LEFT, RIGHT, UP, DOWN, BOTTOM, TOP, HIDE, HIGHLIGHT, enum { NEXT, PREVIOUS, LEFT, RIGHT, UP, DOWN, BOTTOM, TOP, HIDE, HIGHLIGHT,
DELETE_LAST_WORD, DELETE_LAST_CHAR, DEFAULT, ERROR, WARNING, NEXT_GROUP, DELETE_LAST_WORD, DELETE_LAST_CHAR, DEFAULT, ERROR, WARNING, NEXT_GROUP,
PREVIOUS_GROUP, ZOOM_IN, ZOOM_OUT, ZOOM_ORIGINAL, ZOOM_SPECIFIC, FORWARD, PREVIOUS_GROUP, ZOOM_IN, ZOOM_OUT, ZOOM_ORIGINAL, ZOOM_SPECIFIC, FORWARD,
@ -28,13 +26,15 @@ enum {
ZATHURA_PAGE_NUMBER_UNSPECIFIED = INT_MIN ZATHURA_PAGE_NUMBER_UNSPECIFIED = INT_MIN
}; };
/* cache constants */
enum {
ZATHURA_PAGE_CACHE_DEFAULT_SIZE = 15,
ZATHURA_PAGE_CACHE_MAX_SIZE = 1024
};
/* forward declaration for types from database.h */ /* forward declaration for types from database.h */
typedef struct _ZathuraDatabase zathura_database_t; typedef struct _ZathuraDatabase zathura_database_t;
/* forward declaration for types from render.h */
struct render_thread_s;
typedef struct render_thread_s render_thread_t;
/** /**
* Jump * Jump
*/ */
@ -60,8 +60,6 @@ struct zathura_s
struct struct
{ {
GdkColor recolor_dark_color; /**< Dark color for recoloring */
GdkColor recolor_light_color; /**< Light color for recoloring */
GdkColor highlight_color; /**< Color for highlighting */ GdkColor highlight_color; /**< Color for highlighting */
GdkColor highlight_color_active; /** Color for highlighting */ GdkColor highlight_color_active; /** Color for highlighting */
GdkColor render_loading_bg; /**< Background color for render "Loading..." */ GdkColor render_loading_bg; /**< Background color for render "Loading..." */
@ -71,14 +69,11 @@ struct zathura_s
GtkWidget *page_widget_alignment; GtkWidget *page_widget_alignment;
GtkWidget *page_widget; /**< Widget that contains all rendered pages */ GtkWidget *page_widget; /**< Widget that contains all rendered pages */
GtkWidget *index; /**< Widget to show the index of the document */ GtkWidget *index; /**< Widget to show the index of the document */
GtkAdjustment *hadjustment; /**< Tracking hadjustment */
GtkAdjustment *vadjustment; /**< Tracking vadjustment */
} ui; } ui;
struct struct
{ {
render_thread_t* render_thread; /**< The thread responsible for rendering the pages */ ZathuraRenderer* render_thread; /**< The thread responsible for rendering the pages */
} sync; } sync;
struct struct
@ -106,9 +101,6 @@ struct zathura_s
struct struct
{ {
bool recolor_keep_hue; /**< Keep hue when recoloring */
bool recolor; /**< Recoloring mode switch */
bool update_page_number; /**< Update current page number */
int search_direction; /**< Current search direction (FORWARD or BACKWARD) */ int search_direction; /**< Current search direction (FORWARD or BACKWARD) */
girara_list_t* marks; /**< Marker */ girara_list_t* marks; /**< Marker */
char** arguments; /**> Arguments that were passed at startup */ char** arguments; /**> Arguments that were passed at startup */
@ -136,6 +128,11 @@ struct zathura_s
unsigned int max_size; unsigned int max_size;
} jumplist; } jumplist;
struct
{
guint refresh_view;
} signals;
struct struct
{ {
gchar* file; gchar* file;
@ -155,15 +152,6 @@ struct zathura_s
gchar* password; /**< Save password */ gchar* password; /**< Save password */
} file_monitor; } file_monitor;
/**
* The page cache
*/
struct {
int* cache;
unsigned int size;
unsigned int num_cached_pages;
} page_cache;
/** /**
* Bisect stage * Bisect stage
*/ */
@ -308,40 +296,39 @@ bool document_close(zathura_t* zathura, bool keep_monitor);
bool page_set(zathura_t* zathura, unsigned int page_id); bool page_set(zathura_t* zathura, unsigned int page_id);
/** /**
* Opens the page with the given number (delayed) * Moves to the given position
* *
* @param zathura The zathura session * @param zathura Zathura session
* @param page_id The id of the page that should be set * @param position_x X coordinate
* @param position_y Y coordinate
* @return If no error occured true, otherwise false, is returned. * @return If no error occured true, otherwise false, is returned.
*/ */
bool page_set_delayed(zathura_t* zathura, unsigned int page_id); bool position_set(zathura_t* zathura, double position_x, double position_y);
/** /**
* Moves to the given position * Refresh the page view
* *
* @param zathura Zathura session * @param zathura Zathura session
* @param position_x X coordinate
* @param position_y Y coordinate
*/ */
void position_set_delayed(zathura_t* zathura, double position_x, double position_y); void refresh_view(zathura_t* zathura);
/** /**
* Moves to the given position * Recompute the scale according to settings
* *
* @param zathura Zathura session * @param zathura Zathura session
* @param position_x X coordinate
* @param position_y Y coordinate
*/ */
void position_set(zathura_t* zathura, double position_x, double position_y); bool adjust_view(zathura_t* zathura);
/** /**
* Builds the box structure to show the rendered pages * Builds the box structure to show the rendered pages
* *
* @param zathura The zathura session * @param zathura The zathura session
* @param page_padding padding in pixels between pages
* @param pages_per_row Number of shown pages per row * @param pages_per_row Number of shown pages per row
* @param first_page_column Column on which first page start * @param first_page_column Column on which first page start
*/ */
void page_widget_set_mode(zathura_t* zathura, unsigned int pages_per_row, unsigned int first_page_column); void page_widget_set_mode(zathura_t* zathura, unsigned int page_padding,
unsigned int pages_per_row, unsigned int first_page_column);
/** /**
* Updates the page number in the statusbar. Note that 1 will be added to the * Updates the page number in the statusbar. Note that 1 will be added to the
@ -413,22 +400,4 @@ void zathura_jumplist_trim(zathura_t* zathura);
*/ */
bool zathura_jumplist_load(zathura_t* zathura, const char* file); bool zathura_jumplist_load(zathura_t* zathura, const char* file);
/**
* Add a page to the page cache
*
* @param zathura The zathura session
* @param page_index The index of the page to be cached
*/
void zathura_page_cache_add(zathura_t* zathura, unsigned int page_index);
/**
* Checks if the given page is cached
*
* @param zathura The zathura session
* @param page_index The index of the page that may be cached
*
* @return true if page is cached otherwise false
*/
bool zathura_page_cache_is_cached(zathura_t* zathura, unsigned int page_index);
#endif // ZATHURA_H #endif // ZATHURA_H

View file

@ -246,9 +246,14 @@ behaviour of them. Those can be passed as the last argument:
Possible arguments are: Possible arguments are:
* best-fit
* bottom * bottom
* collapse
* collapse-all
* default * default
* down * down
* expand
* expand-all
* full-down * full-down
* full-up * full-up
* half-down * half-down
@ -259,13 +264,12 @@ Possible arguments are:
* out * out
* previous * previous
* right * right
* rotate-ccw
* rotate-cw
* specific * specific
* top * top
* up * up
* best-fit
* width * width
* rotate-cw
* rotate-ccw
unmap - Removing a shortcut unmap - Removing a shortcut
--------------------------- ---------------------------
@ -686,6 +690,13 @@ Defines if scrolling by half or full pages stops at page boundaries.
* Value type: Boolean * Value type: Boolean
* Default value: false * Default value: false
link-zoom
^^^^^^^^^
En/Disables the hability of changing zoom when following links.
* Value type: Boolean
* Default value: true
link-hadjust link-hadjust
^^^^^^^^^^^^ ^^^^^^^^^^^^
En/Disables aligning to the left internal link targets, for example from the index En/Disables aligning to the left internal link targets, for example from the index
@ -749,6 +760,17 @@ Defines the amount of percent that is zoomed in or out on each command.
* Value type: Integer * Value type: Integer
* Default value: 10 * Default value: 10
selection-clipboard
^^^^^^^^^^^^^^^^^^^
Defines the X clipboard into which mouse-selected data will be written. When it
is "clipboard", selected data will be written to the CLIPBOARD clipboard, and
can be pasted using the Ctrl+v key combination. When it is "primary", selected
data will be written to the PRIMARY clipboard, and can be pasted using the
middle mouse button, or the Shift-Insert key combination.
* Value type: String
* Default value: primary
SEE ALSO SEE ALSO
======== ========