@ -690,7 +690,7 @@ function( tde_l10n_prepare_xml )
unset ( _context )
unset ( _context )
set ( _skip_properties "database|associations|populationText" )
set ( _skip_properties "database|associations|populationText" )
set ( _tags "[tT][eE][xX][tT]|title|string|whatsthis|tooltip|label" )
set ( _tags "[tT][eE][xX][tT]|title|string|whatsthis|tooltip|label" )
set ( _preserve "line-wrap" "lines-leading" " spaces-leading" "spaces-trailing" "spaces-multi" )
set ( _preserve "line-wrap" "lines-leading" " lines-multi" " spaces-leading" "spaces-trailing" "spaces-multi" )
set ( _no_c_format 1 )
set ( _no_c_format 1 )
unset ( _directive )
unset ( _directive )
set ( _var _source )
set ( _var _source )
@ -872,8 +872,9 @@ function( tde_l10n_prepare_xml )
if ( _xml_inside )
if ( _xml_inside )
if ( ";${_preserve};" MATCHES ";line-wrap;" )
if ( ";${_preserve};" MATCHES ";line-wrap;" )
if ( ";${_preserve};" MATCHES ";lines-leading;"
if ( NOT "${_xml_line}" STREQUAL ""
O R N O T " $ { _ x m l _ l i n e } " S T R E Q U A L " " O R N O T _ x m l _ t a g _ e m p t y )
OR ( ";${_preserve};" MATCHES ";lines-leading;" AND _xml_tag_empty )
OR ( ";${_preserve};" MATCHES ";lines-multi;" AND NOT _xml_tag_empty ) )
set ( _xml_line "${_xml_line}\\n" )
set ( _xml_line "${_xml_line}\\n" )
endif ( )
endif ( )
elseif ( NOT "${_xml_line}" STREQUAL "" AND NOT _xml_tag_empty )
elseif ( NOT "${_xml_line}" STREQUAL "" AND NOT _xml_tag_empty )