parameters: (env)
docstring: Return '--no-translator' flag if we run *msginit(1)*  in non-interactive
        mode.
docstring_summary: Return '--no-translator' flag if we run *msginit(1)*  in non-interactive
        mode.
docstring_tokens: Return -- no - translator flag if we run * msginit ( 1 ) * in non - interactive mode .
function: def _optional_no_translator_flag(env):
    """ Return '--no-translator' flag if we run *msginit(1)*  in non-interactive
        mode."""
    import SCons.Util
    if env.has_key('POAUTOINIT'):
      autoinit = env['POAUTOINIT']
    else:
      autoinit = False
    if autoinit:
      return [SCons.Util.CLVar('--no-translator')]
    else:
      return [SCons.Util.CLVar('')]
function_tokens: def _optional_no_translator_flag ( env ) : import SCons . Util if env . has_key ( 'POAUTOINIT' ) : autoinit = env [ 'POAUTOINIT' ] else : autoinit = False if autoinit : return [ SCons . Util . CLVar ( '--no-translator' ) ] else : return [ SCons . Util . CLVar ( '' ) ]