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
=== modified file 'debian/control'
--- debian/control 2010-01-09 00:38:46 +0000
+++ debian/control 2010-01-24 14:10:26 +0000
@@ -4,7 +4,7 @@
4Maintainer: Ubuntu X-SWAT <ubuntu-x@lists.ubuntu.com>4Maintainer: Ubuntu X-SWAT <ubuntu-x@lists.ubuntu.com>
5XSBC-Original-Maintainer: Debian X Strike Force <debian-x@lists.debian.org>5XSBC-Original-Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
6Uploaders: David Nusinow <dnusinow@debian.org>, Drew Parsons <dparsons@debian.org>, Julien Cristau <jcristau@debian.org>, Brice Goglin <bgoglin@debian.org>6Uploaders: David Nusinow <dnusinow@debian.org>, Drew Parsons <dparsons@debian.org>, Julien Cristau <jcristau@debian.org>, Brice Goglin <bgoglin@debian.org>
7Build-Depends: dpkg (>= 1.7.0), po-debconf, debhelper (>= 7.3.15ubuntu3)7Build-Depends: dpkg (>= 1.7.0), po-debconf, debhelper (>= 7.3.15ubuntu3), gettext
8Standards-Version: 3.8.38Standards-Version: 3.8.3
9Vcs-Git: git://git.debian.org/git/pkg-xorg/debian/xorg9Vcs-Git: git://git.debian.org/git/pkg-xorg/debian/xorg
10Vcs-Browser: http://git.debian.org/?p=pkg-xorg/debian/xorg.git10Vcs-Browser: http://git.debian.org/?p=pkg-xorg/debian/xorg.git
1111
=== modified file 'debian/local/Failsafe/failsafeXinit'
--- debian/local/Failsafe/failsafeXinit 2009-11-04 18:54:26 +0000
+++ debian/local/Failsafe/failsafeXinit 2010-01-24 14:10:26 +0000
@@ -37,6 +37,12 @@
3737
38timestamp=$(date +%y%m%d%H%M%S)38timestamp=$(date +%y%m%d%H%M%S)
3939
40. gettext.sh
41TEXTDOMAIN=failsafexinit
42export TEXTDOMAIN
43TEXTDOMAINDIR=/usr/share/locale-langpack
44export TEXTDOMAINDIR
45
40display_main_menu() {46display_main_menu() {
41 zenity --list \47 zenity --list \
42 --radiolist \48 --radiolist \
@@ -94,7 +100,7 @@
94 zenity --error --text "$(gettext 'Your bug could not be recorded successfully.\n')"100 zenity --error --text "$(gettext 'Your bug could not be recorded successfully.\n')"
95 fi101 fi
96 else102 else
97 zenity --error --text "$(gettext 'Cannot file bug: $apport_hook is not present.')"103 zenity --error --text "$(eval_gettext 'Cannot file bug: \$apport_hook is not present.')"
98 fi104 fi
99}105}
100106
@@ -168,7 +174,7 @@
168 tar -cf ${xorg_backup_file} ${xorg_backup_dir}174 tar -cf ${xorg_backup_file} ${xorg_backup_dir}
169 rm -rf ${xorg_backup_dir}175 rm -rf ${xorg_backup_dir}
170176
171 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')"177 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')"
172}178}
173179
174# Scan Xorg.0.log for errors180# Scan Xorg.0.log for errors
175181
=== added directory 'debian/po-failsafe'
=== added file 'debian/po-failsafe/POTFILES.in'
--- debian/po-failsafe/POTFILES.in 1970-01-01 00:00:00 +0000
+++ debian/po-failsafe/POTFILES.in 2010-01-24 14:10:26 +0000
@@ -0,0 +1,1 @@
1debian/local/Failsafe/failsafeXinit
02
=== modified file 'debian/rules'
--- debian/rules 2009-12-07 14:53:09 +0000
+++ debian/rules 2010-01-24 14:10:26 +0000
@@ -35,6 +35,7 @@
35 dh_testdir35 dh_testdir
36 dh_clean debian/local/X debian/po/pothead36 dh_clean debian/local/X debian/po/pothead
37 -rm -rf stampdir37 -rm -rf stampdir
38 -rm -f debian/po-failsafe/failsafexinit.pot
38 -debconf-updatepo39 -debconf-updatepo
3940
4041
@@ -56,6 +57,7 @@
56 dh_testdir57 dh_testdir
57 # build Debian's X server wrapper58 # build Debian's X server wrapper
58 $(CC) -Wall -g -O2 -o debian/local/X debian/local/xserver-wrapper.c59 $(CC) -Wall -g -O2 -o debian/local/X debian/local/xserver-wrapper.c
60 xgettext -f debian/po-failsafe/POTFILES.in -d failsafexinit -o debian/po-failsafe/failsafexinit.pot -L Shell
59 touch $@61 touch $@
6062
61build-arch-only: build63build-arch-only: build

Subscribers

People subscribed via source and target branches

to all changes: