[gnome-documents/f17] Add patch to unbreak desktop file translation

Cosimo Cecchi cosimoc at fedoraproject.org
Wed Mar 7 02:51:34 UTC 2012


commit 67230f840ce30f9cc63f202bf02b2fe148bad967
Author: Cosimo Cecchi <cosimoc at gnome.org>
Date:   Tue Mar 6 21:48:45 2012 -0500

    Add patch to unbreak desktop file translation

 fix-desktop-file.patch |   13 +++++++++++++
 gnome-documents.spec   |    4 ++++
 2 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/fix-desktop-file.patch b/fix-desktop-file.patch
new file mode 100644
index 0000000..e7bcb5b
--- /dev/null
+++ b/fix-desktop-file.patch
@@ -0,0 +1,13 @@
+diff --git a/po/sl.po b/po/sl.po
+index 615a07d..9168522 100644
+--- a/po/sl.po
++++ b/po/sl.po
+@@ -32,7 +32,7 @@ msgstr "Upravljanje, dostop in souporaba dokumentov"
+ 
+ #: ../data/gnome-documents.desktop.in.in.h:3
+ msgid "Docs;PDF;Document;"
+-msgstr "Doc;PDF;Dokumenti;Word"
++msgstr "Doc;PDF;Dokumenti;Word;"
+ 
+ #: ../data/org.gnome.documents.gschema.xml.in.h:1
+ #: ../src/application.js:127
diff --git a/gnome-documents.spec b/gnome-documents.spec
index 5b8cab2..84a4a14 100644
--- a/gnome-documents.spec
+++ b/gnome-documents.spec
@@ -7,6 +7,8 @@ License:        GPLv2+
 URL:            https://live.gnome.org/Design/Apps/Documents
 Source0:        http://ftp.acc.umu.se/pub/GNOME/sources/%{name}/0.3/%{name}-%{version}.tar.xz
 
+Patch0: fix-desktop-file.patch
+
 BuildRequires:  intltool
 BuildRequires:  libgdata-devel
 BuildRequires:  gnome-desktop3-devel
@@ -26,6 +28,8 @@ the Documents directory.
 %prep
 %setup -q
 
+%patch0 -p1 -b .fix-desktop-file
+
 %build
 %configure --disable-static
 #FIXME: Build fails with  %{?_smp_mflags}.


More information about the scm-commits mailing list