c3po/converters/po_csv.py
def _get_new_msgstrs(po_file_path, msgids):
    """
    Write new msgids which appeared in po files with empty msgstrs values
    and metadata. Look for all new msgids which are diffed with msgids list
    provided as an argument.
    """
    po_file = polib.pofile(po_file_path)

    msgstrs = {}

    for entry in po_file:
        if entry.msgid not in msgids:
            msgstrs[entry.msgid] = entry.msgstr

    return msgstrs
def _get_new_msgstrs(po_file_path, msgids):
    """
    Write new msgids which appeared in po files with empty msgstrs values
    and metadata. Look for all new msgids which are diffed with msgids list
    provided as an argument.
    """
    po_file = polib.pofile(po_file_path)

    msgstrs = {}

    for entry in po_file:
        if entry.msgid not in msgids:
            msgstrs[entry.msgid] = entry.msgstr

    return msgstrs
Write new msgids which appeared in po files with empty msgstrs values
    and metadata. Look for all new msgids which are diffed with msgids list
    provided as an argument.