예제 #1
0
def _POUpdateBuilder(env, **kw):
    """ Create an object of `POUpdate` builder """
    import SCons.Action
    from SCons.Tool.GettextCommon import _POFileBuilder

    action = SCons.Action.Action(_update_or_init_po_files, None)
    return _POFileBuilder(env, action=action, target_alias="$POUPDATE_ALIAS")
예제 #2
0
파일: msginit.py 프로젝트: lijenpan/mapnik
def _POInitBuilder(env, **kw):
    """ Create builder object for `POInit` builder. """
    import SCons.Action
    from SCons.Tool.GettextCommon import _init_po_files, _POFileBuilder

    action = SCons.Action.Action(_init_po_files, None)
    return _POFileBuilder(env, action=action, target_alias="$POCREATE_ALIAS")
예제 #3
0
def _POUpdateBuilder(env, **kw):
  """ Create an object of `POUpdate` builder """
  import SCons.Action
  from SCons.Tool.GettextCommon import _POFileBuilder
  action = SCons.Action.Action(_update_or_init_po_files, None)
  return _POFileBuilder(env, action=action, target_alias='$POUPDATE_ALIAS')
예제 #4
0
def _POInitBuilder(env, **kw):
    """ Create builder object for `POInit` builder. """
    import SCons.Action
    from SCons.Tool.GettextCommon import _init_po_files, _POFileBuilder
    action = SCons.Action.Action(_init_po_files, None)
    return _POFileBuilder(env, action=action, target_alias='$POCREATE_ALIAS')
예제 #5
0
def _POInitBuilder(env, **kw):
    """ Create builder object for `POInit` builder. """

    action = SCons.Action.Action(_init_po_files, None)
    return _POFileBuilder(env, action=action, target_alias='$POCREATE_ALIAS')
예제 #6
0
파일: msgmerge.py 프로젝트: psydox/Nuitka
def _POUpdateBuilder(env, **kw):
    """ Create an object of `POUpdate` builder """

    action = SCons.Action.Action(_update_or_init_po_files, None)
    return _POFileBuilder(env, action=action, target_alias='$POUPDATE_ALIAS')