zathura-0.2.6/0000755000175000001440000000000012244447777012067 5ustar mockuserszathura-0.2.6/internal.h0000644000175000001440000000130312244447777014051 0ustar mockusers/* See LICENSE file for license and copyright information */ #ifndef INTERNAL_H #define INTERNAL_H #include "zathura.h" #include "plugin.h" /** * Zathura password dialog */ typedef struct zathura_password_dialog_info_s { char* path; /**< Path to the file */ zathura_t* zathura; /**< Zathura session */ } zathura_password_dialog_info_t; struct zathura_document_information_entry_s { zathura_document_information_type_t type; /**< Type of the information */ char* value; /**< Value */ }; /** * Returns the associated plugin * * @param document The document * @return The plugin or NULL */ zathura_plugin_t* zathura_document_get_plugin(zathura_document_t* document); #endif // INTERNAL_H zathura-0.2.6/callbacks.h0000644000175000001440000001361712244447777014167 0ustar mockusers/* See LICENSE file for license and copyright information */ #ifndef CALLBACKS_H #define CALLBACKS_H #include #include #include #include "internal.h" #include "document.h" #include "zathura.h" /** * Quits the current zathura session * * @param widget The gtk window of zathura * @param zathura Correspondending zathura session * @return true if no error occured and the event has been handled */ gboolean cb_destroy(GtkWidget* widget, zathura_t* zathura); /** * This function gets called when the buffer of girara changes * * @param session The girara 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 * changes (e.g.: by scrolling, moving to another page) * * @param adjustment The vadjustment of the page view * @param data NULL */ void cb_view_vadjustment_value_changed(GtkAdjustment *adjustment, gpointer data); /** * This function gets called when the bounds or the page_size of the horizontal * scrollbar change (e.g. when the zoom level is changed). * * It adjusts the value of the horizontal scrollbar * * @param adjustment The horizontal adjustment of a gtkScrolledWindow * @param data The zathura instance */ void cb_view_hadjustment_changed(GtkAdjustment *adjustment, gpointer data); /** * This function gets called when the bounds or the page_size of the vertical * scrollbar change (e.g. when the zoom level is changed). * * It adjusts the value of the vertical scrollbar based on its previous * adjustment, stored in the tracking adjustment zathura->ui.hadjustment. * * @param adjustment The vertical adjustment of a gtkScrolledWindow * @param data The zathura instance */ void cb_view_vadjustment_changed(GtkAdjustment *adjustment, gpointer data); /** * This function gets called when the program need to refresh the document view. * * It adjusts the value of the scrollbars, triggering a redraw in the new * position. * * @param view The view GtkWidget * @param data The zathura instance */ void cb_refresh_view(GtkWidget* view, gpointer data); /** * This function gets called when the value of the "pages-per-row" * 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_page_layout_value_changed(girara_session_t* session, const char* name, girara_setting_type_t type, void* value, void* data); /** * Called when an index element is activated (e.g.: double click) * * @param tree_view Tree view * @param path Path * @param column Column * @param zathura Zathura session */ void cb_index_row_activated(GtkTreeView* tree_view, GtkTreePath* path, GtkTreeViewColumn* column, void* zathura); /** * Called when input has been passed to the sc_follow dialog * * @param entry The dialog inputbar * @param session The girara session * @return true if no error occured and the event has been handled */ bool cb_sc_follow(GtkEntry* entry, girara_session_t* session); /** * Called when input has been passed to the sc_display_link dialog * * @param entry The dialog inputbar * @param session The girara session * @return true if no error occured and the event has been handled */ bool cb_sc_display_link(GtkEntry* entry, girara_session_t* session); /** * Emitted when file has been changed * * @param monitor The file monitor * @param file The file * @param other_file A file or NULL * @param event The monitor event * @param session The girara session */ void cb_file_monitor(GFileMonitor* monitor, GFile* file, GFile* other_file, GFileMonitorEvent event, girara_session_t* session); /** * Callback to read new password for file that should be opened * * @param entry The password entry * @param dialog The dialog information * @return true if input has been handled */ bool cb_password_dialog(GtkEntry* entry, zathura_password_dialog_info_t* dialog); /** * Emitted when the view has been resized * * @param widget View * @param allocation Allocation * @param zathura Zathura session * @return true if signal has been handled successfully */ bool cb_view_resized(GtkWidget* widget, GtkAllocation* allocation, zathura_t* zathura); /** * Emitted when the 'recolor' setting is changed * * @param session Girara session * @param name Name of the setting ("recolor") * @param type Type of the setting (BOOLEAN) * @param value New value * @param data Custom data */ void cb_setting_recolor_change(girara_session_t* session, const char* name, girara_setting_type_t type, void* value, void* data); /** * Emitted when the 'recolor-keephue' setting is changed * * @param session Girara session * @param name Name of the setting ("recolor") * @param type Type of the setting (BOOLEAN) * @param value New value * @param data Custom data */ void cb_setting_recolor_keep_hue_change(girara_session_t* session, const char* name, girara_setting_type_t type, void* value, void* data); /** * Unknown command handler which is used to handle the strict numeric goto * command * * @param session The girara session * @param input The command input * @return true if the input has been handled */ 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 zathura-0.2.6/page.h0000644000175000001440000001201012244447777013146 0ustar mockusers/* See LICENSE file for license and copyright information */ #ifndef PAGE_H #define PAGE_H #include #include #include "types.h" /** * Get the page object * * @param document The document * @param index Page number * @param error Optional error * @return Page object or NULL if an error occured */ zathura_page_t* zathura_page_new(zathura_document_t* document, unsigned int index, zathura_error_t* error); /** * Frees the page object * * @param page The page object * @return ZATHURA_ERROR_OK when no error occured, otherwise see * zathura_error_t */ zathura_error_t zathura_page_free(zathura_page_t* page); /** * Returns the associated document * * @param page The page object * @return The associated document * @return NULL if an error occured */ zathura_document_t* zathura_page_get_document(zathura_page_t* page); /** * Returns the set id of the page * * @param page The page object * @return The id of the page */ unsigned int zathura_page_get_index(zathura_page_t* page); /** * Returns the width of the page * * @param page The page object * @return Width of the page * @return -1 If an error occured */ double zathura_page_get_width(zathura_page_t* page); /** * Sets the new width of the page * * @param page The page object * @param width The new width of the page */ void zathura_page_set_width(zathura_page_t* page, double width); /** * Returns the height of the page * * @param page The page object * @return Height of the page * @return -1 If an error occured */ double zathura_page_get_height(zathura_page_t* page); /** * Sets the new height of the page * * @param page The page object * @param height The new height of the page */ void zathura_page_set_height(zathura_page_t* page, double height); /** * Returns the visibility of the page * * @param page The page object * @return true if the page is visible * @return false if the page is hidden */ bool zathura_page_get_visibility(zathura_page_t* page); /** * Sets the visibility of the page * * @param page The page object * @param visibility The new visibility value */ void zathura_page_set_visibility(zathura_page_t* page, bool visibility); /** * Returns the custom data * * @param page The page object * @return The custom data or NULL */ void* zathura_page_get_data(zathura_page_t* page); /** * Sets the custom data * * @param page The page object * @param data The custom data */ void zathura_page_set_data(zathura_page_t* page, void* data); /** * Search page * * @param page The page object * @param text Search item * @param error Set to an error value (see \ref zathura_error_t) if an * error occured * @return List of results */ girara_list_t* zathura_page_search_text(zathura_page_t* page, const char* text, zathura_error_t* error); /** * Get page links * * @param page The page object * @param error Set to an error value (see \ref zathura_error_t) if an * error occured * @return List of links */ girara_list_t* zathura_page_links_get(zathura_page_t* page, zathura_error_t* error); /** * Free page links * * @param list List of links * @return ZATHURA_ERROR_OK when no error occured, otherwise see * zathura_error_t */ zathura_error_t zathura_page_links_free(girara_list_t* list); /** * Get list of form fields * * @param page The page object * @param error Set to an error value (see \ref zathura_error_t) if an * error occured * @return List of form fields */ girara_list_t* zathura_page_form_fields_get(zathura_page_t* page, zathura_error_t* error); /** * Free list of form fields * * @param list List of form fields * @return ZATHURA_ERROR_OK when no error occured, otherwise see * zathura_error_t */ zathura_error_t zathura_page_form_fields_free(girara_list_t* list); /** * Get list of images * * @param page Page * @param error Set to an error value (see \ref zathura_error_t) if an * error occured * @return List of images or NULL if an error occured */ girara_list_t* zathura_page_images_get(zathura_page_t* page, zathura_error_t* error); /** * Get image * * @param page Page * @param image Image identifier * @param error Set to an error value (see \ref zathura_error_t) if an * error occured * @return The cairo image surface or NULL if an error occured */ cairo_surface_t* zathura_page_image_get_cairo(zathura_page_t* page, zathura_image_t* image, zathura_error_t* error); /** * Get text for selection * @param page Page * @param rectangle Selection * @param error Set to an error value (see \ref zathura_error_t) if an error * occured * @return The selected text (needs to be deallocated with g_free) */ char* zathura_page_get_text(zathura_page_t* page, zathura_rectangle_t rectangle, zathura_error_t* error); /** * Render page * * @param page The page object * @param cairo Cairo object * @param printing render for printing * @return ZATHURA_ERROR_OK when no error occured, otherwise see * zathura_error_t */ zathura_error_t zathura_page_render(zathura_page_t* page, cairo_t* cairo, bool printing); #endif // PAGE_H zathura-0.2.6/Doxyfile0000644000175000001440000000120712244447777013575 0ustar mockusers# See LICENSE file for license and copyright information # General information PROJECT_NAME = zathura OUTPUT_DIRECTORY = ./doc/ OUTPUT_LANGUAGE = English TAB_SIZE = 2 EXTRACT_ALL = YES OPTIMIZE_OUTPUT_FOR_C = YES DOXYFILE_ENCODING = UTF-8 TYPEDEF_HIDES_STRUCT = YES # Warning and progress messages QUIET = YES WARNINGS = YES WARN_IF_UNDOCUMENTED = YES # Input files INPUT = EXCLUDE = ./tests FILE_PATTERNS = *.h *.c RECURSIVE = YES # Output files GENERATE_HTML = YES GENERATE_LATEX = NO GENERATE_RTF = NO GENERATE_XML = NO SOURCE_BROWSER = YES zathura-0.2.6/zathura.pc.in0000644000175000001440000000031012244447777014470 0ustar mockusers INC_PATH=-I${includedir} Name: ${project} Description: document viewer Version: ${version} URL: http://pwmt.org/projects/zathura Cflags: ${INC_PATH} Requires.private: girara-gtk${GTK_VERSION} cairo zathura-0.2.6/links.c0000644000175000001440000001665612244447777013371 0ustar mockusers/* See LICENSE file for license and copyright information */ #include #include #include #include #include #include "adjustment.h" #include "links.h" #include "zathura.h" #include "document.h" #include "utils.h" #include "page.h" #include "render.h" struct zathura_link_s { zathura_rectangle_t position; /**< Position of the link */ zathura_link_type_t type; /**< Link type */ zathura_link_target_t target; /**< Link target */ }; /* forward declarations */ static void link_remote(zathura_t* zathura, const char* file); static void link_launch(zathura_t* zathura, zathura_link_t* link); zathura_link_t* zathura_link_new(zathura_link_type_t type, zathura_rectangle_t position, zathura_link_target_t target) { zathura_link_t* link = g_malloc0(sizeof(zathura_link_t)); link->type = type; link->position = position; switch (type) { case ZATHURA_LINK_NONE: case ZATHURA_LINK_GOTO_DEST: link->target = target; if (target.value != NULL) { link->target.value = g_strdup(target.value); } break; case ZATHURA_LINK_GOTO_REMOTE: case ZATHURA_LINK_URI: case ZATHURA_LINK_LAUNCH: case ZATHURA_LINK_NAMED: if (target.value == NULL) { g_free(link); return NULL; } link->target.value = g_strdup(target.value); break; default: g_free(link); return NULL; } return link; } void zathura_link_free(zathura_link_t* link) { if (link == NULL) { return; } switch (link->type) { case ZATHURA_LINK_NONE: case ZATHURA_LINK_GOTO_DEST: case ZATHURA_LINK_GOTO_REMOTE: case ZATHURA_LINK_URI: case ZATHURA_LINK_LAUNCH: case ZATHURA_LINK_NAMED: if (link->target.value != NULL) { g_free(link->target.value); } break; default: break; } g_free(link); } zathura_link_type_t zathura_link_get_type(zathura_link_t* link) { if (link == NULL) { return ZATHURA_LINK_INVALID; } return link->type; } zathura_rectangle_t zathura_link_get_position(zathura_link_t* link) { if (link == NULL) { zathura_rectangle_t position = { 0, 0, 0, 0 }; return position; } return link->position; } zathura_link_target_t zathura_link_get_target(zathura_link_t* link) { if (link == NULL) { zathura_link_target_t target = { 0, NULL, 0, 0, 0, 0, 0, 0 }; return target; } return link->target; } void zathura_link_evaluate(zathura_t* zathura, zathura_link_t* link) { if (zathura == NULL || zathura->document == NULL || link == NULL) { return; } bool link_zoom = true; girara_setting_get(zathura->ui.session, "link-zoom", &link_zoom); switch (link->type) { case ZATHURA_LINK_GOTO_DEST: if (link->target.destination_type != ZATHURA_LINK_DESTINATION_UNKNOWN) { if (link->target.scale != 0 && link_zoom) { zathura_document_set_scale(zathura->document, link->target.scale); render_all(zathura); } /* get page */ zathura_page_t* page = zathura_document_get_page(zathura->document, link->target.page_number); if (page == NULL) { return; } /* compute the position with the page aligned to the top and left of the viewport */ double pos_x = 0; double pos_y = 0; page_number_to_position(zathura->document, link->target.page_number, 0.0, 0.0, &pos_x, &pos_y); /* correct to place the target position at the top of the viewport */ /* NOTE: link->target is in page units, needs to be scaled and rotated */ unsigned int cell_height = 0; unsigned int cell_width = 0; zathura_document_get_cell_size(zathura->document, &cell_height, &cell_width); unsigned int doc_height = 0; unsigned int doc_width = 0; zathura_document_get_document_size(zathura->document, &doc_height, &doc_width); bool link_hadjust = true; girara_setting_get(zathura->ui.session, "link-hadjust", &link_hadjust); /* scale and rotate */ double scale = zathura_document_get_scale(zathura->document); double shiftx = link->target.left * scale / (double)cell_width; double shifty = link->target.top * scale / (double)cell_height; page_calc_position(zathura->document, shiftx, shifty, &shiftx, &shifty); /* shift the position or set to auto */ if (link->target.destination_type == ZATHURA_LINK_DESTINATION_XYZ && link->target.left != -1 && link_hadjust == true) { pos_x += shiftx / (double)doc_width; } else { pos_x = -1; /* -1 means automatic */ } if (link->target.destination_type == ZATHURA_LINK_DESTINATION_XYZ && link->target.top != -1) { pos_y += shifty / (double)doc_height; } else { pos_y = -1; /* -1 means automatic */ } /* move to position */ zathura_jumplist_add(zathura); zathura_document_set_current_page_number(zathura->document, link->target.page_number); position_set(zathura, pos_x, pos_y); zathura_jumplist_add(zathura); } break; case ZATHURA_LINK_GOTO_REMOTE: link_remote(zathura, link->target.value); break; case ZATHURA_LINK_URI: if (girara_xdg_open(link->target.value) == false) { girara_notify(zathura->ui.session, GIRARA_ERROR, _("Failed to run xdg-open.")); } break; case ZATHURA_LINK_LAUNCH: link_launch(zathura, link); break; default: break; } } void zathura_link_display(zathura_t* zathura, zathura_link_t* link) { zathura_link_type_t type = zathura_link_get_type(link); zathura_link_target_t target = zathura_link_get_target(link); switch (type) { case ZATHURA_LINK_GOTO_DEST: girara_notify(zathura->ui.session, GIRARA_INFO, _("Link: page %d"), target.page_number); break; case ZATHURA_LINK_GOTO_REMOTE: case ZATHURA_LINK_URI: case ZATHURA_LINK_LAUNCH: case ZATHURA_LINK_NAMED: girara_notify(zathura->ui.session, GIRARA_INFO, _("Link: %s"), target.value); break; default: girara_notify(zathura->ui.session, GIRARA_ERROR, _("Link: Invalid")); } } static void link_remote(zathura_t* zathura, const char* file) { if (zathura == NULL || file == NULL || zathura->document == NULL) { return; } const char* path = zathura_document_get_path(zathura->document); char* dir = g_path_get_dirname(path); char* uri = g_build_filename(dir, file, NULL); char* argv[] = { *(zathura->global.arguments), uri, NULL }; g_spawn_async(NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL); g_free(uri); g_free(dir); } static void link_launch(zathura_t* zathura, zathura_link_t* link) { if (zathura == NULL || link == NULL || zathura->document == NULL) { return; } /* get file path */ if (link->target.value == NULL) { return; }; char* path = NULL; if (g_path_is_absolute(link->target.value) == TRUE) { path = g_strdup(link->target.value); } else { const char* document = zathura_document_get_path(zathura->document); char* dir = g_path_get_dirname(document); path = g_build_filename(dir, link->target.value, NULL); g_free(dir); } if (girara_xdg_open(path) == false) { girara_notify(zathura->ui.session, GIRARA_ERROR, _("Failed to run xdg-open.")); } g_free(path); } zathura-0.2.6/glib-compat.h0000644000175000001440000000154512244447777014443 0ustar mockusers/* See LICENSE file for license and copyright information */ #ifndef GLIB_COMPAT_H #define GLIB_COMPAT_H #include /* GStaticMutex is deprecated starting with glib 2.32 */ #if !GLIB_CHECK_VERSION(2, 31, 0) #define mutex GStaticMutex #define mutex_init(m) g_static_mutex_init((m)) #define mutex_lock(m) g_static_mutex_lock((m)) #define mutex_unlock(m) g_static_mutex_unlock((m)) #define mutex_free(m) g_static_mutex_free((m)) #else #define mutex GMutex #define mutex_init(m) g_mutex_init((m)) #define mutex_lock(m) g_mutex_lock((m)) #define mutex_unlock(m) g_mutex_unlock((m)) #define mutex_free(m) g_mutex_clear((m)) #endif /* g_get_real_time appeared in 2.28 */ #if !GLIB_CHECK_VERSION(2, 27, 0) inline static gint64 g_get_real_time(void) { GTimeVal tv; g_get_current_time(&tv); return (((gint64) tv.tv_sec) * 1000000) + tv.tv_usec; } #endif #endif zathura-0.2.6/shortcuts.c0000644000175000001440000011662212244447777014301 0ustar mockusers/* See LICENSE file for license and copyright information */ #include #include #include #include #include #include #include #include "callbacks.h" #include "shortcuts.h" #include "document.h" #include "zathura.h" #include "render.h" #include "utils.h" #include "page.h" #include "print.h" #include "page-widget.h" #include "adjustment.h" #ifndef MIN #define MIN(a,b) (((a)<(b))?(a):(b)) #endif #ifndef MAX #define MAX(a,b) (((a)>(b))?(a):(b)) #endif /* Helper function; see sc_display_link and sc_follow. */ static bool draw_links(zathura_t* zathura) { /* set pages to draw links */ bool show_links = false; unsigned int page_offset = 0; unsigned int number_of_pages = zathura_document_get_number_of_pages(zathura->document); for (unsigned int page_id = 0; page_id < number_of_pages; page_id++) { zathura_page_t* page = zathura_document_get_page(zathura->document, page_id); if (page == NULL) { continue; } GtkWidget* page_widget = zathura_page_get_widget(zathura, page); g_object_set(page_widget, "draw-search-results", FALSE, NULL); if (zathura_page_get_visibility(page) == true) { g_object_set(page_widget, "draw-links", TRUE, NULL); int number_of_links = 0; g_object_get(page_widget, "number-of-links", &number_of_links, NULL); if (number_of_links != 0) { show_links = true; } g_object_set(page_widget, "offset-links", page_offset, NULL); page_offset += number_of_links; } else { g_object_set(page_widget, "draw-links", FALSE, NULL); } } return show_links; } bool sc_abort(girara_session_t* session, girara_argument_t* UNUSED(argument), girara_event_t* UNUSED(event), unsigned int UNUSED(t)) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; bool clear_search = true; girara_setting_get(session, "abort-clear-search", &clear_search); if (zathura->document != NULL) { unsigned int number_of_pages = zathura_document_get_number_of_pages(zathura->document); for (unsigned int page_id = 0; page_id < number_of_pages; ++page_id) { zathura_page_t* page = zathura_document_get_page(zathura->document, page_id); if (page == NULL) { continue; } GtkWidget* page_widget = zathura_page_get_widget(zathura, page); g_object_set(page_widget, "draw-links", FALSE, NULL); if (clear_search == true) { g_object_set(page_widget, "draw-search-results", FALSE, NULL); } } } girara_mode_set(session, session->modes.normal); girara_sc_abort(session, NULL, NULL, 0); return false; } bool sc_adjust_window(girara_session_t* session, girara_argument_t* argument, girara_event_t* UNUSED(event), unsigned int UNUSED(t)) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; g_return_val_if_fail(argument != NULL, false); zathura_document_set_adjust_mode(zathura->document, argument->n); adjust_view(zathura); return false; } bool sc_change_mode(girara_session_t* session, girara_argument_t* argument, girara_event_t* UNUSED(event), unsigned int UNUSED(t)) { g_return_val_if_fail(session != NULL, false); girara_mode_set(session, argument->n); return false; } bool sc_display_link(girara_session_t* session, girara_argument_t* UNUSED(argument), girara_event_t* UNUSED(event), unsigned int UNUSED(t)) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; if (zathura->document == NULL || zathura->ui.session == NULL) { return false; } bool show_links = draw_links(zathura); /* ask for input */ if (show_links) { zathura_document_set_adjust_mode(zathura->document, ZATHURA_ADJUST_INPUTBAR); girara_dialog(zathura->ui.session, "Display link:", FALSE, NULL, (girara_callback_inputbar_activate_t) cb_sc_display_link, zathura->ui.session); } return false; } bool sc_focus_inputbar(girara_session_t* session, girara_argument_t* argument, girara_event_t* UNUSED(event), unsigned int UNUSED(t)) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->gtk.inputbar_entry != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; g_return_val_if_fail(argument != NULL, false); zathura_document_set_adjust_mode(zathura->document, ZATHURA_ADJUST_INPUTBAR); if (gtk_widget_get_visible(GTK_WIDGET(session->gtk.inputbar)) == false) { gtk_widget_show(GTK_WIDGET(session->gtk.inputbar)); } if (gtk_widget_get_visible(GTK_WIDGET(session->gtk.notification_area)) == true) { gtk_widget_hide(GTK_WIDGET(session->gtk.notification_area)); } gtk_widget_grab_focus(GTK_WIDGET(session->gtk.inputbar_entry)); if (argument->data != NULL) { gtk_entry_set_text(session->gtk.inputbar_entry, (char*) argument->data); /* append filepath */ if (argument->n == APPEND_FILEPATH && zathura->document != NULL) { const char* file_path = zathura_document_get_path(zathura->document); if (file_path == NULL) { return false; } char* path = g_path_get_dirname(file_path); char* escaped = girara_escape_string(path); char* tmp = g_strdup_printf("%s%s/", (char*) argument->data, (g_strcmp0(path, "/") == 0) ? "" : escaped); g_free(path); g_free(escaped); gtk_entry_set_text(session->gtk.inputbar_entry, tmp); g_free(tmp); } GdkAtom* selection = get_selection(zathura); /* we save the X clipboard that will be clear by "grab_focus" */ 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); if (x_clipboard_text != NULL && selection != NULL) { /* we reset the X clipboard with saved text */ gtk_clipboard_set_text(gtk_clipboard_get(*selection), x_clipboard_text, -1); g_free(x_clipboard_text); } g_free(selection); } return true; } bool sc_follow(girara_session_t* session, girara_argument_t* UNUSED(argument), girara_event_t* UNUSED(event), unsigned int UNUSED(t)) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; if (zathura->document == NULL || zathura->ui.session == NULL) { return false; } bool show_links = draw_links(zathura); /* ask for input */ if (show_links == true) { zathura_document_set_adjust_mode(zathura->document, ZATHURA_ADJUST_INPUTBAR); girara_dialog(zathura->ui.session, "Follow link:", FALSE, NULL, (girara_callback_inputbar_activate_t) cb_sc_follow, zathura->ui.session); } return false; } bool sc_goto(girara_session_t* session, girara_argument_t* argument, girara_event_t* UNUSED(event), unsigned int t) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; g_return_val_if_fail(argument != NULL, false); g_return_val_if_fail(zathura->document != NULL, false); zathura_jumplist_add(zathura); if (t != 0) { /* add offset */ t += zathura_document_get_page_offset(zathura->document); page_set(zathura, t - 1); } else if (argument->n == TOP) { page_set(zathura, 0); } else if (argument->n == BOTTOM) { page_set(zathura, zathura_document_get_number_of_pages(zathura->document) - 1); } zathura_jumplist_add(zathura); return false; } bool sc_mouse_scroll(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; g_return_val_if_fail(argument != NULL, false); g_return_val_if_fail(event != NULL, false); if (zathura->document == NULL) { return false; } static int x = 0; static int y = 0; GtkAdjustment* x_adj = NULL; GtkAdjustment* y_adj = NULL; switch (event->type) { /* scroll */ case GIRARA_EVENT_SCROLL_UP: case GIRARA_EVENT_SCROLL_DOWN: case GIRARA_EVENT_SCROLL_LEFT: case GIRARA_EVENT_SCROLL_RIGHT: return sc_scroll(session, argument, NULL, t); /* drag */ case GIRARA_EVENT_BUTTON_PRESS: x = event->x; y = event->y; break; case GIRARA_EVENT_BUTTON_RELEASE: x = 0; y = 0; break; case GIRARA_EVENT_MOTION_NOTIFY: x_adj = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(session->gtk.view)); y_adj = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(session->gtk.view)); if (x_adj == NULL || y_adj == NULL) { return false; } zathura_adjustment_set_value(x_adj, gtk_adjustment_get_value(x_adj) - (event->x - x)); zathura_adjustment_set_value(y_adj, gtk_adjustment_get_value(y_adj) - (event->y - y)); break; /* unhandled events */ default: break; } return false; } bool sc_mouse_zoom(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; g_return_val_if_fail(argument != NULL, false); g_return_val_if_fail(event != NULL, false); if (zathura->document == NULL) { return false; } /* scroll event */ switch (event->type) { case GIRARA_EVENT_SCROLL_UP: argument->n = ZOOM_IN; break; case GIRARA_EVENT_SCROLL_DOWN: argument->n = ZOOM_OUT; break; default: return false; } return sc_zoom(session, argument, NULL, t); } bool sc_navigate(girara_session_t* session, girara_argument_t* argument, girara_event_t* UNUSED(event), unsigned int t) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; g_return_val_if_fail(argument != NULL, false); g_return_val_if_fail(zathura->document != NULL, false); int number_of_pages = zathura_document_get_number_of_pages(zathura->document); int new_page = zathura_document_get_current_page_number(zathura->document); bool scroll_wrap = false; girara_setting_get(session, "scroll-wrap", &scroll_wrap); bool columns_per_row_offset = false; girara_setting_get(session, "advance-pages-per-row", &columns_per_row_offset); int offset = 1; if (columns_per_row_offset == true) { girara_setting_get(session, "pages-per-row", &offset); } t = (t == 0) ? (unsigned int) offset : t; if (argument->n == NEXT) { if (scroll_wrap == false) { new_page = new_page + t; } else { new_page = (new_page + t) % number_of_pages; } } else if (argument->n == PREVIOUS) { if (scroll_wrap == false) { new_page = new_page - t; } else { new_page = (new_page + number_of_pages - t) % number_of_pages; } } if ((new_page < 0 || new_page >= number_of_pages) && !scroll_wrap) { return false; } page_set(zathura, new_page); return false; } bool sc_print(girara_session_t* session, girara_argument_t* UNUSED(argument), girara_event_t* UNUSED(event), unsigned int UNUSED(t)) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; if (zathura->document == NULL) { girara_notify(session, GIRARA_ERROR, _("No document opened.")); return false; } print(zathura); return true; } bool sc_recolor(girara_session_t* session, girara_argument_t* UNUSED(argument), girara_event_t* UNUSED(event), unsigned int UNUSED(t)) { g_return_val_if_fail(session != NULL, false); bool value = false; girara_setting_get(session, "recolor", &value); value = !value; girara_setting_set(session, "recolor", &value); return false; } bool sc_reload(girara_session_t* session, girara_argument_t* UNUSED(argument), girara_event_t* UNUSED(event), unsigned int UNUSED(t)) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; if (zathura->file_monitor.file_path == NULL) { return false; } /* close current document */ document_close(zathura, true); /* reopen document */ document_open(zathura, zathura->file_monitor.file_path, zathura->file_monitor.password, ZATHURA_PAGE_NUMBER_UNSPECIFIED); return false; } bool sc_rotate(girara_session_t* session, girara_argument_t* argument, girara_event_t* UNUSED(event), unsigned int t) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; g_return_val_if_fail(zathura->document != NULL, false); unsigned int page_number = zathura_document_get_current_page_number(zathura->document); int angle = 90; if (argument != NULL && argument->n == ROTATE_CCW) { angle = 270; } /* update rotate value */ t = (t == 0) ? 1 : t; unsigned int rotation = zathura_document_get_rotation(zathura->document); zathura_document_set_rotation(zathura->document, (rotation + angle * t) % 360); /* update scale */ girara_argument_t new_argument = { zathura_document_get_adjust_mode(zathura->document), NULL }; sc_adjust_window(zathura->ui.session, &new_argument, NULL, 0); /* render all pages again */ render_all(zathura); page_set(zathura, page_number); return false; } bool sc_scroll(girara_session_t* session, girara_argument_t* argument, girara_event_t* UNUSED(event), unsigned int t) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; g_return_val_if_fail(argument != NULL, false); if (zathura->document == NULL) { return false; } if (t == 0) { t = 1; } unsigned int view_width=0, view_height=0; zathura_document_get_viewport_size(zathura->document, &view_height, &view_width); unsigned int cell_width=0, cell_height=0; zathura_document_get_cell_size(zathura->document, &cell_height, &cell_width); unsigned int doc_width=0, doc_height=0; zathura_document_get_document_size(zathura->document, &doc_height, &doc_width); float scroll_step = 40; girara_setting_get(session, "scroll-step", &scroll_step); float scroll_hstep = -1; girara_setting_get(session, "scroll-hstep", &scroll_hstep); if (scroll_hstep < 0) { scroll_hstep = scroll_step; } float scroll_full_overlap = 0.0; girara_setting_get(session, "scroll-full-overlap", &scroll_full_overlap); bool scroll_page_aware = false; girara_setting_get(session, "scroll-page-aware", &scroll_page_aware); bool scroll_wrap = false; girara_setting_get(session, "scroll-wrap", &scroll_wrap); int padding = 1; girara_setting_get(session, "page-padding", &padding); 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) { case FULL_UP: case FULL_DOWN: pos_y += direction * (1.0 - scroll_full_overlap) * vstep; break; case FULL_LEFT: case FULL_RIGHT: pos_x += direction * (1.0 - scroll_full_overlap) * hstep; break; case HALF_UP: case HALF_DOWN: pos_y += direction * 0.5 * vstep; break; case HALF_LEFT: case HALF_RIGHT: pos_x += direction * 0.5 * hstep; break; case UP: case DOWN: pos_y += direction * t * scroll_step / (double)doc_height; break; case LEFT: case RIGHT: pos_x += direction * t * scroll_hstep / (double)doc_width; break; } /* handle boundaries */ double end_x = 0.5 * (double)view_width / (double)doc_width; double end_y = 0.5 * (double)view_height / (double)doc_height; 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 (pos_y < end_y) { pos_y = new_y; } else if (pos_y > 1.0 - end_y) { pos_y = 1 - new_y; } /* snap to the border if we change page */ double dummy; unsigned int new_page_id = position_to_page_number(zathura->document, pos_x, pos_y); if (scroll_page_aware == true && page_id != new_page_id) { 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; case FULL_RIGHT: case HALF_RIGHT: page_number_to_position(zathura->document, new_page_id, 0.0, 0.0, &pos_x, &dummy); break; case FULL_UP: case HALF_UP: page_number_to_position(zathura->document, new_page_id, 0.0, 1.0, &dummy, &pos_y); break; case FULL_DOWN: case HALF_DOWN: page_number_to_position(zathura->document, new_page_id, 0.0, 0.0, &dummy, &pos_y); break; } } position_set(zathura, pos_x, pos_y); return false; } bool sc_jumplist(girara_session_t* session, girara_argument_t* argument, girara_event_t* UNUSED(event), unsigned int UNUSED(t)) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; g_return_val_if_fail(argument != NULL, false); g_return_val_if_fail(zathura->document != NULL, false); /* if no jumps in the jumplist */ if (zathura->jumplist.size == 0) { return true; } double x = zathura_document_get_position_x(zathura->document); double y = zathura_document_get_position_y(zathura->document); zathura_jump_t* jump = NULL; zathura_jump_t* prev_jump = zathura_jumplist_current(zathura); bool go_to_current = false; if (zathura_jumplist_has_next(zathura) == false || zathura_jumplist_has_previous(zathura) == false) { if (x == prev_jump->x && y == prev_jump->y) { go_to_current = false; } else { go_to_current = true; } } switch(argument->n) { case FORWARD: if (go_to_current == true && zathura_jumplist_has_previous(zathura) == false) { jump = zathura_jumplist_current(zathura); } else { zathura_jumplist_forward(zathura); jump = zathura_jumplist_current(zathura); } break; case BACKWARD: if (go_to_current == true && zathura_jumplist_has_next(zathura) == false) { jump = zathura_jumplist_current(zathura); } else { zathura_jumplist_backward(zathura); jump = zathura_jumplist_current(zathura); } break; } if (jump == prev_jump) { if ((zathura_jumplist_has_previous(zathura) == false && argument->n == BACKWARD) || (zathura_jumplist_has_next(zathura) == false && argument->n == FORWARD)) { jump = NULL; } } if (jump != NULL) { page_set(zathura, jump->page); position_set(zathura, jump->x, jump->y); } return false; } bool sc_bisect(girara_session_t* session, girara_argument_t* argument, girara_event_t* UNUSED(event), unsigned int t) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; g_return_val_if_fail(argument != NULL, false); g_return_val_if_fail(zathura->document != NULL, false); const unsigned int num_pages = zathura_document_get_number_of_pages(zathura->document); const unsigned int cur_page = zathura_document_get_current_page_number(zathura->document); /* process arguments */ int direction; if (t > 0 && t <= num_pages) { /* bisect between cur_page and t */ t -= 1; if (t == cur_page) { /* nothing to do */ return false; } else if (t > cur_page) { zathura->bisect.start = cur_page; zathura->bisect.end = t; direction = BACKWARD; } else { zathura->bisect.start = t; zathura->bisect.end = cur_page; direction = FORWARD; } } else if (argument != NULL) { direction = argument->n; /* setup initial bisect range */ zathura_jump_t* jump = zathura_jumplist_current(zathura); if (jump == NULL) { girara_debug("bisecting between first and last page because there are no jumps"); zathura->bisect.start = 0; zathura->bisect.end = num_pages - 1; } else if (jump->page != cur_page || jump->page != zathura->bisect.last_jump) { girara_debug("last jump doesn't match up, starting new bisecting"); zathura->bisect.start = 0; zathura->bisect.end = num_pages - 1; unsigned int prev_page; if (direction == FORWARD) { prev_page = num_pages - 1; } else { prev_page = 0; } /* check if we have previous jumps */ if (zathura_jumplist_has_previous(zathura) == true) { zathura_jumplist_backward(zathura); jump = zathura_jumplist_current(zathura); if (jump != NULL) { prev_page = jump->page; } zathura_jumplist_forward(zathura); } zathura->bisect.start = MIN(prev_page, cur_page); zathura->bisect.end = MAX(prev_page, cur_page); zathura->bisect.last_jump = cur_page; } } else { return false; } girara_debug("bisecting between %d and %d, at %d", zathura->bisect.start, zathura->bisect.end, cur_page); if (zathura->bisect.start == zathura->bisect.end) { /* nothing to do */ return false; } unsigned int next_page = cur_page; unsigned int next_start = zathura->bisect.start; unsigned int next_end = zathura->bisect.end; /* here we have next_start <= next_page <= next_end */ /* bisect step */ switch(direction) { case FORWARD: if (cur_page != zathura->bisect.end) { next_page = (cur_page + zathura->bisect.end) / 2; if (next_page == cur_page) { ++next_page; } next_start = cur_page; } break; case BACKWARD: if (cur_page != zathura->bisect.start) { next_page = (cur_page + zathura->bisect.start) / 2; if (next_page == cur_page) { --next_page; } next_end = cur_page; } break; } if (next_page == cur_page) { /* nothing to do */ return false; } girara_debug("bisecting between %d and %d, jumping to %d", zathura->bisect.start, zathura->bisect.end, next_page); zathura->bisect.last_jump = next_page; zathura->bisect.start = next_start; zathura->bisect.end = next_end; zathura_jumplist_add(zathura); page_set(zathura, next_page); zathura_jumplist_add(zathura); return false; } bool sc_search(girara_session_t* session, girara_argument_t* argument, girara_event_t* UNUSED(event), unsigned int UNUSED(t)) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; g_return_val_if_fail(argument != NULL, false); g_return_val_if_fail(zathura->document != NULL, false); const unsigned int num_pages = zathura_document_get_number_of_pages(zathura->document); const unsigned int cur_page = zathura_document_get_current_page_number(zathura->document); GtkWidget *cur_page_widget = zathura_page_get_widget(zathura, zathura_document_get_page(zathura->document, cur_page)); bool nohlsearch, first_time_after_abort, draw; nohlsearch = first_time_after_abort = draw = false; girara_setting_get(session, "nohlsearch", &nohlsearch); if (nohlsearch == false) { g_object_get(cur_page_widget, "draw-search-results", &draw, NULL); if (draw == false) { first_time_after_abort = true; } document_draw_search_results(zathura, true); } int diff = argument->n == FORWARD ? 1 : -1; if (zathura->global.search_direction == BACKWARD) diff = -diff; zathura_page_t* target_page = NULL; int target_idx = 0; for (unsigned int page_id = 0; page_id < num_pages; ++page_id) { int tmp = cur_page + diff * page_id; zathura_page_t* page = zathura_document_get_page(zathura->document, (tmp + num_pages) % num_pages); if (page == NULL) { continue; } GtkWidget* page_widget = zathura_page_get_widget(zathura, page); int num_search_results = 0, current = -1; g_object_get(page_widget, "search-current", ¤t, "search-length", &num_search_results, NULL); if (num_search_results == 0 || current == -1) { continue; } if (first_time_after_abort == true || (tmp + num_pages) % num_pages != cur_page) { target_page = page; target_idx = diff == 1 ? 0 : num_search_results - 1; break; } if (diff == 1 && current < num_search_results - 1) { /* the next result is on the same page */ target_page = page; target_idx = current + 1; } else if (diff == -1 && current > 0) { target_page = page; target_idx = current - 1; } else { /* the next result is on a different page */ g_object_set(page_widget, "search-current", -1, NULL); for (int npage_id = 1; page_id < num_pages; ++npage_id) { int ntmp = cur_page + diff * (page_id + npage_id); zathura_page_t* npage = zathura_document_get_page(zathura->document, (ntmp + 2*num_pages) % num_pages); GtkWidget* npage_page_widget = zathura_page_get_widget(zathura, npage); g_object_get(npage_page_widget, "search-length", &num_search_results, NULL); if (num_search_results != 0) { target_page = npage; target_idx = diff == 1 ? 0 : num_search_results - 1; break; } } } break; } if (target_page != NULL) { girara_list_t* results = NULL; GtkWidget* page_widget = zathura_page_get_widget(zathura, target_page); g_object_set(page_widget, "search-current", target_idx, NULL); g_object_get(page_widget, "search-results", &results, NULL); zathura_rectangle_t* rect = girara_list_nth(results, target_idx); zathura_rectangle_t rectangle = recalc_rectangle(target_page, *rect); bool search_hadjust = true; 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) { pos_x += (rectangle.x1 - (double)cell_width/2) / (double)doc_width; } /* move to position */ zathura_jumplist_add(zathura); position_set(zathura, pos_x, pos_y); zathura_jumplist_add(zathura); } return false; } bool sc_navigate_index(girara_session_t* session, girara_argument_t* argument, girara_event_t* UNUSED(event), unsigned int UNUSED(t)) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; g_return_val_if_fail(argument != NULL, false); g_return_val_if_fail(zathura->document != NULL, false); if(zathura->ui.index == NULL) { return false; } GtkTreeView *tree_view = gtk_container_get_children(GTK_CONTAINER(zathura->ui.index))->data; GtkTreePath *path; gtk_tree_view_get_cursor(tree_view, &path, NULL); if (path == NULL) { return false; } GtkTreeModel *model = gtk_tree_view_get_model(tree_view); GtkTreeIter iter; GtkTreeIter child_iter; gboolean is_valid_path = TRUE; switch(argument->n) { case UP: if (gtk_tree_path_prev(path) == FALSE) { /* For some reason gtk_tree_path_up returns TRUE although we're not * moving anywhere. */ is_valid_path = gtk_tree_path_up(path) && (gtk_tree_path_get_depth(path) > 0); } else { /* row above */ while(gtk_tree_view_row_expanded(tree_view, path)) { gtk_tree_model_get_iter(model, &iter, path); /* select last child */ gtk_tree_model_iter_nth_child(model, &child_iter, &iter, gtk_tree_model_iter_n_children(model, &iter)-1); gtk_tree_path_free(path); path = gtk_tree_model_get_path(model, &child_iter); } } break; case COLLAPSE: if (gtk_tree_view_collapse_row(tree_view, path) == FALSE && gtk_tree_path_get_depth(path) > 1) { gtk_tree_path_up(path); gtk_tree_view_collapse_row(tree_view, path); } break; case DOWN: if (gtk_tree_view_row_expanded(tree_view, path) == TRUE) { gtk_tree_path_down(path); } else { do { gtk_tree_model_get_iter(model, &iter, path); if (gtk_tree_model_iter_next(model, &iter)) { gtk_tree_path_free(path); path = gtk_tree_model_get_path(model, &iter); break; } } while((is_valid_path = (gtk_tree_path_get_depth(path) > 1)) && gtk_tree_path_up(path)); } break; case EXPAND: if (gtk_tree_view_expand_row(tree_view, path, FALSE)) { gtk_tree_path_down(path); } break; case EXPAND_ALL: gtk_tree_view_expand_all(tree_view); break; case COLLAPSE_ALL: gtk_tree_view_collapse_all(tree_view); gtk_tree_path_free(path); path = gtk_tree_path_new_first(); gtk_tree_view_set_cursor(tree_view, path, NULL, FALSE); break; case SELECT: cb_index_row_activated(tree_view, path, NULL, zathura); gtk_tree_path_free(path); return false; } if (is_valid_path) { gtk_tree_view_set_cursor(tree_view, path, NULL, FALSE); } gtk_tree_path_free(path); return false; } bool sc_toggle_index(girara_session_t* session, girara_argument_t* UNUSED(argument), girara_event_t* UNUSED(event), unsigned int UNUSED(t)) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; if (zathura->document == NULL) { return false; } girara_tree_node_t* document_index = NULL; GtkWidget* treeview = NULL; GtkTreeModel* model = NULL; GtkCellRenderer* renderer = NULL; GtkCellRenderer* renderer2 = NULL; if (zathura->ui.index == NULL) { /* create new index widget */ zathura->ui.index = gtk_scrolled_window_new(NULL, NULL); if (zathura->ui.index == NULL) { goto error_ret; } gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(zathura->ui.index), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); /* create index */ document_index = zathura_document_index_generate(zathura->document, NULL); if (document_index == NULL) { girara_notify(session, GIRARA_WARNING, _("This document does not contain any index")); goto error_free; } model = GTK_TREE_MODEL(gtk_tree_store_new(3, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_POINTER)); if (model == NULL) { goto error_free; } treeview = gtk_tree_view_new_with_model(model); if (treeview == NULL) { goto error_free; } g_object_unref(model); renderer = gtk_cell_renderer_text_new(); if (renderer == NULL) { goto error_free; } renderer2 = gtk_cell_renderer_text_new(); if (renderer2 == NULL) { goto error_free; } document_index_build(model, NULL, document_index); girara_node_free(document_index); /* setup widget */ gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW (treeview), 0, "Title", renderer, "markup", 0, NULL); gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW (treeview), 1, "Target", renderer2, "text", 1, NULL); gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(treeview), FALSE); g_object_set(G_OBJECT(renderer), "ellipsize", PANGO_ELLIPSIZE_END, NULL); g_object_set(G_OBJECT(gtk_tree_view_get_column(GTK_TREE_VIEW(treeview), 0)), "expand", TRUE, NULL); gtk_tree_view_column_set_alignment(gtk_tree_view_get_column(GTK_TREE_VIEW(treeview), 1), 1.0f); gtk_tree_view_set_cursor(GTK_TREE_VIEW(treeview), gtk_tree_path_new_first(), NULL, FALSE); g_signal_connect(G_OBJECT(treeview), "row-activated", G_CALLBACK(cb_index_row_activated), zathura); gtk_container_add(GTK_CONTAINER(zathura->ui.index), treeview); gtk_widget_show(treeview); } if (gtk_widget_get_visible(GTK_WIDGET(zathura->ui.index))) { girara_set_view(session, zathura->ui.page_widget_alignment); gtk_widget_hide(GTK_WIDGET(zathura->ui.index)); girara_mode_set(zathura->ui.session, zathura->modes.normal); /* refresh view */ refresh_view(zathura); } else { /* save current position to the jumplist */ zathura_jumplist_add(zathura); girara_set_view(session, zathura->ui.index); gtk_widget_show(GTK_WIDGET(zathura->ui.index)); girara_mode_set(zathura->ui.session, zathura->modes.index); } return false; error_free: if (zathura->ui.index != NULL) { g_object_ref_sink(zathura->ui.index); zathura->ui.index = NULL; } if (document_index != NULL) { girara_node_free(document_index); } error_ret: return false; } bool sc_toggle_page_mode(girara_session_t* session, girara_argument_t* UNUSED(argument), girara_event_t* UNUSED(event), unsigned int UNUSED(t)) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; if (zathura->document == NULL) { girara_notify(session, GIRARA_WARNING, _("No document opened.")); return false; } int pages_per_row = 1; girara_setting_get(zathura->ui.session, "pages-per-row", &pages_per_row); static int tmp = 2; int value = 1; if (pages_per_row == 1) { value = tmp; } else { tmp = pages_per_row; } girara_setting_set(zathura->ui.session, "pages-per-row", &value); return true; } bool sc_toggle_fullscreen(girara_session_t* session, girara_argument_t* UNUSED(argument), girara_event_t* UNUSED(event), unsigned int UNUSED(t)) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; if (zathura->document == NULL) { girara_notify(session, GIRARA_WARNING, _("No document opened.")); return false; } static bool fullscreen = false; static int pages_per_row = 1; static int first_page_column = 1; static double zoom = 1.0; if (fullscreen == true) { /* reset pages per row */ girara_setting_set(session, "pages-per-row", &pages_per_row); /* reset first page column */ girara_setting_set(session, "first-page-column", &first_page_column); /* show status bar */ gtk_widget_show(GTK_WIDGET(session->gtk.statusbar)); /* set full screen */ gtk_window_unfullscreen(GTK_WINDOW(session->gtk.window)); /* reset scale */ zathura_document_set_scale(zathura->document, zoom); render_all(zathura); refresh_view(zathura); /* setm ode */ girara_mode_set(session, zathura->modes.normal); } else { /* backup pages per row */ girara_setting_get(session, "pages-per-row", &pages_per_row); /* backup first page column */ girara_setting_get(session, "first-page-column", &first_page_column); /* set single view */ int int_value = 1; girara_setting_set(session, "pages-per-row", &int_value); /* back up zoom */ zoom = zathura_document_get_scale(zathura->document); /* adjust window */ girara_argument_t argument = { ZATHURA_ADJUST_BESTFIT, NULL }; sc_adjust_window(session, &argument, NULL, 0); /* hide status and inputbar */ gtk_widget_hide(GTK_WIDGET(session->gtk.inputbar)); gtk_widget_hide(GTK_WIDGET(session->gtk.statusbar)); /* set full screen */ gtk_window_fullscreen(GTK_WINDOW(session->gtk.window)); refresh_view(zathura); /* setm ode */ girara_mode_set(session, zathura->modes.fullscreen); } fullscreen = fullscreen ? false : true; return false; } bool sc_quit(girara_session_t* session, girara_argument_t* UNUSED(argument), girara_event_t* UNUSED(event), unsigned int UNUSED(t)) { g_return_val_if_fail(session != NULL, false); girara_argument_t arg = { GIRARA_HIDE, NULL }; girara_isc_completion(session, &arg, NULL, 0); cb_destroy(NULL, NULL); return false; } bool sc_zoom(girara_session_t* session, girara_argument_t* argument, girara_event_t* UNUSED(event), unsigned int t) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; g_return_val_if_fail(argument != NULL, false); g_return_val_if_fail(zathura->document != NULL, false); zathura_document_set_adjust_mode(zathura->document, ZATHURA_ADJUST_NONE); /* retreive zoom step value */ int value = 1; girara_setting_get(zathura->ui.session, "zoom-step", &value); int nt = (t == 0) ? 1 : t; float zoom_step = value / 100.0f * nt; float old_zoom = zathura_document_get_scale(zathura->document); /* specify new zoom value */ if (argument->n == ZOOM_IN) { zathura_document_set_scale(zathura->document, old_zoom + zoom_step); } else if (argument->n == ZOOM_OUT) { zathura_document_set_scale(zathura->document, old_zoom - zoom_step); } else if (argument->n == ZOOM_SPECIFIC) { if (t == 0) { zathura_document_set_scale(zathura->document, 1.0f); } else { zathura_document_set_scale(zathura->document, t / 100.0f); } } else { zathura_document_set_scale(zathura->document, 1.0f); } /* zoom limitations */ int zoom_min_int = 10; int zoom_max_int = 1000; girara_setting_get(session, "zoom-min", &zoom_min_int); girara_setting_get(session, "zoom-max", &zoom_max_int); float zoom_min = zoom_min_int * 0.01f; float zoom_max = zoom_max_int * 0.01f; float scale = zathura_document_get_scale(zathura->document); if (scale < zoom_min) { zathura_document_set_scale(zathura->document, zoom_min); } else if (scale > zoom_max) { zathura_document_set_scale(zathura->document, zoom_max); } render_all(zathura); refresh_view(zathura); return false; } zathura-0.2.6/version.h.in0000644000175000001440000000053512244447777014335 0ustar mockusers/* See LICENSE file for license and copyright information */ #ifndef ZATHURA_VERSION_H #define ZATHURA_VERSION_H #define ZATHURA_VERSION_MAJOR ZVMAJOR #define ZATHURA_VERSION_MINOR ZVMINOR #define ZATHURA_VERSION_REV ZVREV #define ZATHURA_VERSION "ZVMAJOR.ZVMINOR.ZVREV" #define ZATHURA_API_VERSION ZVAPI #define ZATHURA_ABI_VERSION ZVABI #endif zathura-0.2.6/bookmarks.c0000644000175000001440000000724212244447777014230 0ustar mockusers/* See LICENSE file for license and copyright information */ #include #include "bookmarks.h" #include "database.h" #include "document.h" #include "adjustment.h" #include #include #include static int bookmark_compare_find(const void* item, const void* data) { const zathura_bookmark_t* bookmark = item; const char* id = data; return g_strcmp0(bookmark->id, id); } zathura_bookmark_t* 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(id, NULL); double position_x = zathura_document_get_position_x(zathura->document); double position_y = zathura_document_get_position_y(zathura->document); zathura_bookmark_t* old = zathura_bookmark_get(zathura, id); if (old != NULL) { old->page = page; old->x = position_x; old->y = position_y; if (zathura->database != NULL) { const char* path = zathura_document_get_path(zathura->document); if (zathura_db_remove_bookmark(zathura->database, path, old->id) == false) { girara_warning("Failed to remove old bookmark from database."); } if (zathura_db_add_bookmark(zathura->database, path, old) == false) { girara_warning("Failed to add new bookmark to database."); } } return old; } zathura_bookmark_t* bookmark = g_malloc0(sizeof(zathura_bookmark_t)); bookmark->id = g_strdup(id); bookmark->page = page; bookmark->x = position_x; bookmark->y = position_y; girara_list_append(zathura->bookmarks.bookmarks, bookmark); if (zathura->database != NULL) { const char* path = zathura_document_get_path(zathura->document); if (zathura_db_add_bookmark(zathura->database, path, bookmark) == false) { girara_warning("Failed to add bookmark to database."); } } return bookmark; } bool zathura_bookmark_remove(zathura_t* zathura, const gchar* id) { g_return_val_if_fail(zathura && zathura->document && zathura->bookmarks.bookmarks, false); g_return_val_if_fail(id, false); zathura_bookmark_t* bookmark = zathura_bookmark_get(zathura, id); if (bookmark == NULL) { return false; } if (zathura->database != NULL) { const char* path = zathura_document_get_path(zathura->document); if (zathura_db_remove_bookmark(zathura->database, path, bookmark->id) == false) { girara_warning("Failed to remove bookmark from database."); } } girara_list_remove(zathura->bookmarks.bookmarks, bookmark); return true; } zathura_bookmark_t* zathura_bookmark_get(zathura_t* zathura, const gchar* id) { g_return_val_if_fail(zathura && zathura->bookmarks.bookmarks, NULL); g_return_val_if_fail(id, NULL); return girara_list_find(zathura->bookmarks.bookmarks, bookmark_compare_find, id); } void zathura_bookmark_free(zathura_bookmark_t* bookmark) { if (bookmark == NULL) { return; } g_free(bookmark->id); g_free(bookmark); } bool zathura_bookmarks_load(zathura_t* zathura, const gchar* file) { g_return_val_if_fail(zathura, false); g_return_val_if_fail(file, false); if (zathura->database == NULL) { return false; } girara_list_t* bookmarks = zathura_db_load_bookmarks(zathura->database, file); if (bookmarks == NULL) { return false; } girara_list_free(zathura->bookmarks.bookmarks); zathura->bookmarks.bookmarks = bookmarks; return true; } int zathura_bookmarks_compare(zathura_bookmark_t* lhs, zathura_bookmark_t* rhs) { if (lhs == NULL && rhs == NULL) { return 0; } if (lhs == NULL) { return -1; } if (rhs == NULL) { return 1; } return g_strcmp0(lhs->id, rhs->id); } zathura-0.2.6/config.h0000644000175000001440000000106012244447777013502 0ustar mockusers/* See LICENSE file for license and copyright information */ #ifndef CONFIG_H #define CONFIG_H #define GLOBAL_RC "/etc/zathurarc" #define ZATHURA_RC "zathurarc" #include "zathura.h" /** * This function loads the default values of the configuration * * @param zathura The zathura session */ void config_load_default(zathura_t* zathura); /** * Loads and evaluates a configuration file * * @param zathura The zathura session * @param path Path to the configuration file */ void config_load_file(zathura_t* zathura, char* path); #endif // CONFIG_H zathura-0.2.6/commands.c0000644000175000001440000004166312244447777014046 0ustar mockusers/* See LICENSE file for license and copyright information */ #include #include #include #include "commands.h" #include "shortcuts.h" #include "bookmarks.h" #include "database.h" #include "document.h" #include "zathura.h" #include "print.h" #include "document.h" #include "utils.h" #include "page-widget.h" #include "page.h" #include "plugin.h" #include "internal.h" #include "render.h" #include "adjustment.h" #include #include #include #include #include bool cmd_bookmark_create(girara_session_t* session, girara_list_t* argument_list) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; if (zathura->document == NULL) { girara_notify(session, GIRARA_ERROR, _("No document opened.")); return false; } const unsigned int argc = girara_list_size(argument_list); if (argc != 1) { girara_notify(session, GIRARA_ERROR, _("Invalid number of arguments given.")); return false; } const char* bookmark_name = girara_list_nth(argument_list, 0); zathura_bookmark_t* bookmark = zathura_bookmark_get(zathura, bookmark_name); bool update = bookmark != NULL ? true : false; bookmark = zathura_bookmark_add(zathura, bookmark_name, zathura_document_get_current_page_number(zathura->document) + 1); if (bookmark == NULL) { if (update == true) { girara_notify(session, GIRARA_ERROR, _("Could not update bookmark: %s"), bookmark_name); } else { girara_notify(session, GIRARA_ERROR, _("Could not create bookmark: %s"), bookmark_name); } return false; } else { if (update == true) { girara_notify(session, GIRARA_INFO, _("Bookmark successfully updated: %s"), bookmark_name); } else { girara_notify(session, GIRARA_INFO, _("Bookmark successfully created: %s"), bookmark_name); } } return true; } bool cmd_bookmark_delete(girara_session_t* session, girara_list_t* argument_list) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; if (zathura->document == NULL) { girara_notify(session, GIRARA_ERROR, _("No document opened.")); return false; } const unsigned int argc = girara_list_size(argument_list); if (argc != 1) { girara_notify(session, GIRARA_ERROR, _("Invalid number of arguments given.")); return false; } const char* bookmark = girara_list_nth(argument_list, 0); if (zathura_bookmark_remove(zathura, bookmark)) { girara_notify(session, GIRARA_INFO, _("Removed bookmark: %s"), bookmark); } else { girara_notify(session, GIRARA_ERROR, _("Failed to remove bookmark: %s"), bookmark); } return true; } bool cmd_bookmark_open(girara_session_t* session, girara_list_t* argument_list) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; if (zathura->document == NULL) { girara_notify(session, GIRARA_ERROR, _("No document opened.")); return false; } const unsigned int argc = girara_list_size(argument_list); if (argc != 1) { girara_notify(session, GIRARA_ERROR, _("Invalid number of arguments given.")); return false; } const char* bookmark_name = girara_list_nth(argument_list, 0); zathura_bookmark_t* bookmark = zathura_bookmark_get(zathura, bookmark_name); if (bookmark == NULL) { girara_notify(session, GIRARA_ERROR, _("No such bookmark: %s"), bookmark_name); return false; } zathura_jumplist_add(zathura); page_set(zathura, bookmark->page - 1); if (bookmark->x != DBL_MIN && bookmark->y != DBL_MIN) { position_set(zathura, bookmark->x, bookmark->y); } zathura_jumplist_add(zathura); return true; } bool cmd_close(girara_session_t* session, girara_list_t* UNUSED(argument_list)) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; if (zathura->document == NULL) { return true; } document_close(zathura, false); return true; } bool cmd_info(girara_session_t* session, girara_list_t* UNUSED(argument_list)) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; if (zathura->document == NULL) { girara_notify(session, GIRARA_ERROR, _("No document opened.")); return false; } struct meta_field { char* name; zathura_document_information_type_t field; }; const struct meta_field meta_fields[] = { { _("Title"), ZATHURA_DOCUMENT_INFORMATION_TITLE }, { _("Author"), ZATHURA_DOCUMENT_INFORMATION_AUTHOR }, { _("Subject"), ZATHURA_DOCUMENT_INFORMATION_SUBJECT }, { _("Keywords"), ZATHURA_DOCUMENT_INFORMATION_KEYWORDS }, { _("Creator"), ZATHURA_DOCUMENT_INFORMATION_CREATOR }, { _("Producer"), ZATHURA_DOCUMENT_INFORMATION_PRODUCER }, { _("Creation date"), ZATHURA_DOCUMENT_INFORMATION_CREATION_DATE }, { _("Modification date"), ZATHURA_DOCUMENT_INFORMATION_MODIFICATION_DATE } }; girara_list_t* information = zathura_document_get_information(zathura->document, NULL); if (information == NULL) { girara_notify(session, GIRARA_INFO, _("No information available.")); return false; } GString* string = g_string_new(NULL); GIRARA_LIST_FOREACH(information, zathura_document_information_entry_t*, iter, entry) if (entry != NULL) { for (unsigned int i = 0; i < LENGTH(meta_fields); i++) { if (meta_fields[i].field == entry->type) { char* text = g_strdup_printf("%s: %s\n", meta_fields[i].name, entry->value); g_string_append(string, text); g_free(text); } } } GIRARA_LIST_FOREACH_END(information, zathura_document_information_entry_t*, iter, entry); if (strlen(string->str) > 0) { g_string_erase(string, strlen(string->str) - 1, 1); girara_notify(session, GIRARA_INFO, "%s", string->str); } else { girara_notify(session, GIRARA_INFO, _("No information available.")); } g_string_free(string, TRUE); return false; } bool cmd_help(girara_session_t* UNUSED(session), girara_list_t* UNUSED(argument_list)) { return true; } bool cmd_hlsearch(girara_session_t* session, girara_list_t* UNUSED(argument_list)) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; document_draw_search_results(zathura, true); render_all(zathura); return true; } bool cmd_open(girara_session_t* session, girara_list_t* argument_list) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; const int argc = girara_list_size(argument_list); if (argc > 2) { girara_notify(session, GIRARA_ERROR, _("Too many arguments.")); return false; } else if (argc >= 1) { if (zathura->document != NULL) { document_close(zathura, false); } document_open(zathura, girara_list_nth(argument_list, 0), (argc == 2) ? girara_list_nth(argument_list, 1) : NULL, ZATHURA_PAGE_NUMBER_UNSPECIFIED); } else { girara_notify(session, GIRARA_ERROR, _("No arguments given.")); return false; } return true; } bool cmd_quit(girara_session_t* session, girara_list_t* UNUSED(argument_list)) { sc_quit(session, NULL, NULL, 0); return true; } bool cmd_print(girara_session_t* session, girara_list_t* UNUSED(argument_list)) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; if (zathura->document == NULL) { girara_notify(session, GIRARA_ERROR, _("No document opened.")); return false; } print(zathura); return true; } bool cmd_nohlsearch(girara_session_t* session, girara_list_t* UNUSED(argument_list)) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; document_draw_search_results(zathura, false); render_all(zathura); return true; } bool cmd_save(girara_session_t* session, girara_list_t* argument_list) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; if (zathura->document == NULL) { girara_notify(session, GIRARA_ERROR, _("No document opened.")); return false; } if (girara_list_size(argument_list) == 1) { if (document_save(zathura, girara_list_nth(argument_list, 0), false) == true) { girara_notify(session, GIRARA_INFO, _("Document saved.")); } else { girara_notify(session, GIRARA_INFO, _("Failed to save document.")); } } else { girara_notify(session, GIRARA_ERROR, _("Invalid number of arguments.")); return false; } return true; } bool cmd_savef(girara_session_t* session, girara_list_t* argument_list) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; if (zathura->document == NULL) { girara_notify(session, GIRARA_ERROR, _("No document opened.")); return false; } if (girara_list_size(argument_list) == 1) { if (document_save(zathura, girara_list_nth(argument_list, 0), true) == true) { girara_notify(session, GIRARA_INFO, _("Document saved.")); } else { girara_notify(session, GIRARA_INFO, _("Failed to save document.")); } } else { girara_notify(session, GIRARA_ERROR, _("Invalid number of arguments.")); return false; } return true; } bool cmd_search(girara_session_t* session, const char* input, girara_argument_t* argument) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(input != NULL, false); g_return_val_if_fail(argument != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; if (zathura->document == NULL || strlen(input) == 0) { return false; } zathura_error_t error = ZATHURA_ERROR_OK; /* set search direction */ zathura->global.search_direction = argument->n; unsigned int number_of_pages = zathura_document_get_number_of_pages(zathura->document); unsigned int current_page_number = zathura_document_get_current_page_number(zathura->document); /* reset search highlighting */ bool nohlsearch = false; girara_setting_get(session, "nohlsearch", &nohlsearch); /* search pages */ for (unsigned int page_id = 0; page_id < number_of_pages; ++page_id) { unsigned int index = (page_id + current_page_number) % number_of_pages; zathura_page_t* page = zathura_document_get_page(zathura->document, index); if (page == NULL) { continue; } GtkWidget* page_widget = zathura_page_get_widget(zathura, page); g_object_set(page_widget, "draw-links", FALSE, NULL); zathura_renderer_lock(zathura->sync.render_thread); girara_list_t* result = zathura_page_search_text(page, input, &error); zathura_renderer_unlock(zathura->sync.render_thread); if (result == NULL || girara_list_size(result) == 0) { girara_list_free(result); g_object_set(page_widget, "search-results", NULL, NULL); if (error == ZATHURA_ERROR_NOT_IMPLEMENTED) { break; } else { continue; } } g_object_set(page_widget, "search-results", result, NULL); if (argument->n == BACKWARD) { /* start at bottom hit in page */ g_object_set(page_widget, "search-current", girara_list_size(result) - 1, NULL); } else { g_object_set(page_widget, "search-current", 0, NULL); } } girara_argument_t* arg = g_malloc0(sizeof(girara_argument_t)); arg->n = FORWARD; sc_search(session, arg, NULL, 0); g_free(arg); return true; } bool cmd_export(girara_session_t* session, girara_list_t* argument_list) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; if (zathura->document == NULL) { girara_notify(session, GIRARA_ERROR, _("No document opened.")); return false; } if (girara_list_size(argument_list) != 2) { girara_notify(session, GIRARA_ERROR, _("Invalid number of arguments given.")); return false; } const char* file_identifier = girara_list_nth(argument_list, 0); const char* file_name = girara_list_nth(argument_list, 1); if (file_name == NULL || file_identifier == NULL) { return false; } char* export_path = girara_fix_path(file_name); if (export_path == NULL) { return false; } /* attachment */ if (strncmp(file_identifier, "attachment-", strlen("attachment-")) == 0) { if (zathura_document_attachment_save(zathura->document, file_identifier + strlen("attachment-"), export_path) == false) { girara_notify(session, GIRARA_ERROR, _("Couldn't write attachment '%s' to '%s'."), file_identifier, file_name); } else { girara_notify(session, GIRARA_INFO, _("Wrote attachment '%s' to '%s'."), file_identifier, export_path); } /* image */ } else if (strncmp(file_identifier, "image-p", strlen("image-p")) == 0 && strlen(file_identifier) >= 10) { /* parse page id */ const char* input = file_identifier + strlen("image-p"); int page_id = atoi(input); if (page_id == 0) { goto image_error; } /* parse image id */ input = strstr(input, "-"); if (input == NULL) { goto image_error; } int image_id = atoi(input + 1); if (image_id == 0) { goto image_error; } /* get image */ zathura_page_t* page = zathura_document_get_page(zathura->document, page_id - 1); if (page == NULL) { goto image_error; } girara_list_t* images = zathura_page_images_get(page, NULL); if (images == NULL) { goto image_error; } zathura_image_t* image = girara_list_nth(images, image_id - 1); if (image == NULL) { goto image_error; } cairo_surface_t* surface = zathura_page_image_get_cairo(page, image, NULL); if (surface == NULL) { goto image_error; } if (cairo_surface_write_to_png(surface, export_path) == CAIRO_STATUS_SUCCESS) { girara_notify(session, GIRARA_INFO, _("Wrote image '%s' to '%s'."), file_identifier, export_path); } else { girara_notify(session, GIRARA_ERROR, _("Couldn't write image '%s' to '%s'."), file_identifier, file_name); } goto error_ret; image_error: girara_notify(session, GIRARA_ERROR, _("Unknown image '%s'."), file_identifier); goto error_ret; /* unknown */ } else { girara_notify(session, GIRARA_ERROR, _("Unknown attachment or image '%s'."), file_identifier); } error_ret: g_free(export_path); return true; } bool cmd_exec(girara_session_t* session, girara_list_t* argument_list) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; if (zathura->document != NULL) { const char* path = zathura_document_get_path(zathura->document); GIRARA_LIST_FOREACH(argument_list, char*, iter, value) char* r = NULL; if ((r = replace_substring(value, "$FILE", path)) != NULL) { girara_list_iterator_set(iter, r); } GIRARA_LIST_FOREACH_END(argument_list, char*, iter, value); } return girara_exec_with_argument_list(session, argument_list); } bool cmd_offset(girara_session_t* session, girara_list_t* argument_list) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; if (zathura->document == NULL) { girara_notify(session, GIRARA_ERROR, _("No document opened.")); return false; } /* no argument: take current page as offset */ int page_offset = zathura_document_get_current_page_number(zathura->document); /* retrieve offset from argument */ if (girara_list_size(argument_list) == 1) { const char* value = girara_list_nth(argument_list, 0); if (value != NULL) { page_offset = atoi(value); if (page_offset == 0 && strcmp(value, "0") != 0) { girara_notify(session, GIRARA_WARNING, _("Argument must be a number.")); return false; } } } zathura_document_set_page_offset(zathura->document, page_offset); return true; } bool cmd_version(girara_session_t* session, girara_list_t* UNUSED(argument_list)) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = session->global.data; char* string = zathura_get_version_string(zathura, true); if (string == NULL) { return false; } /* display information */ girara_notify(session, GIRARA_INFO, "%s", string); g_free(string); return true; } zathura-0.2.6/page-widget.h0000644000175000001440000000555312244447777014445 0ustar mockusers/* See LICENSE file for license and copyright information */ #ifndef PAGE_WIDGET_H #define PAGE_WIDGET_H #include #include "types.h" #include "document.h" /** * The page view widget. The widget handles all the rendering on its own. It * only has to be resized. The widget also manages and handles all the * rectangles for highlighting. * * Before the properties contain the correct values, 'draw-links' has to be set * to TRUE at least one time. * */ struct zathura_page_widget_s { GtkDrawingArea parent; }; struct zathura_page_widget_class_s { GtkDrawingAreaClass parent_class; }; #define ZATHURA_TYPE_PAGE \ (zathura_page_widget_get_type ()) #define ZATHURA_PAGE(obj) \ (G_TYPE_CHECK_INSTANCE_CAST ((obj), ZATHURA_TYPE_PAGE, ZathuraPage)) #define ZATHURA_PAGE_CLASS(obj) \ (G_TYPE_CHECK_CLASS_CAST ((obj), ZATHURA_TYPE_PAGE, ZathuraPageClass)) #define ZATHURA_IS_PAGE(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ZATHURA_TYPE_PAGE)) #define ZATHURA_IS_PAGE_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE ((obj), ZATHURA_TYPE_PAGE)) #define ZATHURA_PAGE_GET_CLASS \ (G_TYPE_INSTANCE_GET_CLASS ((obj), ZATHURA_TYPE_PAGE, ZathuraPageClass)) /** * Returns the type of the page view widget. * @return the type */ GType zathura_page_widget_get_type(void); /** * Create a page view widget. * @param zathura the zathura instance * @param page the page to be displayed * @return a page view widget */ GtkWidget* zathura_page_widget_new(zathura_t* zathura, zathura_page_t* page); /** * Update the widget's surface. This should only be called from the render * thread. * @param widget the widget * @param surface the new surface */ void zathura_page_widget_update_surface(ZathuraPage* widget, cairo_surface_t* surface); /** * Draw a rectangle to mark links or search results * @param widget the widget * @param rectangle the rectangle * @param linkid the link id if it's a link, -1 otherwise */ void zathura_page_widget_draw_rectangle(ZathuraPage* widget, zathura_rectangle_t* rectangle, int linkid); /** * Clear all rectangles. * @param widget the widget */ void zathura_page_widget_clear_rectangles(ZathuraPage* widget); /** * Returns the zathura link object at the given index * * @param widget the widget * @param index Index of the link * @return Link object or NULL if an error occured */ zathura_link_t* zathura_page_widget_link_get(ZathuraPage* widget, unsigned int index); /** * Update the last view time of the page. * * @param widget the widget */ void zathura_page_widget_update_view_time(ZathuraPage* widget); /** * Check if we have a surface. * * @param widget the widget * @returns true if the widget has a surface, false otherwise */ 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 zathura-0.2.6/marks.c0000644000175000001440000001751612244447777013362 0ustar mockusers/* See LICENSE file for license and copyright information */ #include #include #include #include #include #include "callbacks.h" #include "marks.h" #include "document.h" #include "render.h" #include "utils.h" static void mark_add(zathura_t* zathura, int key); static void mark_evaluate(zathura_t* zathura, int key); static bool cb_marks_view_key_press_event_add(GtkWidget* widget, GdkEventKey* event, girara_session_t* session); static bool cb_marks_view_key_press_event_evaluate(GtkWidget* widget, GdkEventKey* event, girara_session_t* session); struct zathura_mark_s { int key; /**> Marks key */ double position_x; /**> Horizontal adjustment */ double position_y; /**> Vertical adjustment */ unsigned int page; /**> Page number */ double scale; /**> Zoom level */ }; bool sc_mark_add(girara_session_t* session, girara_argument_t* UNUSED(argument), girara_event_t* UNUSED(event), unsigned int UNUSED(t)) { g_return_val_if_fail(session != NULL, FALSE); g_return_val_if_fail(session->gtk.view != NULL, FALSE); /* redirect signal handler */ g_signal_handler_disconnect(G_OBJECT(session->gtk.view), session->signals.view_key_pressed); session->signals.view_key_pressed = g_signal_connect(G_OBJECT(session->gtk.view), "key-press-event", G_CALLBACK(cb_marks_view_key_press_event_add), session); return true; } bool sc_mark_evaluate(girara_session_t* session, girara_argument_t* UNUSED(argument), girara_event_t* UNUSED(event), unsigned int UNUSED(t)) { g_return_val_if_fail(session != NULL, FALSE); g_return_val_if_fail(session->gtk.view != NULL, FALSE); /* redirect signal handler */ g_signal_handler_disconnect(G_OBJECT(session->gtk.view), session->signals.view_key_pressed); session->signals.view_key_pressed = g_signal_connect(G_OBJECT(session->gtk.view), "key-press-event", G_CALLBACK(cb_marks_view_key_press_event_evaluate), session); return true; } bool cb_marks_view_key_press_event_add(GtkWidget* UNUSED(widget), GdkEventKey* event, girara_session_t* session) { g_return_val_if_fail(session != NULL, FALSE); g_return_val_if_fail(session->gtk.view != NULL, FALSE); g_return_val_if_fail(session->global.data != NULL, FALSE); zathura_t* zathura = (zathura_t*) session->global.data; /* reset signal handler */ g_signal_handler_disconnect(G_OBJECT(session->gtk.view), session->signals.view_key_pressed); session->signals.view_key_pressed = g_signal_connect(G_OBJECT(session->gtk.view), "key-press-event", G_CALLBACK(girara_callback_view_key_press_event), session); /* evaluate key */ if (((event->keyval >= '0' && event->keyval <= '9') || (event->keyval >= 'a' && event->keyval <= 'z') || (event->keyval >= 'A' && event->keyval <= 'Z') ) == false) { return false; } mark_add(zathura, event->keyval); return true; } bool cb_marks_view_key_press_event_evaluate(GtkWidget* UNUSED(widget), GdkEventKey* event, girara_session_t* session) { g_return_val_if_fail(session != NULL, FALSE); g_return_val_if_fail(session->gtk.view != NULL, FALSE); g_return_val_if_fail(session->global.data != NULL, FALSE); zathura_t* zathura = (zathura_t*) session->global.data; /* reset signal handler */ g_signal_handler_disconnect(G_OBJECT(session->gtk.view), session->signals.view_key_pressed); session->signals.view_key_pressed = g_signal_connect(G_OBJECT(session->gtk.view), "key-press-event", G_CALLBACK(girara_callback_view_key_press_event), session); /* evaluate key */ if (((event->keyval >= '0' && event->keyval <= '9') || (event->keyval >= 'a' && event->keyval <= 'z') || (event->keyval >= 'A' && event->keyval <= 'Z') ) == false) { return true; } mark_evaluate(zathura, event->keyval); return true; } bool cmd_marks_add(girara_session_t* session, girara_list_t* argument_list) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = (zathura_t*) session->global.data; if (girara_list_size(argument_list) < 1) { return false; } char* key_string = girara_list_nth(argument_list, 0); if (key_string == NULL) { return false; } if (strlen(key_string) < 1 || strlen(key_string) > 1) { return false; } char key = key_string[0]; if (((key >= 0x41 && key <= 0x5A) || (key >= 0x61 && key <= 0x7A)) == false) { return false; } mark_add(zathura, key); return false; } bool cmd_marks_delete(girara_session_t* session, girara_list_t* argument_list) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); zathura_t* zathura = (zathura_t*) session->global.data; if (girara_list_size(argument_list) < 1) { return false; } if (girara_list_size(zathura->global.marks) == 0) { return false; } GIRARA_LIST_FOREACH(argument_list, char*, iter, key_string) if (key_string == NULL) { continue; } for (unsigned int i = 0; i < strlen(key_string); i++) { char key = key_string[i]; if (((key >= 0x41 && key <= 0x5A) || (key >= 0x61 && key <= 0x7A)) == false) { continue; } /* search for existing mark */ girara_list_iterator_t* mark_iter = girara_list_iterator(zathura->global.marks); do { zathura_mark_t* mark = (zathura_mark_t*) girara_list_iterator_data(mark_iter); if (mark == NULL) { continue; } if (mark->key == key) { girara_list_remove(zathura->global.marks, mark); continue; } } while (girara_list_iterator_next(mark_iter) != NULL); girara_list_iterator_free(mark_iter); } GIRARA_LIST_FOREACH_END(argument_list, char*, iter, key_string); return true; } void mark_add(zathura_t* zathura, int key) { if (zathura == NULL || zathura->document == NULL || zathura->global.marks == NULL) { return; } unsigned int page_id = zathura_document_get_current_page_number(zathura->document); double position_x = zathura_document_get_position_x(zathura->document); double position_y = zathura_document_get_position_y(zathura->document); double scale = zathura_document_get_scale(zathura->document); /* search for existing mark */ GIRARA_LIST_FOREACH(zathura->global.marks, zathura_mark_t*, iter, mark) if (mark->key == key) { mark->page = page_id; mark->position_x = position_x; mark->position_y = position_y; mark->scale = scale; return; } GIRARA_LIST_FOREACH_END(zathura->global.marks, zathura_mark_t*, iter, mark); /* add new mark */ zathura_mark_t* mark = g_malloc0(sizeof(zathura_mark_t)); mark->key = key; mark->page = page_id; mark->position_x = position_x; mark->position_y = position_y; mark->scale = scale; girara_list_append(zathura->global.marks, mark); } void mark_evaluate(zathura_t* zathura, int key) { if (zathura == NULL || zathura->global.marks == NULL) { return; } /* search for existing mark */ GIRARA_LIST_FOREACH(zathura->global.marks, zathura_mark_t*, iter, mark) if (mark != NULL && mark->key == key) { zathura_document_set_scale(zathura->document, mark->scale); render_all(zathura); zathura_jumplist_add(zathura); page_set(zathura, mark->page); position_set(zathura, mark->position_x, mark->position_y); zathura_jumplist_add(zathura); return; } GIRARA_LIST_FOREACH_END(zathura->global.marks, zathura_mark_t*, iter, mark); } void mark_free(void* data) { if (data == NULL) { return; } zathura_mark_t* mark = (zathura_mark_t*) data; g_free(mark); } zathura-0.2.6/plugin.h0000644000175000001440000000554412244447777013546 0ustar mockusers/* See LICENSE file for license and copyright information */ #ifndef PLUGIN_H #define PLUGIN_H #include #include #include "types.h" #include "plugin-api.h" #include "version.h" #include "zathura.h" #define PLUGIN_REGISTER_FUNCTION "zathura_plugin_register" #define PLUGIN_API_VERSION_FUNCTION "zathura_plugin_api_version" #define PLUGIN_ABI_VERSION_FUNCTION "zathura_plugin_abi_version" #define PLUGIN_VERSION_MAJOR_FUNCTION "zathura_plugin_version_major" #define PLUGIN_VERSION_MINOR_FUNCTION "zathura_plugin_version_minor" #define PLUGIN_VERSION_REVISION_FUNCTION "zathura_plugin_version_revision" typedef struct zathura_plugin_version_s { unsigned int major; /**< Major */ unsigned int minor; /**< Minor */ unsigned int rev; /**< Revision */ } zathura_plugin_version_t; /** * Creates a new instance of the plugin manager * * @return A plugin manager object or NULL if an error occured */ zathura_plugin_manager_t* zathura_plugin_manager_new(); /** * Frees the plugin manager * * @param plugin_manager */ void zathura_plugin_manager_free(zathura_plugin_manager_t* plugin_manager); /** * Adds a plugin directory to the plugin manager * * @param plugin_manager The plugin manager * @param dir Path to a directory with plugins */ void zathura_plugin_manager_add_dir(zathura_plugin_manager_t* plugin_manager, const char* dir); /** * Loads all plugins available in the previously given directories * * @param plugin_manager The plugin manager */ void zathura_plugin_manager_load(zathura_plugin_manager_t* plugin_manager); /** * Returns the (if available) associated plugin * * @param plugin_manager The plugin manager * @param type The document type * @return The plugin or NULL if no matching plugin is available */ zathura_plugin_t* zathura_plugin_manager_get_plugin(zathura_plugin_manager_t* plugin_manager, const char* type); /** * Returns a list with the plugin objects * * @param plugin_manager The plugin manager * @return List of plugins or NULL */ girara_list_t* zathura_plugin_manager_get_plugins(zathura_plugin_manager_t* plugin_manager); /** * Returns the plugin functions * * @param plugin The plugin * @return The plugin functions */ zathura_plugin_functions_t* zathura_plugin_get_functions(zathura_plugin_t* plugin); /** * Returns the name of the plugin * * @param plugin The plugin * @return The name of the plugin or NULL */ char* zathura_plugin_get_name(zathura_plugin_t* plugin); /** * Returns the path to the plugin * * @param plugin The plugin * @return The path of the plugin or NULL */ char* zathura_plugin_get_path(zathura_plugin_t* plugin); /** * Returns the version information of the plugin * * @param plugin The plugin * @return The version information of the plugin */ zathura_plugin_version_t zathura_plugin_get_version(zathura_plugin_t* plugin); #endif // PLUGIN_H zathura-0.2.6/shortcuts.h0000644000175000001440000002060512244447777014301 0ustar mockusers/* See LICENSE file for license and copyright information */ #ifndef SHORTCUTS_H #define SHORTCUTS_H #include /** * Abort the current action and return to normal mode * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_abort(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Adjust the rendered pages to the window * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_adjust_window(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Change the current mode * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_change_mode(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Display a link * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_display_link(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Shortcut function to focus the inputbar * * @param session The used girara session * @param argument The argument * @param event Girara event * @param t Number of executions * @return true No error occured * @return false An error occured (abort execution) */ bool sc_focus_inputbar(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Follow a link * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_follow(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Go to a specific page or position * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_goto(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Handle mouse events * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_mouse_scroll(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Handle mouse zoom events * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_mouse_zoom(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Navigate through the document * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_navigate(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Calls the print dialog * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_print(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Recolor the pages * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_recolor(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Reload the current document * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_reload(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Rotate the pages * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_rotate(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Scroll through the pages * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_scroll(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Navigate through the jumplist * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_jumplist(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Bisect through the document * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_bisect(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Search through the document for the latest search item * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_search(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Navigate through the index of the document * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_navigate_index(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Show/Hide the index of the document * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_toggle_index(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Toggle multi page mode * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_toggle_page_mode(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Toggle fullscreen mode * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_toggle_fullscreen(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Quit zathura * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_quit(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); /** * Change the zoom level * * @param session The used girara session * @param argument The used argument * @param event Girara event * @param t Number of executions * @return true if no error occured otherwise false */ bool sc_zoom(girara_session_t* session, girara_argument_t* argument, girara_event_t* event, unsigned int t); #endif // SHORTCUTS_H zathura-0.2.6/po/0000755000175000001440000000000012244447777012505 5ustar mockuserszathura-0.2.6/po/ru.po0000644000175000001440000003235212244447777013500 0ustar mockusers# zathura - language file (Russian) # See LICENSE file for license and copyright information # # Translators: # AlexanderR , 2013 # Alissa , 2013 # Mikhail Krutov <>, 2012 msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Russian (http://www.transifex.com/projects/p/zathura/language/" "ru/)\n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n" #: ../callbacks.c:297 #, c-format msgid "Invalid input '%s' given." msgstr "Неправильный ввод: %s" #: ../callbacks.c:333 #, c-format msgid "Invalid index '%s' given." msgstr "Получен неверный индекс %s" #: ../callbacks.c:546 #, c-format msgid "Copied selected text to clipboard: %s" 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." msgstr "Документ не открыт" #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424 msgid "Invalid number of arguments given." msgstr "Неверное число аргументов" #: ../commands.c:53 #, c-format msgid "Could not update bookmark: %s" msgstr "Не могу создать закладку %s" #: ../commands.c:55 #, c-format msgid "Could not create bookmark: %s" msgstr "Не могу создать закладку %s" #: ../commands.c:60 #, c-format msgid "Bookmark successfully updated: %s" msgstr "Закладка %s успешно обновлена" #: ../commands.c:62 #, c-format msgid "Bookmark successfully created: %s" msgstr "Закладка %s успешно создана" #: ../commands.c:88 #, c-format msgid "Removed bookmark: %s" msgstr "Закладка %s удалена" #: ../commands.c:90 #, c-format msgid "Failed to remove bookmark: %s" msgstr "Не удалось удалить закладку %s" #: ../commands.c:116 #, c-format msgid "No such bookmark: %s" msgstr "Закладки %s не существует" #: ../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." msgstr "Нет доступной информации" #: ../commands.c:234 msgid "Too many arguments." msgstr "Слишком много аргументов" #: ../commands.c:245 msgid "No arguments given." msgstr "Отсутствуют аргументы" #: ../commands.c:304 ../commands.c:330 msgid "Document saved." msgstr "Документ сохранён" #: ../commands.c:306 ../commands.c:332 msgid "Failed to save document." msgstr "Не удалось сохранить документ" #: ../commands.c:309 ../commands.c:335 msgid "Invalid number of arguments." msgstr "Неверное количество аргументов" #: ../commands.c:443 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Не могу сохранить приложенный файл %s в %s" #: ../commands.c:445 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Файл %s сохранён в %s" #: ../commands.c:489 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Файл '%s' сохранён в '%s'" #: ../commands.c:491 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Не могу сохранить приложенный файл %s в %s" #: ../commands.c:498 #, c-format msgid "Unknown image '%s'." msgstr "Неизвестный файл %s." #: ../commands.c:502 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Неизвестное вложение %s." #: ../commands.c:553 msgid "Argument must be a number." msgstr "Аргумент должен быть числом" #: ../completion.c:250 #, c-format msgid "Page %d" msgstr "Страница %d" #: ../completion.c:293 msgid "Attachments" msgstr "Прикепленные файлы" #. add images #: ../completion.c:324 msgid "Images" msgstr "Изображения" #. zathura settings #: ../config.c:131 msgid "Database backend" msgstr "Бэкэнд базы данных" #: ../config.c:133 msgid "Zoom step" msgstr "Шаг увеличения" #: ../config.c:135 msgid "Padding between pages" msgstr "Разрыв между страницами" #: ../config.c:137 msgid "Number of pages per row" msgstr "Количество страниц в ряд" #: ../config.c:139 msgid "Column of the first page" msgstr "" #: ../config.c:141 msgid "Scroll step" msgstr "Шаг прокрутки" #: ../config.c:143 msgid "Horizontal scroll step" msgstr "Шаг горизонтальной прокрутки" #: ../config.c:145 msgid "Full page scroll overlap" msgstr "" #: ../config.c:147 msgid "Zoom minimum" msgstr "Минимальное увеличение" #: ../config.c:149 msgid "Zoom maximum" msgstr "Максимальное увеличение" #: ../config.c:151 msgid "Maximum number of pages to keep in the cache" msgstr "" #: ../config.c:153 msgid "Number of positions to remember in the jumplist" msgstr "Длина истории переходов" #: ../config.c:155 msgid "Recoloring (dark color)" msgstr "Перекрашивание (тёмные тона)" #: ../config.c:156 msgid "Recoloring (light color)" msgstr "Перекрашивание (светлые тона)" #: ../config.c:157 msgid "Color for highlighting" msgstr "Цвет для подсветки" #: ../config.c:159 msgid "Color for highlighting (active)" msgstr "Цвет для подсветки (активной)" #: ../config.c:161 msgid "'Loading ...' background color" msgstr "Цвет фона загрузочной заставки" #: ../config.c:163 msgid "'Loading ...' foreground color" msgstr "Цвет загрузочной заставки" #: ../config.c:167 msgid "Recolor pages" msgstr "Перекрасить страницы" #: ../config.c:169 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" #: ../config.c:171 msgid "Wrap scrolling" msgstr "Плавная прокрутка" #: ../config.c:173 msgid "Page aware scrolling" msgstr "" #: ../config.c:175 msgid "Advance number of pages per row" msgstr "Увеличить количество страниц в ряду" #: ../config.c:177 msgid "Horizontally centered zoom" msgstr "" #: ../config.c:179 msgid "Align link target to the left" msgstr "" #: ../config.c:181 msgid "Let zoom be changed when following links" msgstr "" #: ../config.c:183 msgid "Center result horizontally" msgstr "Центрировать результат по горизонтали" #: ../config.c:185 msgid "Transparency for highlighting" msgstr "Прозрачность подсветки" #: ../config.c:187 msgid "Render 'Loading ...'" msgstr "Рендер 'Загружается ...'" #: ../config.c:188 msgid "Adjust to when opening file" msgstr "" #: ../config.c:190 msgid "Show hidden files and directories" msgstr "Показывать скрытые файлы и директории" #: ../config.c:192 msgid "Show directories" msgstr "Показывать директории" #: ../config.c:194 msgid "Always open on first page" msgstr "Всегда открывать на первой странице" #: ../config.c:196 msgid "Highlight search results" msgstr "Подсветить результаты поиска" #: ../config.c:198 msgid "Enable incremental search" msgstr "Инкрементальный поиск" #: ../config.c:200 msgid "Clear search results on abort" msgstr "Сбросить результаты при отмене поиска" #: ../config.c:202 msgid "Use basename of the file in the window title" msgstr "Использовать базовое имя файла в заголовке" #: ../config.c:204 msgid "Display the page number in the window title" msgstr "Отображать номер страницы в заголовке" #: ../config.c:206 msgid "Use basename of the file in the statusbar" msgstr "Использовать базовое имя файла в строке состояния" #: ../config.c:208 ../main.c:67 msgid "Enable synctex support" msgstr "" #: ../config.c:210 msgid "The clipboard into which mouse-selected data will be written" msgstr "" #. define default inputbar commands #: ../config.c:369 msgid "Add a bookmark" msgstr "Добавить закладку" #: ../config.c:370 msgid "Delete a bookmark" msgstr "Удалить закладку" #: ../config.c:371 msgid "List all bookmarks" msgstr "Показать все закладки" #: ../config.c:372 msgid "Close current file" msgstr "Закрыть текущий файл" #: ../config.c:373 msgid "Show file information" msgstr "Показать информацию о файле" #: ../config.c:374 msgid "Execute a command" msgstr "Выполнить команду" #: ../config.c:375 msgid "Show help" msgstr "Помощь" #: ../config.c:376 msgid "Open document" msgstr "Открыть документ" #: ../config.c:377 msgid "Close zathura" msgstr "Выход" #: ../config.c:378 msgid "Print document" msgstr "Печать" #: ../config.c:379 msgid "Save document" msgstr "Сохранить документ" #: ../config.c:380 msgid "Save document (and force overwriting)" msgstr "Сохранить документ (с перезапиьсю)" #: ../config.c:381 msgid "Save attachments" msgstr "Сохранить прикреплённые файлы" #: ../config.c:382 msgid "Set page offset" msgstr "Сохранить смещение страницы" #: ../config.c:383 msgid "Mark current location within the document" msgstr "Пометить текущую позицию в документе" #: ../config.c:384 msgid "Delete the specified marks" msgstr "Удалить указанные пометки" #: ../config.c:385 msgid "Don't highlight current search results" msgstr "Не подсвечивать результаты текущего поиска" #: ../config.c:386 msgid "Highlight current search results" msgstr "Подсветить результаты текущего поиска" #: ../config.c:387 msgid "Show version information" msgstr "Показать информацию о версии файла" #: ../links.c:199 ../links.c:278 msgid "Failed to run xdg-open." msgstr "Не удалось запустить xdg-open" #: ../links.c:217 #, c-format msgid "Link: page %d" msgstr "Ссылка: страница %d" #: ../links.c:224 #, c-format msgid "Link: %s" msgstr "Ссылка: %s" #: ../links.c:228 msgid "Link: Invalid" msgstr "" #: ../main.c:58 msgid "Reparents to window specified by xid" msgstr "Сменить материнское окно на окно, указанное в xid" #: ../main.c:59 msgid "Path to the config directory" msgstr "Путь к директории конфига" #: ../main.c:60 msgid "Path to the data directory" msgstr "Путь к директории с данными" #: ../main.c:61 msgid "Path to the directories containing plugins" msgstr "Путь к директории с плагинами" #: ../main.c:62 msgid "Fork into the background" msgstr "Уйти в бэкграунд" #: ../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)" msgstr "Уровень логирования (debug,info,warning,error)" #: ../main.c:66 msgid "Print version information" msgstr "Показать информацию о файле" #: ../main.c:68 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" #: ../page-widget.c:526 msgid "Loading..." msgstr "Загрузка..." #: ../page-widget.c:845 msgid "Copy image" msgstr "Скопировать изображение" #: ../page-widget.c:846 msgid "Save image as" msgstr "Созранить как" #: ../shortcuts.c:1076 msgid "This document does not contain any index" msgstr "В документе нету индекса" #: ../zathura.c:213 ../zathura.c:959 msgid "[No name]" msgstr "[No name]" #: ../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." msgstr "Тип файла не поддерживается. Установите соответствующий плагин." #: ../zathura.c:545 msgid "Document does not contain any pages" msgstr "Документ не содержит ни одной страницы" zathura-0.2.6/po/cs.po0000644000175000001440000002472012244447777013457 0ustar mockusers# zathura - language file (Czech) # See LICENSE file for license and copyright information # msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n" "Last-Translator: Martin Pelikan \n" "Language-Team: pwmt.org \n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../callbacks.c:297 #, c-format msgid "Invalid input '%s' given." msgstr "Neplatný vstup: %s" #: ../callbacks.c:333 #, c-format msgid "Invalid index '%s' given." msgstr "Neplatný index: %s" #: ../callbacks.c:546 #, c-format msgid "Copied selected text to clipboard: %s" 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." msgstr "Není otevřený žádný dokument." #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424 msgid "Invalid number of arguments given." msgstr "Špatný počet argumentů." #: ../commands.c:53 #, c-format msgid "Could not update bookmark: %s" msgstr "Nemůžu vytvořit záložku: %s" #: ../commands.c:55 #, c-format msgid "Could not create bookmark: %s" msgstr "Nemůžu vytvořit záložku: %s" #: ../commands.c:60 #, c-format msgid "Bookmark successfully updated: %s" msgstr "Záložka úspěšně aktualizována: %s" #: ../commands.c:62 #, c-format msgid "Bookmark successfully created: %s" msgstr "Záložka úspěšně vytvořena: %s" #: ../commands.c:88 #, c-format msgid "Removed bookmark: %s" msgstr "Záložka smazána: %s" #: ../commands.c:90 #, c-format msgid "Failed to remove bookmark: %s" msgstr "Nemůžu smazat záložku: %s" #: ../commands.c:116 #, c-format msgid "No such bookmark: %s" msgstr "Záložka neexistuje: %s" #: ../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." msgstr "Nejsou dostupné žádné informace." #: ../commands.c:234 msgid "Too many arguments." msgstr "Příliš mnoho argumentů." #: ../commands.c:245 msgid "No arguments given." msgstr "Nezadali jste argumenty." #: ../commands.c:304 ../commands.c:330 msgid "Document saved." msgstr "Dokument uložen." #: ../commands.c:306 ../commands.c:332 msgid "Failed to save document." msgstr "Nepovedlo se uložit dokument." #: ../commands.c:309 ../commands.c:335 msgid "Invalid number of arguments." msgstr "Špatný počet argumentů." #: ../commands.c:443 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Nepovedlo se zapsat přílohu '%s' do '%s'." #: ../commands.c:445 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Příloha '%s' zapsána do '%s'." #: ../commands.c:489 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Obrázek '%s' zapsán do '%s'." #: ../commands.c:491 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Nepovedlo se zapsat obrázek '%s' do '%s'." #: ../commands.c:498 #, c-format msgid "Unknown image '%s'." msgstr "Neznámý obrázek '%s'." #: ../commands.c:502 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Neznámá příloha nebo obrázek '%s'." #: ../commands.c:553 msgid "Argument must be a number." msgstr "Argumentem musí být číslo." #: ../completion.c:250 #, c-format msgid "Page %d" msgstr "Strana %d" #: ../completion.c:293 msgid "Attachments" msgstr "Přílohy" #. add images #: ../completion.c:324 msgid "Images" msgstr "Obrázky" #. zathura settings #: ../config.c:131 msgid "Database backend" msgstr "Databázový backend" #: ../config.c:133 msgid "Zoom step" msgstr "Zoom step" #: ../config.c:135 msgid "Padding between pages" msgstr "Mezery mezi stránkami" #: ../config.c:137 msgid "Number of pages per row" msgstr "Počet stránek na řádek" #: ../config.c:139 msgid "Column of the first page" msgstr "" #: ../config.c:141 msgid "Scroll step" msgstr "Scroll step" #: ../config.c:143 msgid "Horizontal scroll step" msgstr "" #: ../config.c:145 msgid "Full page scroll overlap" msgstr "" #: ../config.c:147 msgid "Zoom minimum" msgstr "Oddálit" #: ../config.c:149 msgid "Zoom maximum" msgstr "Přiblížit" #: ../config.c:151 msgid "Maximum number of pages to keep in the cache" msgstr "" #: ../config.c:153 msgid "Number of positions to remember in the jumplist" msgstr "" #: ../config.c:155 msgid "Recoloring (dark color)" msgstr "Přebarvuji do tmava" #: ../config.c:156 msgid "Recoloring (light color)" msgstr "Přebarvuji do světla" #: ../config.c:157 msgid "Color for highlighting" msgstr "Barva zvýrazňovače" #: ../config.c:159 msgid "Color for highlighting (active)" msgstr "Barva zvýrazňovače (aktivní)" #: ../config.c:161 msgid "'Loading ...' background color" msgstr "" #: ../config.c:163 msgid "'Loading ...' foreground color" msgstr "" #: ../config.c:167 msgid "Recolor pages" msgstr "Přebarvit stránky" #: ../config.c:169 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" #: ../config.c:171 msgid "Wrap scrolling" msgstr "Scrollovat přes konce" #: ../config.c:173 msgid "Page aware scrolling" msgstr "" #: ../config.c:175 msgid "Advance number of pages per row" msgstr "" #: ../config.c:177 msgid "Horizontally centered zoom" msgstr "" #: ../config.c:179 msgid "Align link target to the left" msgstr "" #: ../config.c:181 msgid "Let zoom be changed when following links" msgstr "" #: ../config.c:183 msgid "Center result horizontally" msgstr "" #: ../config.c:185 msgid "Transparency for highlighting" msgstr "Průhlednost při zvýrazňování" #: ../config.c:187 msgid "Render 'Loading ...'" msgstr "Vypisovat 'Načítám ...'" #: ../config.c:188 msgid "Adjust to when opening file" msgstr "Přiblížení po otevření souboru" #: ../config.c:190 msgid "Show hidden files and directories" msgstr "Zobrazovat skryté soubory" #: ../config.c:192 msgid "Show directories" msgstr "Zobrazovat adresáře" #: ../config.c:194 msgid "Always open on first page" msgstr "Vždy otevírat na první straně" #: ../config.c:196 msgid "Highlight search results" msgstr "Zvýrazňovat výsledky hledání" #: ../config.c:198 msgid "Enable incremental search" msgstr "" #: ../config.c:200 msgid "Clear search results on abort" msgstr "Při abortu smazat výsledky hledání" #: ../config.c:202 msgid "Use basename of the file in the window title" msgstr "" #: ../config.c:204 msgid "Display the page number in the window title" msgstr "" #: ../config.c:206 msgid "Use basename of the file in the statusbar" msgstr "" #: ../config.c:208 ../main.c:67 msgid "Enable synctex support" msgstr "" #: ../config.c:210 msgid "The clipboard into which mouse-selected data will be written" msgstr "" #. define default inputbar commands #: ../config.c:369 msgid "Add a bookmark" msgstr "Přidat záložku" #: ../config.c:370 msgid "Delete a bookmark" msgstr "Smazat záložku" #: ../config.c:371 msgid "List all bookmarks" msgstr "Vypsat záložky" #: ../config.c:372 msgid "Close current file" msgstr "Zavřít tenhle soubor" #: ../config.c:373 msgid "Show file information" msgstr "Zobrazit informace o souboru" #: ../config.c:374 msgid "Execute a command" msgstr "" #: ../config.c:375 msgid "Show help" msgstr "Zobrazit nápovědu" #: ../config.c:376 msgid "Open document" msgstr "Otevřít dokument" #: ../config.c:377 msgid "Close zathura" msgstr "Zavřít zathuru" #: ../config.c:378 msgid "Print document" msgstr "Tisknout dokument" #: ../config.c:379 msgid "Save document" msgstr "Uložit dokument" #: ../config.c:380 msgid "Save document (and force overwriting)" msgstr "Uložit a přepsat dokument" #: ../config.c:381 msgid "Save attachments" msgstr "Uložit přílohy" #: ../config.c:382 msgid "Set page offset" msgstr "" #: ../config.c:383 msgid "Mark current location within the document" msgstr "Označit současnou pozici v dokumentu" #: ../config.c:384 msgid "Delete the specified marks" msgstr "Smazat vybrané značky" #: ../config.c:385 msgid "Don't highlight current search results" msgstr "Nezvýrazňovat výsledky tohoto hledání" #: ../config.c:386 msgid "Highlight current search results" msgstr "Zvýrazňovat výsledky tohoto hledání" #: ../config.c:387 msgid "Show version information" msgstr "" #: ../links.c:199 ../links.c:278 msgid "Failed to run xdg-open." msgstr "Nepovedlo se spustit xdg-open." #: ../links.c:217 #, c-format msgid "Link: page %d" msgstr "" #: ../links.c:224 #, c-format msgid "Link: %s" msgstr "" #: ../links.c:228 msgid "Link: Invalid" msgstr "" #: ../main.c:58 msgid "Reparents to window specified by xid" msgstr "" #: ../main.c:59 msgid "Path to the config directory" msgstr "Cesta k souboru s nastavením" #: ../main.c:60 msgid "Path to the data directory" msgstr "Cesta k adresáři s daty" #: ../main.c:61 msgid "Path to the directories containing plugins" msgstr "Cesta k adresářům s pluginy" #: ../main.c:62 msgid "Fork into the background" msgstr "Forknout se na pozadí" #: ../main.c:63 msgid "Document password" msgstr "Heslo" #: ../main.c:64 msgid "Page number to go to" msgstr "" #: ../main.c:65 msgid "Log level (debug, info, warning, error)" msgstr "Úroveň logování (debug, info, warning, error)" #: ../main.c:66 msgid "Print version information" msgstr "Zobrazit informace o souboru" #: ../main.c:68 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" #: ../page-widget.c:526 msgid "Loading..." msgstr "Načítám ..." #: ../page-widget.c:845 msgid "Copy image" msgstr "Zkopíruj obrázek" #: ../page-widget.c:846 msgid "Save image as" msgstr "Ulož obrázek jako" #: ../shortcuts.c:1076 msgid "This document does not contain any index" msgstr "Tenhle dokument neobsahuje žádné indexy" #: ../zathura.c:213 ../zathura.c:959 msgid "[No name]" msgstr "[Nepojmenovaný]" #: ../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." msgstr "" #: ../zathura.c:545 msgid "Document does not contain any pages" msgstr "" zathura-0.2.6/po/pl.po0000644000175000001440000002557212244447777013473 0ustar mockusers# zathura - language file (Polish) # See LICENSE file for license and copyright information # # Translators: # Łukasz Hryniuk , 2013 # p , 2012 msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n" "Last-Translator: p \n" "Language-Team: Polish (http://www.transifex.net/projects/p/zathura/language/" "pl/)\n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2)\n" #: ../callbacks.c:297 #, c-format msgid "Invalid input '%s' given." msgstr "Nieprawidłowy argument: %s" #: ../callbacks.c:333 #, c-format msgid "Invalid index '%s' given." msgstr "Nieprawidłowy indeks: %s" #: ../callbacks.c:546 #, c-format msgid "Copied selected text to clipboard: %s" 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." msgstr "Nie otwarto żadnego pliku" #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424 msgid "Invalid number of arguments given." msgstr "Nieprawidłowa liczba parametrów polecenia" #: ../commands.c:53 #, c-format msgid "Could not update bookmark: %s" msgstr "Nie można stworzyć zakładki: %s" #: ../commands.c:55 #, c-format msgid "Could not create bookmark: %s" msgstr "Nie można stworzyć zakładki: %s" #: ../commands.c:60 #, c-format msgid "Bookmark successfully updated: %s" msgstr "Zaktualizowano zakładkę: %s" #: ../commands.c:62 #, c-format msgid "Bookmark successfully created: %s" msgstr "Utworzono zakładkę: %s" #: ../commands.c:88 #, c-format msgid "Removed bookmark: %s" msgstr "Usunięto zakładkę: %s" #: ../commands.c:90 #, c-format msgid "Failed to remove bookmark: %s" msgstr "Nie można usunąć zakładki: %s" #: ../commands.c:116 #, c-format msgid "No such bookmark: %s" msgstr "Nie znaleziono zakładki: %s" #: ../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." msgstr "Brak informacji o pliku" #: ../commands.c:234 msgid "Too many arguments." msgstr "Za dużo parametrów polecenia" #: ../commands.c:245 msgid "No arguments given." msgstr "Nie podano parametrów polecenia" #: ../commands.c:304 ../commands.c:330 msgid "Document saved." msgstr "Zapisano dokument" #: ../commands.c:306 ../commands.c:332 msgid "Failed to save document." msgstr "Błąd zapisu" #: ../commands.c:309 ../commands.c:335 msgid "Invalid number of arguments." msgstr "Niewłaściwa liczba parametrów polecenia" #: ../commands.c:443 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Nie można dodać załącznika %s do pliku %s" #: ../commands.c:445 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Zapisano załącznik %s do pliku %s" #: ../commands.c:489 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Zapisano obrazek %s do pliku %s" #: ../commands.c:491 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Nie można dodać obrazka %s do pliku %s" #: ../commands.c:498 #, c-format msgid "Unknown image '%s'." msgstr "Nieznany obrazek '%s'." #: ../commands.c:502 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Nieznany załącznik lub obrazek '%s'." #: ../commands.c:553 msgid "Argument must be a number." msgstr "Parametr polecenia musi być liczbą" #: ../completion.c:250 #, c-format msgid "Page %d" msgstr "Strona %d" #: ../completion.c:293 msgid "Attachments" msgstr "Zapisz załączniki" #. add images #: ../completion.c:324 msgid "Images" msgstr "Obrazki" #. zathura settings #: ../config.c:131 msgid "Database backend" msgstr "Baza danych" #: ../config.c:133 msgid "Zoom step" msgstr "Skok powiększenia" #: ../config.c:135 msgid "Padding between pages" msgstr "Odstęp pomiędzy stronami" #: ../config.c:137 msgid "Number of pages per row" msgstr "Liczba stron w wierszu" #: ../config.c:139 msgid "Column of the first page" msgstr "" #: ../config.c:141 msgid "Scroll step" msgstr "Skok przewijania" #: ../config.c:143 msgid "Horizontal scroll step" msgstr "" #: ../config.c:145 msgid "Full page scroll overlap" msgstr "" #: ../config.c:147 msgid "Zoom minimum" msgstr "Minimalne powiększenie" #: ../config.c:149 msgid "Zoom maximum" msgstr "Maksymalne powiększenie" #: ../config.c:151 msgid "Maximum number of pages to keep in the cache" msgstr "" #: ../config.c:153 msgid "Number of positions to remember in the jumplist" msgstr "" #: ../config.c:155 msgid "Recoloring (dark color)" msgstr "Ciemny kolor negatywu" #: ../config.c:156 msgid "Recoloring (light color)" msgstr "Jasny kolor negatywu" #: ../config.c:157 msgid "Color for highlighting" msgstr "Kolor wyróżnienia" #: ../config.c:159 msgid "Color for highlighting (active)" msgstr "Kolor wyróżnienia bieżącego elementu" #: ../config.c:161 msgid "'Loading ...' background color" msgstr "" #: ../config.c:163 msgid "'Loading ...' foreground color" msgstr "" #: ../config.c:167 msgid "Recolor pages" msgstr "Negatyw" #: ../config.c:169 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" #: ../config.c:171 msgid "Wrap scrolling" msgstr "Zawijanie dokumentu" #: ../config.c:173 msgid "Page aware scrolling" msgstr "" #: ../config.c:175 msgid "Advance number of pages per row" msgstr "Liczba stron w wierszu" #: ../config.c:177 msgid "Horizontally centered zoom" msgstr "" #: ../config.c:179 msgid "Align link target to the left" msgstr "" #: ../config.c:181 msgid "Let zoom be changed when following links" msgstr "" #: ../config.c:183 msgid "Center result horizontally" msgstr "" #: ../config.c:185 msgid "Transparency for highlighting" msgstr "Przezroczystość wyróżnienia" #: ../config.c:187 msgid "Render 'Loading ...'" msgstr "Wyświetlaj: „Wczytywanie pliku...”" #: ../config.c:188 msgid "Adjust to when opening file" msgstr "Dopasowanie widoku pliku" #: ../config.c:190 msgid "Show hidden files and directories" msgstr "Wyświetl ukryte pliki i katalogi" #: ../config.c:192 msgid "Show directories" msgstr "Wyświetl katalogi" #: ../config.c:194 msgid "Always open on first page" msgstr "Zawsze otwieraj na pierwszej stronie" #: ../config.c:196 msgid "Highlight search results" msgstr "Podświetl wyniki wyszukiwania" #: ../config.c:198 msgid "Enable incremental search" msgstr "" #: ../config.c:200 msgid "Clear search results on abort" msgstr "Wyczyść wyniki wyszukiwania po przerwaniu" #: ../config.c:202 msgid "Use basename of the file in the window title" msgstr "" #: ../config.c:204 msgid "Display the page number in the window title" msgstr "" #: ../config.c:206 msgid "Use basename of the file in the statusbar" msgstr "" #: ../config.c:208 ../main.c:67 msgid "Enable synctex support" msgstr "" #: ../config.c:210 msgid "The clipboard into which mouse-selected data will be written" msgstr "" #. define default inputbar commands #: ../config.c:369 msgid "Add a bookmark" msgstr "Dodaj zakładkę" #: ../config.c:370 msgid "Delete a bookmark" msgstr "Usuń zakładkę" #: ../config.c:371 msgid "List all bookmarks" msgstr "Wyświetl zakładki" #: ../config.c:372 msgid "Close current file" msgstr "Zamknij plik" #: ../config.c:373 msgid "Show file information" msgstr "Wyświetl informacje o pliku" #: ../config.c:374 msgid "Execute a command" msgstr "Wykonaj polecenie" #: ../config.c:375 msgid "Show help" msgstr "Wyświetl pomoc" #: ../config.c:376 msgid "Open document" msgstr "Otwórz plik" #: ../config.c:377 msgid "Close zathura" msgstr "Zakończ" #: ../config.c:378 msgid "Print document" msgstr "Wydrukuj" #: ../config.c:379 msgid "Save document" msgstr "Zapisz" #: ../config.c:380 msgid "Save document (and force overwriting)" msgstr "Zapisz (nadpisując istniejący plik)" #: ../config.c:381 msgid "Save attachments" msgstr "Zapisz załączniki" #: ../config.c:382 msgid "Set page offset" msgstr "Ustaw przesunięcie numerów stron" #: ../config.c:383 msgid "Mark current location within the document" msgstr "Zaznacz aktualną pozycję w dokumencie" #: ../config.c:384 msgid "Delete the specified marks" msgstr "Skasuj określone zakładki" #: ../config.c:385 msgid "Don't highlight current search results" msgstr "Nie podświetlaj aktualnych wyników wyszukiwania " #: ../config.c:386 msgid "Highlight current search results" msgstr "Podświetl aktualne wyniki wyszukiwania" #: ../config.c:387 msgid "Show version information" msgstr "Wyświetl informacje o wersji" #: ../links.c:199 ../links.c:278 msgid "Failed to run xdg-open." msgstr "Wystąpił problem z uruchomieniem xdg-open" #: ../links.c:217 #, c-format msgid "Link: page %d" msgstr "" #: ../links.c:224 #, c-format msgid "Link: %s" msgstr "" #: ../links.c:228 msgid "Link: Invalid" msgstr "" #: ../main.c:58 msgid "Reparents to window specified by xid" msgstr "Przypisz proces do rodzica o danym xid" #: ../main.c:59 msgid "Path to the config directory" msgstr "Ścieżka do katalogu konfiguracyjnego" #: ../main.c:60 msgid "Path to the data directory" msgstr "Ścieżka do katalogu danych" #: ../main.c:61 msgid "Path to the directories containing plugins" msgstr "Ścieżka do katalogu wtyczek" #: ../main.c:62 msgid "Fork into the background" msgstr "Forkuj w tle" #: ../main.c:63 msgid "Document password" msgstr "Hasło dokumentu" #: ../main.c:64 msgid "Page number to go to" msgstr "" #: ../main.c:65 msgid "Log level (debug, info, warning, error)" msgstr "Szczegółowość komunikatów (debug, info, warning, error)" #: ../main.c:66 msgid "Print version information" msgstr "Wyświetl informacje o wersji" #: ../main.c:68 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" #: ../page-widget.c:526 msgid "Loading..." msgstr "Wczytywanie pliku..." #: ../page-widget.c:845 msgid "Copy image" msgstr "Skopiuj obrazek" #: ../page-widget.c:846 msgid "Save image as" msgstr "Zapisz obrazek jako" #: ../shortcuts.c:1076 msgid "This document does not contain any index" msgstr "Dokument nie zawiera indeksu" #: ../zathura.c:213 ../zathura.c:959 msgid "[No name]" msgstr "[bez nazwy]" #: ../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." msgstr "" #: ../zathura.c:545 msgid "Document does not contain any pages" msgstr "" zathura-0.2.6/po/eo.po0000644000175000001440000002445212244447777013457 0ustar mockusers# zathura - language file (Esperanto) # See LICENSE file for license and copyright information # # Translators: # , 2012. msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n" "PO-Revision-Date: 2013-11-05 01:06+0100\n" "Last-Translator: norbux \n" "Language-Team: Esperanto (http://www.transifex.com/projects/p/zathura/" "language/eo/)\n" "Language: eo\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" #: ../callbacks.c:297 #, c-format msgid "Invalid input '%s' given." msgstr "Nevalida enigo '%s' uzata." #: ../callbacks.c:333 #, c-format msgid "Invalid index '%s' given." msgstr "Nevalida indekso '%s' uzata." #: ../callbacks.c:546 #, c-format msgid "Copied selected text to clipboard: %s" 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." msgstr "Neniu dokumento malfermita." #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424 msgid "Invalid number of arguments given." msgstr "Nevalida nombro da argumentoj uzata." #: ../commands.c:53 #, c-format msgid "Could not update bookmark: %s" msgstr "Neeble krei paĝosignon: %s" #: ../commands.c:55 #, c-format msgid "Could not create bookmark: %s" msgstr "Neeble krei paĝosignon: %s" #: ../commands.c:60 #, c-format msgid "Bookmark successfully updated: %s" msgstr "Paĝosigno sukcese aktualigita: %s" #: ../commands.c:62 #, c-format msgid "Bookmark successfully created: %s" msgstr "Paĝosigno sukcese kreita: %s" #: ../commands.c:88 #, c-format msgid "Removed bookmark: %s" msgstr "Paĝosigno forigita: %s" #: ../commands.c:90 #, c-format msgid "Failed to remove bookmark: %s" msgstr "Neeble forigi paĝosignon: %s" #: ../commands.c:116 #, c-format msgid "No such bookmark: %s" msgstr "Neniu paĝosigno: %s" #: ../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." msgstr "Neniu informacio disponebla." #: ../commands.c:234 msgid "Too many arguments." msgstr "Tro multe da argumentoj." #: ../commands.c:245 msgid "No arguments given." msgstr "Neniuj argumentoj uzata." #: ../commands.c:304 ../commands.c:330 msgid "Document saved." msgstr "Dokumento konservita." #: ../commands.c:306 ../commands.c:332 msgid "Failed to save document." msgstr "Neeble konservi dokumenton." #: ../commands.c:309 ../commands.c:335 msgid "Invalid number of arguments." msgstr "Nevalida nombro da argumentoj." #: ../commands.c:443 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Neeble skribi kunsendaĵon '%s' en '%s'." #: ../commands.c:445 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Skribis kunsendaĵon '%s' en '%s'." #: ../commands.c:489 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Skribis kunsendaĵon '%s' en '%s'." #: ../commands.c:491 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Neeble skribi kunsendaĵon '%s' en '%s'." #: ../commands.c:498 #, c-format msgid "Unknown image '%s'." msgstr "Nekonata bildo '%s'." #: ../commands.c:502 #, c-format msgid "Unknown attachment or image '%s'." msgstr "" #: ../commands.c:553 msgid "Argument must be a number." msgstr "Argumento devas esti nombro." #: ../completion.c:250 #, c-format msgid "Page %d" msgstr "Paĝo %d" #: ../completion.c:293 msgid "Attachments" msgstr "Konservu kunsendaĵojn" #. add images #: ../completion.c:324 msgid "Images" msgstr "Bildoj" #. zathura settings #: ../config.c:131 msgid "Database backend" msgstr "" #: ../config.c:133 msgid "Zoom step" msgstr "Zompaŝo" #: ../config.c:135 msgid "Padding between pages" msgstr "Interpaĝa plenigo" #: ../config.c:137 msgid "Number of pages per row" msgstr "Nombro da paĝoj po vico" #: ../config.c:139 msgid "Column of the first page" msgstr "" #: ../config.c:141 msgid "Scroll step" msgstr "Rulumpaŝo" #: ../config.c:143 msgid "Horizontal scroll step" msgstr "" #: ../config.c:145 msgid "Full page scroll overlap" msgstr "" #: ../config.c:147 msgid "Zoom minimum" msgstr "Mimimuma zomo" #: ../config.c:149 msgid "Zoom maximum" msgstr "Maksimuma zomo" #: ../config.c:151 msgid "Maximum number of pages to keep in the cache" msgstr "" #: ../config.c:153 msgid "Number of positions to remember in the jumplist" msgstr "" #: ../config.c:155 msgid "Recoloring (dark color)" msgstr "Rekolorigo (malhela koloro)" #: ../config.c:156 msgid "Recoloring (light color)" msgstr "Rekolorigo (hela koloro)" #: ../config.c:157 msgid "Color for highlighting" msgstr "Koloro por fonlumo" #: ../config.c:159 msgid "Color for highlighting (active)" msgstr "Koloro por fonlumo (aktiva)" #: ../config.c:161 msgid "'Loading ...' background color" msgstr "" #: ../config.c:163 msgid "'Loading ...' foreground color" msgstr "" #: ../config.c:167 msgid "Recolor pages" msgstr "Rekoloru paĝojn" #: ../config.c:169 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" #: ../config.c:171 msgid "Wrap scrolling" msgstr "Ĉirkaŭflua rulumado" #: ../config.c:173 msgid "Page aware scrolling" msgstr "" #: ../config.c:175 msgid "Advance number of pages per row" msgstr "" #: ../config.c:177 msgid "Horizontally centered zoom" msgstr "" #: ../config.c:179 msgid "Align link target to the left" msgstr "" #: ../config.c:181 msgid "Let zoom be changed when following links" msgstr "" #: ../config.c:183 msgid "Center result horizontally" msgstr "" #: ../config.c:185 msgid "Transparency for highlighting" msgstr "Travidebleco por fonlumo" #: ../config.c:187 msgid "Render 'Loading ...'" msgstr "Bildigu 'Ŝargado ...'" #: ../config.c:188 msgid "Adjust to when opening file" msgstr "Adaptaĵo ĉe malfermo de dosiero" #: ../config.c:190 msgid "Show hidden files and directories" msgstr "Montru kaŝitajn dosierojn kaj -ujojn" #: ../config.c:192 msgid "Show directories" msgstr "Montru dosierujojn" #: ../config.c:194 msgid "Always open on first page" msgstr "Ĉiam malfermu ĉe unua paĝo" #: ../config.c:196 msgid "Highlight search results" msgstr "" #: ../config.c:198 msgid "Enable incremental search" msgstr "" #: ../config.c:200 msgid "Clear search results on abort" msgstr "" #: ../config.c:202 msgid "Use basename of the file in the window title" msgstr "" #: ../config.c:204 msgid "Display the page number in the window title" msgstr "" #: ../config.c:206 msgid "Use basename of the file in the statusbar" msgstr "" #: ../config.c:208 ../main.c:67 msgid "Enable synctex support" msgstr "" #: ../config.c:210 msgid "The clipboard into which mouse-selected data will be written" msgstr "" #. define default inputbar commands #: ../config.c:369 msgid "Add a bookmark" msgstr "Aldonu paĝosignon" #: ../config.c:370 msgid "Delete a bookmark" msgstr "Forigu paĝosignon" #: ../config.c:371 msgid "List all bookmarks" msgstr "Listigu ĉiujn paĝosignojn" #: ../config.c:372 msgid "Close current file" msgstr "Fermu nunan dosieron" #: ../config.c:373 msgid "Show file information" msgstr "Montru dosiera informacio" #: ../config.c:374 msgid "Execute a command" msgstr "" #: ../config.c:375 msgid "Show help" msgstr "Montru helpon" #: ../config.c:376 msgid "Open document" msgstr "Malfermu dokumenton" #: ../config.c:377 msgid "Close zathura" msgstr "Fermu zathura" #: ../config.c:378 msgid "Print document" msgstr "Presu dokumenton" #: ../config.c:379 msgid "Save document" msgstr "Konservu dokumenton" #: ../config.c:380 msgid "Save document (and force overwriting)" msgstr "Konservu dokumenton (deviga anstataŭo)" #: ../config.c:381 msgid "Save attachments" msgstr "Konservu kunsendaĵojn" #: ../config.c:382 msgid "Set page offset" msgstr "Agordu paĝdelokado" #: ../config.c:383 msgid "Mark current location within the document" msgstr "" #: ../config.c:384 msgid "Delete the specified marks" msgstr "" #: ../config.c:385 msgid "Don't highlight current search results" msgstr "" #: ../config.c:386 msgid "Highlight current search results" msgstr "" #: ../config.c:387 msgid "Show version information" msgstr "" #: ../links.c:199 ../links.c:278 msgid "Failed to run xdg-open." msgstr "Fiaskis iro de xdg-open" #: ../links.c:217 #, c-format msgid "Link: page %d" msgstr "" #: ../links.c:224 #, c-format msgid "Link: %s" msgstr "" #: ../links.c:228 msgid "Link: Invalid" msgstr "" #: ../main.c:58 msgid "Reparents to window specified by xid" msgstr "" #: ../main.c:59 msgid "Path to the config directory" msgstr "Vojo al la agorda dosierujo" #: ../main.c:60 msgid "Path to the data directory" msgstr "Vojo al la datuma dosierujo" #: ../main.c:61 msgid "Path to the directories containing plugins" msgstr "Vojoj al dosierujoj enhavantaj kromaĵojn" #: ../main.c:62 msgid "Fork into the background" msgstr "" #: ../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)" msgstr "Nivelo de ĵurnalo (debug, info, warning, error)" #: ../main.c:66 msgid "Print version information" msgstr "Montru dosiera informacio" #: ../main.c:68 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" #: ../page-widget.c:526 msgid "Loading..." msgstr "Ŝargado ..." #: ../page-widget.c:845 msgid "Copy image" msgstr "Kopiu bildon" #: ../page-widget.c:846 msgid "Save image as" msgstr "Savi bildojn kiel" #: ../shortcuts.c:1076 msgid "This document does not contain any index" msgstr "Ĉi-tiu dokumento enhavas neniam indekson." #: ../zathura.c:213 ../zathura.c:959 msgid "[No name]" msgstr "[Neniu nomo]" #: ../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." msgstr "" #: ../zathura.c:545 msgid "Document does not contain any pages" msgstr "" zathura-0.2.6/po/it.po0000644000175000001440000002420312244447777013462 0ustar mockusers# zathura - language file (Italian) # See LICENSE file for license and copyright information # # Translators: # TheLemonMan , 2012 msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Italian (http://www.transifex.com/projects/p/zathura/language/" "it/)\n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" #: ../callbacks.c:297 #, c-format msgid "Invalid input '%s' given." msgstr "Input inserito '%s' non valido." #: ../callbacks.c:333 #, c-format msgid "Invalid index '%s' given." msgstr "Indice inserito '%s' non valido." #: ../callbacks.c:546 #, c-format msgid "Copied selected text to clipboard: %s" 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." msgstr "Nessun documento aperto." #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424 msgid "Invalid number of arguments given." msgstr "Numero di argomenti errato." #: ../commands.c:53 #, c-format msgid "Could not update bookmark: %s" msgstr "Impossibile creare il segnalibro:%s" #: ../commands.c:55 #, c-format msgid "Could not create bookmark: %s" msgstr "Impossibile creare il segnalibro:%s" #: ../commands.c:60 #, c-format msgid "Bookmark successfully updated: %s" msgstr "Segnalibro aggiornato con successo:%s" #: ../commands.c:62 #, c-format msgid "Bookmark successfully created: %s" msgstr "Segnalibro creato con successo:%s" #: ../commands.c:88 #, c-format msgid "Removed bookmark: %s" msgstr "Segnalibro rimosso:%s" #: ../commands.c:90 #, c-format msgid "Failed to remove bookmark: %s" msgstr "Impossibile rimuovere il segnalibro:%s" #: ../commands.c:116 #, c-format msgid "No such bookmark: %s" msgstr "Nessun segnalibro corrispondente:%s" #: ../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." msgstr "Nessun' informazione disponibile." #: ../commands.c:234 msgid "Too many arguments." msgstr "Numero di argomenti eccessivo." #: ../commands.c:245 msgid "No arguments given." msgstr "Nessun argomento specificato." #: ../commands.c:304 ../commands.c:330 msgid "Document saved." msgstr "Documento salvato." #: ../commands.c:306 ../commands.c:332 msgid "Failed to save document." msgstr "Impossibile salvare il documento." #: ../commands.c:309 ../commands.c:335 msgid "Invalid number of arguments." msgstr "Numero di argomenti non valido." #: ../commands.c:443 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Impossibile salvare l' allegato '%s' in '%s'" #: ../commands.c:445 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Allegato '%s' salvato in '%s'" #: ../commands.c:489 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "" #: ../commands.c:491 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "" #: ../commands.c:498 #, c-format msgid "Unknown image '%s'." msgstr "" #: ../commands.c:502 #, c-format msgid "Unknown attachment or image '%s'." msgstr "" #: ../commands.c:553 msgid "Argument must be a number." msgstr "L' argomento dev' essere un numero." #: ../completion.c:250 #, c-format msgid "Page %d" msgstr "" #: ../completion.c:293 msgid "Attachments" msgstr "" #. add images #: ../completion.c:324 msgid "Images" msgstr "" #. zathura settings #: ../config.c:131 msgid "Database backend" msgstr "Backend del database" #: ../config.c:133 msgid "Zoom step" msgstr "" #: ../config.c:135 msgid "Padding between pages" msgstr "Spaziatura tra le pagine" #: ../config.c:137 msgid "Number of pages per row" msgstr "Numero di pagine per riga" #: ../config.c:139 msgid "Column of the first page" msgstr "" #: ../config.c:141 msgid "Scroll step" msgstr "" #: ../config.c:143 msgid "Horizontal scroll step" msgstr "" #: ../config.c:145 msgid "Full page scroll overlap" msgstr "" #: ../config.c:147 msgid "Zoom minimum" msgstr "Zoom minimo" #: ../config.c:149 msgid "Zoom maximum" msgstr "Zoom massimo" #: ../config.c:151 msgid "Maximum number of pages to keep in the cache" msgstr "" #: ../config.c:153 msgid "Number of positions to remember in the jumplist" msgstr "" #: ../config.c:155 msgid "Recoloring (dark color)" msgstr "" #: ../config.c:156 msgid "Recoloring (light color)" msgstr "" #: ../config.c:157 msgid "Color for highlighting" msgstr "" #: ../config.c:159 msgid "Color for highlighting (active)" msgstr "" #: ../config.c:161 msgid "'Loading ...' background color" msgstr "" #: ../config.c:163 msgid "'Loading ...' foreground color" msgstr "" #: ../config.c:167 msgid "Recolor pages" msgstr "Ricolora le pagine" #: ../config.c:169 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" #: ../config.c:171 msgid "Wrap scrolling" msgstr "Scrolling continuo" #: ../config.c:173 msgid "Page aware scrolling" msgstr "" #: ../config.c:175 msgid "Advance number of pages per row" msgstr "" #: ../config.c:177 msgid "Horizontally centered zoom" msgstr "" #: ../config.c:179 msgid "Align link target to the left" msgstr "" #: ../config.c:181 msgid "Let zoom be changed when following links" msgstr "" #: ../config.c:183 msgid "Center result horizontally" msgstr "" #: ../config.c:185 msgid "Transparency for highlighting" msgstr "" #: ../config.c:187 msgid "Render 'Loading ...'" msgstr "" #: ../config.c:188 msgid "Adjust to when opening file" msgstr "" #: ../config.c:190 msgid "Show hidden files and directories" msgstr "Mostra file e cartelle nascosti" #: ../config.c:192 msgid "Show directories" msgstr "Mostra cartelle" #: ../config.c:194 msgid "Always open on first page" msgstr "Apri sempre alla prima pagina" #: ../config.c:196 msgid "Highlight search results" msgstr "" #: ../config.c:198 msgid "Enable incremental search" msgstr "" #: ../config.c:200 msgid "Clear search results on abort" msgstr "" #: ../config.c:202 msgid "Use basename of the file in the window title" msgstr "" #: ../config.c:204 msgid "Display the page number in the window title" msgstr "" #: ../config.c:206 msgid "Use basename of the file in the statusbar" msgstr "" #: ../config.c:208 ../main.c:67 msgid "Enable synctex support" msgstr "" #: ../config.c:210 msgid "The clipboard into which mouse-selected data will be written" msgstr "" #. define default inputbar commands #: ../config.c:369 msgid "Add a bookmark" msgstr "Aggiungi un segnalibro" #: ../config.c:370 msgid "Delete a bookmark" msgstr "Elimina un segnalibro" #: ../config.c:371 msgid "List all bookmarks" msgstr "Mostra i segnalibri" #: ../config.c:372 msgid "Close current file" msgstr "Chiudi il file corrente" #: ../config.c:373 msgid "Show file information" msgstr "Mostra le informazioni sul file" #: ../config.c:374 msgid "Execute a command" msgstr "" #: ../config.c:375 msgid "Show help" msgstr "Mostra l' aiuto" #: ../config.c:376 msgid "Open document" msgstr "Apri un documento" #: ../config.c:377 msgid "Close zathura" msgstr "Chiudi zathura" #: ../config.c:378 msgid "Print document" msgstr "Stampa il documento" #: ../config.c:379 msgid "Save document" msgstr "Salva il documento" #: ../config.c:380 msgid "Save document (and force overwriting)" msgstr "Salva il documento (e sovrascrivi)" #: ../config.c:381 msgid "Save attachments" msgstr "Salva allegati" #: ../config.c:382 msgid "Set page offset" msgstr "Imposta l' offset della pagina" #: ../config.c:383 msgid "Mark current location within the document" msgstr "" #: ../config.c:384 msgid "Delete the specified marks" msgstr "" #: ../config.c:385 msgid "Don't highlight current search results" msgstr "" #: ../config.c:386 msgid "Highlight current search results" msgstr "" #: ../config.c:387 msgid "Show version information" msgstr "" #: ../links.c:199 ../links.c:278 msgid "Failed to run xdg-open." msgstr "Impossibile eseguire xdg-open." #: ../links.c:217 #, c-format msgid "Link: page %d" msgstr "" #: ../links.c:224 #, c-format msgid "Link: %s" msgstr "" #: ../links.c:228 msgid "Link: Invalid" msgstr "" #: ../main.c:58 msgid "Reparents to window specified by xid" msgstr "" #: ../main.c:59 msgid "Path to the config directory" msgstr "Percorso della directory della configurazione" #: ../main.c:60 msgid "Path to the data directory" msgstr "Percorso della directory dei dati" #: ../main.c:61 msgid "Path to the directories containing plugins" msgstr "Percorso della directory contenente i plugin" #: ../main.c:62 msgid "Fork into the background" msgstr "Crea un processo separato" #: ../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)" msgstr "Livello di log (debug, info, warning, error)" #: ../main.c:66 msgid "Print version information" msgstr "Mostra le informazioni sul file" #: ../main.c:68 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" #: ../page-widget.c:526 msgid "Loading..." msgstr "" #: ../page-widget.c:845 msgid "Copy image" msgstr "Copia immagine" #: ../page-widget.c:846 msgid "Save image as" msgstr "" #: ../shortcuts.c:1076 msgid "This document does not contain any index" msgstr "Questo documento non contiene l' indice" #: ../zathura.c:213 ../zathura.c:959 msgid "[No name]" msgstr "[Nessun nome]" #: ../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." msgstr "" #: ../zathura.c:545 msgid "Document does not contain any pages" msgstr "" zathura-0.2.6/po/de.po0000644000175000001440000002771412244447777013450 0ustar mockusers# zathura - language file (German) # See LICENSE file for license and copyright information # # Translators: # , 2012. msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: German (http://www.transifex.com/projects/p/zathura/language/" "de/)\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../callbacks.c:297 #, c-format msgid "Invalid input '%s' given." msgstr "Ungültige Eingabe '%s' angegeben." #: ../callbacks.c:333 #, c-format msgid "Invalid index '%s' given." msgstr "Ungültiger Index '%s' angegeben." #: ../callbacks.c:546 #, c-format msgid "Copied selected text to clipboard: %s" 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." msgstr "Kein Dokument geöffnet." #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424 msgid "Invalid number of arguments given." msgstr "Ungültige Anzahl an Argumenten angegeben." #: ../commands.c:53 #, c-format msgid "Could not update bookmark: %s" msgstr "Konnte Lesezeichen nicht erstellen: %s" #: ../commands.c:55 #, c-format msgid "Could not create bookmark: %s" msgstr "Konnte Lesezeichen nicht erstellen: %s" #: ../commands.c:60 #, c-format msgid "Bookmark successfully updated: %s" msgstr "Lesezeichen erfolgreich aktualisiert: %s." #: ../commands.c:62 #, c-format msgid "Bookmark successfully created: %s" msgstr "Lesezeichen erfolgreich erstellt: %s" #: ../commands.c:88 #, c-format msgid "Removed bookmark: %s" msgstr "Lesezeichen entfernt: %s" #: ../commands.c:90 #, c-format msgid "Failed to remove bookmark: %s" msgstr "Konnte Lesezeichen nicht entfernen: %s" #: ../commands.c:116 #, c-format msgid "No such bookmark: %s" msgstr "Lesezeichen existiert nicht: %s" #: ../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." msgstr "Keine Information verfügbar." #: ../commands.c:234 msgid "Too many arguments." msgstr "Zu viele Argumente angegeben." #: ../commands.c:245 msgid "No arguments given." msgstr "Keine Argumente angegeben." #: ../commands.c:304 ../commands.c:330 msgid "Document saved." msgstr "Dokument gespeichert." #: ../commands.c:306 ../commands.c:332 msgid "Failed to save document." msgstr "Konnte Dokument nicht speichern." #: ../commands.c:309 ../commands.c:335 msgid "Invalid number of arguments." msgstr "Ungültige Anzahl an Argumenten." #: ../commands.c:443 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben." #: ../commands.c:445 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Anhang '%s' nach '%s' geschrieben." #: ../commands.c:489 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Anhang '%s' nach '%s' geschrieben." #: ../commands.c:491 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Konnte Anhang '%s' nicht nach '%s' schreiben." #: ../commands.c:498 #, c-format msgid "Unknown image '%s'." msgstr "Unbekanntes Bild '%s'." #: ../commands.c:502 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Unbekannter Anhanng oder Bild '%s'." #: ../commands.c:553 msgid "Argument must be a number." msgstr "Das Argument ist keine Zahl." #: ../completion.c:250 #, c-format msgid "Page %d" msgstr "Seite %d" #: ../completion.c:293 msgid "Attachments" msgstr "Speichere Anhänge" #. add images #: ../completion.c:324 msgid "Images" msgstr "Bilder" #. zathura settings #: ../config.c:131 msgid "Database backend" msgstr "Datenbank Backend" #: ../config.c:133 msgid "Zoom step" msgstr "Vergrößerungsstufe" #: ../config.c:135 msgid "Padding between pages" msgstr "Abstand zwischen den Seiten" #: ../config.c:137 msgid "Number of pages per row" msgstr "Anzahl der Seiten in einer Reihe" #: ../config.c:139 msgid "Column of the first page" msgstr "Spalte der ersten Seite" #: ../config.c:141 msgid "Scroll step" msgstr "Schrittgröße beim Scrollen" #: ../config.c:143 msgid "Horizontal scroll step" msgstr "Horizontale Schrittgröße beim Scrollen" #: ../config.c:145 msgid "Full page scroll overlap" msgstr "Überlappung beim Scrollen von ganzen Seiten" #: ../config.c:147 msgid "Zoom minimum" msgstr "Minimale Vergrößerungsstufe" #: ../config.c:149 msgid "Zoom maximum" msgstr "Maximale Vergrößerungsstufe" #: ../config.c:151 msgid "Maximum number of pages to keep in the cache" msgstr "Maximale Seitenzahl im Zwischenspeicher" #: ../config.c:153 msgid "Number of positions to remember in the jumplist" msgstr "Anzahl der Liste zu behaltenden Positionen" #: ../config.c:155 msgid "Recoloring (dark color)" msgstr "Neufärben (Dunkle Farbe)" #: ../config.c:156 msgid "Recoloring (light color)" msgstr "Neufärben (Helle Farbe)" #: ../config.c:157 msgid "Color for highlighting" msgstr "Farbe für eine Markierung" #: ../config.c:159 msgid "Color for highlighting (active)" msgstr "Farbe für die aktuelle Markierung" #: ../config.c:161 msgid "'Loading ...' background color" msgstr "Hintergrundfarbe von 'Lädt...'" #: ../config.c:163 msgid "'Loading ...' foreground color" msgstr "Vordergrundfarbe von 'Lädt...'" #: ../config.c:167 msgid "Recolor pages" msgstr "Färbe die Seiten ein" #: ../config.c:169 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" "Behalte beim Neuzeichnen den ursprünglichen Hue-Wert bei und stimme nur die " "Helligkeit ab" #: ../config.c:171 msgid "Wrap scrolling" msgstr "Scroll-Umbruch" #: ../config.c:173 msgid "Page aware scrolling" msgstr "Seiten beim Scrollen beachten" #: ../config.c:175 msgid "Advance number of pages per row" msgstr "Gehe Anzahl der Seiten in einer Reihe weiter" #: ../config.c:177 msgid "Horizontally centered zoom" msgstr "Horizontal zentrierter Zoom" #: ../config.c:179 msgid "Align link target to the left" msgstr "Linkziel links ausrichten" #: ../config.c:181 msgid "Let zoom be changed when following links" msgstr "" #: ../config.c:183 msgid "Center result horizontally" msgstr "Zentriere Ergebnis horizontal" #: ../config.c:185 msgid "Transparency for highlighting" msgstr "Transparenz einer Markierung" #: ../config.c:187 msgid "Render 'Loading ...'" msgstr "Zeige 'Lädt...'-Text beim Zeichnen einer Seite" #: ../config.c:188 msgid "Adjust to when opening file" msgstr "Seite einpassen" #: ../config.c:190 msgid "Show hidden files and directories" msgstr "Zeige versteckte Dateien und Ordner an" #: ../config.c:192 msgid "Show directories" msgstr "Zeige Ordner an" #: ../config.c:194 msgid "Always open on first page" msgstr "Öffne Dokument immer auf der ersten Seite" #: ../config.c:196 msgid "Highlight search results" msgstr "Hebe Suchergebnisse hervor" #: ../config.c:198 msgid "Enable incremental search" msgstr "Aktiviere inkrementelle Suche" #: ../config.c:200 msgid "Clear search results on abort" msgstr "Lösche Suchergebnisse bei Abbruch" #: ../config.c:202 msgid "Use basename of the file in the window title" msgstr "Verwende den Dateinamen der Datei im Fenstertitel" #: ../config.c:204 msgid "Display the page number in the window title" msgstr "Verwende die Seitenzal im Fenstertitel" #: ../config.c:206 msgid "Use basename of the file in the statusbar" msgstr "Verwende den Dateinamen der Datei in der Statusleiste" #: ../config.c:208 ../main.c:67 msgid "Enable synctex support" msgstr "Aktiviere SyncTeX-Unterstützung" #: ../config.c:210 msgid "The clipboard into which mouse-selected data will be written" msgstr "" #. define default inputbar commands #: ../config.c:369 msgid "Add a bookmark" msgstr "Füge Lesezeichen hinzu" #: ../config.c:370 msgid "Delete a bookmark" msgstr "Lösche ein Lesezeichen" #: ../config.c:371 msgid "List all bookmarks" msgstr "Liste all Lesezeichen auf" #: ../config.c:372 msgid "Close current file" msgstr "Schließe das aktuelle Dokument" #: ../config.c:373 msgid "Show file information" msgstr "Zeige Dokumentinformationen an" #: ../config.c:374 msgid "Execute a command" msgstr "Führe einen Befehl aus" #: ../config.c:375 msgid "Show help" msgstr "Zeige Hilfe an" #: ../config.c:376 msgid "Open document" msgstr "Öffne Dokument" #: ../config.c:377 msgid "Close zathura" msgstr "Beende zathura" #: ../config.c:378 msgid "Print document" msgstr "Drucke Dokument" #: ../config.c:379 msgid "Save document" msgstr "Speichere Dokument" #: ../config.c:380 msgid "Save document (and force overwriting)" msgstr "Speichere Dokument (und überschreibe bestehende)" #: ../config.c:381 msgid "Save attachments" msgstr "Speichere Anhänge" #: ../config.c:382 msgid "Set page offset" msgstr "Setze den Seitenabstand" #: ../config.c:383 msgid "Mark current location within the document" msgstr "Markiere aktuelle Position im Doukument" #: ../config.c:384 msgid "Delete the specified marks" msgstr "Lösche angegebene Markierung" #: ../config.c:385 msgid "Don't highlight current search results" msgstr "Hebe aktuelle Suchergebnisse nicht hervor" #: ../config.c:386 msgid "Highlight current search results" msgstr "Hebe aktuelle Suchergebnisse hervor" #: ../config.c:387 msgid "Show version information" msgstr "Zeige Versionsinformationen an" #: ../links.c:199 ../links.c:278 msgid "Failed to run xdg-open." msgstr "Konnte xdg-open nicht ausführen." #: ../links.c:217 #, c-format msgid "Link: page %d" msgstr "Verknüpfung: Seite %d" #: ../links.c:224 #, c-format msgid "Link: %s" msgstr "Verknüpfung: %s" #: ../links.c:228 msgid "Link: Invalid" msgstr "Verknüpfung: ungültig" #: ../main.c:58 msgid "Reparents to window specified by xid" msgstr "Reparentiert zathura an das Fenster mit der xid" #: ../main.c:59 msgid "Path to the config directory" msgstr "Pfad zum Konfigurationsverzeichnis" #: ../main.c:60 msgid "Path to the data directory" msgstr "Pfad zum Datenverzeichnis" #: ../main.c:61 msgid "Path to the directories containing plugins" msgstr "Pfad zum Pluginverzeichnis" #: ../main.c:62 msgid "Fork into the background" msgstr "Forkt den Prozess in den Hintergrund" #: ../main.c:63 msgid "Document password" msgstr "Dokument Passwort" #: ../main.c:64 msgid "Page number to go to" msgstr "Zur Seitenzahl springen" #: ../main.c:65 msgid "Log level (debug, info, warning, error)" msgstr "Log-Stufe (debug, info, warning, error)" #: ../main.c:66 msgid "Print version information" msgstr "Zeige Versionsinformationen an" #: ../main.c:68 msgid "Synctex editor (forwarded to the synctex command)" msgstr "Synctex Editor (wird an synctex weitergeleitet)" #: ../page-widget.c:526 msgid "Loading..." msgstr "Lädt..." #: ../page-widget.c:845 msgid "Copy image" msgstr "Bild kopieren" #: ../page-widget.c:846 msgid "Save image as" msgstr "Bild speichern als" #: ../shortcuts.c:1076 msgid "This document does not contain any index" msgstr "Dieses Dokument beinhaltet kein Inhaltsverzeichnis." #: ../zathura.c:213 ../zathura.c:959 msgid "[No name]" msgstr "[Kein Name]" #: ../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." msgstr "Dateityp ist nicht unterstützt. Installiere das benötigete Plugin." #: ../zathura.c:545 msgid "Document does not contain any pages" msgstr "Dieses Dokument beinhaltet kein Seiten" zathura-0.2.6/po/he.po0000644000175000001440000002121512244447777013442 0ustar mockusers# zathura - language file (Hebrew) # See LICENSE file for license and copyright information # # Translators: msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Hebrew (http://www.transifex.com/projects/p/zathura/language/" "he/)\n" "Language: he\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../callbacks.c:297 #, c-format msgid "Invalid input '%s' given." msgstr "" #: ../callbacks.c:333 #, c-format msgid "Invalid index '%s' given." msgstr "" #: ../callbacks.c:546 #, c-format msgid "Copied selected text to clipboard: %s" 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." msgstr "" #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424 msgid "Invalid number of arguments given." msgstr "" #: ../commands.c:53 #, c-format msgid "Could not update bookmark: %s" msgstr "" #: ../commands.c:55 #, c-format msgid "Could not create bookmark: %s" msgstr "" #: ../commands.c:60 #, c-format msgid "Bookmark successfully updated: %s" msgstr "" #: ../commands.c:62 #, c-format msgid "Bookmark successfully created: %s" msgstr "" #: ../commands.c:88 #, c-format msgid "Removed bookmark: %s" msgstr "" #: ../commands.c:90 #, c-format msgid "Failed to remove bookmark: %s" msgstr "" #: ../commands.c:116 #, c-format msgid "No such bookmark: %s" msgstr "" #: ../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." msgstr "" #: ../commands.c:234 msgid "Too many arguments." msgstr "" #: ../commands.c:245 msgid "No arguments given." msgstr "" #: ../commands.c:304 ../commands.c:330 msgid "Document saved." msgstr "" #: ../commands.c:306 ../commands.c:332 msgid "Failed to save document." msgstr "" #: ../commands.c:309 ../commands.c:335 msgid "Invalid number of arguments." msgstr "" #: ../commands.c:443 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "" #: ../commands.c:445 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "" #: ../commands.c:489 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "" #: ../commands.c:491 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "" #: ../commands.c:498 #, c-format msgid "Unknown image '%s'." msgstr "" #: ../commands.c:502 #, c-format msgid "Unknown attachment or image '%s'." msgstr "" #: ../commands.c:553 msgid "Argument must be a number." msgstr "" #: ../completion.c:250 #, c-format msgid "Page %d" msgstr "" #: ../completion.c:293 msgid "Attachments" msgstr "" #. add images #: ../completion.c:324 msgid "Images" msgstr "" #. zathura settings #: ../config.c:131 msgid "Database backend" msgstr "" #: ../config.c:133 msgid "Zoom step" msgstr "" #: ../config.c:135 msgid "Padding between pages" msgstr "" #: ../config.c:137 msgid "Number of pages per row" msgstr "" #: ../config.c:139 msgid "Column of the first page" msgstr "" #: ../config.c:141 msgid "Scroll step" msgstr "" #: ../config.c:143 msgid "Horizontal scroll step" msgstr "" #: ../config.c:145 msgid "Full page scroll overlap" msgstr "" #: ../config.c:147 msgid "Zoom minimum" msgstr "" #: ../config.c:149 msgid "Zoom maximum" msgstr "" #: ../config.c:151 msgid "Maximum number of pages to keep in the cache" msgstr "" #: ../config.c:153 msgid "Number of positions to remember in the jumplist" msgstr "" #: ../config.c:155 msgid "Recoloring (dark color)" msgstr "" #: ../config.c:156 msgid "Recoloring (light color)" msgstr "" #: ../config.c:157 msgid "Color for highlighting" msgstr "" #: ../config.c:159 msgid "Color for highlighting (active)" msgstr "" #: ../config.c:161 msgid "'Loading ...' background color" msgstr "" #: ../config.c:163 msgid "'Loading ...' foreground color" msgstr "" #: ../config.c:167 msgid "Recolor pages" msgstr "" #: ../config.c:169 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" #: ../config.c:171 msgid "Wrap scrolling" msgstr "" #: ../config.c:173 msgid "Page aware scrolling" msgstr "" #: ../config.c:175 msgid "Advance number of pages per row" msgstr "" #: ../config.c:177 msgid "Horizontally centered zoom" msgstr "" #: ../config.c:179 msgid "Align link target to the left" msgstr "" #: ../config.c:181 msgid "Let zoom be changed when following links" msgstr "" #: ../config.c:183 msgid "Center result horizontally" msgstr "" #: ../config.c:185 msgid "Transparency for highlighting" msgstr "" #: ../config.c:187 msgid "Render 'Loading ...'" msgstr "" #: ../config.c:188 msgid "Adjust to when opening file" msgstr "" #: ../config.c:190 msgid "Show hidden files and directories" msgstr "" #: ../config.c:192 msgid "Show directories" msgstr "" #: ../config.c:194 msgid "Always open on first page" msgstr "" #: ../config.c:196 msgid "Highlight search results" msgstr "" #: ../config.c:198 msgid "Enable incremental search" msgstr "" #: ../config.c:200 msgid "Clear search results on abort" msgstr "" #: ../config.c:202 msgid "Use basename of the file in the window title" msgstr "" #: ../config.c:204 msgid "Display the page number in the window title" msgstr "" #: ../config.c:206 msgid "Use basename of the file in the statusbar" msgstr "" #: ../config.c:208 ../main.c:67 msgid "Enable synctex support" msgstr "" #: ../config.c:210 msgid "The clipboard into which mouse-selected data will be written" msgstr "" #. define default inputbar commands #: ../config.c:369 msgid "Add a bookmark" msgstr "" #: ../config.c:370 msgid "Delete a bookmark" msgstr "" #: ../config.c:371 msgid "List all bookmarks" msgstr "" #: ../config.c:372 msgid "Close current file" msgstr "" #: ../config.c:373 msgid "Show file information" msgstr "" #: ../config.c:374 msgid "Execute a command" msgstr "" #: ../config.c:375 msgid "Show help" msgstr "" #: ../config.c:376 msgid "Open document" msgstr "" #: ../config.c:377 msgid "Close zathura" msgstr "" #: ../config.c:378 msgid "Print document" msgstr "" #: ../config.c:379 msgid "Save document" msgstr "" #: ../config.c:380 msgid "Save document (and force overwriting)" msgstr "" #: ../config.c:381 msgid "Save attachments" msgstr "" #: ../config.c:382 msgid "Set page offset" msgstr "" #: ../config.c:383 msgid "Mark current location within the document" msgstr "" #: ../config.c:384 msgid "Delete the specified marks" msgstr "" #: ../config.c:385 msgid "Don't highlight current search results" msgstr "" #: ../config.c:386 msgid "Highlight current search results" msgstr "" #: ../config.c:387 msgid "Show version information" msgstr "" #: ../links.c:199 ../links.c:278 msgid "Failed to run xdg-open." msgstr "" #: ../links.c:217 #, c-format msgid "Link: page %d" msgstr "" #: ../links.c:224 #, c-format msgid "Link: %s" msgstr "" #: ../links.c:228 msgid "Link: Invalid" msgstr "" #: ../main.c:58 msgid "Reparents to window specified by xid" msgstr "" #: ../main.c:59 msgid "Path to the config directory" msgstr "" #: ../main.c:60 msgid "Path to the data directory" msgstr "" #: ../main.c:61 msgid "Path to the directories containing plugins" msgstr "" #: ../main.c:62 msgid "Fork into the background" msgstr "" #: ../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)" msgstr "" #: ../main.c:66 msgid "Print version information" msgstr "" #: ../main.c:68 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" #: ../page-widget.c:526 msgid "Loading..." msgstr "" #: ../page-widget.c:845 msgid "Copy image" msgstr "" #: ../page-widget.c:846 msgid "Save image as" msgstr "" #: ../shortcuts.c:1076 msgid "This document does not contain any index" msgstr "" #: ../zathura.c:213 ../zathura.c:959 msgid "[No name]" msgstr "" #: ../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." msgstr "" #: ../zathura.c:545 msgid "Document does not contain any pages" msgstr "" zathura-0.2.6/po/id_ID.po0000644000175000001440000002605112244447777014021 0ustar mockusers# zathura - language file (Inonesian (Indonesia)) # See LICENSE file for license and copyright information # # Translators: # andjeng , 2013 msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n" "Last-Translator: andjeng \n" "Language-Team: Indonesian (Indonesia) (http://www.transifex.com/projects/p/" "zathura/language/id_ID/)\n" "Language: id_ID\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../callbacks.c:297 #, c-format msgid "Invalid input '%s' given." msgstr "Masukan '%s' tidak valid" #: ../callbacks.c:333 #, c-format msgid "Invalid index '%s' given." msgstr "Index '%s' tidak valid" #: ../callbacks.c:546 #, c-format msgid "Copied selected text to clipboard: %s" 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." msgstr "Tidak ada dokumen yang terbuka." #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424 msgid "Invalid number of arguments given." msgstr "jumlah argumen yang diberikan tidak valid" #: ../commands.c:53 #, c-format msgid "Could not update bookmark: %s" msgstr "Tidak dapat membuat bookmark: %s" #: ../commands.c:55 #, c-format msgid "Could not create bookmark: %s" msgstr "Tidak dapat membuat bookmark: %s" #: ../commands.c:60 #, c-format msgid "Bookmark successfully updated: %s" msgstr "bookmark yang sukses terupdate : %s" #: ../commands.c:62 #, c-format msgid "Bookmark successfully created: %s" msgstr "Bookmark yang sukses dibuat: %s" #: ../commands.c:88 #, c-format msgid "Removed bookmark: %s" msgstr "Bookmark %s telah sukses dihapus" #: ../commands.c:90 #, c-format msgid "Failed to remove bookmark: %s" msgstr "Gagal menghapus bookmark: %s" #: ../commands.c:116 #, c-format msgid "No such bookmark: %s" msgstr "Tidak ada bookmark: %s" #: ../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." msgstr "Tidak ada informasi tersedia" #: ../commands.c:234 msgid "Too many arguments." msgstr "Argumen terlalu banyak" #: ../commands.c:245 msgid "No arguments given." msgstr "Tidak ada argumen yang diberikan" #: ../commands.c:304 ../commands.c:330 msgid "Document saved." msgstr "Dokumen telah disimpan" #: ../commands.c:306 ../commands.c:332 msgid "Failed to save document." msgstr "Gagal menyimpan dokumen" #: ../commands.c:309 ../commands.c:335 msgid "Invalid number of arguments." msgstr "Jumlah argumen tidak valid" #: ../commands.c:443 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Tidak dapat menulis lampiran '%s' ke '%s'" #: ../commands.c:445 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Tidak dapat menyimpan lampiran '%s' ke '%s'" #: ../commands.c:489 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Menulis citra dari '%s' ke '%s'" #: ../commands.c:491 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Tidak dapat menulis citra '%s' ke %s'" #: ../commands.c:498 #, c-format msgid "Unknown image '%s'." msgstr "Citra tidak diketahui '%s'" #: ../commands.c:502 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Lampiran atau gambar tidak diketahui '%s'" #: ../commands.c:553 msgid "Argument must be a number." msgstr "Argumen harus berupa angka." #: ../completion.c:250 #, c-format msgid "Page %d" msgstr "Halaman %d" #: ../completion.c:293 msgid "Attachments" msgstr "Lampiran" #. add images #: ../completion.c:324 msgid "Images" msgstr "Citra" #. zathura settings #: ../config.c:131 msgid "Database backend" msgstr "" #: ../config.c:133 msgid "Zoom step" msgstr "Tingkat pembesaran" #: ../config.c:135 msgid "Padding between pages" msgstr "Selisih antar halaman" #: ../config.c:137 msgid "Number of pages per row" msgstr "Jumlah halaman tiap kolom" #: ../config.c:139 msgid "Column of the first page" msgstr "Kolom pada halaman pertama" #: ../config.c:141 msgid "Scroll step" msgstr "Tingkat menggulung" #: ../config.c:143 msgid "Horizontal scroll step" msgstr "Tingkat penggulungan horisontal" #: ../config.c:145 msgid "Full page scroll overlap" msgstr "" #: ../config.c:147 msgid "Zoom minimum" msgstr "Pembesaran minimum" #: ../config.c:149 msgid "Zoom maximum" msgstr "Pembesaran maksimal" #: ../config.c:151 msgid "Maximum number of pages to keep in the cache" msgstr "" #: ../config.c:153 msgid "Number of positions to remember in the jumplist" msgstr "Jumlah posisi yang diingat pada jumplist" #: ../config.c:155 msgid "Recoloring (dark color)" msgstr "Mewarnai ulang (warna gelap)" #: ../config.c:156 msgid "Recoloring (light color)" msgstr "Mewarnai ulang (warna cerah)" #: ../config.c:157 msgid "Color for highlighting" msgstr "Warna sorotan" #: ../config.c:159 msgid "Color for highlighting (active)" msgstr "Warna sorotan (aktif)" #: ../config.c:161 msgid "'Loading ...' background color" msgstr "" #: ../config.c:163 msgid "'Loading ...' foreground color" msgstr "" #: ../config.c:167 msgid "Recolor pages" msgstr "Mewarnai ulang halaman" #: ../config.c:169 msgid "When recoloring keep original hue and adjust lightness only" msgstr "Ketika mewarnai ulang, jaga hue dan sesuaikan kecerahan saja" #: ../config.c:171 msgid "Wrap scrolling" msgstr "" #: ../config.c:173 msgid "Page aware scrolling" msgstr "Penggulungan sadar halaman" #: ../config.c:175 msgid "Advance number of pages per row" msgstr "Jumlah halaman per baris \"lanjutan\"" #: ../config.c:177 msgid "Horizontally centered zoom" msgstr "Pembesaran horisontal tengah" #: ../config.c:179 msgid "Align link target to the left" msgstr "" #: ../config.c:181 msgid "Let zoom be changed when following links" msgstr "" #: ../config.c:183 msgid "Center result horizontally" msgstr "Tengah-horisontalkan hasil" #: ../config.c:185 msgid "Transparency for highlighting" msgstr "Transparansi sorotan" #: ../config.c:187 msgid "Render 'Loading ...'" msgstr "Memuat Render..." #: ../config.c:188 msgid "Adjust to when opening file" msgstr "Menyesuaikan ketika membuka file" #: ../config.c:190 msgid "Show hidden files and directories" msgstr "Perlihatkan file dan direktori tersembunyi" #: ../config.c:192 msgid "Show directories" msgstr "Perlihatkan direktori" #: ../config.c:194 msgid "Always open on first page" msgstr "Selalu buka halaman pertama" #: ../config.c:196 msgid "Highlight search results" msgstr "Sorot hasil pencarian" #: ../config.c:198 msgid "Enable incremental search" msgstr "Fungsikan pencarian berkelanjutan" #: ../config.c:200 msgid "Clear search results on abort" msgstr "Hapus hasil pencarian ketika batal mencari" #: ../config.c:202 msgid "Use basename of the file in the window title" msgstr "Gunakan nama dasar file pada judul jendela" #: ../config.c:204 msgid "Display the page number in the window title" msgstr "" #: ../config.c:206 msgid "Use basename of the file in the statusbar" msgstr "" #: ../config.c:208 ../main.c:67 msgid "Enable synctex support" msgstr "Support synctex" #: ../config.c:210 msgid "The clipboard into which mouse-selected data will be written" msgstr "" #. define default inputbar commands #: ../config.c:369 msgid "Add a bookmark" msgstr "Tambahkan pada bookmark" #: ../config.c:370 msgid "Delete a bookmark" msgstr "Hapus bookmark" #: ../config.c:371 msgid "List all bookmarks" msgstr "Perlihatkan semua bookmark" #: ../config.c:372 msgid "Close current file" msgstr "Tutup file ini" #: ../config.c:373 msgid "Show file information" msgstr "Informasi file" #: ../config.c:374 msgid "Execute a command" msgstr "Jalankan perintah" #: ../config.c:375 msgid "Show help" msgstr "Bantuan" #: ../config.c:376 msgid "Open document" msgstr "Buka dokumen" #: ../config.c:377 msgid "Close zathura" msgstr "Tutup zathura" #: ../config.c:378 msgid "Print document" msgstr "Cetak dokumen" #: ../config.c:379 msgid "Save document" msgstr "Simpan dokumen" #: ../config.c:380 msgid "Save document (and force overwriting)" msgstr "Simpan dokumen (dan menimpa berkas)" #: ../config.c:381 msgid "Save attachments" msgstr "Simpan lampiran" #: ../config.c:382 msgid "Set page offset" msgstr "Set offset halaman" #: ../config.c:383 msgid "Mark current location within the document" msgstr "Tandai lokasi sekarang dalam dokumen" #: ../config.c:384 msgid "Delete the specified marks" msgstr "Hapus tanda terpilih" #: ../config.c:385 msgid "Don't highlight current search results" msgstr "Jangan menyorot hasil cari sekarang" #: ../config.c:386 msgid "Highlight current search results" msgstr "" #: ../config.c:387 msgid "Show version information" msgstr "Tunjukan informasi versi" #: ../links.c:199 ../links.c:278 msgid "Failed to run xdg-open." msgstr "Gagal menjalankan program xdg-open" #: ../links.c:217 #, c-format msgid "Link: page %d" msgstr "Link: halaman %d" #: ../links.c:224 #, c-format msgid "Link: %s" msgstr "Link: %s" #: ../links.c:228 msgid "Link: Invalid" msgstr "Link: Tidak valid" #: ../main.c:58 msgid "Reparents to window specified by xid" msgstr "Mengembalikan jendela sesuai dengan xid yang ditentukan" #: ../main.c:59 msgid "Path to the config directory" msgstr "Path ke direktori konfigurasi" #: ../main.c:60 msgid "Path to the data directory" msgstr "Path ke direktori data" #: ../main.c:61 msgid "Path to the directories containing plugins" msgstr "Path ke direktori plugin" #: ../main.c:62 msgid "Fork into the background" msgstr "Jalankan pada latar" #: ../main.c:63 msgid "Document password" msgstr "Kata sandi dokumen" #: ../main.c:64 msgid "Page number to go to" msgstr "" #: ../main.c:65 msgid "Log level (debug, info, warning, error)" msgstr "Tingkat log (debug, info, peringatan, error)" #: ../main.c:66 msgid "Print version information" msgstr "Cetak informasi versi" #: ../main.c:68 msgid "Synctex editor (forwarded to the synctex command)" msgstr "Synctex editor (diteruskan ke perintah synctex)" #: ../page-widget.c:526 msgid "Loading..." msgstr "Memuat....." #: ../page-widget.c:845 msgid "Copy image" msgstr "Salin gambar" #: ../page-widget.c:846 msgid "Save image as" msgstr "Simpan gambar sebagai" #: ../shortcuts.c:1076 msgid "This document does not contain any index" msgstr "Dokumen ini tidak mempunyai indeks" #: ../zathura.c:213 ../zathura.c:959 msgid "[No name]" msgstr "[Tidak berjudul]" #: ../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." msgstr "" #: ../zathura.c:545 msgid "Document does not contain any pages" msgstr "" zathura-0.2.6/po/uk_UA.po0000644000175000001440000002730512244447777014060 0ustar mockusers# zathura - language file (Ukrainian (Ukrain)) # See LICENSE file for license and copyright information # # Translators: # sevenfourk , 2012 msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/projects/p/" "zathura/language/uk_UA/)\n" "Language: uk_UA\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n" #: ../callbacks.c:297 #, c-format msgid "Invalid input '%s' given." msgstr "Вказано невірний аргумент: %s." #: ../callbacks.c:333 #, c-format msgid "Invalid index '%s' given." msgstr "Вказано невірний індекс: %s" #: ../callbacks.c:546 #, c-format msgid "Copied selected text to clipboard: %s" 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." msgstr "Документ не відкрито." #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424 msgid "Invalid number of arguments given." msgstr "Вказана невірна кількість аргументів." #: ../commands.c:53 #, c-format msgid "Could not update bookmark: %s" msgstr "Не можу створити закладку: %s" #: ../commands.c:55 #, c-format msgid "Could not create bookmark: %s" msgstr "Не можу створити закладку: %s" #: ../commands.c:60 #, c-format msgid "Bookmark successfully updated: %s" msgstr "Закладку вдало поновлено: %s" #: ../commands.c:62 #, c-format msgid "Bookmark successfully created: %s" msgstr "Закладку створено вдало: %s" #: ../commands.c:88 #, c-format msgid "Removed bookmark: %s" msgstr "Закладку видалено: %s" #: ../commands.c:90 #, c-format msgid "Failed to remove bookmark: %s" msgstr "Видалення закладки невдалося: %s" #: ../commands.c:116 #, c-format msgid "No such bookmark: %s" msgstr "Такої закладки немає: %s" #: ../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." msgstr "Інформація недоступна." #: ../commands.c:234 msgid "Too many arguments." msgstr "Забагато аргументів." #: ../commands.c:245 msgid "No arguments given." msgstr "Жодного аргументу не вказано." #: ../commands.c:304 ../commands.c:330 msgid "Document saved." msgstr "Документ збережено." #: ../commands.c:306 ../commands.c:332 msgid "Failed to save document." msgstr "Документ не вдалося зберегти." #: ../commands.c:309 ../commands.c:335 msgid "Invalid number of arguments." msgstr "Невірна кількість аргументів." #: ../commands.c:443 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Неможливо записати прикріплення '%s' до '%s'." #: ../commands.c:445 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Прикріплення записано %s до %s." #: ../commands.c:489 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "" #: ../commands.c:491 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "" #: ../commands.c:498 #, c-format msgid "Unknown image '%s'." msgstr "" #: ../commands.c:502 #, c-format msgid "Unknown attachment or image '%s'." msgstr "" #: ../commands.c:553 msgid "Argument must be a number." msgstr "Аргумент повинен бути цифрою." #: ../completion.c:250 #, c-format msgid "Page %d" msgstr "" #: ../completion.c:293 msgid "Attachments" msgstr "" #. add images #: ../completion.c:324 msgid "Images" msgstr "" #. zathura settings #: ../config.c:131 msgid "Database backend" msgstr "Буфер бази" #: ../config.c:133 msgid "Zoom step" msgstr "Збільшення" #: ../config.c:135 msgid "Padding between pages" msgstr "Заповнення між сторінками" #: ../config.c:137 msgid "Number of pages per row" msgstr "Кількість сторінок в одному рядку" #: ../config.c:139 msgid "Column of the first page" msgstr "" #: ../config.c:141 msgid "Scroll step" msgstr "Прокручування" #: ../config.c:143 msgid "Horizontal scroll step" msgstr "" #: ../config.c:145 msgid "Full page scroll overlap" msgstr "" #: ../config.c:147 msgid "Zoom minimum" msgstr "Максимальне зменшення" #: ../config.c:149 msgid "Zoom maximum" msgstr "Максимальне збільшення" #: ../config.c:151 msgid "Maximum number of pages to keep in the cache" msgstr "" #: ../config.c:153 msgid "Number of positions to remember in the jumplist" msgstr "" #: ../config.c:155 msgid "Recoloring (dark color)" msgstr "Перефарбування (темний колір)" #: ../config.c:156 msgid "Recoloring (light color)" msgstr "Перефарбування (світлий колір)" #: ../config.c:157 msgid "Color for highlighting" msgstr "Колір для виділення" #: ../config.c:159 msgid "Color for highlighting (active)" msgstr "Колір для виділення (активний)" #: ../config.c:161 msgid "'Loading ...' background color" msgstr "" #: ../config.c:163 msgid "'Loading ...' foreground color" msgstr "" #: ../config.c:167 msgid "Recolor pages" msgstr "Змінити кольори" #: ../config.c:169 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" #: ../config.c:171 msgid "Wrap scrolling" msgstr "Плавне прокручування" #: ../config.c:173 msgid "Page aware scrolling" msgstr "" #: ../config.c:175 msgid "Advance number of pages per row" msgstr "" #: ../config.c:177 msgid "Horizontally centered zoom" msgstr "" #: ../config.c:179 msgid "Align link target to the left" msgstr "" #: ../config.c:181 msgid "Let zoom be changed when following links" msgstr "" #: ../config.c:183 msgid "Center result horizontally" msgstr "" #: ../config.c:185 msgid "Transparency for highlighting" msgstr "Прозорість для виділення" #: ../config.c:187 msgid "Render 'Loading ...'" msgstr "Рендер 'Завантажується ...'" #: ../config.c:188 msgid "Adjust to when opening file" msgstr "Підлаштовутись при відкритті файлу" #: ../config.c:190 msgid "Show hidden files and directories" msgstr "Показати приховані файли та директорії" #: ../config.c:192 msgid "Show directories" msgstr "Показати диреторії" #: ../config.c:194 msgid "Always open on first page" msgstr "Завжди відкривати на першій сторінці" #: ../config.c:196 msgid "Highlight search results" msgstr "" #: ../config.c:198 msgid "Enable incremental search" msgstr "" #: ../config.c:200 msgid "Clear search results on abort" msgstr "" #: ../config.c:202 msgid "Use basename of the file in the window title" msgstr "" #: ../config.c:204 msgid "Display the page number in the window title" msgstr "" #: ../config.c:206 msgid "Use basename of the file in the statusbar" msgstr "" #: ../config.c:208 ../main.c:67 msgid "Enable synctex support" msgstr "" #: ../config.c:210 msgid "The clipboard into which mouse-selected data will be written" msgstr "" #. define default inputbar commands #: ../config.c:369 msgid "Add a bookmark" msgstr "Додати закладку" #: ../config.c:370 msgid "Delete a bookmark" msgstr "Вилучити закладку" #: ../config.c:371 msgid "List all bookmarks" msgstr "Дивитись усі закладки" #: ../config.c:372 msgid "Close current file" msgstr "Закрити документ" #: ../config.c:373 msgid "Show file information" msgstr "Показати інформацію файлу" #: ../config.c:374 msgid "Execute a command" msgstr "" #: ../config.c:375 msgid "Show help" msgstr "Показати довідку" #: ../config.c:376 msgid "Open document" msgstr "Відкрити документ" #: ../config.c:377 msgid "Close zathura" msgstr "Вийти із zathura" #: ../config.c:378 msgid "Print document" msgstr "Друкувати документ" #: ../config.c:379 msgid "Save document" msgstr "Зберегти документ" #: ../config.c:380 msgid "Save document (and force overwriting)" msgstr "Зберегти документ (форсувати перезапис)" #: ../config.c:381 msgid "Save attachments" msgstr "Зберегти прикріплення" #: ../config.c:382 msgid "Set page offset" msgstr "Встановити зміщення сторінки" #: ../config.c:383 msgid "Mark current location within the document" msgstr "" #: ../config.c:384 msgid "Delete the specified marks" msgstr "" #: ../config.c:385 msgid "Don't highlight current search results" msgstr "" #: ../config.c:386 msgid "Highlight current search results" msgstr "" #: ../config.c:387 msgid "Show version information" msgstr "" #: ../links.c:199 ../links.c:278 msgid "Failed to run xdg-open." msgstr "Запуск xdg-open не вдався." #: ../links.c:217 #, c-format msgid "Link: page %d" msgstr "" #: ../links.c:224 #, c-format msgid "Link: %s" msgstr "" #: ../links.c:228 msgid "Link: Invalid" msgstr "" #: ../main.c:58 msgid "Reparents to window specified by xid" msgstr "Вертатися до вікна, вказаного xid" #: ../main.c:59 msgid "Path to the config directory" msgstr "Шлях до теки конфігурації" #: ../main.c:60 msgid "Path to the data directory" msgstr "Шлях до теки з даними" #: ../main.c:61 msgid "Path to the directories containing plugins" msgstr "Шлях до теки з плаґінами" #: ../main.c:62 msgid "Fork into the background" msgstr "Працювати у фоні" #: ../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)" msgstr "Рівень логування (налагодження, інфо, застереження, помилка)" #: ../main.c:66 msgid "Print version information" msgstr "Показати інформацію файлу" #: ../main.c:68 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" #: ../page-widget.c:526 msgid "Loading..." msgstr "" #: ../page-widget.c:845 msgid "Copy image" msgstr "Копіювати картинку" #: ../page-widget.c:846 msgid "Save image as" msgstr "" #: ../shortcuts.c:1076 msgid "This document does not contain any index" msgstr "Індекс відсутній в цьому документі" #: ../zathura.c:213 ../zathura.c:959 msgid "[No name]" msgstr "[Без назви]" #: ../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." msgstr "" #: ../zathura.c:545 msgid "Document does not contain any pages" msgstr "" zathura-0.2.6/po/ta_IN.po0000644000175000001440000002703012244447777014041 0ustar mockusers# zathura - language file (Tamil (India)) # See LICENSE file for license and copyright information # # Translators: # mankand007 , 2012 msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n" "Last-Translator: mankand007 \n" "Language-Team: Tamil (India) (http://www.transifex.net/projects/p/zathura/" "language/ta_IN/)\n" "Language: ta_IN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" #: ../callbacks.c:297 #, c-format msgid "Invalid input '%s' given." msgstr "கொடுக்கப்பட்ட உள்ளீடு(input) '%s' தவறு" #: ../callbacks.c:333 #, c-format msgid "Invalid index '%s' given." msgstr "கொடுக்கப்பட்ட index '%s' தவறு" #: ../callbacks.c:546 #, c-format msgid "Copied selected text to clipboard: %s" 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." msgstr "எந்தக் ஆவணமும் திறக்கப்படவில்லை" #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424 msgid "Invalid number of arguments given." msgstr "கொடுக்கப்பட்ட arguments-களின் எண்ணிக்கை தவறு" #: ../commands.c:53 #, c-format msgid "Could not update bookmark: %s" msgstr "Bookmark-ஐ உருவாக்க முடியவில்லை: %s" #: ../commands.c:55 #, c-format msgid "Could not create bookmark: %s" msgstr "Bookmark-ஐ உருவாக்க முடியவில்லை: %s" #: ../commands.c:60 #, c-format msgid "Bookmark successfully updated: %s" msgstr "Bookmark வெற்றிகரமாக நிகழ்நிலை(update) படுத்தப்பட்டது: %s" #: ../commands.c:62 #, c-format msgid "Bookmark successfully created: %s" msgstr "Bookmark வெற்றிகரமாக உருவாக்கப்பட்டது: %s" #: ../commands.c:88 #, c-format msgid "Removed bookmark: %s" msgstr "Bookmark அழிக்கப்பட்டது: %s" #: ../commands.c:90 #, c-format msgid "Failed to remove bookmark: %s" msgstr "Bookmark-ஐ அழிக்க இயலவில்லை: %s" #: ../commands.c:116 #, c-format msgid "No such bookmark: %s" msgstr "அந்தப் பெயரில் எந்த bookmark-ம் இல்லை: %s" #: ../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." msgstr "எந்தத் தகவலும் இல்லை" #: ../commands.c:234 msgid "Too many arguments." msgstr "Argumentகளின் எண்ணிக்கை மிகவும் அதிகம்" #: ../commands.c:245 msgid "No arguments given." msgstr "எந்த argument-ம் தரப்படவில்லை" #: ../commands.c:304 ../commands.c:330 msgid "Document saved." msgstr "கோப்பு சேமிக்கப்பட்டது" #: ../commands.c:306 ../commands.c:332 msgid "Failed to save document." msgstr "ஆவணத்தை சேமிக்க இயலவில்லை" #: ../commands.c:309 ../commands.c:335 msgid "Invalid number of arguments." msgstr "கொடுக்கப்பட்ட argument-களின் எண்ணிக்கை தவறு" #: ../commands.c:443 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "" #: ../commands.c:445 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "" #: ../commands.c:489 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "" #: ../commands.c:491 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "" #: ../commands.c:498 #, c-format msgid "Unknown image '%s'." msgstr "" #: ../commands.c:502 #, c-format msgid "Unknown attachment or image '%s'." msgstr "" #: ../commands.c:553 msgid "Argument must be a number." msgstr "Argument ஒரு எண்ணாக இருக்க வேண்டும்" #: ../completion.c:250 #, c-format msgid "Page %d" msgstr "" #: ../completion.c:293 msgid "Attachments" msgstr "இணைப்புகளைச் சேமிக்கவும்" #. add images #: ../completion.c:324 msgid "Images" msgstr "" #. zathura settings #: ../config.c:131 msgid "Database backend" msgstr "" #: ../config.c:133 msgid "Zoom step" msgstr "Zoom அமைப்பு" #: ../config.c:135 msgid "Padding between pages" msgstr "இரு பக்கங்களுக்கிடையில் உள்ள நிரப்பல்(padding)" #: ../config.c:137 msgid "Number of pages per row" msgstr "ஒரு வரிசையில் எத்தனை பக்கங்களைக் காட்ட வேண்டும்" #: ../config.c:139 msgid "Column of the first page" msgstr "" #: ../config.c:141 msgid "Scroll step" msgstr "திரை உருளல்(scroll) அளவு" #: ../config.c:143 msgid "Horizontal scroll step" msgstr "" #: ../config.c:145 msgid "Full page scroll overlap" msgstr "" #: ../config.c:147 msgid "Zoom minimum" msgstr "முடிந்தவரை சிறியதாகக் காட்டு" #: ../config.c:149 msgid "Zoom maximum" msgstr "முடிந்தவரை பெரிதாகக் காட்டு" #: ../config.c:151 msgid "Maximum number of pages to keep in the cache" msgstr "" #: ../config.c:153 msgid "Number of positions to remember in the jumplist" msgstr "" #: ../config.c:155 msgid "Recoloring (dark color)" msgstr "" #: ../config.c:156 msgid "Recoloring (light color)" msgstr "" #: ../config.c:157 msgid "Color for highlighting" msgstr "" #: ../config.c:159 msgid "Color for highlighting (active)" msgstr "" #: ../config.c:161 msgid "'Loading ...' background color" msgstr "" #: ../config.c:163 msgid "'Loading ...' foreground color" msgstr "" #: ../config.c:167 msgid "Recolor pages" msgstr "" #: ../config.c:169 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" #: ../config.c:171 msgid "Wrap scrolling" msgstr "" #: ../config.c:173 msgid "Page aware scrolling" msgstr "" #: ../config.c:175 msgid "Advance number of pages per row" msgstr "" #: ../config.c:177 msgid "Horizontally centered zoom" msgstr "" #: ../config.c:179 msgid "Align link target to the left" msgstr "" #: ../config.c:181 msgid "Let zoom be changed when following links" msgstr "" #: ../config.c:183 msgid "Center result horizontally" msgstr "" #: ../config.c:185 msgid "Transparency for highlighting" msgstr "" #: ../config.c:187 msgid "Render 'Loading ...'" msgstr "" #: ../config.c:188 msgid "Adjust to when opening file" msgstr "" #: ../config.c:190 msgid "Show hidden files and directories" msgstr "" #: ../config.c:192 msgid "Show directories" msgstr "" #: ../config.c:194 msgid "Always open on first page" msgstr "" #: ../config.c:196 msgid "Highlight search results" msgstr "" #: ../config.c:198 msgid "Enable incremental search" msgstr "" #: ../config.c:200 msgid "Clear search results on abort" msgstr "" #: ../config.c:202 msgid "Use basename of the file in the window title" msgstr "" #: ../config.c:204 msgid "Display the page number in the window title" msgstr "" #: ../config.c:206 msgid "Use basename of the file in the statusbar" msgstr "" #: ../config.c:208 ../main.c:67 msgid "Enable synctex support" msgstr "" #: ../config.c:210 msgid "The clipboard into which mouse-selected data will be written" msgstr "" #. define default inputbar commands #: ../config.c:369 msgid "Add a bookmark" msgstr "புதிய bookmark உருவாக்கு" #: ../config.c:370 msgid "Delete a bookmark" msgstr "Bookmark-ஐ அழித்துவிடு" #: ../config.c:371 msgid "List all bookmarks" msgstr "அனைத்து bookmark-களையும் பட்டியலிடு" #: ../config.c:372 msgid "Close current file" msgstr "" #: ../config.c:373 msgid "Show file information" msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு" #: ../config.c:374 msgid "Execute a command" msgstr "" #: ../config.c:375 msgid "Show help" msgstr "உதவியைக் காட்டு" #: ../config.c:376 msgid "Open document" msgstr "ஒரு ஆவணத்தைத் திற" #: ../config.c:377 msgid "Close zathura" msgstr "zathura-வை விட்டு வெளியேறு" #: ../config.c:378 msgid "Print document" msgstr "ஆவணத்தை அச்சிடு" #: ../config.c:379 msgid "Save document" msgstr "ஆவணத்தை சேமிக்கவும்" #: ../config.c:380 msgid "Save document (and force overwriting)" msgstr "" #: ../config.c:381 msgid "Save attachments" msgstr "இணைப்புகளைச் சேமிக்கவும்" #: ../config.c:382 msgid "Set page offset" msgstr "" #: ../config.c:383 msgid "Mark current location within the document" msgstr "" #: ../config.c:384 msgid "Delete the specified marks" msgstr "" #: ../config.c:385 msgid "Don't highlight current search results" msgstr "" #: ../config.c:386 msgid "Highlight current search results" msgstr "" #: ../config.c:387 msgid "Show version information" msgstr "" #: ../links.c:199 ../links.c:278 msgid "Failed to run xdg-open." msgstr "xdg-open-ஐ இயக்க முடியவில்லை" #: ../links.c:217 #, c-format msgid "Link: page %d" msgstr "" #: ../links.c:224 #, c-format msgid "Link: %s" msgstr "" #: ../links.c:228 msgid "Link: Invalid" msgstr "" #: ../main.c:58 msgid "Reparents to window specified by xid" msgstr "" #: ../main.c:59 msgid "Path to the config directory" msgstr "" #: ../main.c:60 msgid "Path to the data directory" msgstr "" #: ../main.c:61 msgid "Path to the directories containing plugins" msgstr "" #: ../main.c:62 msgid "Fork into the background" msgstr "" #: ../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)" msgstr "" #: ../main.c:66 msgid "Print version information" msgstr "ஆவணம் பற்றிய தகவல்களைக் காட்டு" #: ../main.c:68 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" #: ../page-widget.c:526 msgid "Loading..." msgstr "" #: ../page-widget.c:845 msgid "Copy image" msgstr "படத்தை ஒரு பிரதியெடு" #: ../page-widget.c:846 msgid "Save image as" msgstr "" #: ../shortcuts.c:1076 msgid "This document does not contain any index" msgstr "இந்த ஆவணத்தில் எந்த index-ம் இல்லை" #: ../zathura.c:213 ../zathura.c:959 msgid "[No name]" msgstr "பெயரற்ற ஆவணம்" #: ../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." msgstr "" #: ../zathura.c:545 msgid "Document does not contain any pages" msgstr "" zathura-0.2.6/po/et.po0000644000175000001440000002177012244447777013464 0ustar mockusers# zathura - language file (Estonian) # See LICENSE file for license and copyright information # # Translators: # Rivo Zängov , 2012 msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n" "Last-Translator: Rivo Zängov \n" "Language-Team: Estonian (http://www.transifex.net/projects/p/zathura/" "language/et/)\n" "Language: et\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" #: ../callbacks.c:297 #, c-format msgid "Invalid input '%s' given." msgstr "" #: ../callbacks.c:333 #, c-format msgid "Invalid index '%s' given." msgstr "" #: ../callbacks.c:546 #, c-format msgid "Copied selected text to clipboard: %s" 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." msgstr "" #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424 msgid "Invalid number of arguments given." msgstr "" #: ../commands.c:53 #, c-format msgid "Could not update bookmark: %s" msgstr "" #: ../commands.c:55 #, c-format msgid "Could not create bookmark: %s" msgstr "" #: ../commands.c:60 #, c-format msgid "Bookmark successfully updated: %s" msgstr "" #: ../commands.c:62 #, c-format msgid "Bookmark successfully created: %s" msgstr "" #: ../commands.c:88 #, c-format msgid "Removed bookmark: %s" msgstr "" #: ../commands.c:90 #, c-format msgid "Failed to remove bookmark: %s" msgstr "" #: ../commands.c:116 #, c-format msgid "No such bookmark: %s" msgstr "" #: ../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." msgstr "" #: ../commands.c:234 msgid "Too many arguments." msgstr "" #: ../commands.c:245 msgid "No arguments given." msgstr "" #: ../commands.c:304 ../commands.c:330 msgid "Document saved." msgstr "" #: ../commands.c:306 ../commands.c:332 msgid "Failed to save document." msgstr "" #: ../commands.c:309 ../commands.c:335 msgid "Invalid number of arguments." msgstr "" #: ../commands.c:443 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "" #: ../commands.c:445 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "" #: ../commands.c:489 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "" #: ../commands.c:491 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "" #: ../commands.c:498 #, c-format msgid "Unknown image '%s'." msgstr "" #: ../commands.c:502 #, c-format msgid "Unknown attachment or image '%s'." msgstr "" #: ../commands.c:553 msgid "Argument must be a number." msgstr "" #: ../completion.c:250 #, c-format msgid "Page %d" msgstr "" #: ../completion.c:293 msgid "Attachments" msgstr "Salvesta manused" #. add images #: ../completion.c:324 msgid "Images" msgstr "" #. zathura settings #: ../config.c:131 msgid "Database backend" msgstr "" #: ../config.c:133 msgid "Zoom step" msgstr "" #: ../config.c:135 msgid "Padding between pages" msgstr "" #: ../config.c:137 msgid "Number of pages per row" msgstr "" #: ../config.c:139 msgid "Column of the first page" msgstr "" #: ../config.c:141 msgid "Scroll step" msgstr "" #: ../config.c:143 msgid "Horizontal scroll step" msgstr "" #: ../config.c:145 msgid "Full page scroll overlap" msgstr "" #: ../config.c:147 msgid "Zoom minimum" msgstr "" #: ../config.c:149 msgid "Zoom maximum" msgstr "" #: ../config.c:151 msgid "Maximum number of pages to keep in the cache" msgstr "" #: ../config.c:153 msgid "Number of positions to remember in the jumplist" msgstr "" #: ../config.c:155 msgid "Recoloring (dark color)" msgstr "" #: ../config.c:156 msgid "Recoloring (light color)" msgstr "" #: ../config.c:157 msgid "Color for highlighting" msgstr "Esiletõstmise värv" #: ../config.c:159 msgid "Color for highlighting (active)" msgstr "Esiletõstmise värv (aktiivne)" #: ../config.c:161 msgid "'Loading ...' background color" msgstr "" #: ../config.c:163 msgid "'Loading ...' foreground color" msgstr "" #: ../config.c:167 msgid "Recolor pages" msgstr "" #: ../config.c:169 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" #: ../config.c:171 msgid "Wrap scrolling" msgstr "" #: ../config.c:173 msgid "Page aware scrolling" msgstr "" #: ../config.c:175 msgid "Advance number of pages per row" msgstr "" #: ../config.c:177 msgid "Horizontally centered zoom" msgstr "" #: ../config.c:179 msgid "Align link target to the left" msgstr "" #: ../config.c:181 msgid "Let zoom be changed when following links" msgstr "" #: ../config.c:183 msgid "Center result horizontally" msgstr "" #: ../config.c:185 msgid "Transparency for highlighting" msgstr "" #: ../config.c:187 msgid "Render 'Loading ...'" msgstr "" #: ../config.c:188 msgid "Adjust to when opening file" msgstr "" #: ../config.c:190 msgid "Show hidden files and directories" msgstr "" #: ../config.c:192 msgid "Show directories" msgstr "Näita kaustasid" #: ../config.c:194 msgid "Always open on first page" msgstr "Ava alati esimene leht" #: ../config.c:196 msgid "Highlight search results" msgstr "" #: ../config.c:198 msgid "Enable incremental search" msgstr "" #: ../config.c:200 msgid "Clear search results on abort" msgstr "" #: ../config.c:202 msgid "Use basename of the file in the window title" msgstr "" #: ../config.c:204 msgid "Display the page number in the window title" msgstr "" #: ../config.c:206 msgid "Use basename of the file in the statusbar" msgstr "" #: ../config.c:208 ../main.c:67 msgid "Enable synctex support" msgstr "" #: ../config.c:210 msgid "The clipboard into which mouse-selected data will be written" msgstr "" #. define default inputbar commands #: ../config.c:369 msgid "Add a bookmark" msgstr "Lisa järjehoidja" #: ../config.c:370 msgid "Delete a bookmark" msgstr "Kustuta järjehoidja" #: ../config.c:371 msgid "List all bookmarks" msgstr "Näita kõiki järjehoidjaid" #: ../config.c:372 msgid "Close current file" msgstr "Sulge praegune fail" #: ../config.c:373 msgid "Show file information" msgstr "Näita faili infot" #: ../config.c:374 msgid "Execute a command" msgstr "" #: ../config.c:375 msgid "Show help" msgstr "Näita abiinfot" #: ../config.c:376 msgid "Open document" msgstr "Ava dokument" #: ../config.c:377 msgid "Close zathura" msgstr "Sule zathura" #: ../config.c:378 msgid "Print document" msgstr "Prindi dokument" #: ../config.c:379 msgid "Save document" msgstr "Salvesta dokument" #: ../config.c:380 msgid "Save document (and force overwriting)" msgstr "" #: ../config.c:381 msgid "Save attachments" msgstr "Salvesta manused" #: ../config.c:382 msgid "Set page offset" msgstr "" #: ../config.c:383 msgid "Mark current location within the document" msgstr "" #: ../config.c:384 msgid "Delete the specified marks" msgstr "" #: ../config.c:385 msgid "Don't highlight current search results" msgstr "" #: ../config.c:386 msgid "Highlight current search results" msgstr "" #: ../config.c:387 msgid "Show version information" msgstr "" #: ../links.c:199 ../links.c:278 msgid "Failed to run xdg-open." msgstr "" #: ../links.c:217 #, c-format msgid "Link: page %d" msgstr "" #: ../links.c:224 #, c-format msgid "Link: %s" msgstr "" #: ../links.c:228 msgid "Link: Invalid" msgstr "" #: ../main.c:58 msgid "Reparents to window specified by xid" msgstr "" #: ../main.c:59 msgid "Path to the config directory" msgstr "" #: ../main.c:60 msgid "Path to the data directory" msgstr "" #: ../main.c:61 msgid "Path to the directories containing plugins" msgstr "" #: ../main.c:62 msgid "Fork into the background" msgstr "" #: ../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)" msgstr "" #: ../main.c:66 msgid "Print version information" msgstr "Näita faili infot" #: ../main.c:68 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" #: ../page-widget.c:526 msgid "Loading..." msgstr "" #: ../page-widget.c:845 msgid "Copy image" msgstr "Kopeeri pilt" #: ../page-widget.c:846 msgid "Save image as" msgstr "" #: ../shortcuts.c:1076 msgid "This document does not contain any index" msgstr "" #: ../zathura.c:213 ../zathura.c:959 msgid "[No name]" msgstr "[Nime pole]" #: ../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." msgstr "" #: ../zathura.c:545 msgid "Document does not contain any pages" msgstr "" zathura-0.2.6/po/es.po0000644000175000001440000002650312244447777013462 0ustar mockusers# zathura - language file (Spanish) # See LICENSE file for license and copyright information # # Translators: msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n" "Last-Translator: Moritz Lipp \n" "Language-Team: Spanish (Castilian) (http://www.transifex.net/projects/p/" "zathura/language/es/)\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" #: ../callbacks.c:297 #, c-format msgid "Invalid input '%s' given." msgstr "Entrada inválida: '%s'." #: ../callbacks.c:333 #, c-format msgid "Invalid index '%s' given." msgstr "Índice invalido: '%s'." #: ../callbacks.c:546 #, c-format msgid "Copied selected text to clipboard: %s" 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." msgstr "Ningún documento abierto." #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424 msgid "Invalid number of arguments given." msgstr "Número de argumentos inválido." #: ../commands.c:53 #, c-format msgid "Could not update bookmark: %s" msgstr "Error al crear favorito: %s" #: ../commands.c:55 #, c-format msgid "Could not create bookmark: %s" msgstr "Error al crear favorito: %s" #: ../commands.c:60 #, c-format msgid "Bookmark successfully updated: %s" msgstr "Favorito actualizado con éxitosamente: %s" #: ../commands.c:62 #, c-format msgid "Bookmark successfully created: %s" msgstr "Favorito creado con éxitosamente: %s" #: ../commands.c:88 #, c-format msgid "Removed bookmark: %s" msgstr "Favorito eliminado: %s" #: ../commands.c:90 #, c-format msgid "Failed to remove bookmark: %s" msgstr "Error al eliminar el favorito: %s" #: ../commands.c:116 #, c-format msgid "No such bookmark: %s" msgstr "No existe el favorito: %s" #: ../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." msgstr "No hay información disponible." #: ../commands.c:234 msgid "Too many arguments." msgstr "Demasiados argumentos." #: ../commands.c:245 msgid "No arguments given." msgstr "Ningún argumento recibido." #: ../commands.c:304 ../commands.c:330 msgid "Document saved." msgstr "Documento guardado." #: ../commands.c:306 ../commands.c:332 msgid "Failed to save document." msgstr "Error al guardar el documento." #: ../commands.c:309 ../commands.c:335 msgid "Invalid number of arguments." msgstr "Número de argumentos inválido." #: ../commands.c:443 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'." #: ../commands.c:445 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Escrito fichero adjunto '%s' a '%s'." #: ../commands.c:489 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Escrito fichero adjunto '%s' a '%s'." #: ../commands.c:491 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'." #: ../commands.c:498 #, c-format msgid "Unknown image '%s'." msgstr "Imagen desconocida '%s'." #: ../commands.c:502 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Adjunto o imagen desconocidos '%s'." #: ../commands.c:553 msgid "Argument must be a number." msgstr "El argumento ha de ser un número." #: ../completion.c:250 #, c-format msgid "Page %d" msgstr "Página %d" #: ../completion.c:293 msgid "Attachments" msgstr "Guardar ficheros adjuntos" #. add images #: ../completion.c:324 msgid "Images" msgstr "Imágenes" #. zathura settings #: ../config.c:131 msgid "Database backend" msgstr "Base de datos" #: ../config.c:133 msgid "Zoom step" msgstr "Unidad de zoom" #: ../config.c:135 msgid "Padding between pages" msgstr "Separación entre páginas" #: ../config.c:137 msgid "Number of pages per row" msgstr "Número de páginas por fila" #: ../config.c:139 msgid "Column of the first page" msgstr "Columna de la primera página" #: ../config.c:141 msgid "Scroll step" msgstr "Paso de desplazamiento" #: ../config.c:143 msgid "Horizontal scroll step" msgstr "Paso de desplazamiento horizontal" #: ../config.c:145 msgid "Full page scroll overlap" msgstr "Solapamiento del desplazamiento de página" #: ../config.c:147 msgid "Zoom minimum" msgstr "Zoom mínimo" #: ../config.c:149 msgid "Zoom maximum" msgstr "Zoom máximo" #: ../config.c:151 msgid "Maximum number of pages to keep in the cache" msgstr "" #: ../config.c:153 msgid "Number of positions to remember in the jumplist" msgstr "Número de posiciones a recordar en la lista de saltos" #: ../config.c:155 msgid "Recoloring (dark color)" msgstr "Recoloreado (color oscuro)" #: ../config.c:156 msgid "Recoloring (light color)" msgstr "Recoloreado (color claro)" #: ../config.c:157 msgid "Color for highlighting" msgstr "Color para destacar" #: ../config.c:159 msgid "Color for highlighting (active)" msgstr "Color para destacar (activo)" #: ../config.c:161 msgid "'Loading ...' background color" msgstr "" #: ../config.c:163 msgid "'Loading ...' foreground color" msgstr "" #: ../config.c:167 msgid "Recolor pages" msgstr "Recolorear páginas" #: ../config.c:169 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" "Cuando se recoloree, mantener el tono original y ajustar únicamente la " "luminosidad" #: ../config.c:171 msgid "Wrap scrolling" msgstr "Navegación/Scroll cíclica/o" #: ../config.c:173 msgid "Page aware scrolling" msgstr "" #: ../config.c:175 msgid "Advance number of pages per row" msgstr "" #: ../config.c:177 msgid "Horizontally centered zoom" msgstr "Zoom centrado horizontalmente" #: ../config.c:179 msgid "Align link target to the left" msgstr "" #: ../config.c:181 msgid "Let zoom be changed when following links" msgstr "" #: ../config.c:183 msgid "Center result horizontally" msgstr "Centrar el resultado horizontalmente" #: ../config.c:185 msgid "Transparency for highlighting" msgstr "Transparencia para el destacado" #: ../config.c:187 msgid "Render 'Loading ...'" msgstr "Renderizado 'Cargando ...'" #: ../config.c:188 msgid "Adjust to when opening file" msgstr "Ajustarse al abrir un fichero" #: ../config.c:190 msgid "Show hidden files and directories" msgstr "Mostrar directorios y ficheros ocultos" #: ../config.c:192 msgid "Show directories" msgstr "Mostrar directorios" #: ../config.c:194 msgid "Always open on first page" msgstr "Abrir siempre la primera página" #: ../config.c:196 msgid "Highlight search results" msgstr "Destacar los resultados de búsqueda" #: ../config.c:198 msgid "Enable incremental search" msgstr "Habilitar la búsqueda incremental" #: ../config.c:200 msgid "Clear search results on abort" msgstr "Borrar resultados de búsqueda al abortar" #: ../config.c:202 msgid "Use basename of the file in the window title" msgstr "Usar el nombre del archivo en el título de la ventana" #: ../config.c:204 msgid "Display the page number in the window title" msgstr "" #: ../config.c:206 msgid "Use basename of the file in the statusbar" msgstr "" #: ../config.c:208 ../main.c:67 msgid "Enable synctex support" msgstr "Habilitar soporte synctex" #: ../config.c:210 msgid "The clipboard into which mouse-selected data will be written" msgstr "" #. define default inputbar commands #: ../config.c:369 msgid "Add a bookmark" msgstr "Añadir Favorito" #: ../config.c:370 msgid "Delete a bookmark" msgstr "Eliminar Favorito" #: ../config.c:371 msgid "List all bookmarks" msgstr "Listar favoritos" #: ../config.c:372 msgid "Close current file" msgstr "Cerrar fichero actual" #: ../config.c:373 msgid "Show file information" msgstr "Mostrar información del fichero" #: ../config.c:374 msgid "Execute a command" msgstr "Ejecutar un comando" #: ../config.c:375 msgid "Show help" msgstr "Mostrar ayuda" #: ../config.c:376 msgid "Open document" msgstr "Abrir documento" #: ../config.c:377 msgid "Close zathura" msgstr "Salir de zathura" #: ../config.c:378 msgid "Print document" msgstr "Imprimir documento" #: ../config.c:379 msgid "Save document" msgstr "Guardar documento" #: ../config.c:380 msgid "Save document (and force overwriting)" msgstr "Guardar documento (y sobreescribir)" #: ../config.c:381 msgid "Save attachments" msgstr "Guardar ficheros adjuntos" #: ../config.c:382 msgid "Set page offset" msgstr "Asignar el desplazamiento de página" #: ../config.c:383 msgid "Mark current location within the document" msgstr "Marcar la posición actual en el documento" #: ../config.c:384 msgid "Delete the specified marks" msgstr "Borrar las marcas especificadas" #: ../config.c:385 msgid "Don't highlight current search results" msgstr "No destacar los resultados de la búsqueda actual" #: ../config.c:386 msgid "Highlight current search results" msgstr "Destacar los resultados de la búsqueda actual" #: ../config.c:387 msgid "Show version information" msgstr "Mostrar versión" #: ../links.c:199 ../links.c:278 msgid "Failed to run xdg-open." msgstr "Error al tratar de ejecutar xdg-open" #: ../links.c:217 #, c-format msgid "Link: page %d" msgstr "" #: ../links.c:224 #, c-format msgid "Link: %s" msgstr "" #: ../links.c:228 msgid "Link: Invalid" msgstr "" #: ../main.c:58 msgid "Reparents to window specified by xid" msgstr "Reasignar a la ventana especificada por xid" #: ../main.c:59 msgid "Path to the config directory" msgstr "Ruta al directorio de configuración" #: ../main.c:60 msgid "Path to the data directory" msgstr "Ruta para el directorio de datos" #: ../main.c:61 msgid "Path to the directories containing plugins" msgstr "Ruta a los directorios que contienen los plugins" #: ../main.c:62 msgid "Fork into the background" msgstr "Fork, ejecutándose en background" #: ../main.c:63 msgid "Document password" msgstr "Contraseña del documento" #: ../main.c:64 msgid "Page number to go to" msgstr "" #: ../main.c:65 msgid "Log level (debug, info, warning, error)" msgstr "Nivel de log (debug, info, warning, error)" #: ../main.c:66 msgid "Print version information" msgstr "Mostrar información del fichero" #: ../main.c:68 msgid "Synctex editor (forwarded to the synctex command)" msgstr "Editor de Synctex (reenvíado al commando synctex)" #: ../page-widget.c:526 msgid "Loading..." msgstr "Cargando ..." #: ../page-widget.c:845 msgid "Copy image" msgstr "Copiar imagen" #: ../page-widget.c:846 msgid "Save image as" msgstr "Salvar imagen como" #: ../shortcuts.c:1076 msgid "This document does not contain any index" msgstr "Este documento no contiene ningún índice" #: ../zathura.c:213 ../zathura.c:959 msgid "[No name]" msgstr "[Sin nombre]" #: ../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." msgstr "" #: ../zathura.c:545 msgid "Document does not contain any pages" msgstr "" zathura-0.2.6/po/es_CL.po0000644000175000001440000002474412244447777014045 0ustar mockusers# zathura - language file (Spanish (Chile)) # See LICENSE file for license and copyright information # # Translators: # watsh1ken , 2012 msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n" "Last-Translator: watsh1ken \n" "Language-Team: Spanish (Chile) (http://www.transifex.net/projects/p/zathura/" "language/es_CL/)\n" "Language: es_CL\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" #: ../callbacks.c:297 #, c-format msgid "Invalid input '%s' given." msgstr "Entrada inválida: '%s'." #: ../callbacks.c:333 #, c-format msgid "Invalid index '%s' given." msgstr "Índice invalido: '%s'." #: ../callbacks.c:546 #, c-format msgid "Copied selected text to clipboard: %s" 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." msgstr "Ningún documento abierto." #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424 msgid "Invalid number of arguments given." msgstr "Número de argumentos inválido." #: ../commands.c:53 #, c-format msgid "Could not update bookmark: %s" msgstr "No se pudo crear marcador: %s" #: ../commands.c:55 #, c-format msgid "Could not create bookmark: %s" msgstr "No se pudo crear marcador: %s" #: ../commands.c:60 #, c-format msgid "Bookmark successfully updated: %s" msgstr "Marcador actualizado exitosamente: %s" #: ../commands.c:62 #, c-format msgid "Bookmark successfully created: %s" msgstr "Marcador creado exitosamente: %s" #: ../commands.c:88 #, c-format msgid "Removed bookmark: %s" msgstr "Marcador eliminado: %s" #: ../commands.c:90 #, c-format msgid "Failed to remove bookmark: %s" msgstr "Error al eliminar marcador: %s" #: ../commands.c:116 #, c-format msgid "No such bookmark: %s" msgstr "No existe marcador: %s" #: ../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." msgstr "No hay información disponible." #: ../commands.c:234 msgid "Too many arguments." msgstr "Demasiados argumentos." #: ../commands.c:245 msgid "No arguments given." msgstr "Ningún argumento recibido." #: ../commands.c:304 ../commands.c:330 msgid "Document saved." msgstr "Documento guardado." #: ../commands.c:306 ../commands.c:332 msgid "Failed to save document." msgstr "Error al guardar el documento." #: ../commands.c:309 ../commands.c:335 msgid "Invalid number of arguments." msgstr "Número de argumentos inválido." #: ../commands.c:443 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'." #: ../commands.c:445 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Fichero adjunto escrito '%s' a '%s'." #: ../commands.c:489 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Fichero adjunto escrito '%s' a '%s'." #: ../commands.c:491 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "No se pudo escribir el fichero adjunto '%s' a '%s'." #: ../commands.c:498 #, c-format msgid "Unknown image '%s'." msgstr "" #: ../commands.c:502 #, c-format msgid "Unknown attachment or image '%s'." msgstr "" #: ../commands.c:553 msgid "Argument must be a number." msgstr "El argumento debe ser un número." #: ../completion.c:250 #, c-format msgid "Page %d" msgstr "" #: ../completion.c:293 msgid "Attachments" msgstr "Guardar archivos adjuntos" #. add images #: ../completion.c:324 msgid "Images" msgstr "" #. zathura settings #: ../config.c:131 msgid "Database backend" msgstr "Fin de la base de datos." #: ../config.c:133 msgid "Zoom step" msgstr "Unidad de zoom" #: ../config.c:135 msgid "Padding between pages" msgstr "Separación entre páginas" #: ../config.c:137 msgid "Number of pages per row" msgstr "Numero de páginas por fila" #: ../config.c:139 msgid "Column of the first page" msgstr "" #: ../config.c:141 msgid "Scroll step" msgstr "Unidad de desplazamiento" #: ../config.c:143 msgid "Horizontal scroll step" msgstr "" #: ../config.c:145 msgid "Full page scroll overlap" msgstr "" #: ../config.c:147 msgid "Zoom minimum" msgstr "Zoom mínimo" #: ../config.c:149 msgid "Zoom maximum" msgstr "Zoom máximo" #: ../config.c:151 msgid "Maximum number of pages to keep in the cache" msgstr "" #: ../config.c:153 msgid "Number of positions to remember in the jumplist" msgstr "" #: ../config.c:155 msgid "Recoloring (dark color)" msgstr "Recolorando (color oscuro)" #: ../config.c:156 msgid "Recoloring (light color)" msgstr "Recolorando (color claro)" #: ../config.c:157 msgid "Color for highlighting" msgstr "Color para destacar" #: ../config.c:159 msgid "Color for highlighting (active)" msgstr "Color para destacar (activo)" #: ../config.c:161 msgid "'Loading ...' background color" msgstr "" #: ../config.c:163 msgid "'Loading ...' foreground color" msgstr "" #: ../config.c:167 msgid "Recolor pages" msgstr "Recolorar páginas" #: ../config.c:169 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" #: ../config.c:171 msgid "Wrap scrolling" msgstr "Scroll cíclico" #: ../config.c:173 msgid "Page aware scrolling" msgstr "" #: ../config.c:175 msgid "Advance number of pages per row" msgstr "" #: ../config.c:177 msgid "Horizontally centered zoom" msgstr "" #: ../config.c:179 msgid "Align link target to the left" msgstr "" #: ../config.c:181 msgid "Let zoom be changed when following links" msgstr "" #: ../config.c:183 msgid "Center result horizontally" msgstr "" #: ../config.c:185 msgid "Transparency for highlighting" msgstr "Transparencia para lo destacado" #: ../config.c:187 msgid "Render 'Loading ...'" msgstr "Renderizando 'Cargando...'" #: ../config.c:188 msgid "Adjust to when opening file" msgstr "Ajustar al abrirse un archivo" #: ../config.c:190 msgid "Show hidden files and directories" msgstr "Mostrar archivos ocultos y directorios" #: ../config.c:192 msgid "Show directories" msgstr "Mostrar directorios" #: ../config.c:194 msgid "Always open on first page" msgstr "Siempre abrir en primera página" #: ../config.c:196 msgid "Highlight search results" msgstr "" #: ../config.c:198 msgid "Enable incremental search" msgstr "" #: ../config.c:200 msgid "Clear search results on abort" msgstr "" #: ../config.c:202 msgid "Use basename of the file in the window title" msgstr "" #: ../config.c:204 msgid "Display the page number in the window title" msgstr "" #: ../config.c:206 msgid "Use basename of the file in the statusbar" msgstr "" #: ../config.c:208 ../main.c:67 msgid "Enable synctex support" msgstr "" #: ../config.c:210 msgid "The clipboard into which mouse-selected data will be written" msgstr "" #. define default inputbar commands #: ../config.c:369 msgid "Add a bookmark" msgstr "Agregar un marcador" #: ../config.c:370 msgid "Delete a bookmark" msgstr "Eliminar un marcador" #: ../config.c:371 msgid "List all bookmarks" msgstr "Listar todos los marcadores" #: ../config.c:372 msgid "Close current file" msgstr "Cerrar archivo actual" #: ../config.c:373 msgid "Show file information" msgstr "Mostrar información del archivo" #: ../config.c:374 msgid "Execute a command" msgstr "" #: ../config.c:375 msgid "Show help" msgstr "Mostrar ayuda" #: ../config.c:376 msgid "Open document" msgstr "Abrir documento" #: ../config.c:377 msgid "Close zathura" msgstr "Cerrar zathura" #: ../config.c:378 msgid "Print document" msgstr "Imprimir documento" #: ../config.c:379 msgid "Save document" msgstr "Guardar documento" #: ../config.c:380 msgid "Save document (and force overwriting)" msgstr "Guardar documento (y forzar sobreescritura)" #: ../config.c:381 msgid "Save attachments" msgstr "Guardar archivos adjuntos" #: ../config.c:382 msgid "Set page offset" msgstr "Asignar desplazamiento de la página" #: ../config.c:383 msgid "Mark current location within the document" msgstr "" #: ../config.c:384 msgid "Delete the specified marks" msgstr "" #: ../config.c:385 msgid "Don't highlight current search results" msgstr "" #: ../config.c:386 msgid "Highlight current search results" msgstr "" #: ../config.c:387 msgid "Show version information" msgstr "" #: ../links.c:199 ../links.c:278 msgid "Failed to run xdg-open." msgstr "Error al ejecutar xdg-open." #: ../links.c:217 #, c-format msgid "Link: page %d" msgstr "" #: ../links.c:224 #, c-format msgid "Link: %s" msgstr "" #: ../links.c:228 msgid "Link: Invalid" msgstr "" #: ../main.c:58 msgid "Reparents to window specified by xid" msgstr "Reasignar a la ventana especificada por xid" #: ../main.c:59 msgid "Path to the config directory" msgstr "Ruta al directorio de configuración" #: ../main.c:60 msgid "Path to the data directory" msgstr "Ruta al directorio de datos" #: ../main.c:61 msgid "Path to the directories containing plugins" msgstr "Ruta al directorio que contiene plugins" #: ../main.c:62 msgid "Fork into the background" msgstr "Ejecución en background" #: ../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)" msgstr "Nivel de log (debug, info, warning, error)" #: ../main.c:66 msgid "Print version information" msgstr "Mostrar información del archivo" #: ../main.c:68 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" #: ../page-widget.c:526 msgid "Loading..." msgstr "Cargando..." #: ../page-widget.c:845 msgid "Copy image" msgstr "Copiar imagen" #: ../page-widget.c:846 msgid "Save image as" msgstr "" #: ../shortcuts.c:1076 msgid "This document does not contain any index" msgstr "Este document no contiene índice" #: ../zathura.c:213 ../zathura.c:959 msgid "[No name]" msgstr "[Sin nombre]" #: ../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." msgstr "" #: ../zathura.c:545 msgid "Document does not contain any pages" msgstr "" zathura-0.2.6/po/tr.po0000644000175000001440000002605712244447777013504 0ustar mockusers# zathura - language file (Turkish) # See LICENSE file for license and copyright information # # Translators: # , 2012. # , 2012. msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n" "Last-Translator: hsngrms \n" "Language-Team: Turkish (http://www.transifex.net/projects/p/zathura/language/" "tr/)\n" "Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../callbacks.c:297 #, c-format msgid "Invalid input '%s' given." msgstr "Hatalı girdi '%s'" #: ../callbacks.c:333 #, c-format msgid "Invalid index '%s' given." msgstr "Hatalı dizin '%s'" #: ../callbacks.c:546 #, c-format msgid "Copied selected text to clipboard: %s" 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." msgstr "Açık belge yok." #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424 msgid "Invalid number of arguments given." msgstr "Yanlış sayıda argüman" #: ../commands.c:53 #, c-format msgid "Could not update bookmark: %s" msgstr "Yer imi yaratılamadı: %s" #: ../commands.c:55 #, c-format msgid "Could not create bookmark: %s" msgstr "Yer imi yaratılamadı: %s" #: ../commands.c:60 #, c-format msgid "Bookmark successfully updated: %s" msgstr "Yer imi başarıyla güncellendi: %s" #: ../commands.c:62 #, c-format msgid "Bookmark successfully created: %s" msgstr "Yer imi yaratıldı: %s" #: ../commands.c:88 #, c-format msgid "Removed bookmark: %s" msgstr "Yer imi silindi: %s" #: ../commands.c:90 #, c-format msgid "Failed to remove bookmark: %s" msgstr "Yer imi silinemedi: %s" #: ../commands.c:116 #, c-format msgid "No such bookmark: %s" msgstr "Böyle bir yer imi yok: %s" #: ../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." msgstr "Bilgi mevcut değil." #: ../commands.c:234 msgid "Too many arguments." msgstr "Çok fazla sayıda argüman." #: ../commands.c:245 msgid "No arguments given." msgstr "Argüman verilmedi." #: ../commands.c:304 ../commands.c:330 msgid "Document saved." msgstr "Belge kaydedildi." #: ../commands.c:306 ../commands.c:332 msgid "Failed to save document." msgstr "Belge kaydedilemedi." #: ../commands.c:309 ../commands.c:335 msgid "Invalid number of arguments." msgstr "Yanlış sayıda argüman." #: ../commands.c:443 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "'%s' eki '%s' konumuna yazılamadı." #: ../commands.c:445 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "'%s' eki '%s' konumuna yazıldı." #: ../commands.c:489 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "'%s' eki '%s' konumuna yazıldı." #: ../commands.c:491 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "'%s' eki '%s' konumuna yazılamadı." #: ../commands.c:498 #, c-format msgid "Unknown image '%s'." msgstr "Tanınmayan resim dosyası '%s'" #: ../commands.c:502 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Tanınmayan eklenti veya resim dosyası '%s'" #: ../commands.c:553 msgid "Argument must be a number." msgstr "Argüman bir sayı olmalı." #: ../completion.c:250 #, c-format msgid "Page %d" msgstr "Sayfa %d" #: ../completion.c:293 msgid "Attachments" msgstr "Ekleri kaydet" #. add images #: ../completion.c:324 msgid "Images" msgstr "Resimler" #. zathura settings #: ../config.c:131 msgid "Database backend" msgstr "Veritabanı arkayüzü" #: ../config.c:133 msgid "Zoom step" msgstr "Yakınlaşma/uzaklaşma aralığı" #: ../config.c:135 msgid "Padding between pages" msgstr "Sayfalar arasındaki boşluk" #: ../config.c:137 msgid "Number of pages per row" msgstr "Satır başına sayfa sayısı" #: ../config.c:139 msgid "Column of the first page" msgstr "İlk sayfanın sütunu" #: ../config.c:141 msgid "Scroll step" msgstr "Kaydırma aralığı" #: ../config.c:143 msgid "Horizontal scroll step" msgstr "Yatay kaydırma adımı" #: ../config.c:145 msgid "Full page scroll overlap" msgstr "Tam ekran kaydırma kaplaması" #: ../config.c:147 msgid "Zoom minimum" msgstr "En fazla uzaklaşma" #: ../config.c:149 msgid "Zoom maximum" msgstr "En fazla yakınlaşma" #: ../config.c:151 msgid "Maximum number of pages to keep in the cache" msgstr "" #: ../config.c:153 msgid "Number of positions to remember in the jumplist" msgstr "Atlama listesinde hatırlanacak pozisyon sayısı" #: ../config.c:155 msgid "Recoloring (dark color)" msgstr "Renk değişimi (koyu renk)" #: ../config.c:156 msgid "Recoloring (light color)" msgstr "Renk değişimi (açık renk)" #: ../config.c:157 msgid "Color for highlighting" msgstr "İşaretleme rengi" #: ../config.c:159 msgid "Color for highlighting (active)" msgstr "İşaretleme rengi (etkin)" #: ../config.c:161 msgid "'Loading ...' background color" msgstr "" #: ../config.c:163 msgid "'Loading ...' foreground color" msgstr "" #: ../config.c:167 msgid "Recolor pages" msgstr "Sayga rengini değiştir" #: ../config.c:169 msgid "When recoloring keep original hue and adjust lightness only" msgstr "Yeniden renklendirirken renk değerini tut ve sadece parlaklığı ayarla" #: ../config.c:171 msgid "Wrap scrolling" msgstr "Kaydırmayı sarmala" #: ../config.c:173 msgid "Page aware scrolling" msgstr "" #: ../config.c:175 msgid "Advance number of pages per row" msgstr "Satır başına sayfa sayısı" #: ../config.c:177 msgid "Horizontally centered zoom" msgstr "Yatay olarak ortalanmış büyütme" #: ../config.c:179 msgid "Align link target to the left" msgstr "" #: ../config.c:181 msgid "Let zoom be changed when following links" msgstr "" #: ../config.c:183 msgid "Center result horizontally" msgstr "" #: ../config.c:185 msgid "Transparency for highlighting" msgstr "Ön plana çıkarmak için saydamlaştır" #: ../config.c:187 msgid "Render 'Loading ...'" msgstr "'Yüklüyor ...' yazısını göster" #: ../config.c:188 msgid "Adjust to when opening file" msgstr "Dosya açarken ayarla" #: ../config.c:190 msgid "Show hidden files and directories" msgstr "Gizli dosyaları ve dizinleri göster" #: ../config.c:192 msgid "Show directories" msgstr "Dizinleri göster" #: ../config.c:194 msgid "Always open on first page" msgstr "Her zaman ilk sayfayı aç" #: ../config.c:196 msgid "Highlight search results" msgstr "Arama sonuçlarını vurgula" #: ../config.c:198 msgid "Enable incremental search" msgstr "Artımlı aramayı etkinleştir" #: ../config.c:200 msgid "Clear search results on abort" msgstr "Kapatınca arama sonuçlarını temizle" #: ../config.c:202 msgid "Use basename of the file in the window title" msgstr "Pencere başlığı olarak dosyanın adını kullan" #: ../config.c:204 msgid "Display the page number in the window title" msgstr "" #: ../config.c:206 msgid "Use basename of the file in the statusbar" msgstr "" #: ../config.c:208 ../main.c:67 msgid "Enable synctex support" msgstr "" #: ../config.c:210 msgid "The clipboard into which mouse-selected data will be written" msgstr "" #. define default inputbar commands #: ../config.c:369 msgid "Add a bookmark" msgstr "Yer imi ekle" #: ../config.c:370 msgid "Delete a bookmark" msgstr "Yer imi sil" #: ../config.c:371 msgid "List all bookmarks" msgstr "Yer imlerini listele" #: ../config.c:372 msgid "Close current file" msgstr "Geçerli dosyayı kapat" #: ../config.c:373 msgid "Show file information" msgstr "Dosya bilgisi göster" #: ../config.c:374 msgid "Execute a command" msgstr "Bir komut çalıştır" #: ../config.c:375 msgid "Show help" msgstr "Yardım bilgisi göster" #: ../config.c:376 msgid "Open document" msgstr "Belge aç" #: ../config.c:377 msgid "Close zathura" msgstr "Zathura'yı kapat" #: ../config.c:378 msgid "Print document" msgstr "Belge yazdır" #: ../config.c:379 msgid "Save document" msgstr "Belgeyi kaydet" #: ../config.c:380 msgid "Save document (and force overwriting)" msgstr "Belgeyi kaydet (ve sormadan üzerine yaz)" #: ../config.c:381 msgid "Save attachments" msgstr "Ekleri kaydet" #: ../config.c:382 msgid "Set page offset" msgstr "Sayfa derinliğini ayarla" #: ../config.c:383 msgid "Mark current location within the document" msgstr "Bu belgede bu konumu işaretle" #: ../config.c:384 msgid "Delete the specified marks" msgstr "Seçilen işaretlemeleri sil" #: ../config.c:385 msgid "Don't highlight current search results" msgstr "Şuanki arama sonuçlarını vurgulama" #: ../config.c:386 msgid "Highlight current search results" msgstr "Şuanki arama sonuçlarını vurgula" #: ../config.c:387 msgid "Show version information" msgstr "Versiyon bilgisi göster" #: ../links.c:199 ../links.c:278 msgid "Failed to run xdg-open." msgstr "xdg-open çalıştırılamadı" #: ../links.c:217 #, c-format msgid "Link: page %d" msgstr "" #: ../links.c:224 #, c-format msgid "Link: %s" msgstr "" #: ../links.c:228 msgid "Link: Invalid" msgstr "" #: ../main.c:58 msgid "Reparents to window specified by xid" msgstr "Xid tarafından belirlendiği gibi bir üst seviye pencereye bağlı" #: ../main.c:59 msgid "Path to the config directory" msgstr "Ayar dizini adresi" #: ../main.c:60 msgid "Path to the data directory" msgstr "Veri dizini adresi" #: ../main.c:61 msgid "Path to the directories containing plugins" msgstr "Eklentileri içeren dizinin adresi" #: ../main.c:62 msgid "Fork into the background" msgstr "Arka planda işlemden çocuk oluştur" #: ../main.c:63 msgid "Document password" msgstr "Belge şifresi" #: ../main.c:64 msgid "Page number to go to" msgstr "" #: ../main.c:65 msgid "Log level (debug, info, warning, error)" msgstr "Kayıt seviyesi (hata ayıklama, bilgi, uyarı, hata)" #: ../main.c:66 msgid "Print version information" msgstr "Dosya bilgisi göster" #: ../main.c:68 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" #: ../page-widget.c:526 msgid "Loading..." msgstr "Yüklüyor ..." #: ../page-widget.c:845 msgid "Copy image" msgstr "Resim kopyala" #: ../page-widget.c:846 msgid "Save image as" msgstr "Resmi farklı kaydet" #: ../shortcuts.c:1076 msgid "This document does not contain any index" msgstr "Bu belge fihrist içermiyor" #: ../zathura.c:213 ../zathura.c:959 msgid "[No name]" msgstr "[İsimsiz]" #: ../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." msgstr "" #: ../zathura.c:545 msgid "Document does not contain any pages" msgstr "" zathura-0.2.6/po/hr.po0000644000175000001440000002133412244447777013461 0ustar mockusers# zathura - language file (Croatian) # See LICENSE file for license and copyright information # # Translators: msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Croatian (http://www.transifex.com/projects/p/zathura/" "language/hr/)\n" "Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #: ../callbacks.c:297 #, c-format msgid "Invalid input '%s' given." msgstr "" #: ../callbacks.c:333 #, c-format msgid "Invalid index '%s' given." msgstr "" #: ../callbacks.c:546 #, c-format msgid "Copied selected text to clipboard: %s" 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." msgstr "" #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424 msgid "Invalid number of arguments given." msgstr "" #: ../commands.c:53 #, c-format msgid "Could not update bookmark: %s" msgstr "" #: ../commands.c:55 #, c-format msgid "Could not create bookmark: %s" msgstr "" #: ../commands.c:60 #, c-format msgid "Bookmark successfully updated: %s" msgstr "" #: ../commands.c:62 #, c-format msgid "Bookmark successfully created: %s" msgstr "" #: ../commands.c:88 #, c-format msgid "Removed bookmark: %s" msgstr "" #: ../commands.c:90 #, c-format msgid "Failed to remove bookmark: %s" msgstr "" #: ../commands.c:116 #, c-format msgid "No such bookmark: %s" msgstr "" #: ../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." msgstr "" #: ../commands.c:234 msgid "Too many arguments." msgstr "" #: ../commands.c:245 msgid "No arguments given." msgstr "" #: ../commands.c:304 ../commands.c:330 msgid "Document saved." msgstr "" #: ../commands.c:306 ../commands.c:332 msgid "Failed to save document." msgstr "" #: ../commands.c:309 ../commands.c:335 msgid "Invalid number of arguments." msgstr "" #: ../commands.c:443 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "" #: ../commands.c:445 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "" #: ../commands.c:489 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "" #: ../commands.c:491 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "" #: ../commands.c:498 #, c-format msgid "Unknown image '%s'." msgstr "" #: ../commands.c:502 #, c-format msgid "Unknown attachment or image '%s'." msgstr "" #: ../commands.c:553 msgid "Argument must be a number." msgstr "" #: ../completion.c:250 #, c-format msgid "Page %d" msgstr "" #: ../completion.c:293 msgid "Attachments" msgstr "" #. add images #: ../completion.c:324 msgid "Images" msgstr "" #. zathura settings #: ../config.c:131 msgid "Database backend" msgstr "" #: ../config.c:133 msgid "Zoom step" msgstr "" #: ../config.c:135 msgid "Padding between pages" msgstr "" #: ../config.c:137 msgid "Number of pages per row" msgstr "" #: ../config.c:139 msgid "Column of the first page" msgstr "" #: ../config.c:141 msgid "Scroll step" msgstr "" #: ../config.c:143 msgid "Horizontal scroll step" msgstr "" #: ../config.c:145 msgid "Full page scroll overlap" msgstr "" #: ../config.c:147 msgid "Zoom minimum" msgstr "" #: ../config.c:149 msgid "Zoom maximum" msgstr "" #: ../config.c:151 msgid "Maximum number of pages to keep in the cache" msgstr "" #: ../config.c:153 msgid "Number of positions to remember in the jumplist" msgstr "" #: ../config.c:155 msgid "Recoloring (dark color)" msgstr "" #: ../config.c:156 msgid "Recoloring (light color)" msgstr "" #: ../config.c:157 msgid "Color for highlighting" msgstr "" #: ../config.c:159 msgid "Color for highlighting (active)" msgstr "" #: ../config.c:161 msgid "'Loading ...' background color" msgstr "" #: ../config.c:163 msgid "'Loading ...' foreground color" msgstr "" #: ../config.c:167 msgid "Recolor pages" msgstr "" #: ../config.c:169 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" #: ../config.c:171 msgid "Wrap scrolling" msgstr "" #: ../config.c:173 msgid "Page aware scrolling" msgstr "" #: ../config.c:175 msgid "Advance number of pages per row" msgstr "" #: ../config.c:177 msgid "Horizontally centered zoom" msgstr "" #: ../config.c:179 msgid "Align link target to the left" msgstr "" #: ../config.c:181 msgid "Let zoom be changed when following links" msgstr "" #: ../config.c:183 msgid "Center result horizontally" msgstr "" #: ../config.c:185 msgid "Transparency for highlighting" msgstr "" #: ../config.c:187 msgid "Render 'Loading ...'" msgstr "" #: ../config.c:188 msgid "Adjust to when opening file" msgstr "" #: ../config.c:190 msgid "Show hidden files and directories" msgstr "" #: ../config.c:192 msgid "Show directories" msgstr "" #: ../config.c:194 msgid "Always open on first page" msgstr "" #: ../config.c:196 msgid "Highlight search results" msgstr "" #: ../config.c:198 msgid "Enable incremental search" msgstr "" #: ../config.c:200 msgid "Clear search results on abort" msgstr "" #: ../config.c:202 msgid "Use basename of the file in the window title" msgstr "" #: ../config.c:204 msgid "Display the page number in the window title" msgstr "" #: ../config.c:206 msgid "Use basename of the file in the statusbar" msgstr "" #: ../config.c:208 ../main.c:67 msgid "Enable synctex support" msgstr "" #: ../config.c:210 msgid "The clipboard into which mouse-selected data will be written" msgstr "" #. define default inputbar commands #: ../config.c:369 msgid "Add a bookmark" msgstr "" #: ../config.c:370 msgid "Delete a bookmark" msgstr "" #: ../config.c:371 msgid "List all bookmarks" msgstr "" #: ../config.c:372 msgid "Close current file" msgstr "" #: ../config.c:373 msgid "Show file information" msgstr "" #: ../config.c:374 msgid "Execute a command" msgstr "" #: ../config.c:375 msgid "Show help" msgstr "" #: ../config.c:376 msgid "Open document" msgstr "" #: ../config.c:377 msgid "Close zathura" msgstr "" #: ../config.c:378 msgid "Print document" msgstr "" #: ../config.c:379 msgid "Save document" msgstr "" #: ../config.c:380 msgid "Save document (and force overwriting)" msgstr "" #: ../config.c:381 msgid "Save attachments" msgstr "" #: ../config.c:382 msgid "Set page offset" msgstr "" #: ../config.c:383 msgid "Mark current location within the document" msgstr "" #: ../config.c:384 msgid "Delete the specified marks" msgstr "" #: ../config.c:385 msgid "Don't highlight current search results" msgstr "" #: ../config.c:386 msgid "Highlight current search results" msgstr "" #: ../config.c:387 msgid "Show version information" msgstr "" #: ../links.c:199 ../links.c:278 msgid "Failed to run xdg-open." msgstr "" #: ../links.c:217 #, c-format msgid "Link: page %d" msgstr "" #: ../links.c:224 #, c-format msgid "Link: %s" msgstr "" #: ../links.c:228 msgid "Link: Invalid" msgstr "" #: ../main.c:58 msgid "Reparents to window specified by xid" msgstr "" #: ../main.c:59 msgid "Path to the config directory" msgstr "" #: ../main.c:60 msgid "Path to the data directory" msgstr "" #: ../main.c:61 msgid "Path to the directories containing plugins" msgstr "" #: ../main.c:62 msgid "Fork into the background" msgstr "" #: ../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)" msgstr "" #: ../main.c:66 msgid "Print version information" msgstr "" #: ../main.c:68 msgid "Synctex editor (forwarded to the synctex command)" msgstr "" #: ../page-widget.c:526 msgid "Loading..." msgstr "" #: ../page-widget.c:845 msgid "Copy image" msgstr "" #: ../page-widget.c:846 msgid "Save image as" msgstr "" #: ../shortcuts.c:1076 msgid "This document does not contain any index" msgstr "" #: ../zathura.c:213 ../zathura.c:959 msgid "[No name]" msgstr "" #: ../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." msgstr "" #: ../zathura.c:545 msgid "Document does not contain any pages" msgstr "" zathura-0.2.6/po/pt_BR.po0000644000175000001440000002742312244447777014063 0ustar mockusers# zathura - language file (Portuguese (Brazil)) # See LICENSE file for license and copyright information # # Translators: # salmora8 , 2013 # salmora8 , 2012-2013 msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n" "Last-Translator: salmora8 \n" "Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/" "zathura/language/pt_BR/)\n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: ../callbacks.c:297 #, c-format msgid "Invalid input '%s' given." msgstr "Dados de entrada inválida '%s' ." #: ../callbacks.c:333 #, c-format msgid "Invalid index '%s' given." msgstr "Dados de índice invalido '%s'." #: ../callbacks.c:546 #, c-format msgid "Copied selected text to clipboard: %s" 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." msgstr "Nenhum documento aberto." #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424 msgid "Invalid number of arguments given." msgstr "Número de argumentos dados inválidos." #: ../commands.c:53 #, c-format msgid "Could not update bookmark: %s" msgstr "Não foi possível criar favorito: %s" #: ../commands.c:55 #, c-format msgid "Could not create bookmark: %s" msgstr "Não foi possível criar favorito: %s" #: ../commands.c:60 #, c-format msgid "Bookmark successfully updated: %s" msgstr "Favorito atualizado com sucesso: %s" #: ../commands.c:62 #, c-format msgid "Bookmark successfully created: %s" msgstr "Favorito criado com sucesso: %s" #: ../commands.c:88 #, c-format msgid "Removed bookmark: %s" msgstr "Favorito removido: %s" #: ../commands.c:90 #, c-format msgid "Failed to remove bookmark: %s" msgstr "Falha ao remover favorito: %s" #: ../commands.c:116 #, c-format msgid "No such bookmark: %s" msgstr "Não há favoritos: %s" #: ../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." msgstr "Nenhuma informação disponível." #: ../commands.c:234 msgid "Too many arguments." msgstr "Muitos argumentos." #: ../commands.c:245 msgid "No arguments given." msgstr "Nenhum argumento dado." #: ../commands.c:304 ../commands.c:330 msgid "Document saved." msgstr "Documento salvo." #: ../commands.c:306 ../commands.c:332 msgid "Failed to save document." msgstr "Falha ao salvar o documento." #: ../commands.c:309 ../commands.c:335 msgid "Invalid number of arguments." msgstr "Número de argumento invalido." #: ../commands.c:443 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Não foi possível gravar anexo '%s' para '%s'." #: ../commands.c:445 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Escreveu anexo '%s' para '%s'." #: ../commands.c:489 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Escreveu imagem '%s' para '%s'." #: ../commands.c:491 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Não foi possível gravar imagem '%s' para '%s'." #: ../commands.c:498 #, c-format msgid "Unknown image '%s'." msgstr "Imagem desconhecida '%s'." #: ../commands.c:502 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Anexo desconhecido ou imagem '%s'." #: ../commands.c:553 msgid "Argument must be a number." msgstr "O argumento deve ser um número." #: ../completion.c:250 #, c-format msgid "Page %d" msgstr "Página %d" #: ../completion.c:293 msgid "Attachments" msgstr "Anexos" #. add images #: ../completion.c:324 msgid "Images" msgstr "Imagens" #. zathura settings #: ../config.c:131 msgid "Database backend" msgstr "Fim da base de dados" #: ../config.c:133 msgid "Zoom step" msgstr "Grau de Zoom" #: ../config.c:135 msgid "Padding between pages" msgstr "Preenchimento entre páginas" #: ../config.c:137 msgid "Number of pages per row" msgstr "Número de paginas por linha" #: ../config.c:139 msgid "Column of the first page" msgstr "Coluna da primeira página" #: ../config.c:141 msgid "Scroll step" msgstr "Fase de Rolagem" #: ../config.c:143 msgid "Horizontal scroll step" msgstr "Etapa de rolagem horizontal" #: ../config.c:145 msgid "Full page scroll overlap" msgstr "Sobreposição de rolagem de página inteira" #: ../config.c:147 msgid "Zoom minimum" msgstr "Zoom minimo" #: ../config.c:149 msgid "Zoom maximum" msgstr "Zoom máximo" #: ../config.c:151 msgid "Maximum number of pages to keep in the cache" msgstr "Número máximo de páginas para manter no cache" #: ../config.c:153 msgid "Number of positions to remember in the jumplist" msgstr "Numero de posições para lembrar na lista de salto" #: ../config.c:155 msgid "Recoloring (dark color)" msgstr "Recolorindo (cor escura)" #: ../config.c:156 msgid "Recoloring (light color)" msgstr "Recolorindo (cor clara)" #: ../config.c:157 msgid "Color for highlighting" msgstr "Cor para destacar" #: ../config.c:159 msgid "Color for highlighting (active)" msgstr "Cor para destacar (ativo)" #: ../config.c:161 msgid "'Loading ...' background color" msgstr "'Carregando ...' cor de fundo" #: ../config.c:163 msgid "'Loading ...' foreground color" msgstr "'Carregando ...' cor de primeiro plano" #: ../config.c:167 msgid "Recolor pages" msgstr "Recolorir páginas" #: ../config.c:169 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" "Quando recolorir, manter tonalidade original e ajustar somente a luminosidade" #: ../config.c:171 msgid "Wrap scrolling" msgstr "Rolagem envoltório" #: ../config.c:173 msgid "Page aware scrolling" msgstr "Rolagem de página consciente" #: ../config.c:175 msgid "Advance number of pages per row" msgstr "Numero de avanço de paginas por linha" #: ../config.c:177 msgid "Horizontally centered zoom" msgstr "Zoom centrado horizontalmente" #: ../config.c:179 msgid "Align link target to the left" msgstr "Alinhe destino do link à esquerda" #: ../config.c:181 msgid "Let zoom be changed when following links" msgstr "" #: ../config.c:183 msgid "Center result horizontally" msgstr "Resultado centrado horizontalmente" #: ../config.c:185 msgid "Transparency for highlighting" msgstr "Transparência para destacar" #: ../config.c:187 msgid "Render 'Loading ...'" msgstr "Renderizando 'Carregando...'" #: ../config.c:188 msgid "Adjust to when opening file" msgstr "Ajuste para quando abrir o arquivo" #: ../config.c:190 msgid "Show hidden files and directories" msgstr "Mostrar arquivos ocultos e diretórios" #: ../config.c:192 msgid "Show directories" msgstr "Mostrar diretórios" #: ../config.c:194 msgid "Always open on first page" msgstr "Sempre abrir na primeira página" #: ../config.c:196 msgid "Highlight search results" msgstr "Destaque resultados de busca" #: ../config.c:198 msgid "Enable incremental search" msgstr "Ativar pesquisa incremental" #: ../config.c:200 msgid "Clear search results on abort" msgstr "Limpar resultados de busca ou abortar" #: ../config.c:202 msgid "Use basename of the file in the window title" msgstr "Usar nome do arquivo na barra de titulo" #: ../config.c:204 msgid "Display the page number in the window title" msgstr "Exibir o número da página no título da janela." #: ../config.c:206 msgid "Use basename of the file in the statusbar" msgstr "Use o nome do arquivo na barra de status" #: ../config.c:208 ../main.c:67 msgid "Enable synctex support" msgstr "Ativar suporte synctex" #: ../config.c:210 msgid "The clipboard into which mouse-selected data will be written" msgstr "" #. define default inputbar commands #: ../config.c:369 msgid "Add a bookmark" msgstr "Adicionar um favorito" #: ../config.c:370 msgid "Delete a bookmark" msgstr "Deletar um favorito" #: ../config.c:371 msgid "List all bookmarks" msgstr "Listar todos favoritos" #: ../config.c:372 msgid "Close current file" msgstr "Fechar arquivo atual" #: ../config.c:373 msgid "Show file information" msgstr "Mostrar informações do arquivo" #: ../config.c:374 msgid "Execute a command" msgstr "Executar um comando" #: ../config.c:375 msgid "Show help" msgstr "Mostrar ajuda" #: ../config.c:376 msgid "Open document" msgstr "Abrir documento" #: ../config.c:377 msgid "Close zathura" msgstr "Fechar zathura" #: ../config.c:378 msgid "Print document" msgstr "Imprimir documento" #: ../config.c:379 msgid "Save document" msgstr "Salvar documento" #: ../config.c:380 msgid "Save document (and force overwriting)" msgstr "Salvar documento (e forçar sobrescrever)" #: ../config.c:381 msgid "Save attachments" msgstr "Salvar anexos" #: ../config.c:382 msgid "Set page offset" msgstr "Definir deslocamento da página" #: ../config.c:383 msgid "Mark current location within the document" msgstr "Marcar localização atual no documento" #: ../config.c:384 msgid "Delete the specified marks" msgstr "Apagar as marcas especificadas" #: ../config.c:385 msgid "Don't highlight current search results" msgstr "Não destacar resultados de busca atual" #: ../config.c:386 msgid "Highlight current search results" msgstr "Destacar resultado de busca atual" #: ../config.c:387 msgid "Show version information" msgstr "Mostrar informações sobre a versão" #: ../links.c:199 ../links.c:278 msgid "Failed to run xdg-open." msgstr "Falha ao executar xdg-open." #: ../links.c:217 #, c-format msgid "Link: page %d" msgstr "Link: página %d" #: ../links.c:224 #, c-format msgid "Link: %s" msgstr "Link: %s" #: ../links.c:228 msgid "Link: Invalid" msgstr "Link: Inválido" #: ../main.c:58 msgid "Reparents to window specified by xid" msgstr "Reparar a janela especificada por xid" #: ../main.c:59 msgid "Path to the config directory" msgstr "Caminho de diretório para configuração" #: ../main.c:60 msgid "Path to the data directory" msgstr "Caminho para diretório de dados" #: ../main.c:61 msgid "Path to the directories containing plugins" msgstr "Caminho de diretório que contenham plugins" #: ../main.c:62 msgid "Fork into the background" msgstr "Deslocar no fundo" #: ../main.c:63 msgid "Document password" msgstr "Senha do documento" #: ../main.c:64 msgid "Page number to go to" msgstr "Número da página para ir" #: ../main.c:65 msgid "Log level (debug, info, warning, error)" msgstr "Nível de log (depurar, informação, aviso, erro)" #: ../main.c:66 msgid "Print version information" msgstr "Imprimir informações sobre a versão" #: ../main.c:68 msgid "Synctex editor (forwarded to the synctex command)" msgstr "Editor synctex (encaminhado para o comando synctex)" #: ../page-widget.c:526 msgid "Loading..." msgstr "Carregando..." #: ../page-widget.c:845 msgid "Copy image" msgstr "Copiar imagem" #: ../page-widget.c:846 msgid "Save image as" msgstr "Salvar imagem para" #: ../shortcuts.c:1076 msgid "This document does not contain any index" msgstr "Este documento não contem qualquer índice" #: ../zathura.c:213 ../zathura.c:959 msgid "[No name]" msgstr "[Sem nome]" #: ../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." msgstr "" "Formato de arquivo não suportado. Por favor, instale o plugin necessário." #: ../zathura.c:545 msgid "Document does not contain any pages" msgstr "Documento não contém quaisquer páginas" zathura-0.2.6/po/fr.po0000644000175000001440000002774412244447777013472 0ustar mockusers# zathura - language file (French) # See LICENSE file for license and copyright information # # Translators: # bknecht , 2012 # Dorian , 2012 # Quentin Stiévenart , 2012 # Stéphane Aulery , 2012 msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n" "Last-Translator: Benoît Knecht \n" "Language-Team: French (http://www.transifex.com/projects/p/zathura/language/" "fr/)\n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: ../callbacks.c:297 #, c-format msgid "Invalid input '%s' given." msgstr "Entrée invalide : '%s'" #: ../callbacks.c:333 #, c-format msgid "Invalid index '%s' given." msgstr "Index invalide : '%s'" #: ../callbacks.c:546 #, c-format msgid "Copied selected text to clipboard: %s" 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." msgstr "Aucun document ouvert." #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424 msgid "Invalid number of arguments given." msgstr "Nombre d'arguments invalide." #: ../commands.c:53 #, c-format msgid "Could not update bookmark: %s" msgstr "Impossible de créer le marque-page : %s" #: ../commands.c:55 #, c-format msgid "Could not create bookmark: %s" msgstr "Impossible de créer le marque-page : %s" #: ../commands.c:60 #, c-format msgid "Bookmark successfully updated: %s" msgstr "Marque page mis à jour avec succès : %s" #: ../commands.c:62 #, c-format msgid "Bookmark successfully created: %s" msgstr "Marque page créé avec succès : %s" #: ../commands.c:88 #, c-format msgid "Removed bookmark: %s" msgstr "Marque page supprimé : %s" #: ../commands.c:90 #, c-format msgid "Failed to remove bookmark: %s" msgstr "Échec lors de la suppression du marque-page : %s" #: ../commands.c:116 #, c-format msgid "No such bookmark: %s" msgstr "Aucun marque-page correspondant : %s" #: ../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." msgstr "Aucune information disponible." #: ../commands.c:234 msgid "Too many arguments." msgstr "Trop d'arguments." #: ../commands.c:245 msgid "No arguments given." msgstr "Aucun argument passé." #: ../commands.c:304 ../commands.c:330 msgid "Document saved." msgstr "Document enregistré." #: ../commands.c:306 ../commands.c:332 msgid "Failed to save document." msgstr "Échec lors de l'enregistrement du document." #: ../commands.c:309 ../commands.c:335 msgid "Invalid number of arguments." msgstr "Nombre d'arguments invalide." #: ../commands.c:443 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Impossible d'écrire la pièce jointe '%s' dans '%s'." #: ../commands.c:445 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Pièce jointe '%s' écrite dans '%s'." #: ../commands.c:489 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Image '%s' écrite dans '%s'." #: ../commands.c:491 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Impossible d'écrire l'image '%s' dans '%s'." #: ../commands.c:498 #, c-format msgid "Unknown image '%s'." msgstr "Image '%s' inconnue." #: ../commands.c:502 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Pièce jointe ou image '%s' inconnue." #: ../commands.c:553 msgid "Argument must be a number." msgstr "L'argument doit être un nombre." #: ../completion.c:250 #, c-format msgid "Page %d" msgstr "Page %d" #: ../completion.c:293 msgid "Attachments" msgstr "Pièces jointes" #. add images #: ../completion.c:324 msgid "Images" msgstr "Images" #. zathura settings #: ../config.c:131 msgid "Database backend" msgstr "Gestionnaire de base de données" #: ../config.c:133 msgid "Zoom step" msgstr "Incrément de zoom" #: ../config.c:135 msgid "Padding between pages" msgstr "Espacement entre les pages" #: ../config.c:137 msgid "Number of pages per row" msgstr "Nombre de page par rangée" #: ../config.c:139 msgid "Column of the first page" msgstr "Colonne de la première page" #: ../config.c:141 msgid "Scroll step" msgstr "Incrément de défilement" #: ../config.c:143 msgid "Horizontal scroll step" msgstr "Incrément de défilement horizontal" #: ../config.c:145 msgid "Full page scroll overlap" msgstr "Recouvrement lors du défilement par page entière" #: ../config.c:147 msgid "Zoom minimum" msgstr "Zoom minimum" #: ../config.c:149 msgid "Zoom maximum" msgstr "Zoom maximum" #: ../config.c:151 msgid "Maximum number of pages to keep in the cache" msgstr "" #: ../config.c:153 msgid "Number of positions to remember in the jumplist" msgstr "Nombre de positions à mémoriser dans la liste de sauts" #: ../config.c:155 msgid "Recoloring (dark color)" msgstr "Recoloration (couleur sombre)" #: ../config.c:156 msgid "Recoloring (light color)" msgstr "Recoloration (couleur claire)" #: ../config.c:157 msgid "Color for highlighting" msgstr "Couleur de surbrillance" #: ../config.c:159 msgid "Color for highlighting (active)" msgstr "Couleur de surbrillance (active)" #: ../config.c:161 msgid "'Loading ...' background color" msgstr "Couleur d'arrière-plan de 'Chargement...'" #: ../config.c:163 msgid "'Loading ...' foreground color" msgstr "Couleur de 'Chargement...'" #: ../config.c:167 msgid "Recolor pages" msgstr "Recoloriser les pages" #: ../config.c:169 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" "Lors de la recoloration garder la teinte d'origine et ajuster seulement la " "luminosité" #: ../config.c:171 msgid "Wrap scrolling" msgstr "Défiler en boucle" #: ../config.c:173 msgid "Page aware scrolling" msgstr "Défilement tenant compte des limites de page" #: ../config.c:175 msgid "Advance number of pages per row" msgstr "Augmenter le nombre de pages par rangée" #: ../config.c:177 msgid "Horizontally centered zoom" msgstr "Zoom centré horizontalement" #: ../config.c:179 msgid "Align link target to the left" msgstr "" #: ../config.c:181 msgid "Let zoom be changed when following links" msgstr "" #: ../config.c:183 msgid "Center result horizontally" msgstr "Centrer le résultat horizontalement" #: ../config.c:185 msgid "Transparency for highlighting" msgstr "Transparence de la surbrillance" #: ../config.c:187 msgid "Render 'Loading ...'" msgstr "Afficher 'Chargement...'" #: ../config.c:188 msgid "Adjust to when opening file" msgstr "Ajuster à l'ouverture du fichier" #: ../config.c:190 msgid "Show hidden files and directories" msgstr "Montrer les fichiers et dossiers cachés" #: ../config.c:192 msgid "Show directories" msgstr "Montrer les dossiers" #: ../config.c:194 msgid "Always open on first page" msgstr "Toujours ouvrir à la première page" #: ../config.c:196 msgid "Highlight search results" msgstr "Surligner les résultats de la recherche" #: ../config.c:198 msgid "Enable incremental search" msgstr "Activer la recherche incrémentale" #: ../config.c:200 msgid "Clear search results on abort" msgstr "Effacer les résultats de recherche en cas d'annulation" #: ../config.c:202 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" #: ../config.c:204 msgid "Display the page number in the window title" msgstr "" #: ../config.c:206 msgid "Use basename of the file in the statusbar" msgstr "Utiliser le nom de base du fichier dans la barre d'état" #: ../config.c:208 ../main.c:67 msgid "Enable synctex support" 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 #: ../config.c:369 msgid "Add a bookmark" msgstr "Ajouter un marque-page" #: ../config.c:370 msgid "Delete a bookmark" msgstr "Supprimer un marque-page" #: ../config.c:371 msgid "List all bookmarks" msgstr "Lister tous les marque-pages" #: ../config.c:372 msgid "Close current file" msgstr "Fermer le fichier actuel" #: ../config.c:373 msgid "Show file information" msgstr "Montrer les informations sur le fichier" #: ../config.c:374 msgid "Execute a command" msgstr "Exécuter une commande" #: ../config.c:375 msgid "Show help" msgstr "Afficher l'aide" #: ../config.c:376 msgid "Open document" msgstr "Ouvrir un document" #: ../config.c:377 msgid "Close zathura" msgstr "Quitter zathura" #: ../config.c:378 msgid "Print document" msgstr "Imprimer le document" #: ../config.c:379 msgid "Save document" msgstr "Sauver le document" #: ../config.c:380 msgid "Save document (and force overwriting)" msgstr "Sauver le document (et forcer l'écrasement)" #: ../config.c:381 msgid "Save attachments" msgstr "Enregistrer les pièces jointes" #: ../config.c:382 msgid "Set page offset" msgstr "Définir le décalage de page" #: ../config.c:383 msgid "Mark current location within the document" msgstr "Marquer l'emplacement actuel dans le document" #: ../config.c:384 msgid "Delete the specified marks" msgstr "Supprimer les marques indiquées" #: ../config.c:385 msgid "Don't highlight current search results" msgstr "Ne pas surligner les résultats de la recherche en cours" #: ../config.c:386 msgid "Highlight current search results" msgstr "Surligner les résultats de la recherche en cours" #: ../config.c:387 msgid "Show version information" msgstr "Afficher les informations de version" #: ../links.c:199 ../links.c:278 msgid "Failed to run xdg-open." msgstr "Échec lors du lancement de xdg-open." #: ../links.c:217 #, c-format msgid "Link: page %d" msgstr "Lien : page %d" #: ../links.c:224 #, c-format msgid "Link: %s" msgstr "Lien : %s" #: ../links.c:228 msgid "Link: Invalid" msgstr "Lien : Invalide" #: ../main.c:58 msgid "Reparents to window specified by xid" msgstr "Rattacher à la fenêtre spécifiée par xid" #: ../main.c:59 msgid "Path to the config directory" msgstr "Chemin vers le dossier de configuration" #: ../main.c:60 msgid "Path to the data directory" msgstr "Chemin vers le dossier de données" #: ../main.c:61 msgid "Path to the directories containing plugins" msgstr "Chemin vers le dossier de plugins" #: ../main.c:62 msgid "Fork into the background" msgstr "Détacher en arrière-plan" #: ../main.c:63 msgid "Document password" msgstr "Mot de passe du document" #: ../main.c:64 msgid "Page number to go to" msgstr "Numéro de page où aller" #: ../main.c:65 msgid "Log level (debug, info, warning, error)" msgstr "Niveau de journalisation (debug, info, warning, error)" #: ../main.c:66 msgid "Print version information" msgstr "Afficher les informations de version" #: ../main.c:68 msgid "Synctex editor (forwarded to the synctex command)" msgstr "Éditeur synctex (transféré à la commande synctex)" #: ../page-widget.c:526 msgid "Loading..." msgstr "Chargement..." #: ../page-widget.c:845 msgid "Copy image" msgstr "Copier l'image" #: ../page-widget.c:846 msgid "Save image as" msgstr "Enregistrer l'image sous" #: ../shortcuts.c:1076 msgid "This document does not contain any index" msgstr "Ce document ne contient pas d'index" #: ../zathura.c:213 ../zathura.c:959 msgid "[No name]" msgstr "[Sans nom]" #: ../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." msgstr "" #: ../zathura.c:545 msgid "Document does not contain any pages" msgstr "Ce document ne contient aucune page" zathura-0.2.6/po/ca.po0000644000175000001440000002702012244447777013431 0ustar mockusers# zathura - language file (Catalan) # See LICENSE file for license and copyright information # # Translators: # norbux , 2013 # norbux , 2012 # mvdan , 2012 msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Catalan (http://www.transifex.com/projects/p/zathura/language/" "ca/)\n" "Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../callbacks.c:297 #, c-format msgid "Invalid input '%s' given." msgstr "Entrada invàlida '%s'." #: ../callbacks.c:333 #, c-format msgid "Invalid index '%s' given." msgstr "Índex invàlid '%s'." #: ../callbacks.c:546 #, c-format msgid "Copied selected text to clipboard: %s" 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." msgstr "No s'ha obert cap document." #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424 msgid "Invalid number of arguments given." msgstr "Nombre d'arguments invàlids." #: ../commands.c:53 #, c-format msgid "Could not update bookmark: %s" msgstr "No s'ha pogut crear el marcador: %s" #: ../commands.c:55 #, c-format msgid "Could not create bookmark: %s" msgstr "No s'ha pogut crear el marcador: %s" #: ../commands.c:60 #, c-format msgid "Bookmark successfully updated: %s" msgstr "Marcador actualitzat correctament: %s" #: ../commands.c:62 #, c-format msgid "Bookmark successfully created: %s" msgstr "Marcador creat correctament: %s" #: ../commands.c:88 #, c-format msgid "Removed bookmark: %s" msgstr "Esborrat el marcador: %s" #: ../commands.c:90 #, c-format msgid "Failed to remove bookmark: %s" msgstr "No s'ha pogut esborrar el marcador: %s" #: ../commands.c:116 #, c-format msgid "No such bookmark: %s" msgstr "Marcador no existent: %s" #: ../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." msgstr "Cap informació disponible." #: ../commands.c:234 msgid "Too many arguments." msgstr "Massa arguments." #: ../commands.c:245 msgid "No arguments given." msgstr "Cap argument subministrat." #: ../commands.c:304 ../commands.c:330 msgid "Document saved." msgstr "Document desat." #: ../commands.c:306 ../commands.c:332 msgid "Failed to save document." msgstr "No s'ha pogut desar el document." #: ../commands.c:309 ../commands.c:335 msgid "Invalid number of arguments." msgstr "Nombre d'arguments invàlids." #: ../commands.c:443 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "No s'ha pogut escriure el fitxer adjunt '%s' a '%s'." #: ../commands.c:445 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "S'ha escrit el fitxer adjunt '%s' a '%s'." #: ../commands.c:489 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "S'ha escrit la imatge '%s' a '%s'." #: ../commands.c:491 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "No s'ha pogut escriure la imatge '%s' a '%s'." #: ../commands.c:498 #, c-format msgid "Unknown image '%s'." msgstr "Imatge desconeguda '%s'." #: ../commands.c:502 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Imatge o fitxer adjunt desconegut '%s'." #: ../commands.c:553 msgid "Argument must be a number." msgstr "L'argument ha de ser un nombre." #: ../completion.c:250 #, c-format msgid "Page %d" msgstr "Pàgina %d" #: ../completion.c:293 msgid "Attachments" msgstr "Fitxers adjunts" #. add images #: ../completion.c:324 msgid "Images" msgstr "Imatges" #. zathura settings #: ../config.c:131 msgid "Database backend" msgstr "Base de dades de rerefons" #: ../config.c:133 msgid "Zoom step" msgstr "Pas d'ampliació" #: ../config.c:135 msgid "Padding between pages" msgstr "Separació entre pàgines" #: ../config.c:137 msgid "Number of pages per row" msgstr "Nombre de pàgines per fila" #: ../config.c:139 msgid "Column of the first page" msgstr "Columna de la primera pàgina" #: ../config.c:141 msgid "Scroll step" msgstr "Pas de desplaçament" #: ../config.c:143 msgid "Horizontal scroll step" msgstr "Pas de desplaçament horitzontal" #: ../config.c:145 msgid "Full page scroll overlap" msgstr "Superposició de pàgines completes de desplaçament" #: ../config.c:147 msgid "Zoom minimum" msgstr "Zoom mínim" #: ../config.c:149 msgid "Zoom maximum" msgstr "Zoom màxim" #: ../config.c:151 msgid "Maximum number of pages to keep in the cache" msgstr "" #: ../config.c:153 msgid "Number of positions to remember in the jumplist" msgstr "Nombre de posicions per recordar al jumplist" #: ../config.c:155 msgid "Recoloring (dark color)" msgstr "Recolorejant (color fosc)" #: ../config.c:156 msgid "Recoloring (light color)" msgstr "Recolorejant (color clar)" #: ../config.c:157 msgid "Color for highlighting" msgstr "Color de realçament" #: ../config.c:159 msgid "Color for highlighting (active)" msgstr "Color de realçament (activat)" #: ../config.c:161 msgid "'Loading ...' background color" msgstr "" #: ../config.c:163 msgid "'Loading ...' foreground color" msgstr "" #: ../config.c:167 msgid "Recolor pages" msgstr "Recolorejant les pàgines" #: ../config.c:169 msgid "When recoloring keep original hue and adjust lightness only" msgstr "Quan recoloregis manté el to original i ajusta només la lluminositat" #: ../config.c:171 msgid "Wrap scrolling" msgstr "Desplaçament recollit" #: ../config.c:173 msgid "Page aware scrolling" msgstr "Desplaçament recollit" #: ../config.c:175 msgid "Advance number of pages per row" msgstr "Avançar nombre de pàgines per fila" #: ../config.c:177 msgid "Horizontally centered zoom" msgstr "Zoom centrat horitzontalment" #: ../config.c:179 msgid "Align link target to the left" msgstr "" #: ../config.c:181 msgid "Let zoom be changed when following links" msgstr "" #: ../config.c:183 msgid "Center result horizontally" msgstr "Centra el resultat horitzontalment" #: ../config.c:185 msgid "Transparency for highlighting" msgstr "Transparència del realçat" #: ../config.c:187 msgid "Render 'Loading ...'" msgstr "Renderitza 'Carregant ...'" #: ../config.c:188 msgid "Adjust to when opening file" msgstr "Ajustar al fitxer quan s'obri" #: ../config.c:190 msgid "Show hidden files and directories" msgstr "Mostra els directoris i fitxers ocults" #: ../config.c:192 msgid "Show directories" msgstr "Mostra els directoris" #: ../config.c:194 msgid "Always open on first page" msgstr "Obrir sempre la primera pàgina" #: ../config.c:196 msgid "Highlight search results" msgstr "Realça els resultats de recerca" #: ../config.c:198 msgid "Enable incremental search" msgstr "Habilita la cerca incremental" #: ../config.c:200 msgid "Clear search results on abort" msgstr "Esborra els resultats de recerca a l'interrompre" #: ../config.c:202 msgid "Use basename of the file in the window title" msgstr "Utilitza el nom base del fitxer en el títol de la finestra" #: ../config.c:204 msgid "Display the page number in the window title" msgstr "" #: ../config.c:206 msgid "Use basename of the file in the statusbar" msgstr "" #: ../config.c:208 ../main.c:67 msgid "Enable synctex support" 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 #: ../config.c:369 msgid "Add a bookmark" msgstr "Afegir un marcador" #: ../config.c:370 msgid "Delete a bookmark" msgstr "Esborrar un marcador" #: ../config.c:371 msgid "List all bookmarks" msgstr "Llista tots els marcadors" #: ../config.c:372 msgid "Close current file" msgstr "Tancar el fitxer actual" #: ../config.c:373 msgid "Show file information" msgstr "Mostra informació sobre el fitxer" #: ../config.c:374 msgid "Execute a command" msgstr "Executar una comanda" #: ../config.c:375 msgid "Show help" msgstr "Mostrar l'ajuda" #: ../config.c:376 msgid "Open document" msgstr "Obrir document" #: ../config.c:377 msgid "Close zathura" msgstr "Tancar Zathura" #: ../config.c:378 msgid "Print document" msgstr "Imprimir document" #: ../config.c:379 msgid "Save document" msgstr "Desar document" #: ../config.c:380 msgid "Save document (and force overwriting)" msgstr "Desar document (i forçar la sobreescritura)" #: ../config.c:381 msgid "Save attachments" msgstr "Desa els fitxers adjunts" #: ../config.c:382 msgid "Set page offset" msgstr "Assigna el desplaçament de pàgina" #: ../config.c:383 msgid "Mark current location within the document" msgstr "Marca la posició actual dins el document" #: ../config.c:384 msgid "Delete the specified marks" msgstr "Esborrar les marques especificades" #: ../config.c:385 msgid "Don't highlight current search results" msgstr "No realcis els resultats de la recerca actual" #: ../config.c:386 msgid "Highlight current search results" msgstr "Realça els resultats de recerca actual" #: ../config.c:387 msgid "Show version information" msgstr "Mostra informació sobre la versió" #: ../links.c:199 ../links.c:278 msgid "Failed to run xdg-open." msgstr "No s'ha pogut executar xdg-open." #: ../links.c:217 #, c-format msgid "Link: page %d" msgstr "Enllaçar: pàgina %d" #: ../links.c:224 #, c-format msgid "Link: %s" msgstr "Enllaç: %s" #: ../links.c:228 msgid "Link: Invalid" msgstr "Enllaç: Invàlid" #: ../main.c:58 msgid "Reparents to window specified by xid" msgstr "Reassigna a la finestra especificada per xid" #: ../main.c:59 msgid "Path to the config directory" msgstr "Ruta al directori de configuració" #: ../main.c:60 msgid "Path to the data directory" msgstr "Camí al directori de dades" #: ../main.c:61 msgid "Path to the directories containing plugins" msgstr "Camí al directori que conté els plugins" #: ../main.c:62 msgid "Fork into the background" msgstr "Bifurca en segon pla" #: ../main.c:63 msgid "Document password" msgstr "Contrasenya del document" #: ../main.c:64 msgid "Page number to go to" msgstr "" #: ../main.c:65 msgid "Log level (debug, info, warning, error)" msgstr "Nivell de registre (depuració, informació, advertiments, errors)" #: ../main.c:66 msgid "Print version information" msgstr "Imprimeix informació sobre la versió" #: ../main.c:68 msgid "Synctex editor (forwarded to the synctex command)" msgstr "Editor synctex (reenviat a l'ordre synctex)" #: ../page-widget.c:526 msgid "Loading..." msgstr "Carregant..." #: ../page-widget.c:845 msgid "Copy image" msgstr "Copia la imatge" #: ../page-widget.c:846 msgid "Save image as" msgstr "Desa imatge com a" #: ../shortcuts.c:1076 msgid "This document does not contain any index" msgstr "Aquest document no conté cap índex" #: ../zathura.c:213 ../zathura.c:959 msgid "[No name]" msgstr "[Sense nom]" #: ../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." msgstr "" #: ../zathura.c:545 msgid "Document does not contain any pages" msgstr "" zathura-0.2.6/po/el.po0000644000175000001440000003317312244447777013454 0ustar mockusers# zathura - language file (Greek) # See LICENSE file for license and copyright information # # Translators: # Nisok Kosin , 2012. # Nisok Kosin , 2012. msgid "" msgstr "" "Project-Id-Version: zathura\n" "Report-Msgid-Bugs-To: http://bugs.pwmt.org\n" "POT-Creation-Date: 2013-11-04 19:57+0100\n" "PO-Revision-Date: 2013-11-01 13:12+0000\n" "Last-Translator: Sebastian Ramacher \n" "Language-Team: Greek (http://www.transifex.com/projects/p/zathura/language/" "el/)\n" "Language: el\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../callbacks.c:297 #, c-format msgid "Invalid input '%s' given." msgstr "Η είσοδος '%s' είναι άκυρη." #: ../callbacks.c:333 #, c-format msgid "Invalid index '%s' given." msgstr "Ο δείκτης '%s' είναι άκυρος." #: ../callbacks.c:546 #, c-format msgid "Copied selected text to clipboard: %s" 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." msgstr "Δεν άνοιξε κανένα αρχείο. " #: ../commands.c:42 ../commands.c:82 ../commands.c:109 ../commands.c:424 msgid "Invalid number of arguments given." msgstr "Μη έγκυρος αριθμός παραμέτρων." #: ../commands.c:53 #, c-format msgid "Could not update bookmark: %s" msgstr "Η δημιουργία του σελιδοδείκτη: %s δεν ήταν δυνατή." #: ../commands.c:55 #, c-format msgid "Could not create bookmark: %s" msgstr "Η δημιουργία του σελιδοδείκτη: %s δεν ήταν δυνατή." #: ../commands.c:60 #, c-format msgid "Bookmark successfully updated: %s" msgstr "Η ενημέρωση του σελιδοδείκτη: %s ήταν επιτυχής. " #: ../commands.c:62 #, c-format msgid "Bookmark successfully created: %s" msgstr "Η δημιουργία του σελιδοδείκτη: %s ήταν επιτυχής." #: ../commands.c:88 #, c-format msgid "Removed bookmark: %s" msgstr "Ο σελιδοδείκτης: %s διεγράφει. " #: ../commands.c:90 #, c-format msgid "Failed to remove bookmark: %s" msgstr "Η διαγραφή του σελιδοδείκτη: %s απέτυχε. " #: ../commands.c:116 #, c-format msgid "No such bookmark: %s" msgstr "Ο σελιδοδείκτης: %s δεν βρέθηκε. " #: ../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." msgstr "Δεν υπάρχουν διαθέσιμες πληροφορίες." #: ../commands.c:234 msgid "Too many arguments." msgstr "Εισήχθησαν πολλές παράμετροι. " #: ../commands.c:245 msgid "No arguments given." msgstr "Δεν εισήχθησαν παράμετροι. " #: ../commands.c:304 ../commands.c:330 msgid "Document saved." msgstr "Το αρχείο αποθηκεύτηκε." #: ../commands.c:306 ../commands.c:332 msgid "Failed to save document." msgstr "Η αποθήκευση του αρχείου απέτυχε. " #: ../commands.c:309 ../commands.c:335 msgid "Invalid number of arguments." msgstr "Μη έγκυρος ο αριθμός των παραμέτρων. " #: ../commands.c:443 #, c-format msgid "Couldn't write attachment '%s' to '%s'." msgstr "Μη επιτυχής η εγγραγή της προσάρτησης '%s' στην '%s'." #: ../commands.c:445 #, c-format msgid "Wrote attachment '%s' to '%s'." msgstr "Επιτυχής η εγγραφή της προσάρτησης '%s' στην '%s'." #: ../commands.c:489 #, c-format msgid "Wrote image '%s' to '%s'." msgstr "Ενεγράφει η εικόνα '%s' στην '%s'" #: ../commands.c:491 #, c-format msgid "Couldn't write image '%s' to '%s'." msgstr "Δεν ενεγράφει η εικόνα '%s' στην '%s'." #: ../commands.c:498 #, c-format msgid "Unknown image '%s'." msgstr "Άγνωστη εικόνα '%s'. " #: ../commands.c:502 #, c-format msgid "Unknown attachment or image '%s'." msgstr "Άγνωστο προσάρτημα είτε εικόνα '%s'. " #: ../commands.c:553 msgid "Argument must be a number." msgstr "Η παράμετρος πρέπει να είναι αριθμός." #: ../completion.c:250 #, c-format msgid "Page %d" msgstr "Σελίδα %d" #: ../completion.c:293 msgid "Attachments" msgstr "Προσαρτήσεις" #. add images #: ../completion.c:324 msgid "Images" msgstr "Εικόνες" #. zathura settings #: ../config.c:131 msgid "Database backend" msgstr "Το βασικό εργαλείο της βάσης δεδομένων" #: ../config.c:133 msgid "Zoom step" msgstr "Βήμα μεγέθυνσης" #: ../config.c:135 msgid "Padding between pages" msgstr "Διάκενο μεταξύ σελίδων" #: ../config.c:137 msgid "Number of pages per row" msgstr "Αριθμός σελίδων ανά γραμμή" #: ../config.c:139 msgid "Column of the first page" msgstr "Στήλη της πρώτης σελίδας" #: ../config.c:141 msgid "Scroll step" msgstr "Βήμα κύλισης" #: ../config.c:143 msgid "Horizontal scroll step" msgstr "Βήμα οριζόντιας κύλησης" #: ../config.c:145 msgid "Full page scroll overlap" msgstr "" #: ../config.c:147 msgid "Zoom minimum" msgstr "Ελάχιστη μεγέθυνση" #: ../config.c:149 msgid "Zoom maximum" msgstr "Μέγιστη μεγέθυνση" #: ../config.c:151 msgid "Maximum number of pages to keep in the cache" msgstr "" #: ../config.c:153 msgid "Number of positions to remember in the jumplist" msgstr "" #: ../config.c:155 msgid "Recoloring (dark color)" msgstr "Επαναχρωματισμός (σκούρο χρώμα)" #: ../config.c:156 msgid "Recoloring (light color)" msgstr "Επαναχρωματισμός (ανοικτό χρώμα)" #: ../config.c:157 msgid "Color for highlighting" msgstr "Χρώμα τονισμού" #: ../config.c:159 msgid "Color for highlighting (active)" msgstr "Χρώμα τονισμού (ενεργό)" #: ../config.c:161 msgid "'Loading ...' background color" msgstr "" #: ../config.c:163 msgid "'Loading ...' foreground color" msgstr "" #: ../config.c:167 msgid "Recolor pages" msgstr "Επαναχρωματισμός σελίδων" #: ../config.c:169 msgid "When recoloring keep original hue and adjust lightness only" msgstr "" "Κατά τον επαναχρωματισμό της σελιδάς διατήρηση της αρχικής απόχρωσης και " "αλλαγή μόνο της φωτεινότητας" #: ../config.c:171 msgid "Wrap scrolling" msgstr "Κυκλική κύληση" #: ../config.c:173 msgid "Page aware scrolling" msgstr "" #: ../config.c:175 msgid "Advance number of pages per row" msgstr "Προώθηση σε αριθμό σελίδων ανά γραμμή" #: ../config.c:177 msgid "Horizontally centered zoom" msgstr "Μεγένθηση οριζοντίως κεντραρισμένη" #: ../config.c:179 msgid "Align link target to the left" msgstr "" #: ../config.c:181 msgid "Let zoom be changed when following links" msgstr "" #: ../config.c:183 msgid "Center result horizontally" msgstr "Οριζόντιο κεντράρισμα αποτελεσμάτων" #: ../config.c:185 msgid "Transparency for highlighting" msgstr "Διαφάνεια για τονισμό" #: ../config.c:187 msgid "Render 'Loading ...'" msgstr "Εμφάνιση της ένδειξης 'Φορτώνει ...'" #: ../config.c:188 msgid "Adjust to when opening file" msgstr "Προσαρμογή κατά το άνοιγμα του αρχείου" #: ../config.c:190 msgid "Show hidden files and directories" msgstr "Εμφάνιση κρυφών αρχείων και φακέλων" #: ../config.c:192 msgid "Show directories" msgstr "Εμφάνιση καταλόγων" #: ../config.c:194 msgid "Always open on first page" msgstr "Άνοιγμα πάντα στην πρώτη σελίδα" #: ../config.c:196 msgid "Highlight search results" msgstr "Τονισμός αποτελεσμάτων αναζήτησης" #: ../config.c:198 msgid "Enable incremental search" msgstr "" #: ../config.c:200 msgid "Clear search results on abort" msgstr "Εκκαθάριση των απολεσμάτων αναζήτησης κατά την διακοπή" #: ../config.c:202 msgid "Use basename of the file in the window title" msgstr "Χρήση του ονόματος του αρχείο στο τίτλο του παραθύρου" #: ../config.c:204 msgid "Display the page number in the window title" msgstr "" #: ../config.c:206 msgid "Use basename of the file in the statusbar" msgstr "" #: ../config.c:208 ../main.c:67 msgid "Enable synctex support" msgstr "Ενεργοποίηση υποστήριξης synctex" #: ../config.c:210 msgid "The clipboard into which mouse-selected data will be written" msgstr "" #. define default inputbar commands #: ../config.c:369 msgid "Add a bookmark" msgstr "Προσθήκη σελιδοδείκτη" #: ../config.c:370 msgid "Delete a bookmark" msgstr "Διαγραφή σελιδοδείκτη" #: ../config.c:371 msgid "List all bookmarks" msgstr "Εμφάνιση όλων των σελιδοδεικτών" #: ../config.c:372 msgid "Close current file" msgstr "Κλείσιμο αρχείου" #: ../config.c:373 msgid "Show file information" msgstr "Προβολή πληροφοριών αρχείου" #: ../config.c:374 msgid "Execute a command" msgstr "Εκτέλεση εντολής" #: ../config.c:375 msgid "Show help" msgstr "Εμφάνιση βοήθειας" #: ../config.c:376 msgid "Open document" msgstr "Άνοιγμα αρχείου" #: ../config.c:377 msgid "Close zathura" msgstr "Κλείσιμο" #: ../config.c:378 msgid "Print document" msgstr "Εκτύπωση αρχείου" #: ../config.c:379 msgid "Save document" msgstr "Αποθήκευση αρχείου" #: ../config.c:380 msgid "Save document (and force overwriting)" msgstr "Αποθήκευση αρχείου (και αντικατάσταση)" #: ../config.c:381 msgid "Save attachments" msgstr "Αποθήκευση προσαρτήσεων. " #: ../config.c:382 msgid "Set page offset" msgstr "Ρύθμιση αντιστάθμισης σελίδας" #: ../config.c:383 msgid "Mark current location within the document" msgstr "Επισήμανση τρέχουσας θέσης στο κείμενο" #: ../config.c:384 msgid "Delete the specified marks" msgstr "Διαγραφή επιλεγμένων σημείων" #: ../config.c:385 msgid "Don't highlight current search results" msgstr "Χωρίς τονισμό τα τρέχοντα αποτελέσματα της αναζήτησης" #: ../config.c:386 msgid "Highlight current search results" msgstr "Τονισμός στα τρέχοντα αποτελέσματα της αναζήτησης" #: ../config.c:387 msgid "Show version information" msgstr "Εμφάνιση πληροφοριών έκδοσης" #: ../links.c:199 ../links.c:278 msgid "Failed to run xdg-open." msgstr "Απέτυχε η εκτέλεση του xdg-open. " #: ../links.c:217 #, c-format msgid "Link: page %d" msgstr "" #: ../links.c:224 #, c-format msgid "Link: %s" msgstr "" #: ../links.c:228 msgid "Link: Invalid" msgstr "" #: ../main.c:58 msgid "Reparents to window specified by xid" msgstr "Reparents to window specified by xid" #: ../main.c:59 msgid "Path to the config directory" msgstr "Διαδρομή του αρχείου ρυθμίσεων" #: ../main.c:60 msgid "Path to the data directory" msgstr "Διαδρομή του φακέλου δεδομένων" #: ../main.c:61 msgid "Path to the directories containing plugins" msgstr "Διαδρομή φακέλου που περιέχει τα πρόσθετα" #: ../main.c:62 msgid "Fork into the background" msgstr "Διακλάδωση στο παρασκήνιο" #: ../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)" msgstr "Επίπεδο καταγραφής (debug, info, warning, error)" #: ../main.c:66 msgid "Print version information" msgstr "Εκτύπωση πληροφοριών έκδοσης" #: ../main.c:68 msgid "Synctex editor (forwarded to the synctex command)" msgstr "Synctex editor (Προώθηση στην εντολή synctex)" #: ../page-widget.c:526 msgid "Loading..." msgstr "Φορτώνει ..." #: ../page-widget.c:845 msgid "Copy image" msgstr "Αντιγραφή εικόνας" #: ../page-widget.c:846 msgid "Save image as" msgstr "Αποθήκευση εικόνας ως..." #: ../shortcuts.c:1076 msgid "This document does not contain any index" msgstr "Το αρχείο δεν περιέχει κανένα δείκτη" #: ../zathura.c:213 ../zathura.c:959 msgid "[No name]" msgstr "[Χωρίς όνομα]" #: ../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." msgstr "" #: ../zathura.c:545 msgid "Document does not contain any pages" msgstr "" zathura-0.2.6/po/Makefile0000644000175000001440000000317012244447777014146 0ustar mockusers# See LICENSE file for license and copyright information PROJECT = zathura GETTEXT_PACKAGE = $(PROJECT) CATALOGS = $(wildcard *.po) LINGUAS ?= $(patsubst %.po, %, $(CATALOGS)) ifeq ($(LINGUAS),) ALINGUAS = else ALINGUAS = $(shell find $(patsubst %, %.po, $(LINGUAS)) 2>/dev/null) endif MOS = $(patsubst %, %/LC_MESSAGES/${GETTEXT_PACKAGE}.mo, $(patsubst %.po, %, $(ALINGUAS))) include ../config.mk include ../common.mk all: ${MOS} clean: $(QUIET)rm -rf POTFILES.in POTFILES.in.tmp $(patsubst %.po, %, $(CATALOGS)) ${PROJECT}.pot POTFILES.in: $(wildcard ../*.c) $(QUIET) set -e && rm -f $@.tmp && touch $@.tmp && \ for f in $(^F) ; do \ echo $$f >> $@.tmp ; \ done && \ mv $@.tmp $@ ${PROJECT}.pot: POTFILES.in $(ECHO) regenerate ${PROJECT}.pot $(QUIET)intltool-update --pot --gettext-package=${PROJECT} update-po: ${PROJECT}.pot $(ECHO) updating po: files ${CATALOGS} $(QUIET)set -e && for f in ${CATALOGS} ; do \ intltool-update --dist --gettext-package=${PROJECT} `echo $$f | sed 's/\.po//'` ; \ sed -i 's/Report-Msgid-Bugs-To: \\n/Report-Msgid-Bugs-To: http:\/\/bugs.pwmt.org\\n/' "$$f" ; \ done %/LC_MESSAGES/${PROJECT}.mo: %.po @mkdir -p $(@D) $(ECHO) msgfmt $(shell echo $< | sed 's/\.po//') $(QUIET)${MSGFMT} ${MSGFMTFLAGS} -c $< -o $@ install: ${MOS} $(ECHO) installing translations $(QUIET)set -e && for f in $^ ; do \ mkdir -p -m 755 $(DESTDIR)$(LOCALEDIR)/`dirname $$f`; \ install -m 644 $$f $(DESTDIR)$(LOCALEDIR)/`dirname $$f` ; \ done uninstall: ${MOS} $(ECHO) removing translations $(QUIET)set -e && for f in $^ ; do \ rm -f $(LOCALEDIR)/$$f; \ done .PHONY: all clean update-po install uninstall zathura-0.2.6/config.c0000644000175000001440000010677312244447777013516 0ustar mockusers/* See LICENSE file for license and copyright information */ #include "config.h" #include "commands.h" #include "completion.h" #include "callbacks.h" #include "shortcuts.h" #include "zathura.h" #include "render.h" #include "marks.h" #include "utils.h" #include #include #include #include #include #include #include static void cb_jumplist_change(girara_session_t* session, const char* name, girara_setting_type_t UNUSED(type), void* value, void* UNUSED(data)) { g_return_if_fail(value != NULL); g_return_if_fail(session != NULL); g_return_if_fail(session->global.data != NULL); g_return_if_fail(name != NULL); zathura_t* zathura = session->global.data; if (g_strcmp0(name, "jumplist-size") != 0) { return; } if (*(int *)value < 0) { zathura->jumplist.max_size = 0; } else { zathura->jumplist.max_size = *(int *)value; } zathura_jumplist_trim(zathura); } static void cb_color_change(girara_session_t* session, const char* name, girara_setting_type_t UNUSED(type), void* value, void* UNUSED(data)) { g_return_if_fail(value != NULL); g_return_if_fail(session != NULL); g_return_if_fail(session->global.data != NULL); g_return_if_fail(name != NULL); zathura_t* zathura = session->global.data; char* string_value = (char*) value; if (g_strcmp0(name, "highlight-color") == 0) { gdk_color_parse(string_value, &(zathura->ui.colors.highlight_color)); } else if (g_strcmp0(name, "highlight-active-color") == 0) { gdk_color_parse(string_value, &(zathura->ui.colors.highlight_color_active)); } else if (g_strcmp0(name, "recolor-darkcolor") == 0) { if (zathura->sync.render_thread != NULL) { zathura_renderer_set_recolor_colors_str(zathura->sync.render_thread, NULL, string_value); } } else if (g_strcmp0(name, "recolor-lightcolor") == 0) { 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) { gdk_color_parse(string_value, &(zathura->ui.colors.render_loading_bg)); } else if (g_strcmp0(name, "render-loading-fg") == 0) { gdk_color_parse(string_value, &(zathura->ui.colors.render_loading_fg)); } render_all(zathura); } static void cb_nohlsearch_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; document_draw_search_results(zathura, !(*(bool*) value)); render_all(zathura); } static void cb_incsearch_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); bool inc_search = *(bool*) value; girara_special_command_add(session, '/', cmd_search, inc_search, FORWARD, NULL); girara_special_command_add(session, '?', cmd_search, inc_search, BACKWARD, NULL); } void config_load_default(zathura_t* zathura) { if (zathura == NULL || zathura->ui.session == NULL) { return; } int int_value = 0; float float_value = 0; bool bool_value = false; bool inc_search = true; char* string_value = NULL; girara_session_t* gsession = zathura->ui.session; /* mode settings */ zathura->modes.normal = gsession->modes.normal; zathura->modes.fullscreen = girara_mode_add(gsession, "fullscreen"); zathura->modes.index = girara_mode_add(gsession, "index"); zathura->modes.insert = girara_mode_add(gsession, "insert"); #define NORMAL zathura->modes.normal #define INSERT zathura->modes.insert #define INDEX zathura->modes.index #define FULLSCREEN zathura->modes.fullscreen girara_mode_set(gsession, zathura->modes.normal); /* zathura settings */ girara_setting_add(gsession, "database", "plain", STRING, true, _("Database backend"), NULL, NULL); int_value = 10; girara_setting_add(gsession, "zoom-step", &int_value, INT, false, _("Zoom step"), NULL, NULL); int_value = 1; girara_setting_add(gsession, "page-padding", &int_value, INT, false, _("Padding between pages"), cb_page_layout_value_changed, NULL); int_value = 1; girara_setting_add(gsession, "pages-per-row", &int_value, INT, false, _("Number of pages per row"), cb_page_layout_value_changed, NULL); int_value = 1; girara_setting_add(gsession, "first-page-column", &int_value, INT, false, _("Column of the first page"), cb_page_layout_value_changed, NULL); float_value = 40; girara_setting_add(gsession, "scroll-step", &float_value, FLOAT, false, _("Scroll step"), NULL, NULL); float_value = 40; girara_setting_add(gsession, "scroll-hstep", &float_value, FLOAT, false, _("Horizontal scroll step"), NULL, NULL); float_value = 0.0; girara_setting_add(gsession, "scroll-full-overlap", &float_value, FLOAT, false, _("Full page scroll overlap"), NULL, NULL); int_value = 10; girara_setting_add(gsession, "zoom-min", &int_value, INT, false, _("Zoom minimum"), NULL, NULL); int_value = 1000; girara_setting_add(gsession, "zoom-max", &int_value, INT, false, _("Zoom maximum"), NULL, NULL); int_value = ZATHURA_PAGE_CACHE_DEFAULT_SIZE; girara_setting_add(gsession, "page-cache-size", &int_value, INT, true, _("Maximum number of pages to keep in the cache"), NULL, NULL); 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, "recolor-darkcolor", "#FFFFFF", STRING, false, _("Recoloring (dark color)"), cb_color_change, NULL); girara_setting_add(gsession, "recolor-lightcolor", "#000000", 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, "highlight-color", "#9FBC00"); 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_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_add(gsession, "render-loading-fg", NULL, STRING, false, _("'Loading ...' foreground color"), cb_color_change, NULL); girara_setting_set(gsession, "render-loading-fg", "#000000"); bool_value = false; girara_setting_add(gsession, "recolor", &bool_value, BOOLEAN, false, _("Recolor pages"), cb_setting_recolor_change, NULL); bool_value = false; girara_setting_add(gsession, "recolor-keephue", &bool_value, BOOLEAN, false, _("When recoloring keep original hue and adjust lightness only"), cb_setting_recolor_keep_hue_change, NULL); bool_value = false; girara_setting_add(gsession, "scroll-wrap", &bool_value, BOOLEAN, false, _("Wrap scrolling"), NULL, NULL); bool_value = false; girara_setting_add(gsession, "scroll-page-aware", &bool_value, BOOLEAN, false, _("Page aware scrolling"), NULL, NULL); bool_value = false; girara_setting_add(gsession, "advance-pages-per-row", &bool_value, BOOLEAN, false, _("Advance number of pages per row"), NULL, NULL); bool_value = false; girara_setting_add(gsession, "zoom-center", &bool_value, BOOLEAN, false, _("Horizontally centered zoom"), NULL, NULL); bool_value = true; girara_setting_add(gsession, "link-hadjust", &bool_value, BOOLEAN, false, _("Align link target to the left"), NULL, NULL); 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); float_value = 0.5; girara_setting_add(gsession, "highlight-transparency", &float_value, FLOAT, false, _("Transparency for highlighting"), NULL, NULL); bool_value = true; girara_setting_add(gsession, "render-loading", &bool_value, BOOLEAN, false, _("Render 'Loading ...'"), NULL, NULL); girara_setting_add(gsession, "adjust-open", "best-fit", STRING, false, _("Adjust to when opening file"), NULL, NULL); bool_value = false; girara_setting_add(gsession, "show-hidden", &bool_value, BOOLEAN, false, _("Show hidden files and directories"), NULL, NULL); bool_value = true; girara_setting_add(gsession, "show-directories", &bool_value, BOOLEAN, false, _("Show directories"), NULL, NULL); bool_value = false; girara_setting_add(gsession, "open-first-page", &bool_value, BOOLEAN, false, _("Always open on first page"), NULL, NULL); bool_value = false; girara_setting_add(gsession, "nohlsearch", &bool_value, BOOLEAN, false, _("Highlight search results"), cb_nohlsearch_changed, NULL); inc_search = false; girara_setting_add(gsession, "incremental-search", &inc_search, BOOLEAN, false, _("Enable incremental search"), cb_incsearch_changed, NULL); bool_value = true; girara_setting_add(gsession, "abort-clear-search", &bool_value, BOOLEAN, false, _("Clear search results on abort"), NULL, NULL); bool_value = false; girara_setting_add(gsession, "window-title-basename", &bool_value, BOOLEAN, false, _("Use basename of the file in the window title"), NULL, NULL); bool_value = false; girara_setting_add(gsession, "window-title-page", &bool_value, BOOLEAN, false, _("Display the page number in the window title"), NULL, NULL); bool_value = false; girara_setting_add(gsession, "statusbar-basename", &bool_value, BOOLEAN, false, _("Use basename of the file in the statusbar"), NULL, NULL); bool_value = false; 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 */ girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_c, NULL, sc_abort, 0, 0, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Escape, NULL, sc_abort, 0, 0, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_a, NULL, sc_adjust_window, NORMAL, ZATHURA_ADJUST_BESTFIT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_s, NULL, sc_adjust_window, NORMAL, ZATHURA_ADJUST_WIDTH, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_F, NULL, sc_display_link, NORMAL, 0, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_slash, NULL, sc_focus_inputbar, NORMAL, 0, &("/")); girara_shortcut_add(gsession, GDK_SHIFT_MASK, GDK_KEY_slash, NULL, sc_focus_inputbar, NORMAL, 0, &("/")); girara_shortcut_add(gsession, 0, GDK_KEY_question, NULL, sc_focus_inputbar, NORMAL, 0, &("?")); girara_shortcut_add(gsession, 0, GDK_KEY_colon, NULL, sc_focus_inputbar, NORMAL, 0, &(":")); girara_shortcut_add(gsession, 0, GDK_KEY_o, NULL, sc_focus_inputbar, NORMAL, 0, &(":open ")); girara_shortcut_add(gsession, 0, GDK_KEY_O, NULL, sc_focus_inputbar, NORMAL, APPEND_FILEPATH, &(":open ")); girara_shortcut_add(gsession, 0, GDK_KEY_f, NULL, sc_follow, NORMAL, 0, NULL); girara_shortcut_add(gsession, 0, 0, "gg", sc_goto, NORMAL, TOP, NULL); girara_shortcut_add(gsession, 0, 0, "gg", sc_goto, FULLSCREEN, TOP, NULL); girara_shortcut_add(gsession, 0, 0, "G", sc_goto, NORMAL, BOTTOM, NULL); girara_shortcut_add(gsession, 0, 0, "G", sc_goto, FULLSCREEN, BOTTOM, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_m, NULL, sc_mark_add, NORMAL, 0, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_apostrophe, NULL, sc_mark_evaluate, NORMAL, 0, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_J, NULL, sc_navigate, NORMAL, NEXT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_K, NULL, sc_navigate, NORMAL, PREVIOUS, NULL); girara_shortcut_add(gsession, GDK_MOD1_MASK, GDK_KEY_Right, NULL, sc_navigate, NORMAL, NEXT, NULL); girara_shortcut_add(gsession, GDK_MOD1_MASK, GDK_KEY_Left, NULL, sc_navigate, NORMAL, PREVIOUS, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Page_Down, NULL, sc_navigate, NORMAL, NEXT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Page_Up, NULL, sc_navigate, NORMAL, PREVIOUS, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_J, NULL, sc_navigate, FULLSCREEN, NEXT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Down, NULL, sc_navigate, FULLSCREEN, NEXT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Right, NULL, sc_navigate, FULLSCREEN, NEXT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Page_Down, NULL, sc_navigate, FULLSCREEN, NEXT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_space, NULL, sc_navigate, FULLSCREEN, NEXT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_K, NULL, sc_navigate, FULLSCREEN, PREVIOUS, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Left, NULL, sc_navigate, FULLSCREEN, PREVIOUS, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Up, NULL, sc_navigate, FULLSCREEN, PREVIOUS, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Page_Up, NULL, sc_navigate, FULLSCREEN, PREVIOUS, NULL); girara_shortcut_add(gsession, GDK_SHIFT_MASK, GDK_KEY_space, NULL, sc_navigate, FULLSCREEN, PREVIOUS, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_BackSpace, NULL, sc_navigate, FULLSCREEN, PREVIOUS, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_k, NULL, sc_navigate_index, INDEX, UP, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_j, NULL, sc_navigate_index, INDEX, DOWN, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_h, NULL, sc_navigate_index, INDEX, COLLAPSE, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_l, NULL, sc_navigate_index, INDEX, EXPAND, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_L, NULL, sc_navigate_index, INDEX, EXPAND_ALL, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_H, NULL, sc_navigate_index, INDEX, COLLAPSE_ALL, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Up, NULL, sc_navigate_index, INDEX, UP, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Down, NULL, sc_navigate_index, INDEX, DOWN, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Left, NULL, sc_navigate_index, INDEX, COLLAPSE, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Right, NULL, sc_navigate_index, INDEX, EXPAND, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_space, NULL, sc_navigate_index, INDEX, SELECT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Return, NULL, sc_navigate_index, INDEX, SELECT, NULL); girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_p, NULL, sc_print, NORMAL, 0, NULL); girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_r, NULL, sc_recolor, NORMAL, 0, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_R, NULL, sc_reload, NORMAL, 0, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_r, NULL, sc_rotate, NORMAL, ROTATE_CW, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_h, NULL, sc_scroll, NORMAL, LEFT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_j, NULL, sc_scroll, NORMAL, DOWN, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_k, NULL, sc_scroll, NORMAL, UP, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_l, NULL, sc_scroll, NORMAL, RIGHT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Left, NULL, sc_scroll, NORMAL, LEFT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Up, NULL, sc_scroll, NORMAL, UP, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Down, NULL, sc_scroll, NORMAL, DOWN, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Right, NULL, sc_scroll, NORMAL, RIGHT, NULL); girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_t, NULL, sc_scroll, NORMAL, HALF_LEFT, NULL); girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_d, NULL, sc_scroll, NORMAL, HALF_DOWN, NULL); girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_u, NULL, sc_scroll, NORMAL, HALF_UP, NULL); girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_y, NULL, sc_scroll, NORMAL, HALF_RIGHT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_t, NULL, sc_scroll, NORMAL, FULL_LEFT, NULL); girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_f, NULL, sc_scroll, NORMAL, FULL_DOWN, NULL); girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_b, NULL, sc_scroll, NORMAL, FULL_UP, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_y, NULL, sc_scroll, NORMAL, FULL_RIGHT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_space, NULL, sc_scroll, NORMAL, FULL_DOWN, NULL); girara_shortcut_add(gsession, GDK_SHIFT_MASK, GDK_KEY_space, NULL, sc_scroll, NORMAL, FULL_UP, NULL); girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_o, NULL, sc_jumplist, NORMAL, BACKWARD, NULL); girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_i, NULL, sc_jumplist, NORMAL, FORWARD, NULL); girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_j, NULL, sc_bisect, NORMAL, FORWARD, NULL); girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_k, NULL, sc_bisect, NORMAL, BACKWARD, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_n, NULL, sc_search, NORMAL, FORWARD, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_N, NULL, sc_search, NORMAL, BACKWARD, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Tab, NULL, sc_toggle_index, NORMAL, 0, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_Tab, NULL, sc_toggle_index, INDEX, 0, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_F5, NULL, sc_toggle_fullscreen, NORMAL, 0, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_F5, NULL, sc_toggle_fullscreen, FULLSCREEN, 0, NULL); girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_n, NULL, girara_sc_toggle_statusbar, NORMAL, 0, NULL); girara_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_m, NULL, girara_sc_toggle_inputbar, NORMAL, 0, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_d, NULL, sc_toggle_page_mode, NORMAL, 0, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_q, NULL, sc_quit, NORMAL, 0, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_q, NULL, sc_quit, FULLSCREEN, 0, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_plus, NULL, sc_zoom, NORMAL, ZOOM_IN, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_KP_Add, NULL, sc_zoom, NORMAL, ZOOM_IN, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_plus, NULL, sc_zoom, FULLSCREEN, ZOOM_IN, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_KP_Add, NULL, sc_zoom, FULLSCREEN, ZOOM_IN, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_minus, NULL, sc_zoom, NORMAL, ZOOM_OUT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_KP_Subtract,NULL, sc_zoom, NORMAL, ZOOM_OUT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_minus, NULL, sc_zoom, FULLSCREEN, ZOOM_OUT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_KP_Subtract,NULL, sc_zoom, FULLSCREEN, ZOOM_OUT, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_equal, NULL, sc_zoom, NORMAL, ZOOM_SPECIFIC, NULL); girara_shortcut_add(gsession, 0, GDK_KEY_equal, NULL, sc_zoom, FULLSCREEN, ZOOM_SPECIFIC, NULL); girara_shortcut_add(gsession, 0, 0, "zi", sc_zoom, NORMAL, ZOOM_IN, NULL); girara_shortcut_add(gsession, 0, 0, "zi", sc_zoom, FULLSCREEN, ZOOM_IN, NULL); girara_shortcut_add(gsession, 0, 0, "zI", sc_zoom, NORMAL, ZOOM_IN, NULL); girara_shortcut_add(gsession, 0, 0, "zI", sc_zoom, FULLSCREEN, ZOOM_IN, NULL); girara_shortcut_add(gsession, 0, 0, "zo", sc_zoom, NORMAL, ZOOM_OUT, NULL); girara_shortcut_add(gsession, 0, 0, "zo", sc_zoom, FULLSCREEN, ZOOM_OUT, NULL); girara_shortcut_add(gsession, 0, 0, "zO", sc_zoom, NORMAL, ZOOM_OUT, NULL); girara_shortcut_add(gsession, 0, 0, "zO", sc_zoom, FULLSCREEN, ZOOM_OUT, NULL); girara_shortcut_add(gsession, 0, 0, "z0", sc_zoom, NORMAL, ZOOM_ORIGINAL, NULL); girara_shortcut_add(gsession, 0, 0, "z0", sc_zoom, FULLSCREEN, ZOOM_ORIGINAL, NULL); girara_shortcut_add(gsession, 0, 0, "zz", sc_zoom, NORMAL, ZOOM_SPECIFIC, NULL); girara_shortcut_add(gsession, 0, 0, "zz", sc_zoom, FULLSCREEN, ZOOM_SPECIFIC, NULL); girara_shortcut_add(gsession, 0, 0, "zZ", sc_zoom, NORMAL, ZOOM_SPECIFIC, NULL); girara_shortcut_add(gsession, 0, 0, "zZ", sc_zoom, FULLSCREEN, ZOOM_SPECIFIC, NULL); /* inputbar shortcuts */ girara_inputbar_shortcut_add(gsession, 0, GDK_KEY_Escape, sc_abort, 0, NULL); girara_inputbar_shortcut_add(gsession, GDK_CONTROL_MASK, GDK_KEY_c, sc_abort, 0, NULL); /* mouse events */ girara_mouse_event_add(gsession, 0, 0, sc_mouse_scroll, NORMAL, GIRARA_EVENT_SCROLL_UP, UP, NULL); girara_mouse_event_add(gsession, 0, 0, sc_mouse_scroll, FULLSCREEN, GIRARA_EVENT_SCROLL_UP, UP, NULL); girara_mouse_event_add(gsession, 0, 0, sc_mouse_scroll, NORMAL, GIRARA_EVENT_SCROLL_DOWN, DOWN, NULL); girara_mouse_event_add(gsession, 0, 0, sc_mouse_scroll, FULLSCREEN, GIRARA_EVENT_SCROLL_DOWN, DOWN, NULL); girara_mouse_event_add(gsession, 0, 0, sc_mouse_scroll, NORMAL, GIRARA_EVENT_SCROLL_LEFT, LEFT, NULL); girara_mouse_event_add(gsession, 0, 0, sc_mouse_scroll, FULLSCREEN, GIRARA_EVENT_SCROLL_LEFT, LEFT, NULL); girara_mouse_event_add(gsession, 0, 0, sc_mouse_scroll, NORMAL, GIRARA_EVENT_SCROLL_RIGHT, RIGHT, NULL); girara_mouse_event_add(gsession, 0, 0, sc_mouse_scroll, FULLSCREEN, GIRARA_EVENT_SCROLL_RIGHT, RIGHT, NULL); girara_mouse_event_add(gsession, 0, GIRARA_MOUSE_BUTTON1, sc_navigate, FULLSCREEN, GIRARA_EVENT_BUTTON_PRESS, NEXT, NULL); girara_mouse_event_add(gsession, 0, GIRARA_MOUSE_BUTTON3, sc_navigate, FULLSCREEN, GIRARA_EVENT_BUTTON_PRESS, PREVIOUS, NULL); girara_mouse_event_add(gsession, GDK_SHIFT_MASK, 0, sc_mouse_scroll, NORMAL, GIRARA_EVENT_SCROLL_UP, LEFT, NULL); girara_mouse_event_add(gsession, GDK_SHIFT_MASK, 0, sc_mouse_scroll, FULLSCREEN, GIRARA_EVENT_SCROLL_UP, LEFT, NULL); girara_mouse_event_add(gsession, GDK_SHIFT_MASK, 0, sc_mouse_scroll, NORMAL, GIRARA_EVENT_SCROLL_DOWN, RIGHT, NULL); girara_mouse_event_add(gsession, GDK_SHIFT_MASK, 0, sc_mouse_scroll, FULLSCREEN, GIRARA_EVENT_SCROLL_DOWN, RIGHT, NULL); girara_mouse_event_add(gsession, GDK_CONTROL_MASK, 0, sc_mouse_zoom, NORMAL, GIRARA_EVENT_SCROLL_UP, UP, NULL); girara_mouse_event_add(gsession, GDK_CONTROL_MASK, 0, sc_mouse_zoom, FULLSCREEN, GIRARA_EVENT_SCROLL_UP, UP, NULL); girara_mouse_event_add(gsession, GDK_CONTROL_MASK, 0, sc_mouse_zoom, NORMAL, GIRARA_EVENT_SCROLL_DOWN, DOWN, NULL); girara_mouse_event_add(gsession, GDK_CONTROL_MASK, 0, sc_mouse_zoom, FULLSCREEN, GIRARA_EVENT_SCROLL_DOWN, DOWN, NULL); girara_mouse_event_add(gsession, 0, GIRARA_MOUSE_BUTTON2, sc_mouse_scroll, NORMAL, GIRARA_EVENT_BUTTON_PRESS, 0, NULL); girara_mouse_event_add(gsession, GDK_BUTTON2_MASK, GIRARA_MOUSE_BUTTON2, sc_mouse_scroll, NORMAL, GIRARA_EVENT_BUTTON_RELEASE, 0, NULL); girara_mouse_event_add(gsession, GDK_BUTTON2_MASK, 0, sc_mouse_scroll, NORMAL, GIRARA_EVENT_MOTION_NOTIFY, 0, NULL); /* define default inputbar commands */ girara_inputbar_command_add(gsession, "bmark", NULL, cmd_bookmark_create, NULL, _("Add a bookmark")); girara_inputbar_command_add(gsession, "bdelete", NULL, cmd_bookmark_delete, cc_bookmarks, _("Delete a bookmark")); girara_inputbar_command_add(gsession, "blist", NULL, cmd_bookmark_open, cc_bookmarks, _("List all bookmarks")); girara_inputbar_command_add(gsession, "close", NULL, cmd_close, NULL, _("Close current file")); girara_inputbar_command_add(gsession, "info", NULL, cmd_info, NULL, _("Show file information")); girara_inputbar_command_add(gsession, "exec", NULL, cmd_exec, NULL, _("Execute a command")); girara_inputbar_command_add(gsession, "help", NULL, cmd_help, NULL, _("Show help")); girara_inputbar_command_add(gsession, "open", "o", cmd_open, cc_open, _("Open document")); girara_inputbar_command_add(gsession, "quit", "q", cmd_quit, NULL, _("Close zathura")); girara_inputbar_command_add(gsession, "print", NULL, cmd_print, NULL, _("Print document")); girara_inputbar_command_add(gsession, "write", NULL, cmd_save, cc_write, _("Save document")); girara_inputbar_command_add(gsession, "write!", NULL, cmd_savef, cc_write, _("Save document (and force overwriting)")); girara_inputbar_command_add(gsession, "export", NULL, cmd_export, cc_export, _("Save attachments")); girara_inputbar_command_add(gsession, "offset", NULL, cmd_offset, NULL, _("Set page offset")); girara_inputbar_command_add(gsession, "mark", NULL, cmd_marks_add, NULL, _("Mark current location within the document")); girara_inputbar_command_add(gsession, "delmarks", "delm", cmd_marks_delete, NULL, _("Delete the specified marks")); girara_inputbar_command_add(gsession, "nohlsearch", "nohl", cmd_nohlsearch, NULL, _("Don't highlight current search results")); girara_inputbar_command_add(gsession, "hlsearch", NULL, cmd_hlsearch, NULL, _("Highlight current search results")); girara_inputbar_command_add(gsession, "version", NULL, cmd_version, NULL, _("Show version information")); girara_special_command_add(gsession, '/', cmd_search, inc_search, FORWARD, NULL); girara_special_command_add(gsession, '?', cmd_search, inc_search, BACKWARD, NULL); /* add shortcut mappings */ girara_shortcut_mapping_add(gsession, "abort", sc_abort); girara_shortcut_mapping_add(gsession, "adjust_window", sc_adjust_window); girara_shortcut_mapping_add(gsession, "change_mode", sc_change_mode); girara_shortcut_mapping_add(gsession, "display_link", sc_display_link); girara_shortcut_mapping_add(gsession, "focus_inputbar", sc_focus_inputbar); girara_shortcut_mapping_add(gsession, "follow", sc_follow); girara_shortcut_mapping_add(gsession, "goto", sc_goto); girara_shortcut_mapping_add(gsession, "jumplist", sc_jumplist); girara_shortcut_mapping_add(gsession, "bisect", sc_bisect); girara_shortcut_mapping_add(gsession, "navigate", sc_navigate); girara_shortcut_mapping_add(gsession, "navigate_index", sc_navigate_index); girara_shortcut_mapping_add(gsession, "print", sc_print); girara_shortcut_mapping_add(gsession, "quit", sc_quit); girara_shortcut_mapping_add(gsession, "recolor", sc_recolor); girara_shortcut_mapping_add(gsession, "reload", sc_reload); girara_shortcut_mapping_add(gsession, "rotate", sc_rotate); girara_shortcut_mapping_add(gsession, "scroll", sc_scroll); girara_shortcut_mapping_add(gsession, "search", sc_search); girara_shortcut_mapping_add(gsession, "toggle_fullscreen", sc_toggle_fullscreen); girara_shortcut_mapping_add(gsession, "toggle_index", sc_toggle_index); girara_shortcut_mapping_add(gsession, "toggle_inputbar", girara_sc_toggle_inputbar); girara_shortcut_mapping_add(gsession, "toggle_page_mode", sc_toggle_page_mode); girara_shortcut_mapping_add(gsession, "toggle_statusbar", girara_sc_toggle_statusbar); girara_shortcut_mapping_add(gsession, "zoom", sc_zoom); /* add argument mappings */ girara_argument_mapping_add(gsession, "backward", BACKWARD); girara_argument_mapping_add(gsession, "bottom", BOTTOM); girara_argument_mapping_add(gsession, "default", DEFAULT); girara_argument_mapping_add(gsession, "collapse", COLLAPSE); girara_argument_mapping_add(gsession, "collapse-all", COLLAPSE_ALL); girara_argument_mapping_add(gsession, "down", DOWN); girara_argument_mapping_add(gsession, "expand", EXPAND); girara_argument_mapping_add(gsession, "expand-all", EXPAND_ALL); girara_argument_mapping_add(gsession, "forward", FORWARD); girara_argument_mapping_add(gsession, "full-down", FULL_DOWN); girara_argument_mapping_add(gsession, "full-up", FULL_UP); girara_argument_mapping_add(gsession, "half-down", HALF_DOWN); girara_argument_mapping_add(gsession, "half-up", HALF_UP); girara_argument_mapping_add(gsession, "full-right", FULL_RIGHT); girara_argument_mapping_add(gsession, "full-left", FULL_LEFT); girara_argument_mapping_add(gsession, "half-right", HALF_RIGHT); girara_argument_mapping_add(gsession, "half-left", HALF_LEFT); girara_argument_mapping_add(gsession, "in", ZOOM_IN); girara_argument_mapping_add(gsession, "left", LEFT); girara_argument_mapping_add(gsession, "next", NEXT); girara_argument_mapping_add(gsession, "out", ZOOM_OUT); girara_argument_mapping_add(gsession, "previous", PREVIOUS); girara_argument_mapping_add(gsession, "right", RIGHT); girara_argument_mapping_add(gsession, "specific", ZOOM_SPECIFIC); girara_argument_mapping_add(gsession, "top", TOP); girara_argument_mapping_add(gsession, "up", UP); girara_argument_mapping_add(gsession, "best-fit", ZATHURA_ADJUST_BESTFIT); girara_argument_mapping_add(gsession, "width", ZATHURA_ADJUST_WIDTH); girara_argument_mapping_add(gsession, "rotate-cw", ROTATE_CW); girara_argument_mapping_add(gsession, "rotate-ccw", ROTATE_CCW); } void config_load_file(zathura_t* zathura, char* path) { if (zathura == NULL || path == NULL) { return; } girara_config_parse(zathura->ui.session, path); } zathura-0.2.6/utils.h0000644000175000001440000000734012244447777013404 0ustar mockusers/* See LICENSE file for license and copyright information */ #ifndef UTILS_H #define UTILS_H #include #include #include #include "document.h" #define LENGTH(x) (sizeof(x)/sizeof((x)[0])) typedef struct page_offset_s { int x; int y; } page_offset_t; /** * Returns the file extension of a path * * @param path Path to the file * @return The file extension or NULL */ const char* file_get_extension(const char* path); /** * This function checks if the file has a valid extension. A extension is * evaluated as valid if it matches a supported filetype. * * @param zathura Zathura object * @param path The path to the file * @return true if the extension is valid, otherwise false */ bool file_valid_extension(zathura_t* zathura, const char* path); /** * Executes a system command and saves its output into output * * @param argv The command * @param output Pointer where the output will be saved * @return true if no error occured, otherwise false */ bool execute_command(char* const argv[], char** output); /** * Generates the document index based upon the list retreived from the document * object. * * @param model The tree model * @param parent The tree iterator parent * @param tree The Tree iterator */ void document_index_build(GtkTreeModel* model, GtkTreeIter* parent, girara_tree_node_t* tree); /** * Calculates the offset of the page to the top of the viewing area as * well as to the left side of it. The result has to be freed. * * @param zathura Zathura session * @param page The Page * @param offset Applied offset * @return The calculated offset or NULL if an error occured */ void page_calculate_offset(zathura_t* zathura, zathura_page_t* page, page_offset_t* offset); /** * Rotate a rectangle by 0, 90, 180 or 270 degree * * @param rectangle the rectangle to rotate * @param degree rotation degree * @param height the height of the enclosing rectangle * @param width the width of the enclosing rectangle * @return the rotated rectangle */ zathura_rectangle_t rotate_rectangle(zathura_rectangle_t rectangle, unsigned int degree, double height, double width); /** * Calculates the new coordinates based on the rotation and scale level of the * document for the given rectangle * * @param page Page where the rectangle should be * @param rectangle The rectangle * @return New rectangle */ zathura_rectangle_t recalc_rectangle(zathura_page_t* page, zathura_rectangle_t rectangle); /** * Returns the page widget of the page * * @param zathura The zathura instance * @param page The page object * @return The page widget of the page * @return NULL if an error occured */ GtkWidget* zathura_page_get_widget(zathura_t* zathura, zathura_page_t* page); /** * Set if the search results should be drawn or not * * @param zathura Zathura instance * @param value true if they should be drawn, otherwise false */ void document_draw_search_results(zathura_t* zathura, bool value); /** * Create zathura version string * * @param zathura The zathura instance * @param markup Enable markup * @return Version string */ char* zathura_get_version_string(zathura_t* zathura, bool markup); /** * Replaces all occurences of \ref old in \ref string with \ref new and returns * a new allocated string * * @param string The original string * @param old String to replace * @param new Replacement string * * @return new allocated string */ 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 zathura-0.2.6/zathurarc.5.rst0000644000175000001440000004203512244447777014773 0ustar mockusers========= zathurarc ========= -------------------------- zathura configuration file -------------------------- :Author: pwmt.org :Date: VERSION :Manual section: 5 SYNOPSIS ======== /etc/zathurarc, $XDG_CONFIG_HOME/zathura/zathurarc DESCRIPTION =========== The *zathurarc* file is a simple plain text file that can be populated with various commands to change the behaviour and the look of zathura which we are going to describe in the following subsections. Each line (besides empty lines and comments (which start with a prepended #) is evaluated on its own, so it is not possible to write multiple commands in one single line. COMMANDS ======== set - Changing options ---------------------- In addition to the build-in ``:set`` command zathura offers more options to be changed and makes those changes permanent. To overwrite an option you just have to add a line structured like the following :: set