mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 10:55:37 +00:00
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.
This commit is contained in:
parent
a8a79368c7
commit
e858ecdd7c
|
@ -1,3 +1,5 @@
|
|||
add_definitions(-DTRANSLATION_DOMAIN="okular_chm")
|
||||
|
||||
add_subdirectory( kio-msits )
|
||||
|
||||
include_directories(
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
add_definitions(-DTRANSLATION_DOMAIN="okular_comicbook")
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||
)
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
add_definitions(-DTRANSLATION_DOMAIN="okular_djvu")
|
||||
|
||||
include_directories(
|
||||
${DJVULIBRE_INCLUDE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
add_definitions(-DTRANSLATION_DOMAIN="okular_dvi")
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||
)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
add_definitions(-DTRANSLATION_DOMAIN="okular_epub")
|
||||
|
||||
add_subdirectory(data)
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
add_definitions(-DTRANSLATION_DOMAIN="okular_fax")
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||
)
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
add_definitions(-DTRANSLATION_DOMAIN="okular_fictionbook")
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||
)
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
add_definitions(-DTRANSLATION_DOMAIN="okular_kimgio")
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||
${CMAKE_BINARY_DIR}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
add_definitions(-DTRANSLATION_DOMAIN="okular_mobi")
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(okularGenerator_mobi_PART_SRCS
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
add_definitions(-DTRANSLATION_DOMAIN="okular_ooo")
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||
)
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
add_definitions(-DTRANSLATION_DOMAIN="okular_plucker")
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../generators/plucker/unpluck
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
add_definitions(-DTRANSLATION_DOMAIN="okular_poppler")
|
||||
|
||||
add_subdirectory( conf )
|
||||
|
||||
if (Poppler_VERSION VERSION_GREATER "0.23.99")
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
add_definitions(-DTRANSLATION_DOMAIN="okular_ghostview")
|
||||
|
||||
add_subdirectory( conf )
|
||||
|
||||
include_directories(
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
add_definitions(-DTRANSLATION_DOMAIN="okular_tiff")
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||
${TIFF_INCLUDE_DIR}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
add_definitions(-DTRANSLATION_DOMAIN="okular_txt")
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||
)
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
add_definitions(-DTRANSLATION_DOMAIN="okular_xps")
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue