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
2e741fcb
Kaydet (Commit)
2e741fcb
authored
Ara 17, 2010
tarafından
Petr Mladek
Kaydeden (comit)
Michael Meeks
Ara 17, 2010
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
do not ingnore language specific help files
üst
467a59f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
21 deletions
+22
-21
helppack.pm
solenv/bin/modules/installer/helppack.pm
+22
-21
No files found.
solenv/bin/modules/installer/helppack.pm
Dosyayı görüntüle @
2e741fcb
...
@@ -50,40 +50,41 @@ sub select_help_items
...
@@ -50,40 +50,41 @@ sub select_help_items
{
{
my
$oneitem
=
$
{
$itemsref
}[
$i
];
my
$oneitem
=
$
{
$itemsref
}[
$i
];
my
$ismultilingual
=
$oneitem
->
{
'ismultilingual'
};
my
$styles
=
""
;
if
(
$oneitem
->
{
'Styles'
}
)
{
$styles
=
$oneitem
->
{
'Styles'
};
}
if
(
!
(
$ismultilingual
))
if
(
(
$styles
=~
/\bHELPPACK\b/
)
||
(
$styles
=~
/\bFORCEHELPPACK\b/
))
{
{
# Files with style "HELPPACK" and "FORCEHELPPACK" also have to be included into the help pack.
# Files with style "HELPPACK" and "FORCEHELPPACK" also have to be included into the help pack.
# Files with style "HELPPACK" are only included into help packs.
# Files with style "HELPPACK" are only included into help packs.
# Files with style "FORCEHELPPACK" are included into help packs and non help packs. They are
# Files with style "FORCEHELPPACK" are included into help packs and non help packs. They are
# forced, because otherwise they not not be included into helppacks.
# forced, because otherwise they not not be included into helppacks.
my
$styles
=
""
;
my
$ismultilingual
=
$oneitem
->
{
'ismultilingual'
};
if
(
$oneitem
->
{
'Styles'
}
)
{
$styles
=
$oneitem
->
{
'Styles'
};
}
if
((
$styles
=~
/\bHELPPACK\b/
)
||
(
$styles
=~
/\bFORCEHELPPACK\b/
))
{
push
(
@itemsarray
,
$oneitem
);
}
if
(
$ismultilingual
)
{
next
;
# single language files are not included into help pack
my
$specificlanguage
=
""
;
}
if
(
$oneitem
->
{
'specificlanguage'
}
)
{
$specificlanguage
=
$oneitem
->
{
'specificlanguage'
};
}
if
(
0
)
{
for
(
my
$j
=
0
;
$j
<=
$#
{
$languagesarrayref
};
$j
++
)
# iterating over all languages
my
$specificlanguage
=
""
;
{
if
(
$oneitem
->
{
'specificlanguage'
}
)
{
$specificlanguage
=
$oneitem
->
{
'specificlanguage'
};
}
my
$onelanguage
=
$
{
$languagesarrayref
}[
$j
];
my
$locallang
=
$onelanguage
;
for
(
my
$j
=
0
;
$j
<=
$#
{
$languagesarrayref
};
$j
++
)
# iterating over all languages
$locallang
=~
s/-/_/
;
{
my
$onelanguage
=
$
{
$languagesarrayref
}[
$j
];
if
(
$specificlanguage
eq
$onelanguage
)
my
$locallang
=
$onelanguage
;
{
$locallang
=~
s/-/_/
;
push
(
@itemsarray
,
$oneitem
);
}
if
(
$specificlanguage
eq
$onelanguage
)
}
}
else
{
{
push
(
@itemsarray
,
$oneitem
);
push
(
@itemsarray
,
$oneitem
);
}
}
}
}
}
}
}
return
\
@itemsarray
;
return
\
@itemsarray
;
}
}
...
...
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