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
df6c9753
Kaydet (Commit)
df6c9753
authored
Eki 28, 2011
tarafından
Andras Timar
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tweak handling of extension descriptions
üst
adb8868e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
xrmmerge.cxx
l10ntools/source/xrmmerge.cxx
+5
-5
No files found.
l10ntools/source/xrmmerge.cxx
Dosyayı görüntüle @
df6c9753
...
@@ -685,9 +685,8 @@ void XRMResMerge::WorkOnDesc(
...
@@ -685,9 +685,8 @@ void XRMResMerge::WorkOnDesc(
sSearch
=
ByteString
(
"xlink:href=
\"
"
);
sSearch
=
ByteString
(
"xlink:href=
\"
"
);
sReplace
=
sSearch
;
sReplace
=
sSearch
;
ByteString
sLocDescFilename
=
sCur
;
ByteString
sLocDescFilename
=
sDescFilename
;
sLocDescFilename
+=
ByteString
(
"-"
);
sLocDescFilename
.
SearchAndReplace
(
"en-US"
,
sCur
);
sLocDescFilename
+=
sDescFilename
;
sSearch
+=
sDescFilename
;
sSearch
+=
sDescFilename
;
sReplace
+=
sLocDescFilename
;
sReplace
+=
sLocDescFilename
;
...
@@ -697,8 +696,9 @@ void XRMResMerge::WorkOnDesc(
...
@@ -697,8 +696,9 @@ void XRMResMerge::WorkOnDesc(
DirEntry
aEntry
(
String
(
sOutputFile
,
RTL_TEXTENCODING_ASCII_US
));
DirEntry
aEntry
(
String
(
sOutputFile
,
RTL_TEXTENCODING_ASCII_US
));
aEntry
.
ToAbs
();
aEntry
.
ToAbs
();
ByteString
sOutputDescFile
(
aEntry
.
GetFull
(),
RTL_TEXTENCODING_ASCII_US
);
ByteString
sOutputDescFile
(
aEntry
.
GetPath
().
GetFull
(),
RTL_TEXTENCODING_ASCII_US
);
sOutputDescFile
.
SearchAndReplaceAll
(
"description.xml"
,
""
);
ByteString
sDel
(
DirEntry
::
GetAccessDelimiter
(),
RTL_TEXTENCODING_ASCII_US
);
sOutputDescFile
+=
sDel
;
sOutputDescFile
+=
sLocDescFilename
;
sOutputDescFile
+=
sLocDescFilename
;
sText
.
SearchAndReplaceAll
(
"
\\
n"
,
"
\n
"
);
sText
.
SearchAndReplaceAll
(
"
\\
n"
,
"
\n
"
);
ofstream
file
(
sOutputDescFile
.
GetBuffer
()
);
ofstream
file
(
sOutputDescFile
.
GetBuffer
()
);
...
...
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