Browse Source

Update TDEL10n module

+ Fix tde_l10n_prepare_xml when processing a line
  that contains only word "no".

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/9/head
Slávek Banko 1 year ago
parent
commit
8f3b50336f
Signed by: SlavekB <slavek.banko@axis.cz> GPG Key ID: 608F5293A04BE668
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/TDEL10n.cmake

+ 2
- 2
modules/TDEL10n.cmake View File

@@ -775,12 +775,12 @@ function( tde_l10n_prepare_xml )

# drop empty tag on single line
if( _xml_line_prefix AND _xml_line_suffix AND _xml_tag_empty )
set( _xml_l10n "${_xml_l10n}" )
# skip empty string for translation

# add current tag to output
else( )
set( _xml_l10n "${_xml_l10n}${_xml_line_prefix}" )
if( _xml_line OR ( _xml_line_suffix AND _xml_tag_empty ) )
if( NOT "${_xml_line}" STREQUAL "" OR ( _xml_line_suffix AND _xml_tag_empty ) )
set( _xml_l10n "${_xml_l10n}\"${_xml_line}\"" )
endif( )
set( _xml_l10n "${_xml_l10n}${_xml_line_suffix}" )


Loading…
Cancel
Save