summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2013-12-26 23:02:05 +0100
committerZolnai Tamás <tamas.zolnai@collabora.com>2013-12-27 07:14:58 +0100
commit1459d6b2696f4c2e7c98e217e33ae2c421e3d6b2 (patch)
tree22e5080dd0229627f038f7557837cc38929ac5fd /l10ntools
parenta5867ea09798a570838928bd8e24715fc2d8e4d1 (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.cxx4
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(