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
65d24329
Kaydet (Commit)
65d24329
authored
May 21, 2013
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
do not second-guess help langs for installation
Change-Id: I48484ca81008fe650aa9fa0eb561e3b2ff33399c
üst
2147d08c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
10 deletions
+3
-10
CustomTarget_langmacros.mk
scp2/CustomTarget_langmacros.mk
+1
-0
macro.pl
scp2/macros/macro.pl
+2
-10
No files found.
scp2/CustomTarget_langmacros.mk
Dosyayı görüntüle @
65d24329
...
...
@@ -16,6 +16,7 @@ $(call gb_CustomTarget_get_workdir,scp2/macros)/langmacros.inc :| $(call gb_Cust
$(call gb_CustomTarget_get_workdir,scp2/macros)/langmacros.inc : $(SRCDIR)/scp2/macros/macro.pl $(BUILDDIR)/config_host.mk.stamp
$(call gb_Helper_abbreviate_dirs,\
export COMPLETELANGISO_VAR='$(gb_ScpTemplateTarget_LANGS)' && \
export HELP_LANGS='$(gb_HELP_LANGS)' && \
$(PERL) $< -verbose -o $@ -c $(BUILDDIR)/config_host.mk.stamp \
)
...
...
scp2/macros/macro.pl
Dosyayı görüntüle @
65d24329
...
...
@@ -36,20 +36,13 @@ if ( !defined $completelangiso_var) {
exit
1
;
}
my
$poorhelplocalizations_var
=
$ENV
{
WITH_POOR_HELP_LOCALIZATIONS
};
$poorhelplocalizations_var
=
$completelangiso_var
if
(
$poorhelplocalizations_var
eq
"ALL"
);
my
%
poorhelplocalizations
;
foreach
$lang
(
split
(
/ /
,
$poorhelplocalizations_var
))
{
next
if
(
$lang
eq
"en-US"
);
$poorhelplocalizations
{
$lang
}
++
;
}
if
(
!
args_require_build
())
{
print
STDERR
"No new languages, or config. Keeping old file\n"
;
exit
0
;
}
my
@completelangiso
=
split
" +"
,
$completelangiso_var
;
my
@helplangs
=
split
" +"
,
$ENV
{
HELP_LANGS
};
open
OUTFILE
,
">$outfile"
or
die
"$0 ERROR: cannot open $outfile for writing!\n"
;
...
...
@@ -151,8 +144,7 @@ sub write_EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG
{
my
$first
=
1
;
print
OUTFILE
"#define EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG(name) "
;
foreach
$lang
(
@completelangiso
)
{
next
if
(
$poorhelplocalizations
{
$lang
}
);
foreach
$lang
(
@helplangs
)
{
print
OUTFILE
";"
unless
$first
;
$first
=
0
;
print
OUTFILE
"\\\n\tName ($lang) = EXTRAFILELISTNAME(HelpTarget/,name,/$lang)"
;
...
...
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