def gettext_translate( s ):
"""
Thread-safe version of _().
We look up the thread-local translation function.
"""
return catalogs.translate(s)
# Inject the _() function in the builtins. You could also inject a N_()
# function for noop translation markers.
评论列表
文章目录