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
ba433c69
Kaydet (Commit)
ba433c69
authored
Kas 15, 2013
tarafından
Andras Timar
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
do not extract translatable="false" strings from Android resource
Change-Id: Id00ce654b99426c771b647e0ae6be02bfdc24359
üst
2531d750
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
10 deletions
+15
-10
stringmerge.cxx
l10ntools/source/stringmerge.cxx
+15
-10
No files found.
l10ntools/source/stringmerge.cxx
Dosyayı görüntüle @
ba433c69
...
@@ -68,17 +68,22 @@ void StringParser::Extract( const OString& rPOFile )
...
@@ -68,17 +68,22 @@ void StringParser::Extract( const OString& rPOFile )
{
{
if
(
!
xmlStrcmp
(
pCurrent
->
name
,
(
const
xmlChar
*
)(
"string"
)))
if
(
!
xmlStrcmp
(
pCurrent
->
name
,
(
const
xmlChar
*
)(
"string"
)))
{
{
xmlChar
*
pID
=
xmlGetProp
(
pCurrent
,
(
const
xmlChar
*
)(
"name"
));
xmlChar
*
pTranslatable
=
xmlGetProp
(
pCurrent
,
(
const
xmlChar
*
)(
"translatable"
));
xmlChar
*
pText
=
xmlNodeGetContent
(
pCurrent
);
if
(
xmlStrcmp
(
pTranslatable
,
(
const
xmlChar
*
)(
"false"
)))
const
OString
sTemp
=
{
helper
::
unEscapeAll
(
helper
::
xmlStrToOString
(
pText
),
"
\\
n""
\\
t""
\\\"
""
\\\'
"
,
"
\n
""
\t
""
\"
""
\'
"
);
xmlChar
*
pID
=
xmlGetProp
(
pCurrent
,
(
const
xmlChar
*
)(
"name"
));
common
::
writePoEntry
(
xmlChar
*
pText
=
xmlNodeGetContent
(
pCurrent
);
"Stringex"
,
aPOStream
,
m_pSource
->
name
,
"string"
,
const
OString
sTemp
=
helper
::
xmlStrToOString
(
pID
),
OString
(),
OString
(),
helper
::
unEscapeAll
(
helper
::
xmlStrToOString
(
pText
),
"
\\
n""
\\
t""
\\\"
""
\\\'
"
,
"
\n
""
\t
""
\"
""
\'
"
);
sTemp
);
common
::
writePoEntry
(
"Stringex"
,
aPOStream
,
m_pSource
->
name
,
"string"
,
helper
::
xmlStrToOString
(
pID
),
OString
(),
OString
(),
sTemp
);
xmlFree
(
pID
);
xmlFree
(
pID
);
xmlFree
(
pText
);
xmlFree
(
pText
);
}
xmlFree
(
pTranslatable
);
}
}
}
}
...
...
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