[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Pology posummit templates fails on python lambda error
From:       Tomáš Chvátal <tomas.chvatal () gmail ! com>
Date:       2013-01-19 19:37:52
Message-ID: CA+Nrkpf5ggpvr+nA+ePiVPvzNwHMjFcwY2TC8WH-Q5MzYaQzpw () mail ! gmail ! com
[Download RAW message or body]

2013/1/19 Tomáš Chvátal <tomas.chvatal@gmail.com>:
>
>     # Decide the extension of catalogs.
>     if p.over_templates and p.lang == p.templates_lang:
>         catext = ".pot"
>         b.topdir = b.topdir_templates
>     else:
>         catext = ".po"
>
Actually problem and fix is almost right, i reset the topdir on wrong
place, it needs to be done few lines bellow.

    # Collect catalogs from branches.
    p.catalogs = {}
    for b in p.branches:
        if catext == '.pot':
            b.topdir = b.topdir_templates
        p.catalogs[b.id] = collect_catalogs(b.topdir, catext,
                                            b.by_lang, b.ignored, b.split_path,
                                            project, options)


Tom
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic