-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into lighthouse-master
- Loading branch information
Showing
1,967 changed files
with
194,789 additions
and
97,571 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
############################################################################# | ||
## | ||
## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | ||
## Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). | ||
## All rights reserved. | ||
## Contact: Nokia Corporation ([email protected]) | ||
## | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
############################################################################# | ||
## | ||
## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | ||
## Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). | ||
## All rights reserved. | ||
## Contact: Nokia Corporation ([email protected]) | ||
## | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,41 @@ | ||
CONFIG += localize_deployment | ||
|
||
qtPrepareTool(LRELEASE, lrelease) | ||
|
||
loc.CONFIG = no_link | ||
loc.commands = $$LRELEASE ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_OUT} | ||
loc.output = $${EPOCROOT}epoc32/data/z/resource/qt/translations/${QMAKE_FILE_BASE}.qm | ||
loc.input = TRANSLATIONS | ||
loc.variable_out = PRE_TARGETDEPS | ||
isEmpty(SYMBIANTRANSLATIONSFILES): SYMBIANTRANSLATIONSFILES = $$symbianRemoveSpecialCharacters($$basename(TARGET)) | ||
isEmpty(SYMBIANTRANSLATIONS):exists($${EPOCROOT}epoc32/tools/qt/mkspecs/features/symbian/symbian_i18n.prf) { | ||
load($${EPOCROOT}epoc32/tools/qt/mkspecs/features/symbian/symbian_i18n.prf) | ||
} | ||
isEmpty(SYMBIANTRANSLATIONDIR): SYMBIANTRANSLATIONDIR = $${EPOCROOT}epoc32/data/z/resource/qt/translations | ||
isEmpty(SYMBIANWINSCWUDEBTRANSLATIONDIR): SYMBIANWINSCWUDEBTRANSLATIONDIR = $${EPOCROOT}epoc32/release/winscw/udeb/z/resource/qt/translations | ||
isEmpty(SYMBIANWINSCWURELTRANSLATIONDIR): SYMBIANWINSCWURELTRANSLATIONDIR = $${EPOCROOT}epoc32/release/winscw/urel/z/resource/qt/translations | ||
|
||
for(FILE, SYMBIANTRANSLATIONSFILES) { | ||
for(LANGID, SYMBIANTRANSLATIONS) { | ||
TRANSLATIONS += $${EPOCROOT}epoc32/include/platform/qt/translations/$${FILE}_$${LANGID}.ts | ||
} | ||
} | ||
|
||
loc_winscwudeb.CONFIG = no_link | ||
loc_winscwudeb.commands = $$LRELEASE ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_OUT} | ||
loc_winscwudeb.output = $${EPOCROOT}epoc32/release/winscw/udeb/z/resource/qt/translations/${QMAKE_FILE_BASE}.qm | ||
loc_winscwudeb.input = TRANSLATIONS | ||
loc_winscwudeb.variable_out = PRE_TARGETDEPS | ||
contains(CONFIG, loc_source_string) { | ||
LRELEASE_PARAMS = -qm | ||
} else { | ||
LRELEASE_PARAMS = -idbased -qm | ||
} | ||
|
||
loc.CONFIG = no_link target_predeps | ||
loc.commands = $$LRELEASE ${QMAKE_FILE_IN} $$LRELEASE_PARAMS ${QMAKE_FILE_OUT} | ||
loc.input = TRANSLATIONS | ||
loc.output = $$SYMBIANTRANSLATIONDIR/${QMAKE_FILE_BASE}.qm | ||
loc.variable_out = GENERATED_QM_FILES | ||
|
||
loc_winscwurel.CONFIG = no_link | ||
loc_winscwurel.commands = $$LRELEASE ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_OUT} | ||
loc_winscwurel.output = $${EPOCROOT}epoc32/release/winscw/urel/z/resource/qt/translations/${QMAKE_FILE_BASE}.qm | ||
loc_winscwurel.input = TRANSLATIONS | ||
loc_winscwurel.variable_out = PRE_TARGETDEPS | ||
copy_qm_winscw_udeb.CONFIG = no_link target_predeps | ||
copy_qm_winscw_udeb.commands = $$QMAKE_COPY ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT} | ||
copy_qm_winscw_udeb.input = GENERATED_QM_FILES | ||
copy_qm_winscw_udeb.output = $$SYMBIANWINSCWUDEBTRANSLATIONDIR/${QMAKE_FILE_BASE}.qm | ||
|
||
QMAKE_EXTRA_COMPILERS += loc | ||
QMAKE_EXTRA_COMPILERS += loc_winscwudeb | ||
QMAKE_EXTRA_COMPILERS += loc_winscwurel | ||
copy_qm_winscw_urel.CONFIG = $$copy_qm_winscw_udeb.CONFIG | ||
copy_qm_winscw_urel.commands = $$copy_qm_winscw_udeb.commands | ||
copy_qm_winscw_urel.input = $$copy_qm_winscw_udeb.input | ||
copy_qm_winscw_urel.output = $$SYMBIANWINSCWURELTRANSLATIONDIR/${QMAKE_FILE_BASE}.qm | ||
|
||
QMAKE_EXTRA_COMPILERS += loc copy_qm_winscw_udeb copy_qm_winscw_urel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.