Kaydet (Commit) 1459d6b2 authored tarafından Zolnai Tamás's avatar Zolnai Tamás Kaydeden (comit) Zolnai Tamás

Transex3: modify list localization/export part

Avoid using numbers to identify the list items because
using numbers can lead to mixed translations. Use the
corresponding string instead.

Change-Id: I963efbf0b4d6b17f77c51cbda0af57efa66cf8cf
üst a5867ea0
...@@ -807,13 +807,15 @@ sal_Bool Export::WriteExportList(ResData *pResData, ExportList& rExportList, ...@@ -807,13 +807,15 @@ sal_Bool Export::WriteExportList(ResData *pResData, ExportList& rExportList,
} }
else else
{ {
sLID = OString::number(i + 1);
sText = StripList( sText ); sText = StripList( sText );
if( sText == "\\\"" ) if( sText == "\\\"" )
sText = "\""; sText = "\"";
} }
ConvertExportContent(sText); ConvertExportContent(sText);
if (nTyp != LIST_PAIRED)
sLID = sText;
OString sType = lcl_GetListTyp( nList, false ); OString sType = lcl_GetListTyp( nList, false );
common::writePoEntry( common::writePoEntry(
......
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