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
07786897
Kaydet (Commit)
07786897
authored
Mar 20, 2012
tarafından
Andras Timar
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove unused Language selection dialog from MSI
üst
638f45f5
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
117 deletions
+0
-117
Control.ulf
...o_native/inc_openoffice/windows/msi_languages/Control.ulf
+0
-17
Control.idt
...o_native/inc_openoffice/windows/msi_templates/Control.idt
+0
-10
ControlE.idt
..._native/inc_openoffice/windows/msi_templates/ControlE.idt
+0
-3
Dialog.idt
...oo_native/inc_openoffice/windows/msi_templates/Dialog.idt
+0
-1
make_installer.pl
solenv/bin/make_installer.pl
+0
-14
idtglobal.pm
solenv/bin/modules/installer/windows/idtglobal.pm
+0
-72
No files found.
instsetoo_native/inc_openoffice/windows/msi_languages/Control.ulf
Dosyayı görüntüle @
07786897
...
...
@@ -646,12 +646,6 @@ en-US = "Cancel"
[OOO_CONTROL_266]
en-US = "&Next >"
[OOO_CONTROL_267]
en-US = "Please select the product language for [ProductName]."
[OOO_CONTROL_268]
en-US = "{&MSSansBold8}Language Selection"
[OOO_CONTROL_269]
en-US = "Repair or remove the program."
...
...
@@ -723,14 +717,3 @@ en-US = "Create a start link on desktop"
[OOO_CONTROL_320]
en-US = "Remove all older product versions"
[OOO_CONTROL_LANG_1033]
en-US = "English"
[OOO_CONTROL_LANG_1031]
en-US = "German"
[OOO_CONTROL_LANG_1034]
en-US = "Spanish"
instsetoo_native/inc_openoffice/windows/msi_templates/Control.idt
Dosyayı görüntüle @
07786897
...
...
@@ -192,16 +192,6 @@ InstallWelcome TextLine2 Text 135 55 228 45 65539 OOO_CONTROL_127
LanguageInfo1 Icon Icon 15 15 24 24 5242881 CautionIco
LanguageInfo1 OK PushButton 100 57 66 17 3 OOO_CONTROL_10
LanguageInfo1 Text Text 48 15 194 30 3 OOO_CONTROL_317
LanguageSelection Back PushButton 164 243 66 17 3 OOO_CONTROL_122 CheckBox1
LanguageSelection Banner Bitmap 297 0 77 44 1 BannerBmp
LanguageSelection BannerLine Line 0 44 374 0 1
LanguageSelection Branding1 Text 4 229 88 13 3 {&MSSWhiteSerif8}[ProductName]
LanguageSelection Branding2 Text 3 228 88 13 65537 [ProductName]
LanguageSelection Cancel PushButton 301 243 66 17 3 OOO_CONTROL_131 Back
LanguageSelection DlgDesc Text 21 23 292 25 65539 OOO_CONTROL_267
LanguageSelection DlgLine Line 90 234 284 0 1
LanguageSelection DlgTitle Text 13 6 292 25 65539 OOO_CONTROL_268
LanguageSelection Next PushButton 230 243 66 17 3 OOO_CONTROL_134 Cancel
LicenseAgreement Agree RadioButtonGroup 8 190 330 40 3 AgreeToLicense Back
LicenseAgreement Back PushButton 164 243 66 17 3 OOO_CONTROL_128 Next
LicenseAgreement Banner Bitmap 297 0 77 44 1 BannerBmp
...
...
instsetoo_native/inc_openoffice/windows/msi_templates/ControlE.idt
Dosyayı görüntüle @
07786897
...
...
@@ -71,9 +71,6 @@ InstallWelcome Cancel SpawnDialog CancelSetup 1 0
InstallWelcome Next NewDialog LicenseAgreement HIDEEULA <> 1 0
InstallWelcome Next NewDialog CustomerInformation HIDEEULA = 1 0
LanguageInfo1 OK EndDialog Return 1 0
LanguageSelection Back NewDialog CustomerInformation 1 1
LanguageSelection Cancel SpawnDialog CancelSetup 1 1
LanguageSelection Next NewDialog SetupType 1 1
LicenseAgreement Back NewDialog InstallWelcome 1 0
LicenseAgreement Cancel SpawnDialog CancelSetup 1 0
LicenseAgreement Next NewDialog CustomerInformation AgreeToLicense = "Yes" 0
...
...
instsetoo_native/inc_openoffice/windows/msi_templates/Dialog.idt
Dosyayı görüntüle @
07786897
...
...
@@ -17,7 +17,6 @@ FileTypeDialog 50 50 374 266 3 [ProductName] - [STR_INSTALLATION_WIZARD] CheckBo
InstallChangeFolder 50 50 374 266 3 [ProductName] - [STR_INSTALLATION_WIZARD] TailText OK Cancel
InstallWelcome 50 50 374 266 3 [ProductName] - [STR_INSTALLATION_WIZARD] Next Next Cancel
LanguageInfo1 50 50 260 85 3 [ProductName] - [STR_INSTALLATION_WIZARD] OK OK OK
LanguageSelection 50 50 374 266 3 [ProductName] - [STR_INSTALLATION_WIZARD] Next Next Cancel
LicenseAgreement 50 50 374 266 2 [ProductName] - [STR_INSTALLATION_WIZARD] Agree Next Cancel
MaintenanceType 50 50 374 266 3 [ProductName] - [STR_INSTALLATION_WIZARD] RadioGroup Next Cancel
MaintenanceWelcome 50 50 374 266 3 [ProductName] - [STR_INSTALLATION_WIZARD] Next Next Cancel
...
...
solenv/bin/make_installer.pl
Dosyayı görüntüle @
07786897
...
...
@@ -1714,20 +1714,6 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
installer::windows::idtglobal::
prepare_language_idt_directory
(
$languageidtdir
,
$newidtdir
,
$onelanguage
,
$filesinproductlanguageresolvedarrayref
,
\
@iconfilecollector
,
$binarytablefiles
,
$allvariableshashref
);
if
(
!
$
installer::globals::
languagepack
&&
!
$
installer::globals::
helppack
)
{
# For multilingual installation sets, the dialog for the language selection can now be prepared, with
# a checkbox for each available language. This has to happen before the following translation.
# The new controls have to be added into the Control.idt
my
$controlidttablename
=
$languageidtdir
.
$
installer::globals::
separator
.
"Control.idt"
;
my
$controlidttable
=
installer::files::
read_file
(
$controlidttablename
);
installer::windows::idtglobal::
add_language_checkboxes_to_database
(
$controlidttable
,
$languagesarrayref
);
installer::files::
save_file
(
$controlidttablename
,
$controlidttable
);
$infoline
=
"Added checkboxes for language selection dialog into table $controlidttablename\n"
;
push
(
@
installer::globals::
logfileinfo
,
$infoline
);
}
# Now all files are copied into a language specific directory
# The template idt files can be translated
...
...
solenv/bin/modules/installer/windows/idtglobal.pm
Dosyayı görüntüle @
07786897
...
...
@@ -1106,78 +1106,6 @@ sub add_licensefile_to_database
}
}
################################################################################################
# Including the checkboxes for the language selection dialog
# into the table control.idt . This is only relevant for
# multilingual installation sets.
#
# old:
# LanguageSelection CheckBox1 CheckBox 22 60 15 24 3 IS1033 CheckBox2
# LanguageSelection Text1 Text 40 60 70 15 65539 OOO_CONTROL_LANG_1033
# LanguageSelection CheckBox2 CheckBox 22 90 15 24 3 IS1031 Next
# LanguageSelection Text2 Text 40 90 70 15 65539 OOO_CONTROL_LANG_1031
# new:
# LanguageSelection CheckBox1 CheckBox 22 60 15 24 3 IS1033 Text CheckBox2
# LanguageSelection CheckBox2 CheckBox 22 90 15 24 3 IS1031 Text Next
################################################################################################
sub
add_language_checkboxes_to_database
{
my
(
$controltable
,
$languagesarrayref
)
=
@_
;
# for each language, two lines have to be inserted
for
(
my
$i
=
0
;
$i
<=
$#
{
$languagesarrayref
};
$i
++
)
{
my
$last
=
0
;
if
(
$i
==
$#
{
$languagesarrayref
}
)
{
$last
=
1
;
}
# special handling for the last
my
$onelanguage
=
$
{
$languagesarrayref
}[
$i
];
my
$windowslanguage
=
installer::windows::language::
get_windows_language
(
$onelanguage
);
my
$checkboxattribute
=
"3"
;
my
$count
=
$i
+
1
;
my
$nextcount
=
$i
+
2
;
my
$checkboxcount
=
"CheckBox"
.
$count
;
my
$multiplier
=
20
;
my
$offset
=
60
;
if
(
$#
{
$languagesarrayref
}
>
7
)
{
$multiplier
=
15
;
# smaller differences for more than 7 languages
$offset
=
50
;
# smaller offset for more than 7 languages
}
my
$yvalue
=
$offset
+
$i
*
$multiplier
;
my
$property
=
"IS"
.
$windowslanguage
;
my
$controlnext
=
""
;
if
(
$last
)
{
$controlnext
=
"Next"
;
}
else
{
$controlnext
=
"CheckBox"
.
$nextcount
;
}
my
$stringname
=
"OOO_CONTROL_LANG_"
.
$windowslanguage
;
my
$line1
=
"LanguageSelection"
.
"\t"
.
$checkboxcount
.
"\t"
.
"CheckBox"
.
"\t"
.
"22"
.
"\t"
.
$yvalue
.
"\t"
.
"200"
.
"\t"
.
"15"
.
"\t"
.
$checkboxattribute
.
"\t"
.
$property
.
"\t"
.
$stringname
.
"\t"
.
$controlnext
.
"\t"
.
"\n"
;
push
(
@
{
$controltable
},
$line1
);
# my $textcount = "Text" . $count;
# my $stringname = "OOO_CONTROL_LANG_" . $windowslanguage;
#
# $yvalue = $yvalue + 2; # text 2 pixel lower than checkbox
#
# my $line2 = "LanguageSelection" . "\t" . $textcount . "\t" . "Text" . "\t" .
# "40" . "\t" . $yvalue . "\t" . "70" . "\t" . "15" . "\t" . "65539" . "\t" .
# "\t" . $stringname . "\t" . "\t" . "\n";
#
# push(@{$controltable}, $line2);
}
}
###################################################################
# Determining the last position in a sequencetable
# into the tables CustomAc.idt and InstallE.idt.
...
...
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