From 3ebfd479695ec076946f38d8941c5ff825337681 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Fri, 20 May 2011 14:59:22 +0000 Subject: [PATCH] - updated to 1.20 - added pl.po-update patch Changed files: xchm-pl.po-update.patch -> 1.10 xchm.spec -> 1.71 --- xchm-pl.po-update.patch | 105 ++++++++++++++++++++++++++++++++++++++++ xchm.spec | 9 ++-- 2 files changed, 111 insertions(+), 3 deletions(-) create mode 100644 xchm-pl.po-update.patch diff --git a/xchm-pl.po-update.patch b/xchm-pl.po-update.patch new file mode 100644 index 0000000..5fe2006 --- /dev/null +++ b/xchm-pl.po-update.patch @@ -0,0 +1,105 @@ +--- xchm-1.20/po/pl.po.orig 2011-05-06 12:51:17.000000000 +0200 ++++ xchm-1.20/po/pl.po 2011-05-20 16:50:33.742972078 +0200 +@@ -1,15 +1,15 @@ + # Polish translation for xchm. + # This file is distributed under the same license as the xchm package. +-# Jakub Bogusz , 2004-2007. ++# Jakub Bogusz , 2004-2011. + # + # vi:encoding=utf-8 + # + msgid "" + msgstr "" +-"Project-Id-Version: xchm 1.11\n" ++"Project-Id-Version: xchm 1.20\n" + "Report-Msgid-Bugs-To: \n" + "POT-Creation-Date: 2011-05-06 13:51+0300\n" +-"PO-Revision-Date: 2007-03-29 19:30+0200\n" ++"PO-Revision-Date: 2011-05-20 16:45+0200\n" + "Last-Translator: Jakub Bogusz \n" + "Language-Team: Polish \n" + "Language: pl\n" +@@ -115,12 +115,11 @@ + + #: src/chmframe.cpp:59 + msgid "Close the current tab" +-msgstr "" ++msgstr "Zamknij bieżącą zakładkę" + + #: src/chmframe.cpp:60 +-#, fuzzy + msgid "Open a new tab" +-msgstr "Otworzenie książki CHM." ++msgstr "Otwórz nową zakładkę" + + #: src/chmframe.cpp:61 + msgid "Associate the .chm file extension with xCHM." +@@ -175,9 +174,8 @@ + msgstr "Wy&drukuj stronę...\tCtrl-P" + + #: src/chmframe.cpp:765 +-#, fuzzy + msgid "Fon&ts.." +-msgstr "Fonty..." ++msgstr "Fon&ty..." + + #: src/chmframe.cpp:768 + msgid "&Show contents tree\tCtrl-S" +@@ -204,14 +202,12 @@ + msgstr "&Początek\tCtrl-H" + + #: src/chmframe.cpp:798 +-#, fuzzy + msgid "For&ward\tAlt-RIGHT" +-msgstr "&W przód\tCtrl-W" ++msgstr "&W przód\tAlt-Prawo" + + #: src/chmframe.cpp:800 +-#, fuzzy + msgid "&Back\tAlt-LEFT" +-msgstr "W &tył\tCtrl-B" ++msgstr "W &tył\tAlt-Lewo" + + #: src/chmframe.cpp:803 + msgid "&About..\tF1" +@@ -226,14 +222,12 @@ + msgstr "&Znajdź...\tCtrl-F" + + #: src/chmframe.cpp:809 +-#, fuzzy + msgid "&Close tab\tCtrl-W" +-msgstr "&Początek\tCtrl-H" ++msgstr "Za&mknij zakładkę\tCtrl-W" + + #: src/chmframe.cpp:810 +-#, fuzzy + msgid "&New tab\tCtrl-T" +-msgstr "Fon&ty...\tCtrl-T" ++msgstr "&Nowa zakładka\tCtrl-T" + + #: src/chmframe.cpp:813 + msgid "&File" +@@ -329,7 +323,7 @@ + + #: src/chmhtmlwindow.cpp:52 + msgid "&Open in a new tab" +-msgstr "" ++msgstr "&Otwórz w nowej zakładce" + + #: src/chmhtmlwindow.cpp:55 + msgid "&Copy selection" +@@ -386,14 +380,3 @@ + #: src/chmsearchpanel.cpp:55 + msgid "Search contents for occurences of the specified text." + msgstr "Poszukiwanie w treści wystąpień podanego tekstu." +- +-#~ msgid "" +-#~ "This is experimental code, and doing this will overwrite any previously " +-#~ "registered CHM viewer associations.\n" +-#~ "\n" +-#~ "Are you sure you know what you're doing?" +-#~ msgstr "" +-#~ "Ten kod jest eksperymentalny i wykonanie go nadpisze wszystkie poprzednio " +-#~ "zarejestrowane powiązania przeglądarek CHM.\n" +-#~ "\n" +-#~ "Na pewno wiesz co robisz?" diff --git a/xchm.spec b/xchm.spec index d5153df..ed40454 100644 --- a/xchm.spec +++ b/xchm.spec @@ -6,13 +6,14 @@ Summary: CHM viewer for UNIX Summary(pl.UTF-8): Przeglądarka CHM dla Uniksów Name: xchm -Version: 1.18 +Version: 1.20 Release: 1 License: GPL v2+ Group: X11/Applications Source0: http://downloads.sourceforge.net/xchm/%{name}-%{version}.tar.gz -# Source0-md5: 07d7a910b3216301a002be5630c71866 +# Source0-md5: 85943645d20af536704a20b58ebd5849 Source1: %{name}.desktop +Patch0: %{name}-pl.po-update.patch URL: http://xchm.sourceforge.net/ BuildRequires: autoconf BuildRequires: automake @@ -37,6 +38,9 @@ CHMLIB Jeda Winga, z użyciem wxWidgets. %prep %setup -q +%patch0 -p1 + +%{__rm} po/stamp-po %build %{__gettextize} @@ -51,7 +55,6 @@ CHMLIB Jeda Winga, z użyciem wxWidgets. %install rm -rf $RPM_BUILD_ROOT - install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} %{__make} install \ -- 2.44.0