-=[ Mr. Bumblebee ]=-
_Indonesia_
๓
๑Nc @@ sฅ d d l m Z d Z d d l m Z m Z d d l m Z d Z e d d e d d e d
d e d d
d Z e d d d e d d Z
d S( i ( t absolute_importsไ Merge hook for ``.po`` files.
To enable this plugin, add a section to your branch.conf or location.conf
like::
[/home/user/code/bzr]
po_merge.pot_dirs = po,doc/po4a/po
The ``po_merge.pot_dirs`` config option takes a list of directories that can
contain ``.po`` files, separated by commas (if several directories are
needed). Each directory should contain a single ``.pot`` file.
The ``po_merge.command`` is the command whose output is used as the result of
the merge. It defaults to::
msgmerge -N "{other}" "{pot_file}" -C "{this}" -o "{result}"
where:
* ``this`` is the ``.po`` file content before the merge in the current branch,
* ``other`` is the ``.po`` file content in the branch merged from,
* ``pot_file`` is the path to the ``.pot`` file corresponding to the ``.po``
file being merged.
If conflicts occur in a ``.pot`` file during a given merge, the ``.po`` files
will use the ``.pot`` file present in tree before the merge. If this doesn't
suit your needs, you should can disable the plugin during the merge with::
bzr merge <usual merge args> -Opo_merge.po_dirs=
This will allow you to resolve the conflicts in the ``.pot`` file and then
merge the ``.po`` files again with::
bzr remerge po/*.po doc/po4a/po/*.po
( t configt version_info( t install_lazy_named_hookc C@ s t j j | d | d S( Ns bzrlib.plugins.po_merge.po_merge( R t option_registryt
register_lazy( t keyt member( ( sD /usr/lib/python2.7/dist-packages/bzrlib/plugins/po_merge/__init__.pyt register_lazy_option@ s s po_merge.commandt command_options po_merge.po_dirst po_dirs_options po_merge.po_globt po_glob_options po_merge.pot_globt pot_glob_optionc C@ s d d l m } | | S( s, Merger.merge_file_content hook for po files.i ( t PoMerger( t bzrlib.plugins.po_merge.po_mergeR
( t mergerR
( ( sD /usr/lib/python2.7/dist-packages/bzrlib/plugins/po_merge/__init__.pyt
po_merge_hookK s s bzrlib.merges Merger.hookst merge_file_contents .po file mergec C@ s@ d g } | j | j g | D] } d t | f ^ q | S( Nt testss %s.%s( t addTestt loadTestsFromModuleNamest __name__( t basic_testst modulet loadert
testmod_namest tmn( ( sD /usr/lib/python2.7/dist-packages/bzrlib/plugins/po_merge/__init__.pyt
load_testsU s 'N( t
__future__R t __doc__t bzrlibR R t bzrlib.hooksR R R R ( ( ( sD /usr/lib/python2.7/dist-packages/bzrlib/plugins/po_merge/__init__.pyt <module> s %
Copyright © 2017 || Recoded By Mr.Bumblebee