blob: 4171d02f6361a00b7933fdd0fd2f5ab17baf0338 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
<?xml version="1.0"?>
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
<?xml-stylesheet href="chrome://messenger/skin/messenger.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/migration/migration.dtd" >
<window id="migrationWizard"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
title="&migrationWizard.title;"
onload="MigrationWizard.init()"
onunload="MigrationWizard.uninit()"
style="width: 40em;"
branded="true"
buttons="accept,cancel">
<linkset>
<html:link rel="localization" href="toolkit/global/wizard.ftl"/>
<html:link rel="localization" href="messenger/importDialog.ftl"/>
</linkset>
<script src="chrome://messenger/content/migration/migration.js"/>
<stringbundle id="bundle" src="chrome://messenger/locale/migration/migration.properties"/>
<wizard>
<wizardpage id="importSource" pageid="importSource" next="selectProfile"
label="&importSource.title;">
<vbox id="importSourceFound" hidden="true">
#ifdef XP_WIN
<label control="importSourceGroup">&importFromWin.label;</label>
#else
<label control="importSourceGroup">&importFromNonWin.label;</label>
#endif
<radiogroup id="importSourceGroup">
<radio id="thunderbird-zip" data-l10n-id="import-from-thunderbird-zip"/>
<radio id="thunderbird-dir" data-l10n-id="import-from-thunderbird-dir"/>
<radio id="seamonkey" label="&importFromSeamonkey3.label;"
accesskey="&importFromSeamonkey3.accesskey;"/>
#ifdef XP_WIN
<radio id="outlook" label="&importFromOutlook.label;"
accesskey="&importFromOutlook.accesskey;"/>
#endif
<radio id="nothing" label="&importFromNothing.label;"
accesskey="&importFromNothing.accesskey;" hidden="true"/>
</radiogroup>
</vbox>
<label id="importSourceNotFound" hidden="true">&importSourceNotFound.label;</label>
</wizardpage>
<wizardpage id="selectProfile" pageid="selectProfile" label="&selectProfile.title;"
next="importItems">
<label control="profiles">&selectProfile.label;</label>
<radiogroup id="profiles" align="start"/>
</wizardpage>
<wizardpage id="importItems" pageid="importItems" label="&importItems.title;"
next="migrating"
oncommand="MigrationWizard.onImportItemCommand();">
<description>&importItems.label;</description>
<vbox id="dataSources"
style="overflow: auto; appearance: auto; -moz-default-appearance: listbox"
align="start" flex="1"/>
</wizardpage>
<wizardpage id="migrating" pageid="migrating" label="&migrating.title;"
next="done">
<description>&migrating.label;</description>
<separator class="thin"/>
<vbox id="migratingItems" class="indent" style="overflow: auto;" flex="1" align="start"/>
<separator class="thin"/>
<html:progress class="progressmeter-statusbar" id="progressBar" flex="1" value="0" max="100"/>
</wizardpage>
<wizardpage id="done" pageid="done" label="&done.title;">
<description>&done.label;</description>
<separator class="thin"/>
<vbox id="doneItems" class="indent" style="overflow: auto;" align="start"/>
</wizardpage>
<wizardpage id="failed" pageid="failed" data-l10n-id="wizardpage-failed">
<description id="failed-message-default"
data-l10n-id="wizardpage-failed-message"></description>
<description id="failed-message"></description>
</wizardpage>
</wizard>
</window>
|