trans_real.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:liberator 作者: libscie 项目源码 文件源码
def merge(self, other):
        """Merge another translation into this catalog."""
        if not getattr(other, '_catalog', None):
            return  # NullTranslations() has no _catalog
        if self._catalog is None:
            # Take plural and _info from first catalog found (generally Django's).
            self.plural = other.plural
            self._info = other._info.copy()
            self._catalog = other._catalog.copy()
        else:
            self._catalog.update(other._catalog)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号