diff options
author | Zolnai Tamás <zolnaitamas2000g@gmail.com> | 2012-11-20 00:24:20 +0100 |
---|---|---|
committer | Zolnai Tamás <zolnaitamas2000g@gmail.com> | 2012-11-20 00:31:52 +0100 |
commit | 073ff5518f2e341dde7d7ce732cfecb029c85ce6 (patch) | |
tree | 1b25306105a1c5d6515fdbafc9b968b521360895 /l10ntools | |
parent | 23ffae787b9b052748f7f3a6f67c4e2f8f2c9cbb (diff) |
Generate qtz properties
Qtz has no own po files so use one of
configured langauge's po files (en-US excludex)
Plus copy all properties files independently of
localization
Change-Id: Ica7ccb7d3111f2fc2b3bbde4b839cb564967130a
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/propmerge.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/l10ntools/source/propmerge.cxx b/l10ntools/source/propmerge.cxx index a858f44d8210..689e931c4b72 100644 --- a/l10ntools/source/propmerge.cxx +++ b/l10ntools/source/propmerge.cxx @@ -182,7 +182,8 @@ void PropParser::Merge( const OString &rMergeSrc, const OString &rDestinationFil MergeDataFile aMergeDataFile( rMergeSrc, m_sSource, false ); - if( aMergeDataFile.GetLanguages()[0] != m_sLang ) + const std::vector<OString> aLanguages = aMergeDataFile.GetLanguages(); + if( m_sLang != "qtz" && !aLanguages.empty() && aLanguages[0] != m_sLang ) { std::cerr << "Propex error: given language conflicts with " |