Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
3ddd4502
Kaydet (Commit)
3ddd4502
authored
Ara 13, 2012
tarafından
Zolnai Tamás
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix adding keyid to po when read from file
Change-Id: I29fdd23da97f1102974a6b5821c224264a37efc3
üst
caa03b3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
po.cxx
l10ntools/source/po.cxx
+9
-8
No files found.
l10ntools/source/po.cxx
Dosyayı görüntüle @
3ddd4502
...
...
@@ -793,14 +793,7 @@ void PoIfstream::readEntry( PoEntry& rPoEntry )
(
sType
==
"text"
||
sType
==
"quickhelptext"
||
sType
==
"title"
)
&&
!
aGenPo
.
getMsgId
().
isEmpty
()
)
{
if
(
rPoEntry
.
m_pGenPo
)
{
*
(
rPoEntry
.
m_pGenPo
)
=
aGenPo
;
}
else
{
rPoEntry
.
m_pGenPo
=
new
GenPoEntry
(
aGenPo
);
}
//Generate keyid if po file not includes it
const
OString
sExtractCom
=
aGenPo
.
getExtractCom
();
if
(
sExtractCom
.
isEmpty
()
||
(
sExtractCom
.
getLength
()
!=
4
&&
...
...
@@ -812,6 +805,14 @@ void PoIfstream::readEntry( PoEntry& rPoEntry )
aGenPo
.
getReference
()
+
sMsgCtxt
+
aGenPo
.
getMsgId
()
)
);
}
if
(
rPoEntry
.
m_pGenPo
)
{
*
(
rPoEntry
.
m_pGenPo
)
=
aGenPo
;
}
else
{
rPoEntry
.
m_pGenPo
=
new
GenPoEntry
(
aGenPo
);
}
rPoEntry
.
m_bIsInitialized
=
true
;
}
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment