Some work about adaptive color scheme for Web UI (PR #19901)
http://[316:c51a:62a3:8b9::4]/d4708/qBittorrent/src/branch/adaptive-webui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
650 B
20 lines
650 B
12 years ago
|
TS_IN = $$fromfile(src/src.pro,TRANSLATIONS)
|
||
|
TS_IN_NOEXT = $$replace(TS_IN,".ts","")
|
||
|
|
||
|
isEmpty(QMAKE_LRELEASE) {
|
||
|
win32|os2:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\\lrelease.exe
|
||
|
else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
|
||
|
unix {
|
||
|
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease-qt4 }
|
||
|
} else {
|
||
|
!exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease }
|
||
|
}
|
||
|
}
|
||
|
|
||
|
message("Building translations")
|
||
|
for(L,TS_IN_NOEXT) {
|
||
|
message("Processing $${L}")
|
||
|
system("$$QMAKE_LRELEASE -silent src/$${L}.ts -qm src/$${L}.qm")
|
||
|
!exists("src/$${L}.qm"):error("Building translations failed, cannot continue")
|
||
|
}
|