VirtualBox

Changeset 3140 in vbox


Ignore:
Timestamp:
Jun 18, 2007 2:22:12 PM (18 years ago)
Author:
vboxsync
Message:

FE/Qt: Don't compress .qm files to avoid erroneous QTranslator::findMessage() behavior when it disregards the translation context.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r2981 r3140  
    402402OTHER_CLEAN += $(qmfile)
    403403
     404# Note that we use -nocompress in lrelease to avoid stripping comments and
     405# other information from .qm files. If we don't do that, we get .qm files two
     406# times smaller, but QTranslator::findMessage() will start searching for
     407# translations in all existing contexts in case if it cannot find it in the
     408# original context (which is of course not acceptable, no matter if it's a
     409# special Qt "feature" or just a bug).
     410
    404411$(qmfile): $(tsfile) | $$(call DIRDEP,$(dir $(qmfile)))
    405412        $$(call MSG_TOOLS,lrelease,$(target),$(tsfile),$$@)
    406         $$(QUIET)$$(VBOX_LRELEASE) $(tsfile) -qm $$@
     413        $$(QUIET)$$(VBOX_LRELEASE) -nocompress $(tsfile) -qm $$@
    407414
    408415endef
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette