Languages support was broken
This commit is contained in:
@@ -419,9 +419,9 @@ if(ARCH STREQUAL ARM)
|
|||||||
include_directories(${COOS_DIR} ${COOS_DIR}/kernel ${COOS_DIR}/portable)
|
include_directories(${COOS_DIR} ${COOS_DIR}/kernel ${COOS_DIR}/portable)
|
||||||
foreach(LANGUAGE cz de en es fr it pt sk se pl hu) # TODO add nl
|
foreach(LANGUAGE cz de en es fr it pt sk se pl hu) # TODO add nl
|
||||||
set(SRC ${SRC} translations/tts_${LANGUAGE}.cpp)
|
set(SRC ${SRC} translations/tts_${LANGUAGE}.cpp)
|
||||||
string(TOUPPER LANGUAGE_UPPER LANGUAGE)
|
string(TOUPPER ${LANGUAGE} LANGUAGE_CAPITALIZED )
|
||||||
if(TRANSLATIONS STREQUAL LANGUAGE_CAPITALIZED)
|
if(TRANSLATIONS STREQUAL ${LANGUAGE_CAPITALIZED})
|
||||||
add_definitions(-DTRANSLATIONS_${LANGUAGE_UPPER})
|
add_definitions(-DTRANSLATIONS_${LANGUAGE_CAPITALIZED})
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
set(SRC
|
set(SRC
|
||||||
|
|||||||
Reference in New Issue
Block a user