2011-07-07

Slitaz -- qtcreator-lrelease



1.
root@slitaz:/tmp/qt-creator-qt-creator/share/qtcreator/translations# diff translations.pro-orig translations.pro
--- translations.pro-orig
+++ translations.pro
@@ -1,6 +1,6 @@
 include(../../../qtcreator.pri)

-LANGUAGES = cs de fr hu ja pl ru sl zh_CN
+LANGUAGES = cs de fr hu ja pl ru sl zh_CN zh_TW

 # var, prepend, append
 defineReplace(prependAll) {

2.
為項目translations執行構建步驟 ...
正在啟動 "/usr/bin/qmake" /tmp/qt-creator-qt-creator/share/qtcreator/translations/translations.pro -r -spec linux-g++
進程"/usr/bin/qmake"正常退出。
正在啟動 "/usr/bin/make" -w
make: Entering directory `/tmp/qt-creator-qt-creator/share/qtcreator/translations-build-desktop'
/usr/bin/lrelease ../translations/qtcreator_cs.ts -qm share/qtcreator/translations/qtcreator_cs.qm
Updating 'share/qtcreator/translations/qtcreator_cs.qm'...
    Generated 4067 translation(s) (4067 finished and 0 unfinished)
/usr/bin/lrelease ../translations/qtcreator_de.ts -qm share/qtcreator/translations/qtcreator_de.qm
Updating 'share/qtcreator/translations/qtcreator_de.qm'...
    Generated 5979 translation(s) (5979 finished and 0 unfinished)
/usr/bin/lrelease ../translations/qtcreator_fr.ts -qm share/qtcreator/translations/qtcreator_fr.qm
Updating 'share/qtcreator/translations/qtcreator_fr.qm'...
    Generated 5438 translation(s) (5438 finished and 0 unfinished)
/usr/bin/lrelease ../translations/qtcreator_hu.ts -qm share/qtcreator/translations/qtcreator_hu.qm
Updating 'share/qtcreator/translations/qtcreator_hu.qm'...
    Generated 2846 translation(s) (2846 finished and 0 unfinished)
/usr/bin/lrelease ../translations/qtcreator_ja.ts -qm share/qtcreator/translations/qtcreator_ja.qm
Updating 'share/qtcreator/translations/qtcreator_ja.qm'...
    Generated 5346 translation(s) (5345 finished and 1 unfinished)
    Ignored 95 untranslated source text(s)
/usr/bin/lrelease ../translations/qtcreator_pl.ts -qm share/qtcreator/translations/qtcreator_pl.qm
Updating 'share/qtcreator/translations/qtcreator_pl.qm'...
    Generated 5477 translation(s) (5449 finished and 28 unfinished)
    Ignored 463 untranslated source text(s)
/usr/bin/lrelease ../translations/qtcreator_ru.ts -qm share/qtcreator/translations/qtcreator_ru.qm
Updating 'share/qtcreator/translations/qtcreator_ru.qm'...
    Generated 5439 translation(s) (5439 finished and 0 unfinished)
/usr/bin/lrelease ../translations/qtcreator_sl.ts -qm share/qtcreator/translations/qtcreator_sl.qm
Updating 'share/qtcreator/translations/qtcreator_sl.qm'...
    Generated 4057 translation(s) (4057 finished and 0 unfinished)
    Ignored 9 untranslated source text(s)
/usr/bin/lrelease ../translations/qtcreator_zh_CN.ts -qm share/qtcreator/translations/qtcreator_zh_CN.qm
Updating 'share/qtcreator/translations/qtcreator_zh_CN.qm'...
    Generated 5439 translation(s) (5439 finished and 0 unfinished)
/usr/bin/lrelease ../translations/qtcreator_zh_TW.ts -qm share/qtcreator/translations/qtcreator_zh_TW.qm
Updating 'share/qtcreator/translations/qtcreator_zh_TW.qm'...
    Generated 5439 translation(s) (5439 finished and 0 unfinished)
make: Leaving directory `/tmp/qt-creator-qt-creator/share/qtcreator/translations-build-desktop'
進程"/usr/bin/make"正常退出。

3.
root@slitaz:~# ls -lh /tmp/qt-creator-qt-creator/share/qtcreator/translations-build-desktop/shar
e/qtcreator/translations/
total 6708
-rw-r--r--    1 root     root      548.9K Jul  7 15:11 qtcreator_cs.qm
-rw-r--r--    1 root     root      906.1K Jul  7 15:11 qtcreator_de.qm
-rw-r--r--    1 root     root      837.4K Jul  7 15:11 qtcreator_fr.qm
-rw-r--r--    1 root     root      396.1K Jul  7 15:11 qtcreator_hu.qm
-rw-r--r--    1 root     root      623.9K Jul  7 15:11 qtcreator_ja.qm
-rw-r--r--    1 root     root      787.3K Jul  7 15:11 qtcreator_pl.qm
-rw-r--r--    1 root     root      789.5K Jul  7 15:11 qtcreator_ru.qm
-rw-r--r--    1 root     root      539.8K Jul  7 15:11 qtcreator_sl.qm
-rw-r--r--    1 root     root      591.2K Jul  7 15:11 qtcreator_zh_CN.qm
-rw-r--r--    1 root     root      591.2K Jul  7 15:11 qtcreator_zh_TW.qm
root@slitaz:~#
.