]> git.pld-linux.org Git - packages/xchm.git/commitdiff
- added new pl.po-update patch
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 25 Jan 2014 15:12:42 +0000 (16:12 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 25 Jan 2014 15:12:42 +0000 (16:12 +0100)
- package Greek translation (in proper directory)

xchm-pl.po-update.patch [new file with mode: 0644]
xchm.spec

diff --git a/xchm-pl.po-update.patch b/xchm-pl.po-update.patch
new file mode 100644 (file)
index 0000000..c875273
--- /dev/null
@@ -0,0 +1,77 @@
+--- xchm-1.23/po/pl.po.orig    2013-08-30 10:32:57.000000000 +0200
++++ xchm-1.23/po/pl.po 2014-01-25 16:01:16.645507496 +0100
+@@ -1,15 +1,15 @@
+ # Polish translation for xchm.
+ # This file is distributed under the same license as the xchm package.
+-# Jakub Bogusz <qboosh@pld-linux.org>, 2004-2011.
++# Jakub Bogusz <qboosh@pld-linux.org>, 2004-2014.
+ #
+ # vi:encoding=utf-8
+ #
+ msgid ""
+ msgstr ""
+-"Project-Id-Version: xchm 1.20\n"
++"Project-Id-Version: xchm 1.23\n"
+ "Report-Msgid-Bugs-To: \n"
+ "POT-Creation-Date: 2013-08-30 11:32+0300\n"
+-"PO-Revision-Date: 2011-05-20 16:45+0200\n"
++"PO-Revision-Date: 2014-01-25 15:58+0100\n"
+ "Last-Translator: Jakub Bogusz <qboosh@pld-linux.org>\n"
+ "Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+ "Language: pl\n"
+@@ -86,9 +86,8 @@
+ msgstr "Wydruk aktualnie wyświetlanej strony."
+ #: src/chmframe.cpp:52
+-#, fuzzy
+ msgid "Toggle table of contents."
+-msgstr "Odtwarzanie spisu treści..."
++msgstr "Przełączenie spisu treści."
+ #: src/chmframe.cpp:53
+ msgid "Go to the book's start page."
+@@ -116,7 +115,7 @@
+ #: src/chmframe.cpp:59
+ msgid "Toggle fullscreen mode."
+-msgstr ""
++msgstr "Przełączenie trybu pełnoekranowego."
+ #: src/chmframe.cpp:60
+ msgid "Close the current tab"
+@@ -236,7 +235,7 @@
+ #: src/chmframe.cpp:824
+ msgid "Toggle &fullscreen\tF11"
+-msgstr ""
++msgstr "Pełny &ekran\tF11"
+ #: src/chmframe.cpp:828
+ msgid "&File"
+@@ -244,7 +243,7 @@
+ #: src/chmframe.cpp:829
+ msgid "&View"
+-msgstr ""
++msgstr "&Widok"
+ #: src/chmframe.cpp:830
+ msgid "&Edit"
+@@ -304,7 +303,7 @@
+ #: src/chmframe.cpp:1039
+ msgid "Fullscreen"
+-msgstr ""
++msgstr "Pełny ekran"
+ #: src/chmframe.cpp:1044
+ msgid "Back"
+@@ -352,7 +351,7 @@
+ #: src/chmhtmlwindow.cpp:59
+ msgid "&Toggle fullscreen mode"
+-msgstr ""
++msgstr "&Przełącz tryb pełnoekranowy"
+ #: src/chmhtmlwindow.cpp:307
+ msgid "OpenFile("
index cb01a638cc782c7128e0e3662c3178c6163db924..5cdb2cd9610bd36b46abcdbd5ee62a953ac45590 100644 (file)
--- a/xchm.spec
+++ b/xchm.spec
@@ -14,8 +14,9 @@ Source0:      http://downloads.sourceforge.net/xchm/%{name}-%{version}.tar.gz
 # Source0-md5: 486d029bd81071a2d04e7181909b1602
 Source1:       %{name}.desktop
 Patch0:                wxWidgets3.patch
+Patch1:                %{name}-pl.po-update.patch
 URL:           http://xchm.sourceforge.net/
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.50
 BuildRequires: automake
 BuildRequires: chmlib-devel
 BuildRequires: gettext-devel >= 0.14.3
@@ -39,6 +40,7 @@ CHMLIB Jeda Winga, z użyciem wxWidgets.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %{__rm} po/stamp-po
 
@@ -63,8 +65,10 @@ install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
 install art/xchm-48.xpm        $RPM_BUILD_ROOT%{_pixmapsdir}/xchm.xpm
 install %{SOURCE1}     $RPM_BUILD_ROOT%{_desktopdir}
 
+# unify to short code pt=pt_PT
 %{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/{pt_PT,pt}
-%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/gr
+# fix Greek language code
+%{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/{gr,el}
 
 %find_lang %{name}
 
@@ -82,4 +86,5 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS ChangeLog README %{?with_xmlrpc:README.xmlrpc}
 %attr(755,root,root) %{_bindir}/xchm
 %{_desktopdir}/xchm.desktop
+%{_pixmapsdir}/xchm*.png
 %{_pixmapsdir}/xchm*.xpm
This page took 0.226963 seconds and 4 git commands to generate.