1313# translate(domain, msgid, mapping, context, target_language, default)
1414#
1515
16- __version__ = "$Revision: 1.1 $" [11 :- 2 ]
17- __date__ = "$Date: 2004-07-11 14:17:17 $" [7 :- 2 ]
16+ __version__ = "$Revision: 1.2 $" [11 :- 2 ]
17+ __date__ = "$Date: 2004-10-23 14:04:23 $" [7 :- 2 ]
1818
1919from roundup import i18n
2020from roundup .cgi .PageTemplates import Expressions , PathIterator , TALES
@@ -93,7 +93,7 @@ def getContext(self, contexts=None, **kwcontexts):
9393
9494### main API function
9595
96- def get_translation (language = None , domain = i18n . DOMAIN ,
96+ def get_translation (language = None , tracker_home = None ,
9797 translation_class = TranslationService ,
9898 null_translation_class = NullTranslationService
9999):
@@ -103,7 +103,8 @@ def get_translation(language=None, domain=i18n.DOMAIN,
103103 specify the classes that are instantiated for existing
104104 and non-existing translations, respectively.
105105 """
106- return i18n .get_translation (language = language , domain = domain ,
106+ return i18n .get_translation (language = language ,
107+ tracker_home = tracker_home ,
107108 translation_class = translation_class ,
108109 null_translation_class = null_translation_class )
109110
0 commit comments