From e19ab0b7abbb87f7721d30b5f77bd04c6559d871 Mon Sep 17 00:00:00 2001 From: Juan Pablo Menichetti Date: Thu, 18 May 2023 11:06:31 -0400 Subject: [PATCH] Restores the ttx generation of the translated text and includes it in the TTX file. --- bin/tools/export_to_ttx.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/tools/export_to_ttx.pl b/bin/tools/export_to_ttx.pl index c98dee90..1590e826 100755 --- a/bin/tools/export_to_ttx.pl +++ b/bin/tools/export_to_ttx.pl @@ -585,8 +585,8 @@ sub ttx_export_callback { my $chunks = get_wordcount_chunks($string); my $string_ttx = make_final_xml($chunks); - #my $translation_chunks = get_wordcount_chunks($translation); - #my $translation_ttx = make_final_xml($translation_chunks); + my $translation_chunks = get_wordcount_chunks($translation); + my $translation_ttx = make_final_xml($translation_chunks); my $string_html = make_final_xml($chunks, 1); # 1:for_html @@ -607,7 +607,7 @@ sub ttx_export_callback { $$ttxref .= <<__END__; $id$hint_ttx$context_ttx -$string_ttx$string_ttx +$string_ttx$translation_ttx __END__ $$htmlref .= <<__END__;