Commit Graph

123 Commits

Author SHA1 Message Date
Julien Palard f5f89335ee Sync with transifex 2017-09-12 14:04:59 +02:00
Julien Palard 6839802243 merge pot files. 2017-09-12 13:40:22 +02:00
Julien Palard fe64bf3d16 merge pot files. 2017-08-29 14:38:59 +02:00
Julien Palard aa4930ac30 More classical order of metadata. 2017-08-11 19:15:15 +02:00
Julien Palard 3ad393d7af Sync with transifex 2017-08-10 07:19:57 +02:00
Julien Palard 2e67138a40 Replicating known translations. 2017-08-10 07:17:13 +02:00
Julien Palard d66ca95dab merge pot files. 2017-08-10 01:06:46 +02:00
Julien Palard 67baa865d6 Review fuzzy strings after pot merge. 2017-08-01 14:16:10 +02:00
Julien Palard 4ef9eaac76 merge pot files. 2017-08-01 13:29:09 +02:00
Julien Palard b646cacef7 tx pull. 2017-05-28 17:52:50 +02:00
Julien Palard 429044df5b Review fuzzy strings after pot merge. 2017-05-27 23:11:48 +02:00
Julien Palard dcd20adc42 merge pot files. 2017-05-27 23:07:59 +02:00
Julien Palard 39817a3e09 whatsnew: Copy python versions using poedit (C-b). 2017-05-27 14:32:49 +02:00
Julien Palard c5bf46e78a whatsnew: Automatically replicate issue titles using:
pofile = polib.pofile('./whatsnew/changelog.po')
    for entry in pofile:
        bpo = re.search('bpo-[0-9]+', entry.msgid)
        if bpo:
            entry.msgstr = entry.msgid
            if 'fuzzy' in entry.flags:
                entry.flags.remove('fuzzy')
    pofile.save()
2017-05-27 14:31:43 +02:00
Julien Palard 4d5679b56b changelog: Automatically copy bug titles in fuzzy strings. 2017-05-27 14:28:40 +02:00
Julien Palard 15f004e3e1 Manually reviewing fuzzy in whatsnew/ 2017-05-27 14:26:58 +02:00
Julien Palard 13e9d6adab Bulk update s/Issue #[0-9]/bpo-[0-9]/ in whatsnew/changelog.po.
Done with:

    pofile = polib.pofile('./whatsnew/changelog.po')
    for entry in pofile.fuzzy_entries():
        bpo = re.search('bpo-[0-9]+', entry.msgid)
        issue = re.search('Issue #[0-9]+', entry.msgstr)
        if bpo and issue:
            bpo = bpo.group(0)
            issue = issue.group(0)
            bpo_number = int(bpo.split('-')[1])
            issue_number = int(issue.split('#')[1])
            if bpo_number == issue_number:
                entry.msgstr = entry.msgstr.replace(issue, bpo)
                entry.flags.remove('fuzzy')
    pofile.save()
2017-05-27 14:22:57 +02:00
Julien Palard 4474968850 tx pull 2017-05-25 22:36:09 +02:00
Julien Palard 5f42b67249 Set Language header to each po file. 2017-05-24 00:40:56 +02:00
Julien Palard e924d36e1a Transifex pull. 2017-05-10 14:15:25 +02:00
Julien Palard 4cb8c0a89b Merge (and review) from transifex. 2017-04-03 09:25:21 +02:00
Julien Palard a25cddd031 3.6: merge pot files 2017-04-02 22:14:06 +02:00
Julien Palard 84e5545ebb Hi, gettext_compact=0. 2016-10-30 10:50:10 +01:00