From 951c257ea3655de6e80c26a36c18c69ee8047ea8 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Mon, 19 Mar 2007 05:14:07 +0000 Subject: Presenting GNOME 2.18 for FreeBSD. GNOME 2.18 is a departure from recent GNOME releases in that it focuses more on stability and functionality than on new features. Not that it doesn't have its share of new and exciting items. See http://www.gnome.org/start/2.18/ for all the goodies in this release. GNOME 2.18 for FreeBSD would not have been possible without the hard work of the FreeBSD GNOME Team and our intrepid band of testers including J. W. Ballantine, Pawel Worach, Yasuda Keisuke, Pascal Hofstee, miwi, Yoshihiro Ota, Vladimir Grebenschikov, Jukka A. Ukkonen, Phillip Neumann, Franz Klammer, and Neal Delmonico. --- .../gnome-doc-utils/files/patch-xml2po__xml2po.py | 41 ---------------------- 1 file changed, 41 deletions(-) delete mode 100644 textproc/gnome-doc-utils/files/patch-xml2po__xml2po.py (limited to 'textproc/gnome-doc-utils/files/patch-xml2po__xml2po.py') diff --git a/textproc/gnome-doc-utils/files/patch-xml2po__xml2po.py b/textproc/gnome-doc-utils/files/patch-xml2po__xml2po.py deleted file mode 100644 index e0620056fab5..000000000000 --- a/textproc/gnome-doc-utils/files/patch-xml2po__xml2po.py +++ /dev/null @@ -1,41 +0,0 @@ ---- xml2po/xml2po.py.orig Sun Apr 2 03:47:17 2006 -+++ xml2po/xml2po.py Fri Oct 20 00:57:46 2006 -@@ -242,14 +242,10 @@ - text = normalizeString(text, not spacepreserve) - if (text.strip() == ''): - return text -- file = open(mofile, "rb") -- if file: -- myfallback = NoneTranslations() -- gt = gettext.GNUTranslations(file) -- gt.add_fallback(myfallback) -- if gt: -- res = gt.ugettext(text.decode('utf-8')) -- return res -+ global gt -+ if gt: -+ res = gt.ugettext(text.decode('utf-8')) -+ return res - - return text - -@@ -648,6 +644,7 @@ - filename = '' - origxml = '' - mofile = '' -+gt = None - ultimate = [ ] - ignored = [ ] - filenames = [ ] -@@ -763,6 +760,11 @@ - if mode=='merge' and mofile=='': - print >> sys.stderr, "Error: You must specify MO file when merging translations." - sys.exit(3) -+ -+file = open(mofile, "rb") -+if file: -+ gt = gettext.GNUTranslations(file) -+ gt.add_fallback(NoneTranslations()) - - ultimate_tags = read_finaltags(ultimate) - ignored_tags = read_ignoredtags(ignored) -- cgit v1.2.3