diff options
-rw-r--r-- | po/cpp.po | 89 | ||||
-rw-r--r-- | po/de.po | 18 | ||||
-rw-r--r-- | po/el.po | 24 | ||||
-rw-r--r-- | po/es.po | 6 | ||||
-rw-r--r-- | po/mi.po | 89 | ||||
-rw-r--r-- | po/ms.po | 89 | ||||
-rw-r--r-- | po/ne.po | 18 | ||||
-rw-r--r-- | po/pt.po | 24 | ||||
-rw-r--r-- | po/sv.po | 8 | ||||
-rw-r--r-- | po/ug.po | 89 | ||||
-rw-r--r-- | po/vi.po | 53 | ||||
-rw-r--r-- | po/zh_TW.po | 16 | ||||
-rw-r--r-- | readactivity.py | 8 | ||||
-rw-r--r-- | readtoolbar.py | 3 |
14 files changed, 460 insertions, 74 deletions
diff --git a/po/cpp.po b/po/cpp.po new file mode 100644 index 0000000..d797e12 --- /dev/null +++ b/po/cpp.po @@ -0,0 +1,89 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-10-09 00:31-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Translate Toolkit 1.1.1rc4\n" + +#: activity/activity.info:2 readactivity.py:129 +msgid "Read" +msgstr "" + +#: readactivity.py:125 +msgid "Edit" +msgstr "" + +#: readactivity.py:137 +msgid "View" +msgstr "" + +#: readactivity.py:223 +msgid "Choose document" +msgstr "" + +#: readtoolbar.py:67 +msgid "Previous" +msgstr "" + +#: readtoolbar.py:74 +msgid "Next" +msgstr "" + +#: readtoolbar.py:140 +msgid "Find first" +msgstr "" + +#: readtoolbar.py:146 +msgid "Find previous" +msgstr "" + +#: readtoolbar.py:148 +msgid "Find next" +msgstr "" + +#: readtoolbar.py:160 +msgid "Back" +msgstr "" + +#: readtoolbar.py:167 +msgid "Forward" +msgstr "" + +#: readtoolbar.py:271 +msgid "Zoom out" +msgstr "" + +#: readtoolbar.py:277 +msgid "Zoom in" +msgstr "" + +#: readtoolbar.py:283 +msgid "Zoom to width" +msgstr "" + +#: readtoolbar.py:289 +msgid "Zoom to fit" +msgstr "" + +#: readtoolbar.py:294 +msgid "Actual size" +msgstr "" + +#: readtoolbar.py:312 +msgid "%" +msgstr "" + +#: readtoolbar.py:330 +msgid "Fullscreen" +msgstr "" @@ -4,28 +4,32 @@ msgid "" msgstr "" "Project-Id-Version: xbook\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-03-01 00:30-0500\n" -"PO-Revision-Date: 2008-03-04 04:14-0500\n" -"Last-Translator: Gerhard Steiner <gerhard.steiner@duichwir.at>\n" +"POT-Creation-Date: 2008-10-09 00:31-0400\n" +"PO-Revision-Date: 2008-11-12 15:48-0500\n" +"Last-Translator: Rita Freudenberg <rita@freudenbergs.de>\n" "Language-Team: cvs@fedoraproject.org <fedora-trans-de@redhat.com>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Pootle 1.0.2\n" +"X-Generator: Pootle 1.1.0rc2\n" "X-Poedit-Language: German\n" -#: activity/activity.info:2 readactivity.py:95 +#: activity/activity.info:2 readactivity.py:129 msgid "Read" msgstr "Lesen" -#: readactivity.py:91 +#: readactivity.py:125 msgid "Edit" msgstr "Bearbeiten" -#: readactivity.py:103 +#: readactivity.py:137 msgid "View" msgstr "Ansehen" +#: readactivity.py:223 +msgid "Choose document" +msgstr "Dokument auswählen" + #: readtoolbar.py:67 msgid "Previous" msgstr "Vorheriges" @@ -6,9 +6,9 @@ msgid "" msgstr "" "Project-Id-Version: Xbook project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-03-01 00:30-0500\n" -"PO-Revision-Date: 2008-03-23 13:39-0400\n" -"Last-Translator: Γιάννης Κασκαμανίδης <ttnfy17@yahoo.gr>\n" +"POT-Creation-Date: 2008-10-09 00:31-0400\n" +"PO-Revision-Date: 2008-10-24 11:45-0400\n" +"Last-Translator: John Sarlis <sarlis@sch.gr>\n" "Language-Team: Greek <olpc@grnet.gr>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -16,18 +16,22 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Pootle 1.1.0rc2\n" -#: activity/activity.info:2 readactivity.py:95 +#: activity/activity.info:2 readactivity.py:129 msgid "Read" msgstr "Ανάγνωση" -#: readactivity.py:91 +#: readactivity.py:125 msgid "Edit" msgstr "Επεξεργασία" -#: readactivity.py:103 +#: readactivity.py:137 msgid "View" msgstr "Προβολή" +#: readactivity.py:223 +msgid "Choose document" +msgstr "Επιλογή αρχείου κειμένου" + #: readtoolbar.py:67 msgid "Previous" msgstr "Προηγούμενο" @@ -58,19 +62,19 @@ msgstr "Μπροστά" #: readtoolbar.py:271 msgid "Zoom out" -msgstr "Σμίκρυνση" +msgstr "Εστίαση έξω" #: readtoolbar.py:277 msgid "Zoom in" -msgstr "Μεγέθυνση" +msgstr "Εστίαση μέσα" #: readtoolbar.py:283 msgid "Zoom to width" -msgstr "Προσαρμογή κατά πλάτος" +msgstr "Εστίαση στο πλάτος" #: readtoolbar.py:289 msgid "Zoom to fit" -msgstr "Προσαρμογή στη σελίδα" +msgstr "Εστίαση στη σελίδα" #: readtoolbar.py:294 msgid "Actual size" @@ -7,8 +7,8 @@ msgstr "" "Project-Id-Version: xbook\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2008-10-09 00:31-0400\n" -"PO-Revision-Date: 2008-12-05 22:23-0500\n" -"Last-Translator: Rafael Ortiz <rafael@laptop.org>\n" +"PO-Revision-Date: 2009-03-07 23:32-0500\n" +"Last-Translator: Chris Leonard <cjl@laptop.org>\n" "Language-Team: Fedora Spanish <fedora-trans-es@redhat.com>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -87,7 +87,7 @@ msgstr "%" #: readtoolbar.py:330 msgid "Fullscreen" -msgstr "Pantalla Completa" +msgstr "Pantalla completa" #~ msgid "Read Activity" #~ msgstr "Actividad Leer" diff --git a/po/mi.po b/po/mi.po new file mode 100644 index 0000000..d797e12 --- /dev/null +++ b/po/mi.po @@ -0,0 +1,89 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-10-09 00:31-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Translate Toolkit 1.1.1rc4\n" + +#: activity/activity.info:2 readactivity.py:129 +msgid "Read" +msgstr "" + +#: readactivity.py:125 +msgid "Edit" +msgstr "" + +#: readactivity.py:137 +msgid "View" +msgstr "" + +#: readactivity.py:223 +msgid "Choose document" +msgstr "" + +#: readtoolbar.py:67 +msgid "Previous" +msgstr "" + +#: readtoolbar.py:74 +msgid "Next" +msgstr "" + +#: readtoolbar.py:140 +msgid "Find first" +msgstr "" + +#: readtoolbar.py:146 +msgid "Find previous" +msgstr "" + +#: readtoolbar.py:148 +msgid "Find next" +msgstr "" + +#: readtoolbar.py:160 +msgid "Back" +msgstr "" + +#: readtoolbar.py:167 +msgid "Forward" +msgstr "" + +#: readtoolbar.py:271 +msgid "Zoom out" +msgstr "" + +#: readtoolbar.py:277 +msgid "Zoom in" +msgstr "" + +#: readtoolbar.py:283 +msgid "Zoom to width" +msgstr "" + +#: readtoolbar.py:289 +msgid "Zoom to fit" +msgstr "" + +#: readtoolbar.py:294 +msgid "Actual size" +msgstr "" + +#: readtoolbar.py:312 +msgid "%" +msgstr "" + +#: readtoolbar.py:330 +msgid "Fullscreen" +msgstr "" diff --git a/po/ms.po b/po/ms.po new file mode 100644 index 0000000..d797e12 --- /dev/null +++ b/po/ms.po @@ -0,0 +1,89 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-10-09 00:31-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Translate Toolkit 1.1.1rc4\n" + +#: activity/activity.info:2 readactivity.py:129 +msgid "Read" +msgstr "" + +#: readactivity.py:125 +msgid "Edit" +msgstr "" + +#: readactivity.py:137 +msgid "View" +msgstr "" + +#: readactivity.py:223 +msgid "Choose document" +msgstr "" + +#: readtoolbar.py:67 +msgid "Previous" +msgstr "" + +#: readtoolbar.py:74 +msgid "Next" +msgstr "" + +#: readtoolbar.py:140 +msgid "Find first" +msgstr "" + +#: readtoolbar.py:146 +msgid "Find previous" +msgstr "" + +#: readtoolbar.py:148 +msgid "Find next" +msgstr "" + +#: readtoolbar.py:160 +msgid "Back" +msgstr "" + +#: readtoolbar.py:167 +msgid "Forward" +msgstr "" + +#: readtoolbar.py:271 +msgid "Zoom out" +msgstr "" + +#: readtoolbar.py:277 +msgid "Zoom in" +msgstr "" + +#: readtoolbar.py:283 +msgid "Zoom to width" +msgstr "" + +#: readtoolbar.py:289 +msgid "Zoom to fit" +msgstr "" + +#: readtoolbar.py:294 +msgid "Actual size" +msgstr "" + +#: readtoolbar.py:312 +msgid "%" +msgstr "" + +#: readtoolbar.py:330 +msgid "Fullscreen" +msgstr "" @@ -6,27 +6,31 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-03-01 00:30-0500\n" -"PO-Revision-Date: 2008-03-13 23:47-0400\n" -"Last-Translator: Prabhas Pokharel <motudai@gmail.com>\n" +"POT-Creation-Date: 2008-10-09 00:31-0400\n" +"PO-Revision-Date: 2009-02-25 23:58-0500\n" +"Last-Translator: Shaksham Thapa <shaksham@gmail.com>\n" "Language-Team: LANGUAGE <LL@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Pootle 1.1.0rc2\n" -#: activity/activity.info:2 readactivity.py:95 +#: activity/activity.info:2 readactivity.py:129 msgid "Read" msgstr "पढ" -#: readactivity.py:91 +#: readactivity.py:125 msgid "Edit" msgstr "सम्पादन" -#: readactivity.py:103 +#: readactivity.py:137 msgid "View" msgstr "दृश्य" +#: readactivity.py:223 +msgid "Choose document" +msgstr "कागतपत्र छान" + #: readtoolbar.py:67 msgid "Previous" msgstr "पहिलाको" @@ -77,7 +81,7 @@ msgstr "वास्तविक परिमाण" #: readtoolbar.py:312 msgid "%" -msgstr "प्रतिशत्" +msgstr "%" #: readtoolbar.py:330 msgid "Fullscreen" @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-03-01 00:30-0500\n" -"PO-Revision-Date: 2008-08-31 11:16-0400\n" +"POT-Creation-Date: 2008-10-09 00:31-0400\n" +"PO-Revision-Date: 2009-02-20 14:18-0500\n" "Last-Translator: Eduardo H. Silva <HoboPrimate@gmail.com>\n" "Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n" "MIME-Version: 1.0\n" @@ -16,18 +16,22 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Pootle 1.1.0rc2\n" -#: activity/activity.info:2 readactivity.py:95 +#: activity/activity.info:2 readactivity.py:129 msgid "Read" msgstr "Ler" -#: readactivity.py:91 +#: readactivity.py:125 msgid "Edit" msgstr "Editar" -#: readactivity.py:103 +#: readactivity.py:137 msgid "View" msgstr "Ver" +#: readactivity.py:223 +msgid "Choose document" +msgstr "Escolhe o documento" + #: readtoolbar.py:67 msgid "Previous" msgstr "Anterior" @@ -38,15 +42,15 @@ msgstr "Seguinte" #: readtoolbar.py:140 msgid "Find first" -msgstr "Encontrar primeiro" +msgstr "Encontrar o primeiro" #: readtoolbar.py:146 msgid "Find previous" -msgstr "Encontrar anterior" +msgstr "Encontrar o anterior" #: readtoolbar.py:148 msgid "Find next" -msgstr "Encontrar próximo" +msgstr "Encontrar o próximo" #: readtoolbar.py:160 msgid "Back" @@ -58,11 +62,11 @@ msgstr "Avançar" #: readtoolbar.py:271 msgid "Zoom out" -msgstr "Afastar Zoom" +msgstr "Afastar zoom" #: readtoolbar.py:277 msgid "Zoom in" -msgstr "Aproximar Zoom" +msgstr "Aproximar zoom" #: readtoolbar.py:283 msgid "Zoom to width" @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2008-10-09 00:31-0400\n" -"PO-Revision-Date: 2008-10-03 07:27-0400\n" -"Last-Translator: Mattias Ohlsson <mattias_oh@yahoo.com>\n" +"PO-Revision-Date: 2009-01-03 18:25-0500\n" +"Last-Translator: Nicci Manns <nicci@saunalahti.fi>\n" "Language-Team: LANGUAGE <LL@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Translate Toolkit 1.1.1rc4\n" +"X-Generator: Pootle 1.1.0rc2\n" #: activity/activity.info:2 readactivity.py:129 msgid "Read" @@ -29,7 +29,7 @@ msgstr "Visa" #: readactivity.py:223 msgid "Choose document" -msgstr "" +msgstr "Välj dokument" #: readtoolbar.py:67 msgid "Previous" diff --git a/po/ug.po b/po/ug.po new file mode 100644 index 0000000..d797e12 --- /dev/null +++ b/po/ug.po @@ -0,0 +1,89 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-10-09 00:31-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Translate Toolkit 1.1.1rc4\n" + +#: activity/activity.info:2 readactivity.py:129 +msgid "Read" +msgstr "" + +#: readactivity.py:125 +msgid "Edit" +msgstr "" + +#: readactivity.py:137 +msgid "View" +msgstr "" + +#: readactivity.py:223 +msgid "Choose document" +msgstr "" + +#: readtoolbar.py:67 +msgid "Previous" +msgstr "" + +#: readtoolbar.py:74 +msgid "Next" +msgstr "" + +#: readtoolbar.py:140 +msgid "Find first" +msgstr "" + +#: readtoolbar.py:146 +msgid "Find previous" +msgstr "" + +#: readtoolbar.py:148 +msgid "Find next" +msgstr "" + +#: readtoolbar.py:160 +msgid "Back" +msgstr "" + +#: readtoolbar.py:167 +msgid "Forward" +msgstr "" + +#: readtoolbar.py:271 +msgid "Zoom out" +msgstr "" + +#: readtoolbar.py:277 +msgid "Zoom in" +msgstr "" + +#: readtoolbar.py:283 +msgid "Zoom to width" +msgstr "" + +#: readtoolbar.py:289 +msgid "Zoom to fit" +msgstr "" + +#: readtoolbar.py:294 +msgid "Actual size" +msgstr "" + +#: readtoolbar.py:312 +msgid "%" +msgstr "" + +#: readtoolbar.py:330 +msgid "Fullscreen" +msgstr "" @@ -2,84 +2,87 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -#, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-03-01 00:30-0500\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2008-10-09 00:31-0400\n" +"PO-Revision-Date: 2009-02-13 07:57-0500\n" +"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n" "Language-Team: LANGUAGE <LL@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Translate Toolkit 1.0.1\n" +"X-Generator: Pootle 1.1.0rc2\n" -#: activity/activity.info:2 readactivity.py:95 +#: activity/activity.info:2 readactivity.py:129 msgid "Read" -msgstr "" +msgstr "Đọc" -#: readactivity.py:91 +#: readactivity.py:125 msgid "Edit" -msgstr "" +msgstr "Sửa" -#: readactivity.py:103 +#: readactivity.py:137 msgid "View" -msgstr "" +msgstr "Xem" + +#: readactivity.py:223 +msgid "Choose document" +msgstr "Chọn tài liệu" #: readtoolbar.py:67 msgid "Previous" -msgstr "" +msgstr "Lùi" #: readtoolbar.py:74 msgid "Next" -msgstr "" +msgstr "Tiếp" #: readtoolbar.py:140 msgid "Find first" -msgstr "" +msgstr "Tìm mục đầu" #: readtoolbar.py:146 msgid "Find previous" -msgstr "" +msgstr "Tìm trước" #: readtoolbar.py:148 msgid "Find next" -msgstr "" +msgstr "Tìm tiếp" #: readtoolbar.py:160 msgid "Back" -msgstr "" +msgstr "Lùi" #: readtoolbar.py:167 msgid "Forward" -msgstr "" +msgstr "Tiếp" #: readtoolbar.py:271 msgid "Zoom out" -msgstr "" +msgstr "Thu nhỏ" #: readtoolbar.py:277 msgid "Zoom in" -msgstr "" +msgstr "Phóng to" #: readtoolbar.py:283 msgid "Zoom to width" -msgstr "" +msgstr "Phóng tới bề rộng" #: readtoolbar.py:289 msgid "Zoom to fit" -msgstr "" +msgstr "Phóng vừa" #: readtoolbar.py:294 msgid "Actual size" -msgstr "" +msgstr "Kích cỡ thật" #: readtoolbar.py:312 msgid "%" -msgstr "" +msgstr "%" #: readtoolbar.py:330 msgid "Fullscreen" -msgstr "" +msgstr "Toàn màn hình" diff --git a/po/zh_TW.po b/po/zh_TW.po index b4fd9d5..57f064d 100644 --- a/po/zh_TW.po +++ b/po/zh_TW.po @@ -2,27 +2,31 @@ msgid "" msgstr "" "Project-Id-Version: OLPC XBook\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-03-01 00:30-0500\n" -"PO-Revision-Date: 2008-03-07 22:30-0500\n" +"POT-Creation-Date: 2008-10-09 00:31-0400\n" +"PO-Revision-Date: 2008-10-26 10:22-0400\n" "Last-Translator: Yuan Chao <yuanchao@gmail.com>\n" "Language-Team: Yuan CHAO <yuanchao@gmail.com>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Pootle 1.0.2\n" +"X-Generator: Pootle 1.1.0rc2\n" -#: activity/activity.info:2 readactivity.py:95 +#: activity/activity.info:2 readactivity.py:129 msgid "Read" msgstr "閱讀" -#: readactivity.py:91 +#: readactivity.py:125 msgid "Edit" msgstr "編輯" -#: readactivity.py:103 +#: readactivity.py:137 msgid "View" msgstr "檢視" +#: readactivity.py:223 +msgid "Choose document" +msgstr "選擇文件" + #: readtoolbar.py:67 msgid "Previous" msgstr "上一個" diff --git a/readactivity.py b/readactivity.py index 9cf1338..c876e22 100644 --- a/readactivity.py +++ b/readactivity.py @@ -29,6 +29,7 @@ import telepathy from sugar.activity import activity from sugar import network +from sugar import mime from sugar.datastore import datastore from sugar.graphics.objectchooser import ObjectChooser @@ -97,6 +98,10 @@ class ReadActivity(activity.Activity): def __init__(self, handle): activity.Activity.__init__(self, handle) + if hasattr(evince, 'evince_embed_init'): + # if we use evince-2.24 + evince.evince_embed_init() + self._document = None self._fileserver = None self._object_id = handle.object_id @@ -229,7 +234,8 @@ class ReadActivity(activity.Activity): return chooser = ObjectChooser(_('Choose document'), self, gtk.DIALOG_MODAL | - gtk.DIALOG_DESTROY_WITH_PARENT) + gtk.DIALOG_DESTROY_WITH_PARENT, + what_filter=mime.GENERIC_TYPE_TEXT) try: result = chooser.run() if result == gtk.RESPONSE_ACCEPT: diff --git a/readtoolbar.py b/readtoolbar.py index 77825ec..d79c1ed 100644 --- a/readtoolbar.py +++ b/readtoolbar.py @@ -377,7 +377,8 @@ class ReadToolbar(gtk.Toolbar): self._navigator.set_active(0) self.__navigator_changed_handler_id = \ - self._navigator.connect('changed', self._navigator_changed_cb) + self._navigator.connect('changed', + self._navigator_changed_cb) self._toc_select_active_page() |