accerciser r696 - in trunk: . src/lib/accerciser
- From: bgmerrell svn gnome org
- To: svn-commits-list gnome org
- Subject: accerciser r696 - in trunk: . src/lib/accerciser
- Date: Mon, 2 Feb 2009 21:46:08 +0000 (UTC)
Author: bgmerrell
Date: Mon Feb 2 21:46:08 2009
New Revision: 696
URL: http://svn.gnome.org/viewvc/accerciser?rev=696&view=rev
Log:
* src/lib/accerciser/i18n.py.in: Use gettext.gettext (imported as
translate_func) instead of _ in C_ to avoid distcheck failure. This
is part of the 1.5.9 release.
Modified:
trunk/ChangeLog
trunk/src/lib/accerciser/i18n.py.in
Modified: trunk/src/lib/accerciser/i18n.py.in
==============================================================================
--- trunk/src/lib/accerciser/i18n.py.in (original)
+++ trunk/src/lib/accerciser/i18n.py.in Mon Feb 2 21:46:08 2009
@@ -24,6 +24,7 @@
U{http://www.opensource.org/licenses/bsd-license.php}
'''
import sys, locale, gettext, os.path, gtk.glade
+from gettext import gettext as translate_func
def bind(domain, locale_dir):
'''
@@ -66,7 +67,7 @@
more than one string in another locale. We provide a convention to
provide contextual information for the string so that translators can
do the right thing.'''
- translated = _('%s\x04%s' % (ctx, s))
+ translated = translate_func('%s\x04%s' % (ctx, s))
if '\x04' in translated:
# no translation found, return input string
return s
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]