diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-01-05 17:41:14 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-01-05 17:41:14 +0000 |
commit | 345399ae9da384128996de6d3749b24ef38f0e4c (patch) | |
tree | 051487408e72a004bf2878e7eb3461b768db54e7 /deskutils | |
parent | 2f39ffb4bb09d72972c6fa84e3c92381184ff5b3 (diff) | |
download | ports-345399ae9da384128996de6d3749b24ef38f0e4c.tar.gz ports-345399ae9da384128996de6d3749b24ef38f0e4c.zip |
Notes
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/gdesklets/Makefile | 1 | ||||
-rw-r--r-- | deskutils/gdesklets/files/patch-utils::i18n.py | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/deskutils/gdesklets/Makefile b/deskutils/gdesklets/Makefile index d83c9488b9b0..d4f36ca65fcd 100644 --- a/deskutils/gdesklets/Makefile +++ b/deskutils/gdesklets/Makefile @@ -7,6 +7,7 @@ PORTNAME= gdesklets PORTVERSION= 0.25.1 +PORTREVISION= 1 CATEGORIES= deskutils gnome MASTER_SITES= http://www.pycage.de/download/${PORTNAME}/ DISTNAME= gDesklets-${PORTVERSION} diff --git a/deskutils/gdesklets/files/patch-utils::i18n.py b/deskutils/gdesklets/files/patch-utils::i18n.py new file mode 100644 index 000000000000..f62cd5a201d3 --- /dev/null +++ b/deskutils/gdesklets/files/patch-utils::i18n.py @@ -0,0 +1,13 @@ +--- utils/i18n.py.orig Sun Jan 4 13:56:21 2004 ++++ utils/i18n.py Sun Jan 4 14:26:10 2004 +@@ -12,6 +12,9 @@ + translate = gettext.translation(domain, localedir).gettext + + except: +- translate = dummy ++ try: ++ translate = gettext.translation("gdesklets", localedir).gettext ++ except: ++ translate = dummy + + return translate |