Commit e858ecdd authored by Luigi Toscano's avatar Luigi Toscano
Browse files

Fix translations: add translation domain for generators

Generators are libraries, so define the proper TRANSLATION_DOMAIN
for each for them.

Thanks Albert for spotting this.
parent a8a79368
add_definitions(-DTRANSLATION_DOMAIN="okular_chm")
add_subdirectory( kio-msits )
include_directories(
......
add_definitions(-DTRANSLATION_DOMAIN="okular_comicbook")
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../..
)
......
add_definitions(-DTRANSLATION_DOMAIN="okular_djvu")
include_directories(
${DJVULIBRE_INCLUDE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../..
......
add_definitions(-DTRANSLATION_DOMAIN="okular_dvi")
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../..
)
......
add_definitions(-DTRANSLATION_DOMAIN="okular_epub")
add_subdirectory(data)
......
add_definitions(-DTRANSLATION_DOMAIN="okular_fax")
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../..
)
......
add_definitions(-DTRANSLATION_DOMAIN="okular_fictionbook")
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../..
)
......
add_definitions(-DTRANSLATION_DOMAIN="okular_kimgio")
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../..
${CMAKE_BINARY_DIR}
......
add_definitions(-DTRANSLATION_DOMAIN="okular_mobi")
########### next target ###############
set(okularGenerator_mobi_PART_SRCS
......
add_definitions(-DTRANSLATION_DOMAIN="okular_ooo")
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../..
)
......
add_definitions(-DTRANSLATION_DOMAIN="okular_plucker")
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../..
${CMAKE_CURRENT_SOURCE_DIR}/../../generators/plucker/unpluck
......
add_definitions(-DTRANSLATION_DOMAIN="okular_poppler")
add_subdirectory( conf )
if (Poppler_VERSION VERSION_GREATER "0.23.99")
......
add_definitions(-DTRANSLATION_DOMAIN="okular_ghostview")
add_subdirectory( conf )
include_directories(
......
add_definitions(-DTRANSLATION_DOMAIN="okular_tiff")
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../..
${TIFF_INCLUDE_DIR}
......
add_definitions(-DTRANSLATION_DOMAIN="okular_txt")
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../..
)
......
add_definitions(-DTRANSLATION_DOMAIN="okular_xps")
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../..
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment