-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/lib/python2.7/dist-packages/bzrlib/plugins/po_merge/
File Upload :
Current File : //usr/lib/python2.7/dist-packages/bzrlib/plugins/po_merge/__init__.pyc

๓
‰๑Nc@@sฅddlmZdZddlmZmZddlmZd„Zeddƒedd	ƒed
dƒedd
ƒd„Z	eddde	dƒd„Z
dS(i(tabsolute_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

(tconfigtversion_info(tinstall_lazy_named_hookcC@stjj|d|ƒdS(Ns bzrlib.plugins.po_merge.po_merge(Rtoption_registryt
register_lazy(tkeytmember((sD/usr/lib/python2.7/dist-packages/bzrlib/plugins/po_merge/__init__.pytregister_lazy_option@s	spo_merge.commandtcommand_optionspo_merge.po_dirstpo_dirs_optionspo_merge.po_globtpo_glob_optionspo_merge.pot_globtpot_glob_optioncC@sddlm}||ƒS(s,Merger.merge_file_content hook for po files.i(tPoMerger(t bzrlib.plugins.po_merge.po_mergeR
(tmergerR
((sD/usr/lib/python2.7/dist-packages/bzrlib/plugins/po_merge/__init__.pyt
po_merge_hookKssbzrlib.mergesMerger.hookstmerge_file_contents.po file mergecC@s@dg}|j|jg|D]}dt|f^qƒƒ|S(Nttestss%s.%s(taddTesttloadTestsFromModuleNamest__name__(tbasic_teststmoduletloadert
testmod_namesttmn((sD/usr/lib/python2.7/dist-packages/bzrlib/plugins/po_merge/__init__.pyt
load_testsUs	'N(t
__future__Rt__doc__tbzrlibRRtbzrlib.hooksRRRR(((sD/usr/lib/python2.7/dist-packages/bzrlib/plugins/po_merge/__init__.pyt<module>s%	



	


Copyright © 2017 || Recoded By Mr.Bumblebee