Commit deaa5f72 authored by Stéphane Albert's avatar Stéphane Albert

COMP: Fixed error while cmaking with '-DMERGE_TS:BOOL=ON' by removing wrapped...

COMP: Fixed error while cmaking with '-DMERGE_TS:BOOL=ON' by removing wrapped moc_*.cxx and ui_*.h from translation build (not needed).
parent 538919aa
......@@ -19,8 +19,8 @@ add_to_qt4_i18n_sources(
${Application_SOURCES}
${Application_HEADERS}
${Application_FORMS}
${Application_HEADERS_MOC}
${Application_FORMS_HEADERS}
#${Application_HEADERS_MOC}
#${Application_FORMS_HEADERS}
)
#############################################################################
......
......@@ -19,8 +19,8 @@ add_to_qt4_i18n_sources(
${Common_SOURCES}
${Common_HEADERS}
${Common_FORMS}
${Common_HEADERS_MOC}
${Common_FORMS_HEADERS}
#${Common_HEADERS_MOC}
#${Common_FORMS_HEADERS}
)
#############################################################################
......
......@@ -14,7 +14,7 @@ option( MERGE_TS "Create/merge .ts source translation files. WARNING: 'make clea
# Sources to translate.
if( MERGE_TS )
#message( "Merging I18N sources/translations." )
message( "I18N sources: '${Monteverdi2_I18N_SOURCE_FILES}'" )
#message( "I18N sources: '${Monteverdi2_I18N_SOURCE_FILES}'" )
#message( "I18N translations: '${Monteverdi2_TS_TRANSLATIONS}'" )
qt4_create_translation( Monteverdi2_QM_TRANSLATIONS
${Monteverdi2_I18N_SOURCE_FILES}
......
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="fr_FR">
<context>
<name>MainWindow</name>
<message>
<source>MainWindow</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>toolBar</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ctrl+Q</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Open</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ctrl+O</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>mvd::Application</name>
<message>
<source>Running from build directory &apos;%1&apos;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Running from install directory &apos;%1&apos;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Failed to access translation-files directory &apos;%1&apos;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Failed to load &apos;%1&apos; translation file in &apos;%2&apos;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Successfully loaded &apos;%1&apos; translation file in &apos;%2&apos;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&gt;DEBUG&gt; mvd::Application::OnAboutToQuit().</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>mvd::MainWindow</name>
<message>
<source>&gt;DEBUG&gt; Failed to load &apos;%s&apos; translation file.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&gt;DEBUG&gt; Loaded &apos;%s&apos; translation file.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open file...</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
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