~ubuntu-branches/ubuntu/vivid/kdesdk/vivid

« back to all changes in this revision

Viewing changes to lokalize/src/catalog/gettext/gettextexport.cpp

  • Committer: Package Import Robot
  • Author(s): Harald Sitter, Harald Sitter, Philip Muškovac
  • Date: 2012-09-10 18:27:36 UTC
  • mfrom: (0.4.24)
  • Revision ID: package-import@ubuntu.com-20120910182736-6tyibsfau626xll8
Tags: 4:4.9.1-0ubuntu1
[ Harald Sitter ]
* New upstream release

[ Philip Muškovac ]
* Change sonames from 4.9.0 to 4.9.* 

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
        writeComment( stream, catalogItem.comment() );
130
130
 
131
131
        const QString& msgctxt = catalogItem.msgctxt();
132
 
        if (! msgctxt.isEmpty() )
 
132
        if (! msgctxt.isEmpty() || catalogItem.keepEmptyMsgCtxt())
133
133
            writeKeyword( stream, "msgctxt", msgctxt );
134
134
 
135
135
        writeKeyword( stream, "msgid", catalogItem.msgid(), true, catalogItem.prependEmptyForMsgid() );