diff options
author | Hyotaek Shim <hyotaek.shim@samsung.com> | 2022-01-26 19:56:31 +0900 |
---|---|---|
committer | Hyotaek Shim <hyotaek.shim@samsung.com> | 2022-01-26 19:56:38 +0900 |
commit | 83e348217aa4a7455b77fc52917d2ac6aef11aaf (patch) | |
tree | 070d5de8ae43a0d3388586bbee1b341541707261 /po/CMakeLists.txt | |
parent | 45858fb24bd458f950ccde042bf1f4380bd1d7c1 (diff) | |
parent | cff976c40267cef4368b877cccb9015b0d12ed9b (diff) | |
download | factory-reset-submit/tizen_6.5/20220126.105919.tar.gz factory-reset-submit/tizen_6.5/20220126.105919.tar.bz2 factory-reset-submit/tizen_6.5/20220126.105919.zip |
Merge remote-tracking branch 'origin/tizen' into tizen_6.5submit/tizen_6.5/20220126.105919accepted/tizen/6.5/unified/20220127.132949tizen_6.5accepted/tizen_6.5_unified
Change-Id: I9afc55dea5439676188f9a82854bc99d6fcde74f
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Diffstat (limited to 'po/CMakeLists.txt')
-rw-r--r-- | po/CMakeLists.txt | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt deleted file mode 100644 index 016c26b..0000000 --- a/po/CMakeLists.txt +++ /dev/null @@ -1,23 +0,0 @@ -# for i18n - -SET(POFILES ar as az bg bn bn_BD ca cs da de el_GR en_PH en en_US es_ES es_US et eu fa fi fr_CA fr ga gl gu he hi hr hu hy id is it_IT ja_JP ka kk km kn ko_KR ky_KG lo lt lv mk ml mn_MN mr ms my nb ne nl or pa pl pt_BR pt_PT ro ru_RU si sk sl sq sr sv ta te tg_TJ th tk_TM tl tr_TR uk ur uz vi zh_CN zh_HK zh_TW) -SET(MSGFMT "/usr/bin/msgfmt") - -FOREACH(pofile ${POFILES}) - SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile}.po) - MESSAGE("PO: ${pofile}") - GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE) - GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE) - SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo) - ADD_CUSTOM_COMMAND( - OUTPUT ${moFile} - COMMAND ${MSGFMT} -o ${moFile} ${absPofile} - DEPENDS ${absPofile} - ) - INSTALL(FILES ${moFile} - DESTINATION share/locale/${lang}/LC_MESSAGES RENAME ${PROJECT_NAME}.mo) - SET(moFiles ${moFiles} ${moFile}) -ENDFOREACH(pofile) - -MESSAGE(".mo files: ${moFiles}") -ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles}) |