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
a3f8156e
Kaydet (Commit)
a3f8156e
authored
Eyl 01, 2012
tarafından
Tim Retout
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
installer: Make @noMSLocaleLangs non-global.
Change-Id: Iae7afa53966a4f5fe3b09ce75dcefc78fd75b279
üst
4e38a1c8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
69 additions
and
68 deletions
+69
-68
langid.pl
i18npool/source/isolang/langid.pl
+2
-2
globals.pm
solenv/bin/modules/installer/globals.pm
+0
-64
languages.pm
solenv/bin/modules/installer/languages.pm
+67
-2
No files found.
i18npool/source/isolang/langid.pl
Dosyayı görüntüle @
a3f8156e
...
@@ -30,7 +30,7 @@ sub Usage()
...
@@ -30,7 +30,7 @@ sub Usage()
"\n"
,
"\n"
,
"langid - a hackish utility to lookup lang.h language defines and LangIDs,\n"
,
"langid - a hackish utility to lookup lang.h language defines and LangIDs,\n"
,
"isolang.cxx ISO639/ISO3166 mapping, locale data files, langtab.src language\n"
,
"isolang.cxx ISO639/ISO3166 mapping, locale data files, langtab.src language\n"
,
"listbox entries, langlist.mk, file_ooo.scp registry name,
global
s.pm and\n"
,
"listbox entries, langlist.mk, file_ooo.scp registry name,
language
s.pm and\n"
,
"msi-encodinglist.txt\n\n"
,
"msi-encodinglist.txt\n\n"
,
"Usage: $0 [--single] {language string} | {LangID} | {primarylanguage sublanguage} | {language-country}\n\n"
,
"Usage: $0 [--single] {language string} | {LangID} | {primarylanguage sublanguage} | {language-country}\n\n"
,
...
@@ -400,7 +400,7 @@ sub main()
...
@@ -400,7 +400,7 @@ sub main()
# @noMSLocaleLangs = ( "br", "bs", ... )
# @noMSLocaleLangs = ( "br", "bs", ... )
grepFile
(
grepFile
(
'^\s*@noMSLocaleLangs\s*=\s*\(\s*(\s*"([a-z]{2,3})(-[A-Z][A-Z])?"\s*,?)*'
.
$langcoun
.
''
,
'^\s*@noMSLocaleLangs\s*=\s*\(\s*(\s*"([a-z]{2,3})(-[A-Z][A-Z])?"\s*,?)*'
.
$langcoun
.
''
,
"$SRC_ROOT"
,
"solenv"
,
"bin/modules/installer/
global
s.pm"
,
"$SRC_ROOT"
,
"solenv"
,
"bin/modules/installer/
language
s.pm"
,
(
'^\s*@noMSLocaleLangs\s*='
,
'\)\s*$'
,
'"'
.
$langcoun
.
'"'
));
(
'^\s*@noMSLocaleLangs\s*='
,
'\)\s*$'
,
'"'
.
$langcoun
.
'"'
));
# af 1252 1078 # Afrikaans
# af 1252 1078 # Afrikaans
...
...
solenv/bin/modules/installer/globals.pm
Dosyayı görüntüle @
a3f8156e
...
@@ -33,70 +33,6 @@ package installer::globals;
...
@@ -33,70 +33,6 @@ package installer::globals;
BEGIN
BEGIN
{
{
@noMSLocaleLangs
=
(
"br"
,
"bs"
,
"dz"
,
"gu"
,
"km"
,
"nr"
,
"ns"
,
"nso"
,
"rw"
,
"ss"
,
"st"
,
"tg"
,
"ts"
,
"tn"
,
"ve"
,
"xh"
,
"zu"
,
"ne"
,
"bn"
,
"bn-BD"
,
"bn-IN"
,
"lo"
,
"cy"
,
"ku"
,
"as-IN"
,
"te-IN"
,
"ml-IN"
,
"mr-IN"
,
"ur-IN"
,
"ta-IN"
,
"or-IN"
,
"ti-ER"
,
"eo"
,
"ka"
,
"ga"
,
"uk"
,
"gd"
,
"my"
,
"mai"
,
"brx"
,
"dgo"
,
"kok"
,
"mni"
,
"ca-XV"
,
"sat"
,
"ug"
,
"om"
,
"si"
,
"or"
,
"oc"
,
"ml"
,
"as"
,
"ast"
,
"ht"
,
"jbo"
,
"fur"
,
"ny"
,
"so"
,
"kab"
,
"tk"
,
"ky-CN"
);
$ziplistname
=
""
;
$ziplistname
=
""
;
$pathfilename
=
""
;
$pathfilename
=
""
;
$setupscriptname
=
""
;
$setupscriptname
=
""
;
...
...
solenv/bin/modules/installer/languages.pm
Dosyayı görüntüle @
a3f8156e
...
@@ -138,9 +138,74 @@ sub get_all_languages_for_one_product
...
@@ -138,9 +138,74 @@ sub get_all_languages_for_one_product
my
$furthercheck
=
1
;
my
$furthercheck
=
1
;
# For some languages (that are not supported by Windows, english needs to be added to the installation set
# For some languages (that are not supported by Windows, english needs to be added to the installation set
# Languages saved in "@installer::globals::noMSLocaleLangs"
if
(
all_elements_of_array1_in_array2
(
\
@languagearray
,
\
@
installer::globals::
noMSLocaleLangs
)
)
# FIXME The script i18npool/source/isolang/langid.pl greps this very
# source file to read this array. Be careful!
my
@noMSLocaleLangs
=
(
"br"
,
"bs"
,
"dz"
,
"gu"
,
"km"
,
"nr"
,
"ns"
,
"nso"
,
"rw"
,
"ss"
,
"st"
,
"tg"
,
"ts"
,
"tn"
,
"ve"
,
"xh"
,
"zu"
,
"ne"
,
"bn"
,
"bn-BD"
,
"bn-IN"
,
"lo"
,
"cy"
,
"ku"
,
"as-IN"
,
"te-IN"
,
"ml-IN"
,
"mr-IN"
,
"ur-IN"
,
"ta-IN"
,
"or-IN"
,
"ti-ER"
,
"eo"
,
"ka"
,
"ga"
,
"uk"
,
"gd"
,
"my"
,
"mai"
,
"brx"
,
"dgo"
,
"kok"
,
"mni"
,
"ca-XV"
,
"sat"
,
"ug"
,
"om"
,
"si"
,
"or"
,
"oc"
,
"ml"
,
"as"
,
"ast"
,
"ht"
,
"jbo"
,
"fur"
,
"ny"
,
"so"
,
"kab"
,
"tk"
,
"ky-CN"
,
);
if
(
all_elements_of_array1_in_array2
(
\
@languagearray
,
\
@noMSLocaleLangs
)
)
{
{
my
$officestartlanguage
=
$languagearray
[
0
];
my
$officestartlanguage
=
$languagearray
[
0
];
unshift
(
@languagearray
,
"en-US"
);
# am Anfang einfgen!
unshift
(
@languagearray
,
"en-US"
);
# am Anfang einfgen!
...
...
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