~rigved/computer-janitor/bug-458872

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Barry Warsaw
  • Date: 2010-08-24 11:00:14 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20100824110014-ot5hqxhcpbjlyf77
Tags: 2.0.3-0ubuntu1
* Fixes for translation support.
  - Turn {foo} string substitutions back into %(foo)s strings since
    gettext does not yet support validation of {foo} or $foo
    substitutions.  (LP: #621723)
  - Ensure that POTFILES.in has the proper type information for the
    ComputerJanitor.ui file.  (LP: #612493)

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
update-po:
45
45
        echo '[encoding: UTF-8]' > po/POTFILES.in; \
46
46
        find computerjanitorapp -name \*.py >> po/POTFILES.in; \
47
 
        ls data/*.ui data/*.in plugins/*.py >> po/POTFILES.in; \
 
47
        for f in data/*.ui; do \
 
48
                echo '[type: gettext/glade]'$$f >> po/POTFILES.in; \
 
49
        done; \
 
50
        ls data/*.in plugins/*.py >> po/POTFILES.in; \
48
51
        python setup.py build_i18n --merge-po --po-dir po