Commit 2d407ad7 authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed problem with ui files when translating plugins

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6742 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1520874d
...@@ -316,11 +316,11 @@ function (_build_openflipper_plugin plugin) ...@@ -316,11 +316,11 @@ function (_build_openflipper_plugin plugin)
endforeach () endforeach ()
if ( ${_PLUGIN}_TRANSLATION_LANGUAGES) if ( ${_PLUGIN}_TRANSLATION_LANGUAGES)
set (trans_files ${uic_targets}) set (trans_files ${ui} )
list (APPEND trans_files ${sources}) list (APPEND trans_files ${sources})
list (APPEND trans_files ${headers}) list (APPEND trans_files ${headers})
list (APPEND trans_files ${${_PLUGIN}_TRANSLATION_ADDFILES}) list (APPEND trans_files ${${_PLUGIN}_TRANSLATION_ADDFILES})
acg_add_translation(Plugin-${plugin} ${${_PLUGIN}_TRANSLATION_LANGUAGES} ${trans_files}) acg_add_translations(Plugin-${plugin} ${${_PLUGIN}_TRANSLATION_LANGUAGES} ${trans_files})
endif () endif ()
else () else ()
......
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