mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-25 07:57:19 +00:00
fixed translations
This commit is contained in:
parent
3545b9c1f1
commit
c0e1f9c094
@ -1,4 +1,7 @@
|
|||||||
find_package(KDE4 REQUIRED)
|
# set project name
|
||||||
|
set (SUBPROJECT pytextmonitor)
|
||||||
|
|
||||||
|
# dependencies
|
||||||
find_package(Gettext REQUIRED)
|
find_package(Gettext REQUIRED)
|
||||||
|
|
||||||
if (NOT GETTEXT_MSGFMT_EXECUTABLE)
|
if (NOT GETTEXT_MSGFMT_EXECUTABLE)
|
||||||
@ -17,7 +20,7 @@ foreach (_current_PO_FILE ${_po_files})
|
|||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
|
||||||
DEPENDS ${_current_PO_FILE})
|
DEPENDS ${_current_PO_FILE})
|
||||||
|
|
||||||
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${_lang}.gmo DESTINATION ${LOCALE_INSTALL_DIR}/${_lang}/LC_MESSAGES/ RENAME plasma_applet_pytextmonitor.mo)
|
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${_lang}.gmo DESTINATION "share/apps/plasma/plasmoids/${SUBPROJECT}/locale/${_lang}/LC_MESSAGES" RENAME ${SUBPROJECT}.mo)
|
||||||
list (APPEND _gmoFiles ${_gmoFile})
|
list (APPEND _gmoFiles ${_gmoFile})
|
||||||
endforeach (_current_PO_FILE)
|
endforeach (_current_PO_FILE)
|
||||||
add_custom_target (pofiles ALL DEPENDS ${_gmoFiles})
|
add_custom_target (pofiles ALL DEPENDS ${_gmoFiles})
|
||||||
|
Loading…
Reference in New Issue
Block a user