Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog11
-rw-r--r--help/ChangeLog4
-rw-r--r--help/uk/uk.po319
-rw-r--r--shell/ev-page-cache.c13
4 files changed, 186 insertions, 161 deletions
diff --git a/ChangeLog b/ChangeLog
index 97f08e3..ada5fa9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-08-14 Justin Blanchard <justinb04@aim.com>
+
+ * shell/ev-page-cache.c: (build_height_to_page),
+ (ev_page_cache_get_height_to_page):
+
+ Fixes invalid read, see bug #466401.
+
2007-08-11 Carlos Garcia Campos <carlosgc@gnome.org>
* cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
@@ -6,7 +13,7 @@
(configure_item_cursor), (new_pixbuf_from_widget):
Fix multihead problems in toolbar editor. Fixes bug #382055.
-
+
2007-08-11 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (ev_window_cmd_file_open),
@@ -14,7 +21,7 @@
Use g_get_user_special_dir when available instead of
xdg_user_dir_lookup.
-
+
2007-08-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* MAINTAINERS:
diff --git a/help/ChangeLog b/help/ChangeLog
index 7db872c..48dc1d2 100644
--- a/help/ChangeLog
+++ b/help/ChangeLog
@@ -1,3 +1,7 @@
+2007-08-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
+
+ * uk/uk.po:
+
2007-07-31 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
* ca/figues: renamed to ca/figures.
diff --git a/help/uk/uk.po b/help/uk/uk.po
index ea7d672..5f83608 100644
--- a/help/uk/uk.po
+++ b/help/uk/uk.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: evince manual\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-03-12 07:45+0000\n"
+"POT-Creation-Date: 2007-08-14 07:47+0400\n"
"PO-Revision-Date: 2007-03-11 21:19+0300\n"
"Last-Translator: Maxim Dziumanenko <dziumanenko@gmail.com>\n"
"Language-Team: Ukrainian <uk@li.org>\n"
@@ -17,7 +17,7 @@ msgstr ""
#. When image changes, this message will be marked fuzzy or untranslated for you.
#. It doesn't matter what you translate it to: it's not used at all.
-#: C/evince.xml:146(None)
+#: ../C/evince.xml:146(None)
msgid ""
"@@image: 'figures/evince_start_window.png'; "
"md5=7f4da5e33bcac35738a268d93d497d47"
@@ -25,11 +25,11 @@ msgstr ""
"@@image: 'figures/evince_start_window.png'; "
"md5=7f4da5e33bcac35738a268d93d497d47"
-#: C/evince.xml:25(title)
+#: ../C/evince.xml:25(title)
msgid "Evince Document Viewer Manual"
msgstr "Довідка з переглядача документів Evince"
-#: C/evince.xml:27(para)
+#: ../C/evince.xml:27(para)
msgid ""
"The Evince Document Viewer application enables you to view documents of "
"various formats like Portable Document Format (PDF) files and PostScript "
@@ -39,28 +39,28 @@ msgstr ""
"переглядати документи різних форматів, наприклад файлів Portable Document "
"Format (PDF) чи PostScript."
-#: C/evince.xml:33(year)
+#: ../C/evince.xml:33(year)
msgid "2005"
msgstr "2005"
-#: C/evince.xml:34(holder) C/evince.xml:91(para)
+#: ../C/evince.xml:34(holder) ../C/evince.xml:91(para)
msgid "Nickolay V. Shmyrev"
msgstr "Nickolay V. Shmyrev"
-#: C/evince.xml:37(year)
+#: ../C/evince.xml:37(year)
msgid "2004"
msgstr "2004"
-#: C/evince.xml:38(holder) C/evince.xml:61(orgname)
+#: ../C/evince.xml:38(holder) ../C/evince.xml:61(orgname)
msgid "Sun Microsystems"
msgstr "Sun Microsystems"
-#: C/evince.xml:49(publishername) C/evince.xml:67(orgname)
-#: C/evince.xml:92(para)
+#: ../C/evince.xml:49(publishername) ../C/evince.xml:67(orgname)
+#: ../C/evince.xml:92(para)
msgid "GNOME Documentation Project"
msgstr "Проект документування GNOME"
-#: C/evince.xml:2(para)
+#: ../C/evince.xml:2(para)
msgid ""
"Permission is granted to copy, distribute and/or modify this document under "
"the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any "
@@ -76,7 +76,7 @@ msgstr ""
"сторінки. Копію GFDL можна знайти <ulink type=\"help\" url=\"ghelp:fdl\">за "
"адресою</ulink> або у файлі COPYING-DOCS, що постачається з цією довідкою."
-#: C/evince.xml:12(para)
+#: ../C/evince.xml:12(para)
msgid ""
"This manual is part of a collection of GNOME manuals distributed under the "
"GFDL. If you want to distribute this manual separately from the collection, "
@@ -88,7 +88,7 @@ msgstr ""
"можете це зробити додавши до довідки копію ліцензії, як описано у пункті 6 "
"ліцензії."
-#: C/evince.xml:19(para)
+#: ../C/evince.xml:19(para)
msgid ""
"Many of the names used by companies to distinguish their products and "
"services are claimed as trademarks. Where those names appear in any GNOME "
@@ -102,7 +102,7 @@ msgstr ""
"вони є торговими марками, тоді ці назви пишуться великими літерами або "
"починаються з великої літери."
-#: C/evince.xml:35(para)
+#: ../C/evince.xml:35(para)
msgid ""
"DOCUMENT IS PROVIDED ON AN \"AS IS\" BASIS, WITHOUT WARRANTY OF ANY KIND, "
"EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT "
@@ -128,7 +128,7 @@ msgstr ""
"ДОПУСКАЄТЬСЯ ВИКОРИСТАННЯ ЦЬОГО ДОКУМЕНТУ АБО ЙОГО ЗМІНЕНОЇ ВЕРСІЇ БЕЗ "
"ПРИЙНЯТТЯ ЦІЄЇ ВІДМОВИ; ТА"
-#: C/evince.xml:55(para)
+#: ../C/evince.xml:55(para)
msgid ""
"UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER IN TORT (INCLUDING "
"NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE AUTHOR, INITIAL WRITER, ANY "
@@ -153,7 +153,7 @@ msgstr ""
"ВЕРСІЙ ЦЬОГО ДОКУМЕНТУ, НАВІТЬ ЯКЩО ЦІ СТОРОНИ, МОЖЛИВО, БУЛИ ПРОІНФОРМОВАНІ "
"ПРО МОЖЛИВІСТЬ ТАКИХ ЗБИТКІВ."
-#: C/evince.xml:28(para)
+#: ../C/evince.xml:28(para)
msgid ""
"DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT ARE PROVIDED UNDER THE TERMS "
"OF THE GNU FREE DOCUMENTATION LICENSE WITH THE FURTHER UNDERSTANDING THAT: "
@@ -162,43 +162,43 @@ msgstr ""
"ДОКУМЕНТ ТА ЗМІНЕНІ ВЕРСІЇ ЦЬОГО ДОКУМЕНТУ ПОСТАЧАЮТЬСЯ НА УМОВАХ ВІЛЬНОЇ "
"ЛІЦЕНЗІЇ ДЛЯ ДОКУМЕНТАЦІЇ GNU З ПОДАЛЬШИМ РОЗУМІННЯМ ЩО: <placeholder-1/>"
-#: C/evince.xml:59(firstname)
+#: ../C/evince.xml:59(firstname)
msgid "Sun"
msgstr "Sun"
-#: C/evince.xml:60(surname)
+#: ../C/evince.xml:60(surname)
msgid "GNOME Documentation Team"
msgstr "Команда документування GNOME"
-#: C/evince.xml:64(firstname)
+#: ../C/evince.xml:64(firstname)
msgid "Nickolay V."
msgstr "Николай В."
-#: C/evince.xml:65(surname)
+#: ../C/evince.xml:65(surname)
msgid "Shmyrev"
msgstr "Шмирьов"
-#: C/evince.xml:68(email)
+#: ../C/evince.xml:68(email)
msgid "nshmyrev@yandex.ru"
msgstr "nshmyrev@yandex.ru"
-#: C/evince.xml:88(revnumber)
+#: ../C/evince.xml:88(revnumber)
msgid "Evince Document Viewer Manual V1.0"
msgstr "Довідка з переглядача документів Evince версії 1.0"
-#: C/evince.xml:89(date)
+#: ../C/evince.xml:89(date)
msgid "2005-04-06"
msgstr "2005-04-06"
-#: C/evince.xml:97(releaseinfo)
+#: ../C/evince.xml:97(releaseinfo)
msgid "This manual describes version 0.2 of Evince Document Viewer"
msgstr "У цьому довіднику описується Переглядач документів Evince версії 0.2."
-#: C/evince.xml:100(title)
+#: ../C/evince.xml:100(title)
msgid "Feedback"
msgstr "Зворотний зв'язок"
-#: C/evince.xml:101(para)
+#: ../C/evince.xml:101(para)
msgid ""
"To report a bug or make a suggestion regarding the Evince Document Viewer "
"application or this manual, follow the directions in the <ulink url=\"ghelp:"
@@ -209,19 +209,19 @@ msgstr ""
"сторінці <ulink url=\"ghelp:gnome-feedback\" type=\"help\">Зворотний зв'язок "
"з GNOME</ulink>."
-#: C/evince.xml:108(primary)
+#: ../C/evince.xml:108(primary)
msgid "Evince Document Viewer"
msgstr "Програма перегляду документів Evince"
-#: C/evince.xml:111(primary)
+#: ../C/evince.xml:111(primary)
msgid "evince"
msgstr "evince"
-#: C/evince.xml:119(title)
+#: ../C/evince.xml:119(title)
msgid "Introduction"
msgstr "Вступ"
-#: C/evince.xml:120(para)
+#: ../C/evince.xml:120(para)
msgid ""
"The <application>Evince Document Viewer</application> application enables "
"you to view documents of various formats like Portable Document Format (PDF) "
@@ -235,15 +235,15 @@ msgstr ""
"<application>Переглядач документів Evince</application> відповідає "
"стандартам Freedesktop.org та GNOME."
-#: C/evince.xml:127(title)
+#: ../C/evince.xml:127(title)
msgid "Getting Started"
msgstr "Початок роботи"
-#: C/evince.xml:130(title)
+#: ../C/evince.xml:130(title)
msgid "To Start Evince Document Viewer"
msgstr "Запуск програми Evince"
-#: C/evince.xml:131(para)
+#: ../C/evince.xml:131(para)
msgid ""
"<application>Evince Document Viewer</application> starts when you open a "
"document such as a PDF or PostScript file."
@@ -251,7 +251,7 @@ msgstr ""
"При відкриванні документу типів PDF чи PostScript відкривається вікно "
"програми <application>Evince</application>:"
-#: C/evince.xml:132(para)
+#: ../C/evince.xml:132(para)
msgid ""
"Alternatively, you can start <application>Evince Document Viewer</"
"application> from the command line, with the command: <command>evince</"
@@ -259,11 +259,11 @@ msgid ""
msgstr ""
"<application>Evince</application> також можна запустити з командного рядка."
-#: C/evince.xml:137(title)
+#: ../C/evince.xml:137(title)
msgid "When You Start Evince Document Viewer"
msgstr "Після першого запуску програми Evince"
-#: C/evince.xml:138(para)
+#: ../C/evince.xml:138(para)
msgid ""
"When you start <application>Evince Document Viewer</application>, the "
"following window is displayed."
@@ -271,11 +271,11 @@ msgstr ""
"Після запуску програми <application>Переглядач документів Evince</"
"application> відкриється наступне вікно."
-#: C/evince.xml:142(title)
+#: ../C/evince.xml:142(title)
msgid "Evince Document Viewer Window"
msgstr "Вікно програми перегляду документів Evince."
-#: C/evince.xml:149(phrase)
+#: ../C/evince.xml:149(phrase)
msgid ""
"Shows Evince Document Viewer main window. Contains titlebar, menubar, "
"toolbar and display area. Menubar contains File, Edit, View, Go and Help "
@@ -285,7 +285,7 @@ msgstr ""
"заголовок, панель меню, панель інструментів та область відображення. Меню "
"містить пункти Файл, Правка, Вигляд, Перейти та Довідка."
-#: C/evince.xml:155(para)
+#: ../C/evince.xml:155(para)
msgid ""
"The <application>Evince Document Viewer</application> window contains the "
"following elements:"
@@ -293,11 +293,11 @@ msgstr ""
"Вікно програми <application>Переглядач документів Evince</application> "
"містить наступні елементи:"
-#: C/evince.xml:159(term) C/evince.xml:207(para)
+#: ../C/evince.xml:159(term) ../C/evince.xml:207(para)
msgid "Menubar"
msgstr "Панель меню"
-#: C/evince.xml:161(para)
+#: ../C/evince.xml:161(para)
msgid ""
"The menus on the menubar contain all of the commands that you need to work "
"with documents in <application>Evince Document Viewer</application>."
@@ -305,37 +305,37 @@ msgstr ""
"Меню містить усі необхідні для роботи з документами команди у програмі "
"<application>Evince</application>."
-#: C/evince.xml:165(term)
+#: ../C/evince.xml:165(term)
msgid "Toolbar"
msgstr "Панель меню"
-#: C/evince.xml:167(para)
+#: ../C/evince.xml:167(para)
msgid ""
"The toolbar contains a subset of the commands that you can access from the "
"menubar."
msgstr "Панель меню містить піднабір доступних у меню команд."
-#: C/evince.xml:171(term)
+#: ../C/evince.xml:171(term)
msgid "Display area"
msgstr "Область відображення"
-#: C/evince.xml:173(para)
+#: ../C/evince.xml:173(para)
msgid "The display area displays the document."
msgstr "Область відображення показує вміст документу."
-#: C/evince.xml:187(para)
+#: ../C/evince.xml:187(para)
msgid "UI Component"
msgstr "Графічний компонент"
-#: C/evince.xml:189(para)
+#: ../C/evince.xml:189(para)
msgid "Action"
msgstr "Дія"
-#: C/evince.xml:194(para)
+#: ../C/evince.xml:194(para)
msgid "Window"
msgstr "Вікно"
-#: C/evince.xml:198(para)
+#: ../C/evince.xml:198(para)
msgid ""
"Drag a file into the <application>Evince Document Viewer</application> "
"window from another application such as a file manager."
@@ -343,11 +343,11 @@ msgstr ""
"Перетягніть файл у вікно програми <application>Evince</application> з іншої "
"програми, наприклад, менеджера файлів."
-#: C/evince.xml:201(para)
+#: ../C/evince.xml:201(para)
msgid "Double-click on the file name in the file manager"
msgstr "Двічі клацніть на назві файлу у файловому менеджері"
-#: C/evince.xml:208(para) C/evince.xml:235(para)
+#: ../C/evince.xml:208(para) ../C/evince.xml:235(para)
msgid ""
"Choose <menuchoice><guimenu>File</guimenu><guimenuitem>Open</guimenuitem></"
"menuchoice>."
@@ -355,23 +355,28 @@ msgstr ""
"Виберіть <menuchoice><guimenu>Файл</guimenu><guimenuitem>Відкрити</"
"guimenuitem></menuchoice>."
-#: C/evince.xml:212(para)
+#: ../C/evince.xml:212(para)
msgid "Shortcut keys"
msgstr "Комбінації клавіш"
-#: C/evince.xml:213(para)
+#: ../C/evince.xml:213(para)
msgid "Press <keycombo><keycap>Ctrl</keycap><keycap>O</keycap></keycombo>."
msgstr ""
"Натисніть <keycombo><keycap>Ctrl</keycap><keycap>O</keycap></keycombo>."
-#: C/evince.xml:178(para)
+#: ../C/evince.xml:178(para)
+#, fuzzy
msgid ""
"In <application>Evince Document Viewer</application>, you can perform the "
"same action in several ways. For example, you can open a document in the "
"following ways: <informaltable frame=\"all\"><tgroup cols=\"2\" colsep=\"1\" "
"rowsep=\"1\"><colspec colname=\"COLSPEC0\" colwidth=\"50*\"/><colspec "
-"colname=\"COLSPEC1\" colwidth=\"50*\"/><placeholder-1/><placeholder-2/></"
-"tgroup></informaltable>"
+"colname=\"COLSPEC1\" colwidth=\"50*\"/><thead><row valign=\"top\"><entry "
+"colname=\"COLSPEC0\"><placeholder-1/></entry><entry colname=\"COLSPEC1\" "
+"align=\"left\"><placeholder-2/></entry></row></thead><tbody><row valign=\"top"
+"\"><placeholder-3/><entry><placeholder-4/></entry></row><row valign=\"top"
+"\"><placeholder-5/><entry><placeholder-6/></entry></row><row valign=\"top"
+"\"><placeholder-7/><placeholder-8/></row></tbody></tgroup></informaltable>"
msgstr ""
"У програмі <application>Evince</application> одні й ті самі дії можна "
"виконувати кількома способами. Наприклад, документ можна відкрити наступним "
@@ -380,23 +385,23 @@ msgstr ""
"\"COLSPEC1\" colwidth=\"50*\"/><placeholder-1/><placeholder-2/></tgroup></"
"informaltable>"
-#: C/evince.xml:219(para)
+#: ../C/evince.xml:219(para)
msgid "This manual documents functionality from the menubar."
msgstr "У цьому документі описуються дії з використанням меню."
-#: C/evince.xml:227(title)
+#: ../C/evince.xml:227(title)
msgid "Usage"
msgstr "Використання"
-#: C/evince.xml:231(title)
+#: ../C/evince.xml:231(title)
msgid "To Open A Document"
msgstr "Відкривання документу"
-#: C/evince.xml:232(para)
+#: ../C/evince.xml:232(para)
msgid "To open a document, perform the following steps:"
msgstr "Щоб відкрити документ виконайте наступні кроки:"
-#: C/evince.xml:239(para)
+#: ../C/evince.xml:239(para)
msgid ""
"In the <guilabel>Open Document</guilabel> dialog, select the file you want "
"to open."
@@ -404,7 +409,7 @@ msgstr ""
"У діалоговому вікні <guilabel>Відкрити документ</guilabel> виберіть "
"потрібний файл."
-#: C/evince.xml:244(para)
+#: ../C/evince.xml:244(para)
msgid ""
"Click <guibutton>Open</guibutton>. <application>Evince Document Viewer</"
"application> displays the name of the document in the titlebar of the window."
@@ -412,7 +417,7 @@ msgstr ""
"Натисніть <guibutton>Відкрити</guibutton>. <application>Evince</application> "
"відобразить назву документу у заголовку вікна."
-#: C/evince.xml:249(para)
+#: ../C/evince.xml:249(para)
msgid ""
"To open another document, choose <menuchoice><guimenu>File</"
"guimenu><guimenuitem>Open</guimenuitem></menuchoice> again. "
@@ -423,7 +428,7 @@ msgstr ""
"guimenu><guimenuitem>Відкрити</guimenuitem></menuchoice>. "
"<application>Evince</application> відкриває кожен файл у новому вікні."
-#: C/evince.xml:252(para)
+#: ../C/evince.xml:252(para)
msgid ""
"If you try to open a document with format that <application>Evince Document "
"Viewer</application> does not recognize, the application displays an error "
@@ -432,15 +437,15 @@ msgstr ""
"Якщо ви відкриваєте документ у невідомому програмі форматі, відобразиться "
"повідомлення про помилку."
-#: C/evince.xml:258(title)
+#: ../C/evince.xml:258(title)
msgid "To Navigate Through a Document"
msgstr "Навігація по документу"
-#: C/evince.xml:259(para)
+#: ../C/evince.xml:259(para)
msgid "You can navigate through a file as follows:"
msgstr "Переміщуватись по документу можна наступним чином:"
-#: C/evince.xml:262(para)
+#: ../C/evince.xml:262(para)
msgid ""
"To view the next page, choose <menuchoice><guimenu>Go</"
"guimenu><guimenuitem>Next Page</guimenuitem></menuchoice>."
@@ -448,7 +453,7 @@ msgstr ""
"Щоб перейти до наступної сторінки, виберіть <menuchoice><guimenu>Перейти</"
"guimenu><guimenuitem>Вперед</guimenuitem></menuchoice>."
-#: C/evince.xml:266(para)
+#: ../C/evince.xml:266(para)
msgid ""
"To view the previous page, choose <menuchoice><guimenu>Go</"
"guimenu><guimenuitem>Previous Page</guimenuitem></menuchoice>."
@@ -456,7 +461,7 @@ msgstr ""
"Щоб перейти до попередньої сторінки виберіть <menuchoice><guimenu>Перейти</"
"guimenu><guimenuitem>Назад</guimenuitem></menuchoice>."
-#: C/evince.xml:270(para)
+#: ../C/evince.xml:270(para)
msgid ""
"To view the first page in the document, choose <menuchoice><guimenu>Go</"
"guimenu><guimenuitem>First Page</guimenuitem></menuchoice>."
@@ -464,7 +469,7 @@ msgstr ""
"Щоб перейти до першої сторінки виберіть <menuchoice><guimenu>Перейти</"
"guimenu><guimenuitem>Початок</guimenuitem></menuchoice>."
-#: C/evince.xml:274(para)
+#: ../C/evince.xml:274(para)
msgid ""
"To view the last page in the document, choose <menuchoice><guimenu>Go</"
"guimenu><guimenuitem>Last Page</guimenuitem></menuchoice>."
@@ -472,7 +477,7 @@ msgstr ""
"Щоб перейти до останньої сторінки виберіть <menuchoice><guimenu>Перейти</"
"guimenu><guimenuitem>Кінець</guimenuitem></menuchoice>."
-#: C/evince.xml:278(para)
+#: ../C/evince.xml:278(para)
msgid ""
"To view a particular page, enter the page number or page label in the text "
"box on the toolbar, then press <keycap>Return</keycap>."
@@ -480,11 +485,11 @@ msgstr ""
"Щоб перейти до певної сторінки введіть її номер або позначку у текстовому "
"полі на панелі інструментів та натисніть <keycap>Enter</keycap>."
-#: C/evince.xml:285(title)
+#: ../C/evince.xml:285(title)
msgid "To Scroll a Page"
msgstr "Прокрутка сторінки"
-#: C/evince.xml:286(para)
+#: ../C/evince.xml:286(para)
msgid ""
"To display the page contents that are not currently displayed in the display "
"area, use the following methods:"
@@ -492,11 +497,11 @@ msgstr ""
"Переглянути вміст сторінки, який не умістився у області відображення, можна "
"таким чином:"
-#: C/evince.xml:289(para)
+#: ../C/evince.xml:289(para)
msgid "Use the arrow keys or space key on the keyboard."
msgstr "Скористайтесь клавішами зі стрілками."
-#: C/evince.xml:292(para)
+#: ../C/evince.xml:292(para)
msgid ""
"Drag the display area by clicking with the middle mouse button somewhere in "
"the document and then moving the mouse. For example, to scroll down the "
@@ -506,15 +511,15 @@ msgstr ""
"хочете прокрутити сторінку. Наприклад, щоб прокрутити сторінку вниз, "
"перетягніть область відображення вікна вгору."
-#: C/evince.xml:295(para)
+#: ../C/evince.xml:295(para)
msgid "Use the scrollbars on the window."
msgstr "Скористайтесь смугами прокрутки вікна."
-#: C/evince.xml:302(title)
+#: ../C/evince.xml:302(title)
msgid "To Change the Page Size"
msgstr "Зміна розміру сторінки"
-#: C/evince.xml:303(para)
+#: ../C/evince.xml:303(para)
msgid ""
"You can use the following methods to resize a page in the "
"<application>Evince Document Viewer</application> display area:"
@@ -522,7 +527,7 @@ msgstr ""
"Змінити розмір сторінки у вікні програми <application>Evince</application> "
"можна так:"
-#: C/evince.xml:308(para)
+#: ../C/evince.xml:308(para)
msgid ""
"To increase the page size, choose <menuchoice><guimenu>View</"
"guimenu><guimenuitem>Zoom In</guimenuitem></menuchoice>."
@@ -530,7 +535,7 @@ msgstr ""
"Для збільшення сторінки виберіть <menuchoice><guimenu>Вигляд</"
"guimenu><guimenuitem>Збільшити</guimenuitem></menuchoice>."
-#: C/evince.xml:313(para)
+#: ../C/evince.xml:313(para)
msgid ""
"To decrease the page size, choose <menuchoice><guimenu>View</"
"guimenu><guimenuitem>Zoom Out</guimenuitem></menuchoice>."
@@ -538,7 +543,7 @@ msgstr ""
"Для зменшення сторінки виберіть <menuchoice><guimenu>Вигляд</"
"guimenu><guimenuitem>Зменшити</guimenuitem></menuchoice>."
-#: C/evince.xml:318(para)
+#: ../C/evince.xml:318(para)
msgid ""
"To resize a page to have the same width as the <application>Evince Document "
"Viewer</application> display area, choose <menuchoice><guimenu>View</"
@@ -548,7 +553,7 @@ msgstr ""
"відображення програми виберіть <menuchoice><guimenu>Вигляд</"
"guimenu><guimenuitem>По ширині сторінки</guimenuitem></menuchoice>."
-#: C/evince.xml:323(para)
+#: ../C/evince.xml:323(para)
msgid ""
"To resize a page to fit within the <application>Evince Document Viewer</"
"application> display area, choose <menuchoice><guimenu>View</"
@@ -558,7 +563,7 @@ msgstr ""
"відображення програми виберіть <menuchoice><guimenu>Вигляд</"
"guimenu><guimenuitem>По ширині сторінки</guimenuitem></menuchoice>."
-#: C/evince.xml:328(para)
+#: ../C/evince.xml:328(para)
msgid ""
"To resize the <application>Evince Document Viewer</application> window to "
"have the same width and height as the screen, choose "
@@ -574,15 +579,15 @@ msgstr ""
"application> натисніть кнопку <guibutton>Вийти з повноекранного режиму</"
"guibutton>."
-#: C/evince.xml:336(title)
+#: ../C/evince.xml:336(title)
msgid "To View Pages or Document Structure"
msgstr "Перегляд сторінок чи структури документу"
-#: C/evince.xml:337(para)
+#: ../C/evince.xml:337(para)
msgid "To view bookmarks or pages, perform the following steps:"
msgstr "Для перегляду закладок чи сторінок виконайте наступні дії:"
-#: C/evince.xml:341(para)
+#: ../C/evince.xml:341(para)
msgid ""
"Choose <menuchoice><guimenu>View</guimenu><guimenuitem>Sidebar</"
"guimenuitem></menuchoice> or press <keycap>F9</keycap>."
@@ -590,7 +595,7 @@ msgstr ""
"Виберіть <menuchoice><guimenu>Вигляд</guimenu><guimenuitem>Бічна панель</"
"guimenuitem></menuchoice> або натисніть <keycap>F9</keycap>."
-#: C/evince.xml:346(para)
+#: ../C/evince.xml:346(para)
msgid ""
"Use the drop-down list in the side-pane header to select whether to display "
"document structure or pages in the side pane."
@@ -598,7 +603,7 @@ msgstr ""
"Використовуючи розкривний список у заголовку бічної панелі вкажіть чи "
"відображати у бічній панелі структуру документа, або ж сторінки."
-#: C/evince.xml:351(para)
+#: ../C/evince.xml:351(para)
msgid ""
"Use the side-pane scrollbars to display the required item or page in the "
"side pane."
@@ -606,7 +611,7 @@ msgstr ""
"Користуйтесь смугою прокрутки бічної панелі для відображення потрібного "
"пункту або сторінки."
-#: C/evince.xml:356(para)
+#: ../C/evince.xml:356(para)
msgid ""
"Click on an entry to navigate to that location in the document. Click on a "
"page to navigate to that page in the document."
@@ -614,11 +619,11 @@ msgstr ""
"Клацніть на елементі для переходу у відповідне місце документа. Натисніть на "
"сторінці для переходу до цієї сторінки документу."
-#: C/evince.xml:362(title)
+#: ../C/evince.xml:362(title)
msgid "To View the Properties of a Document"
msgstr "Перегляд властивостей документа"
-#: C/evince.xml:363(para)
+#: ../C/evince.xml:363(para)
msgid ""
"To view the properties of a document, choose <menuchoice><guimenu>File</"
"guimenu><guimenuitem>Properties</guimenuitem></menuchoice>."
@@ -626,18 +631,18 @@ msgstr ""
"Щоб переглянути властивості документа виберіть <menuchoice><guimenu>Файл</"
"guimenu><guimenuitem>Властивості</guimenuitem></menuchoice>."
-#: C/evince.xml:369(para)
+#: ../C/evince.xml:369(para)
msgid ""
"The <guilabel>Properties</guilabel> dialog displays all information available"
msgstr ""
"Уся наявна інформація відобразиться у діалоговому вікні "
"<guilabel>Властивості</guilabel>"
-#: C/evince.xml:375(title)
+#: ../C/evince.xml:375(title)
msgid "To Print a Document"
msgstr "Друк документу"
-#: C/evince.xml:376(para)
+#: ../C/evince.xml:376(para)
msgid ""
"To print a Document, choose <menuchoice><guimenu>File</"
"guimenu><guimenuitem>Print</guimenuitem></menuchoice>."
@@ -645,7 +650,7 @@ msgstr ""
"Щоб надрукувати документ виберіть <menuchoice><guimenu>Файл</"
"guimenu><guimenuitem>Друк</guimenuitem></menuchoice>."
-#: C/evince.xml:380(para)
+#: ../C/evince.xml:380(para)
msgid ""
"If you cannot choose the <guimenuitem>Print</guimenuitem> menu item, the "
"author of the document has disabled the print option for this document. To "
@@ -658,47 +663,48 @@ msgstr ""
"ввести пароль до відкритого документу. Докладніше про захищені паролем файли "
"дивіться у <xref linkend=\"evince-password\"/>."
-#: C/evince.xml:384(para)
+#: ../C/evince.xml:384(para)
msgid ""
"The <guilabel>Print</guilabel> dialog has the following tabbed sections:"
msgstr "Діалогове вікно <guilabel>Друк</guilabel> має наступні вкладки:"
-#: C/evince.xml:390(link) C/evince.xml:406(title)
+#: ../C/evince.xml:390(link) ../C/evince.xml:406(title)
msgid "Job"
msgstr "Завдання"
-#: C/evince.xml:395(link) C/evince.xml:428(title) C/evince.xml:430(guilabel)
+#: ../C/evince.xml:395(link) ../C/evince.xml:428(title)
+#: ../C/evince.xml:430(guilabel)
msgid "Printer"
msgstr "Принтер"
-#: C/evince.xml:400(link) C/evince.xml:522(title)
+#: ../C/evince.xml:400(link) ../C/evince.xml:522(title)
msgid "Paper"
msgstr "Папір"
-#: C/evince.xml:408(guilabel)
+#: ../C/evince.xml:408(guilabel)
msgid "Print range"
msgstr "Друкувати сторінки"
-#: C/evince.xml:410(para)
+#: ../C/evince.xml:410(para)
msgid ""
"Select one of the following options to determine how many pages to print:"
msgstr ""
"Для визначення кількості сторінок для друку виберіть один з наступних "
"параметрів:"
-#: C/evince.xml:413(guilabel)
+#: ../C/evince.xml:413(guilabel)
msgid "All"
msgstr "Всі"
-#: C/evince.xml:414(para)
+#: ../C/evince.xml:414(para)
msgid "Select this option to print all of the pages in the document."
msgstr "Відмітьте цей параметр для друкування усіх сторінок документа."
-#: C/evince.xml:417(guilabel)
+#: ../C/evince.xml:417(guilabel)
msgid "Pages From"
msgstr "Поточну"
-#: C/evince.xml:418(para)
+#: ../C/evince.xml:418(para)
msgid ""
"Select this option to print the selected range of pages in the document. Use "
"the spin boxes to specify the first page and last page of the range."
@@ -706,7 +712,7 @@ msgstr ""
"Відмітьте цей параметр для друкування діапазону сторінок документа. "
"Користуючись полем зі стрілками вкажіть першу та останню сторінки діапазону."
-#: C/evince.xml:432(para)
+#: ../C/evince.xml:432(para)
msgid ""
"Use this drop-down list to select the printer to which you want to print the "
"document."
@@ -714,7 +720,7 @@ msgstr ""
"Використовуючи розкривний список виберіть принтер, на який треба надрукувати "
"документ."
-#: C/evince.xml:434(para)
+#: ../C/evince.xml:434(para)
msgid ""
"The <guilabel>Create a PDF document</guilabel> option is not supported in "
"this version of <application>Evince Document Viewer</application>."
@@ -722,15 +728,15 @@ msgstr ""
"Параметр <guilabel>Створити документ PDF</guilabel> не підтримується у цій "
"версії програми."
-#: C/evince.xml:440(guilabel)
+#: ../C/evince.xml:440(guilabel)
msgid "Settings"
msgstr "Параметри"
-#: C/evince.xml:442(para)
+#: ../C/evince.xml:442(para)
msgid "Use this drop-down list to select the printer settings."
msgstr "Використовуючи розкривний список виберіть параметри принтера."
-#: C/evince.xml:444(para)
+#: ../C/evince.xml:444(para)
msgid ""
"To configure the printer, click <guibutton>Configure</guibutton>. For "
"example, you can enable or disable duplex printing, or schedule delayed "
@@ -740,25 +746,25 @@ msgstr ""
"Наприклад, можна увімкнути або вимкнути дуплексний друк, або відкласти друк "
"до певного часу, якщо ця функціональність підтримується принтером."
-#: C/evince.xml:448(guilabel)
+#: ../C/evince.xml:448(guilabel)
msgid "Location"
msgstr "Розташування"
-#: C/evince.xml:450(para)
+#: ../C/evince.xml:450(para)
msgid ""
"Use this drop-down list to select one of the following print destinations:"
msgstr ""
"Використовуючи розкривний список виберіть одну з наступних цілей для друку:"
-#: C/evince.xml:455(guilabel)
+#: ../C/evince.xml:455(guilabel)
msgid "CUPS"
msgstr "CUPS"
-#: C/evince.xml:457(para)
+#: ../C/evince.xml:457(para)
msgid "Print the document to a CUPS printer."
msgstr "Друкувати документ на принтер CUPS."
-#: C/evince.xml:461(para)
+#: ../C/evince.xml:461(para)
msgid ""
"If the selected printer is a CUPS printer, <guilabel>CUPS</guilabel> is the "
"only entry in this drop-down list."
@@ -766,23 +772,23 @@ msgstr ""
"Якщо виділений принтер є принтером CUPS, тоді у цьому розкривному списку є "
"єдиний елемент - <guilabel>CUPS</guilabel>."
-#: C/evince.xml:468(guilabel)
+#: ../C/evince.xml:468(guilabel)
msgid "lpr"
msgstr "lpr"
-#: C/evince.xml:470(para)
+#: ../C/evince.xml:470(para)
msgid "Print the document to a printer."
msgstr "Друкувати документ на принтер."
-#: C/evince.xml:476(guilabel)
+#: ../C/evince.xml:476(guilabel)
msgid "File"
msgstr "Файл"
-#: C/evince.xml:478(para)
+#: ../C/evince.xml:478(para)
msgid "Print the document to a PostScript file."
msgstr "Друкувати документ у файл PostScript."
-#: C/evince.xml:481(para)
+#: ../C/evince.xml:481(para)
msgid ""
"Click <guibutton>Save As</guibutton> to display a dialog where you specify "
"the name and location of the PostScript file."
@@ -790,25 +796,26 @@ msgstr ""
"Натисніть <guibutton>Зберегти як</guibutton> щоб відкрити діалогове вікно,"
"якому вказується назва та розташування файлу PostScript."
-#: C/evince.xml:487(guilabel)
+#: ../C/evince.xml:487(guilabel)
msgid "Custom"
msgstr "Інший"
-#: C/evince.xml:489(para)
+#: ../C/evince.xml:489(para)
msgid "Use the specified command to print the document."
msgstr "Для друку на принтер використовується вказана команда."
-#: C/evince.xml:492(para)
+#: ../C/evince.xml:492(para)
msgid ""
"Type the name of the command in the text box. Include all command-line "
"arguments."
msgstr "Введіть у текстовому полі назву команди та її аргументи."
-#: C/evince.xml:500(guilabel)
+#: ../C/evince.xml:500(guilabel)
msgid "State"
msgstr "Стан"
-#: C/evince.xml:502(para) C/evince.xml:508(para) C/evince.xml:514(para)
+#: ../C/evince.xml:502(para) ../C/evince.xml:508(para)
+#: ../C/evince.xml:514(para)
msgid ""
"This functionality is not supported in this version of <application>Evince "
"Document Viewer</application>."
@@ -816,19 +823,19 @@ msgstr ""
"Ця функціональність не підтримується цією версією програми "
"<application>Evince</application>."
-#: C/evince.xml:506(guilabel)
+#: ../C/evince.xml:506(guilabel)
msgid "Type"
msgstr "Тип"
-#: C/evince.xml:512(guilabel)
+#: ../C/evince.xml:512(guilabel)
msgid "Comment"
msgstr "Коментар"
-#: C/evince.xml:524(guilabel)
+#: ../C/evince.xml:524(guilabel)
msgid "Paper size"
msgstr "Розмір аркуша"
-#: C/evince.xml:526(para)
+#: ../C/evince.xml:526(para)
msgid ""
"Use this drop-down list to select the size of the paper to which you want to "
"print the document."
@@ -836,11 +843,11 @@ msgstr ""
"У цьому розкривному списку можна вибрати розмір аркушів, на які ви "
"збираєтесь друкувати документ."
-#: C/evince.xml:529(guilabel)
+#: ../C/evince.xml:529(guilabel)
msgid "Width"
msgstr "Ширина"
-#: C/evince.xml:531(para)
+#: ../C/evince.xml:531(para)
msgid ""
"Use this spin box to specify the width of the paper. Use the adjacent drop-"
"down list to change the measurement unit."
@@ -848,37 +855,37 @@ msgstr ""
"У цьому полі з прокруткою визначається ширина сторінки. Одиниці виміру можна "
"змінити у розташованому ліворуч розкривному списку."
-#: C/evince.xml:534(guilabel)
+#: ../C/evince.xml:534(guilabel)
msgid "Height"
msgstr "Висота"
-#: C/evince.xml:536(para)
+#: ../C/evince.xml:536(para)
msgid "Use this spin box to specify the height of the paper."
msgstr "У цьому полі з прокруткою визначається висота сторінки."
-#: C/evince.xml:539(guilabel)
+#: ../C/evince.xml:539(guilabel)
msgid "Feed orientation"
msgstr "Орієнтація подачі"
-#: C/evince.xml:541(para)
+#: ../C/evince.xml:541(para)
msgid ""
"Use this drop-down list to select the orientation of the paper in the "
"printer."
msgstr "У цьому розкривному списку виберіть орієнтацію паперу у принтері."
-#: C/evince.xml:544(guilabel)
+#: ../C/evince.xml:544(guilabel)
msgid "Page orientation"
msgstr "Орієнтація аркуша"
-#: C/evince.xml:546(para)
+#: ../C/evince.xml:546(para)
msgid "Use this drop-down list to select the page orientation."
msgstr "У цьому розкривному списку виберіть орієнтацію сторінки."
-#: C/evince.xml:549(guilabel)
+#: ../C/evince.xml:549(guilabel)
msgid "Layout"
msgstr "Схема розташування"
-#: C/evince.xml:551(para)
+#: ../C/evince.xml:551(para)
msgid ""
"Use this drop-down list to select the page layout. A preview of each layout "
"that you select is displayed in the <guilabel>Preview</guilabel> area."
@@ -887,23 +894,23 @@ msgstr ""
"вигляд компонування сторінки відображається у полі <guilabel>Попередній "
"перегляд</guilabel>."
-#: C/evince.xml:554(guilabel)
+#: ../C/evince.xml:554(guilabel)
msgid "Paper Tray"
msgstr "Лоток"
-#: C/evince.xml:556(para)
+#: ../C/evince.xml:556(para)
msgid "Use this drop-down list to select the paper tray."
msgstr "У цьому розкривному списку вкажіть лоток з папером."
-#: C/evince.xml:566(title)
+#: ../C/evince.xml:566(title)
msgid "To Copy a Document"
msgstr "Копіювання документу"
-#: C/evince.xml:567(para)
+#: ../C/evince.xml:567(para)
msgid "To copy a file, perform the following steps:"
msgstr "Для копіювання файлу виконайте наступні кроки:"
-#: C/evince.xml:571(para)
+#: ../C/evince.xml:571(para)
msgid ""
"Choose <menuchoice><guimenu>File</guimenu><guimenuitem>Save a Copy</"
"guimenuitem></menuchoice>."
@@ -911,7 +918,7 @@ msgstr ""
"Виберіть <menuchoice><guimenu>Файл</guimenu><guimenuitem>Зберегти копію</"
"guimenuitem></menuchoice>."
-#: C/evince.xml:576(para)
+#: ../C/evince.xml:576(para)
msgid ""
"Type the new filename in the <guilabel>Filename</guilabel> text box in the "
"<guilabel>Save a Copy</guilabel> dialog."
@@ -919,7 +926,7 @@ msgstr ""
"Введіть назву нового файлу у текстовому полі <guilabel>Назва</guilabel> "
"діалогового вікна <guilabel>Зберегти копію</guilabel>."
-#: C/evince.xml:579(para)
+#: ../C/evince.xml:579(para)
msgid ""
"If necessary, specify the location of the copied document. By default, "
"copies are saved in your home directory."
@@ -927,24 +934,24 @@ msgstr ""
"При потребі, вкажіть розташування копії документа. Типово копія зберігається "
"у вашому домашньому каталозі."
-#: C/evince.xml:584(para)
+#: ../C/evince.xml:584(para)
msgid "Click <guibutton>Save</guibutton>."
msgstr "Натисніть <guibutton>Зберегти</guibutton>."
-#: C/evince.xml:593(title)
+#: ../C/evince.xml:593(title)
msgid "To Work With Password-Protected Documents"
msgstr "Робота із захищеними паролем документами"
-#: C/evince.xml:594(para)
+#: ../C/evince.xml:594(para)
msgid "An author can use the following password levels to protect a document:"
msgstr ""
"Автор може використовувати для захисту документа наступні рівні паролів:"
-#: C/evince.xml:599(para)
+#: ../C/evince.xml:599(para)
msgid "User password that allows others only to read the document."
msgstr "Пароль, що дозволяє читати документ."
-#: C/evince.xml:603(para)
+#: ../C/evince.xml:603(para)
msgid ""
"Master password that allows others to perform additional actions, such as "
"print the document."
@@ -952,7 +959,7 @@ msgstr ""
"Головний пароль, що дозволяє виконувати додаткові дії, наприклад друк "
"документа."
-#: C/evince.xml:607(para)
+#: ../C/evince.xml:607(para)
msgid ""
"When you try to open a password-protected document, <application>Evince "
"Document Viewer</application> displays a security dialog. Type either the "
@@ -965,11 +972,11 @@ msgstr ""
"текстовому полі або пароль, або головний пароль, потім натисніть "
"<guibutton>Відкрити документ</guibutton>."
-#: C/evince.xml:614(title)
+#: ../C/evince.xml:614(title)
msgid "To Close a Document"
msgstr "Закривання документа"
-#: C/evince.xml:615(para)
+#: ../C/evince.xml:615(para)
msgid ""
"To close a document, choose <menuchoice><guimenu>File</"
"guimenu><guimenuitem>Close</guimenuitem></menuchoice>."
@@ -977,7 +984,7 @@ msgstr ""
"Щоб закрити документ, виберіть <menuchoice><guimenu>Файл</"
"guimenu><guimenuitem>Закрити</guimenuitem></menuchoice>."
-#: C/evince.xml:617(para)
+#: ../C/evince.xml:617(para)
msgid ""
"If the window is the last <application>Evince Document Viewer</application> "
"window open, the application exits."
@@ -986,6 +993,6 @@ msgstr ""
"application>, програма завершується."
#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: C/evince.xml:0(None)
+#: ../C/evince.xml:0(None)
msgid "translator-credits"
msgstr "Максим Дзюманенко <dziumanenko@gmail.com>"
diff --git a/shell/ev-page-cache.c b/shell/ev-page-cache.c
index ebf0de7..ddbeb0f 100644
--- a/shell/ev-page-cache.c
+++ b/shell/ev-page-cache.c
@@ -174,10 +174,14 @@ build_height_to_page (EvPageCache *page_cache)
}
page_cache->height_to_page [i] = i * uniform_height;
} else {
- if (!swap) {
- page_height = page_cache->size_cache [i].height;
+ if (i < page_cache->n_pages) {
+ if (!swap) {
+ page_height = page_cache->size_cache [i].height;
+ } else {
+ page_height = page_cache->size_cache [i].width;
+ }
} else {
- page_height = page_cache->size_cache [i].width;
+ page_height = 0;
}
page_cache->height_to_page [i] = saved_height;
saved_height += page_height;
@@ -502,6 +506,9 @@ ev_page_cache_get_height_to_page (EvPageCache *page_cache,
gint *dual_height)
{
g_return_if_fail (EV_IS_PAGE_CACHE (page_cache));
+ g_return_if_fail (page >= 0);
+ g_return_if_fail (!height || page <= page_cache->n_pages);
+ g_return_if_fail (!dual_height || page <= page_cache->n_pages + 1);
if (page_cache->rotation != rotation) {
page_cache->rotation = rotation;