diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-12-26 23:02:05 +0100 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2013-12-27 07:14:58 +0100 |
commit | 1459d6b2696f4c2e7c98e217e33ae2c421e3d6b2 (patch) | |
tree | 22e5080dd0229627f038f7557837cc38929ac5fd /l10ntools | |
parent | a5867ea09798a570838928bd8e24715fc2d8e4d1 (diff) |
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
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/export.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx index fc9a8a0ec043..fd91eebcf9ff 100644 --- a/l10ntools/source/export.cxx +++ b/l10ntools/source/export.cxx @@ -807,13 +807,15 @@ sal_Bool Export::WriteExportList(ResData *pResData, ExportList& rExportList, } else { - sLID = OString::number(i + 1); sText = StripList( sText ); if( sText == "\\\"" ) sText = "\""; } ConvertExportContent(sText); + if (nTyp != LIST_PAIRED) + sLID = sText; + OString sType = lcl_GetListTyp( nList, false ); common::writePoEntry( |