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
1cd03265
Kaydet (Commit)
1cd03265
authored
Kas 15, 2013
tarafından
Andras Timar
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
do not merge translatable="false" strings to Android resource
Change-Id: Ie5653d0b03fb5090deaad6c70a9e3e638f6e24e0
üst
ba433c69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
stringmerge.cxx
l10ntools/source/stringmerge.cxx
+24
-0
No files found.
l10ntools/source/stringmerge.cxx
Dosyayı görüntüle @
1cd03265
...
...
@@ -159,6 +159,30 @@ void StringParser::Merge(
}
}
for
(
xmlNodePtr
pCurrent
=
pRootNode
->
children
;
pCurrent
;
)
{
if
(
!
xmlStrcmp
(
pCurrent
->
name
,
(
const
xmlChar
*
)(
"string"
)))
{
xmlChar
*
pTranslatable
=
xmlGetProp
(
pCurrent
,
(
const
xmlChar
*
)(
"translatable"
));
if
(
!
xmlStrcmp
(
pTranslatable
,
(
const
xmlChar
*
)(
"false"
)))
{
xmlNodePtr
pNonTranslatable
=
pCurrent
;
pCurrent
=
pCurrent
->
next
;
xmlUnlinkNode
(
pNonTranslatable
);
xmlFreeNode
(
pNonTranslatable
);
}
else
{
pCurrent
=
pCurrent
->
next
;
}
xmlFree
(
pTranslatable
);
}
else
{
pCurrent
=
pCurrent
->
next
;
}
}
delete
pMergeDataFile
;
xmlSaveFile
(
rDestinationFile
.
getStr
(),
m_pSource
);
xmlFreeDoc
(
m_pSource
);
...
...
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