[nautilus-sound-converter] * Fri Aug 6 2010 Brian Pepple <bpepple at fedoraproject.org> - 1.0.5-5 - Add patch to fix translations

Brian Pepple bpepple at fedoraproject.org
Fri Aug 6 18:28:31 UTC 2010


commit 1654b4d52ce1b58c94adf8e80a751c9591cfd0fc
Author: Brian Pepple <bpepple at fedoraproject.org>
Date:   Fri Aug 6 11:28:29 2010 -0700

    * Fri Aug  6 2010 Brian Pepple <bpepple at fedoraproject.org> - 1.0.5-5
    - Add patch to fix translations. (#616924)

 nautilus-sound-converter.spec |    7 ++++++-
 nsc-translation.patch         |   25 +++++++++++++++++++++++++
 2 files changed, 31 insertions(+), 1 deletions(-)
---
diff --git a/nautilus-sound-converter.spec b/nautilus-sound-converter.spec
index 4c368ea..40cc580 100644
--- a/nautilus-sound-converter.spec
+++ b/nautilus-sound-converter.spec
@@ -1,6 +1,6 @@
 Name:           nautilus-sound-converter
 Version:        1.0.5
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Nautilus extension to convert audio files
 
 Group:          User Interface/Desktops
@@ -9,6 +9,7 @@ URL:            http://code.google.com/p/nautilus-sound-converter/
 Source0:        http://%{name}.googlecode.com/files/%{name}-%{version}.tar.bz2
 Patch0:		nsc-gtk.patch
 Patch1:		nsc-gtk3.patch
+Patch2:		nsc-translation.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  nautilus-devel >= 2.12.0
@@ -40,6 +41,7 @@ format you wish to convert the selected files to.
 %setup -q
 %patch0 -p1 -b .gtk
 %patch1 -p1 -b .gtk3
+%patch2 -p1 -b .translation
 
 
 %build
@@ -76,6 +78,9 @@ find $RPM_BUILD_ROOT -name \*.la -exec rm {} \;
 
 
 %changelog
+* Fri Aug  6 2010 Brian Pepple <bpepple at fedoraproject.org> - 1.0.5-5
+- Add patch to fix translations. (#616924)
+
 * Tue Jul 27 2010 Brian Pepple <bpepple at fedoraproject.org> - 1.0.5-4
 - Add patch to port to gtk3.
 
diff --git a/nsc-translation.patch b/nsc-translation.patch
new file mode 100644
index 0000000..22e1629
--- /dev/null
+++ b/nsc-translation.patch
@@ -0,0 +1,25 @@
+From d20267d8d818d78787f584aa5035de77492ebbde Mon Sep 17 00:00:00 2001
+From: bdpepple <bdpepple at 280a3c95-c248-0410-a8b1-f7e71b7f0842>
+Date: Wed, 21 Jul 2010 23:02:38 +0000
+Subject: [PATCH] Remove textdomain since this was causing translation issues with nautilus
+
+git-svn-id: https://nautilus-sound-converter.googlecode.com/svn/trunk@150 280a3c95-c248-0410-a8b1-f7e71b7f0842
+---
+ src/nsc-module.c |    1 -
+ 1 files changed, 0 insertions(+), 1 deletions(-)
+
+diff --git a/src/nsc-module.c b/src/nsc-module.c
+index b1e06cc..d1784ca 100644
+--- a/src/nsc-module.c
++++ b/src/nsc-module.c
+@@ -45,7 +45,6 @@ nautilus_module_initialize (GTypeModule *module)
+ 
+ 	bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
+ 	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+-	textdomain (GETTEXT_PACKAGE);
+ }
+ 
+ void
+-- 
+1.7.2.1
+


More information about the scm-commits mailing list