freebsd-ports/x11/terminator/files/patch-terminator
Martin Wilke 49bf07ff24 Terminator is a Python terminal program, using the same widget as
gnome-terminal to provide a tiled set of terminals in as little
space as possible.

WWW:	http://www.tenshu.net/terminator/

PR:		ports/122489
Submitted by:	Thomas Hurst <tom at hur.st>
2008-04-30 08:22:00 +00:00

17 lines
380 B
Text

--- terminator.orig 2008-02-20 00:05:58.000000000 +0000
+++ terminator 2008-04-06 14:19:29.000000000 +0100
@@ -21,8 +21,12 @@
import os, sys, string, time, math
from optparse import OptionParser
-import gettext
-gettext.install ('terminator')
+try:
+ import gettext
+ gettext.install ('terminator')
+except:
+ def _(text):
+ return text
# import unix-lib
import pwd