forked from Mirrorlandia_minetest/minetest
Do not package en translation, since we don't build it
This commit is contained in:
parent
d4e7faca21
commit
5aa2679be7
@ -267,9 +267,11 @@ if(BUILD_CLIENT)
|
|||||||
|
|
||||||
if(GETTEXT_FOUND AND USE_GETTEXT)
|
if(GETTEXT_FOUND AND USE_GETTEXT)
|
||||||
foreach(LOCALE ${GETTEXT_AVAILABLE_LOCALES})
|
foreach(LOCALE ${GETTEXT_AVAILABLE_LOCALES})
|
||||||
set_mo_paths(MO_BUILD_PATH MO_DEST_PATH ${LOCALE})
|
if (NOT LOCALE STREQUAL "en")
|
||||||
set(MO_BUILD_PATH "${MO_BUILD_PATH}/${PROJECT_NAME}.mo")
|
set_mo_paths(MO_BUILD_PATH MO_DEST_PATH ${LOCALE})
|
||||||
install(FILES ${MO_BUILD_PATH} DESTINATION ${MO_DEST_PATH})
|
set(MO_BUILD_PATH "${MO_BUILD_PATH}/${PROJECT_NAME}.mo")
|
||||||
|
install(FILES ${MO_BUILD_PATH} DESTINATION ${MO_DEST_PATH})
|
||||||
|
endif(NOT LOCALE STREQUAL "en")
|
||||||
endforeach(LOCALE ${GETTEXT_AVAILABLE_LOCALES})
|
endforeach(LOCALE ${GETTEXT_AVAILABLE_LOCALES})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user