Merge lp:~dpm/ubuntu/lucid/xorg/bug-335678 into lp:ubuntu/lucid/xorg

Proposed by David Planella
Status: Merged
Merge reported by: David Planella
Merged at revision: not available
Proposed branch: lp:~dpm/ubuntu/lucid/xorg/bug-335678
Merge into: lp:ubuntu/lucid/xorg
Diff against target: 74 lines (+12/-3)
4 files modified
debian/control (+1/-1)
debian/local/Failsafe/failsafeXinit (+8/-2)
debian/po-failsafe/POTFILES.in (+1/-0)
debian/rules (+2/-0)
To merge this branch: bzr merge lp:~dpm/ubuntu/lucid/xorg/bug-335678
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+17970@code.launchpad.net
To post a comment you must log in.
Revision history for this message
David Planella (dpm) wrote :

Proposed fix for bug 335678: completing internationalisation support for failsafeXinit so that translations are used.

See https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/335678/comments/12 for more information.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2010-01-09 00:38:46 +0000
3+++ debian/control 2010-01-24 14:10:26 +0000
4@@ -4,7 +4,7 @@
5 Maintainer: Ubuntu X-SWAT <ubuntu-x@lists.ubuntu.com>
6 XSBC-Original-Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
7 Uploaders: David Nusinow <dnusinow@debian.org>, Drew Parsons <dparsons@debian.org>, Julien Cristau <jcristau@debian.org>, Brice Goglin <bgoglin@debian.org>
8-Build-Depends: dpkg (>= 1.7.0), po-debconf, debhelper (>= 7.3.15ubuntu3)
9+Build-Depends: dpkg (>= 1.7.0), po-debconf, debhelper (>= 7.3.15ubuntu3), gettext
10 Standards-Version: 3.8.3
11 Vcs-Git: git://git.debian.org/git/pkg-xorg/debian/xorg
12 Vcs-Browser: http://git.debian.org/?p=pkg-xorg/debian/xorg.git
13
14=== modified file 'debian/local/Failsafe/failsafeXinit'
15--- debian/local/Failsafe/failsafeXinit 2009-11-04 18:54:26 +0000
16+++ debian/local/Failsafe/failsafeXinit 2010-01-24 14:10:26 +0000
17@@ -37,6 +37,12 @@
18
19 timestamp=$(date +%y%m%d%H%M%S)
20
21+. gettext.sh
22+TEXTDOMAIN=failsafexinit
23+export TEXTDOMAIN
24+TEXTDOMAINDIR=/usr/share/locale-langpack
25+export TEXTDOMAINDIR
26+
27 display_main_menu() {
28 zenity --list \
29 --radiolist \
30@@ -94,7 +100,7 @@
31 zenity --error --text "$(gettext 'Your bug could not be recorded successfully.\n')"
32 fi
33 else
34- zenity --error --text "$(gettext 'Cannot file bug: $apport_hook is not present.')"
35+ zenity --error --text "$(eval_gettext 'Cannot file bug: \$apport_hook is not present.')"
36 fi
37 }
38
39@@ -168,7 +174,7 @@
40 tar -cf ${xorg_backup_file} ${xorg_backup_dir}
41 rm -rf ${xorg_backup_dir}
42
43- zenity --info --text "$(gettext 'Relevant configuration and log files have been saved to:\n')"$xorg_backup_file"\n$(gettext 'Bug reports can be submitted at http://www.launchpad.net/ubuntu/.\n')"
44+ zenity --info --text "$(eval_gettext 'Relevant configuration and log files have been saved to:\n')"\$xorg_backup_file"\n$(gettext 'Bug reports can be submitted at http://www.launchpad.net/ubuntu/.\n')"
45 }
46
47 # Scan Xorg.0.log for errors
48
49=== added directory 'debian/po-failsafe'
50=== added file 'debian/po-failsafe/POTFILES.in'
51--- debian/po-failsafe/POTFILES.in 1970-01-01 00:00:00 +0000
52+++ debian/po-failsafe/POTFILES.in 2010-01-24 14:10:26 +0000
53@@ -0,0 +1,1 @@
54+debian/local/Failsafe/failsafeXinit
55
56=== modified file 'debian/rules'
57--- debian/rules 2009-12-07 14:53:09 +0000
58+++ debian/rules 2010-01-24 14:10:26 +0000
59@@ -35,6 +35,7 @@
60 dh_testdir
61 dh_clean debian/local/X debian/po/pothead
62 -rm -rf stampdir
63+ -rm -f debian/po-failsafe/failsafexinit.pot
64 -debconf-updatepo
65
66
67@@ -56,6 +57,7 @@
68 dh_testdir
69 # build Debian's X server wrapper
70 $(CC) -Wall -g -O2 -o debian/local/X debian/local/xserver-wrapper.c
71+ xgettext -f debian/po-failsafe/POTFILES.in -d failsafexinit -o debian/po-failsafe/failsafexinit.pot -L Shell
72 touch $@
73
74 build-arch-only: build

Subscribers

People subscribed via source and target branches

to all changes: