summaryrefslogtreecommitdiffstats
path: root/tools/linguist/shared/qm.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers as requested by the marketing department.Jason McDonald2009-06-161-2/+2
| | | | Reviewed-by: Trust Me
* duplicate message handling improvementsOswald Buddenhagen2009-04-021-1/+0
| | | | | | | | | | | | | | | - lrelease will not abort on duplicates any more - lconvert now gets noisy, but only if messages within one file are duplicated (combining files with identical messages is ok) - lupdate stays silent, but will eliminate duplicates again - consolidate handling of dual-encoded and duplicate messages - for performance - instead of the format loader, now the app is responsible for calling the duplicate handler. this allows for the fine-grained control necessary for optimal performance. Task-number: 247738
* static is even better than constOswald Buddenhagen2009-03-271-4/+4
|
* properly deal with messages which appear in multiple encodingsOswald Buddenhagen2009-03-271-133/+158
| | | | | | | | | | | | | in ts 1.1 and qm files, messages appear in their native encoding. that means that a message can appear multiple times - once in utf8 and once in the codecForTr. however, in ts 2.0 files, everything is utf8 and messages can have a utf8 flag for the later transformation into qm. unfortunately, there was no flag to mark that the message is needed in *both* encodings, and the respective case was completely ignored when reading ts 1.1 and qm files (causing error messages). Task-number: 249022 AutoTest: 322690
* micro-optimization: don't evaluate same condition twiceOswald Buddenhagen2009-03-271-2/+2
|
* actually ignore untranslated messages as it claimsOswald Buddenhagen2009-03-271-2/+4
|
* Long live Qt 4.5!Lars Knoll2009-03-231-0/+717