Package: shotwell
Version: 0.11.2-1
Severity: normal
Tags: l10n, patch, upstream
Hi,
shotwell GNOME menu is translated in various languages, however,
there is a bug in that part and gettext doesn't work. As a result,
it shows with English even if in non-English environment.
I made a patch for this and works fine in Japanese environment (at least).
Please check and apply it. Thanks.
--
Regards,
Hideki Yamane henrich @ debian.or.jp/org
http://wiki.debian.org/HidekiYamane
shotwell (0.11.2-1) unstable; urgency=low
* Team upload.
diff -Nru shotwell-0.11.2/debian/control shotwell-0.11.2/debian/control
--- shotwell-0.11.2/debian/control 2011-09-24 21:11:48.000000000 +0900
+++ shotwell-0.11.2/debian/control 2011-10-10 22:15:33.000000000 +0900
@@ -24,7 +24,8 @@
libusb-dev,
libjson-glib-dev (>= 0.7.6),
libgstreamer0.10-dev (>= 0.10.28),
- libgstreamer-plugins-base0.10-dev (>= 0.10.32)
+ libgstreamer-plugins-base0.10-dev (>= 0.10.32),
+ locales-all
Standards-Version: 3.9.2
Homepage: http://yorba.org/shotwell/
diff -Nru shotwell-0.11.2/debian/patches/gettext.patch shotwell-0.11.2/debian/patches/gettext.patch
--- shotwell-0.11.2/debian/patches/gettext.patch 1970-01-01 09:00:00.000000000 +0900
+++ shotwell-0.11.2/debian/patches/gettext.patch 2011-10-10 22:58:38.000000000 +0900
@@ -0,0 +1,28 @@
+Index: shotwell-0.11.2/Makefile
+===================================================================
+--- shotwell-0.11.2.orig/Makefile 2011-09-21 05:33:53.000000000 +0900
++++ shotwell-0.11.2/Makefile 2011-10-10 22:58:31.153856051 +0900
+@@ -523,6 +523,23 @@
+ @$(MAKE) --directory=plugins distclean
+
+ .PHONY: install
++
++
++# set gettext to work when LANG=C is define
++ifeq "$(LANG)" "C"
++LANG = en_US.UTF-8
++endif
++
++# avoid empty LANG
++ifndef LANG
++LANG = en_US.UTF-8
++endif
++
++# avoid LC_ALL=C
++ifeq "$(LC_ALL)" "C"
++LC_ALL=
++endif
++
+ install:
+ cp misc/shotwell.desktop.head misc/shotwell.desktop
+ cp misc/shotwell-viewer.desktop.head misc/shotwell-viewer.desktop
diff -Nru shotwell-0.11.2/debian/patches/series shotwell-0.11.2/debian/patches/series
--- shotwell-0.11.2/debian/patches/series 2011-08-21 21:20:16.000000000 +0900
+++ shotwell-0.11.2/debian/patches/series 2011-10-10 22:14:42.000000000 +0900
@@ -1 +1,2 @@
sidebar-bg-color.patch
+gettext.patch