mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-08 10:11:21 +00:00
Make translations working again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34988 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
40df0dbc7d
commit
539b77fec3
@ -9,7 +9,7 @@ project(po)
|
|||||||
|
|
||||||
include_directories(${TOP_SRC_DIR}/po)
|
include_directories(${TOP_SRC_DIR}/po)
|
||||||
|
|
||||||
SET(_lyxname ${LYX_PROJECT})
|
SET(_lyxname ${PACKAGE})
|
||||||
SET(_py_sources)
|
SET(_py_sources)
|
||||||
macro(add_gettext_python _par _dir)
|
macro(add_gettext_python _par _dir)
|
||||||
set(_sources)
|
set(_sources)
|
||||||
@ -128,7 +128,7 @@ foreach(_pofile ${LYX_BASE_PO_FILES})
|
|||||||
endforeach(_pofile)
|
endforeach(_pofile)
|
||||||
|
|
||||||
# ALL omitted here, to prevent from automatic creation
|
# ALL omitted here, to prevent from automatic creation
|
||||||
if(LYX_CPACK)
|
if(LYX_CPACK OR LYX_INSTALL)
|
||||||
set(_addALLOption ALL)
|
set(_addALLOption ALL)
|
||||||
endif()
|
endif()
|
||||||
GETTEXT_CREATE_TRANSLATIONS(${CMAKE_CURRENT_BINARY_DIR}/${_lyxname}.pot ${_addALLOption} ${LYX_PO_FILES})
|
GETTEXT_CREATE_TRANSLATIONS(${CMAKE_CURRENT_BINARY_DIR}/${_lyxname}.pot ${_addALLOption} ${LYX_PO_FILES})
|
||||||
|
Loading…
Reference in New Issue
Block a user