35
35
< div class ="wizard ">
36
36
< div >
37
37
< mat-card >
38
- < h3 >
39
- {{'Select the options matching your project: '|i18n}}
40
- </ h3 >
38
+ < h2 >
39
+ {{'Select the options that match your update '|i18n}}
40
+ </ h2 >
41
41
42
42
< mat-card-content >
43
43
44
- < h4 > {{'Angular Versions '|i18n}}</ h4 >
45
- {{'From'|i18n}}:
44
+ < h3 > {{'Angular versions '|i18n}}</ h3 >
45
+ {{'From'|i18n}} v.
46
46
< mat-form-field appearance ="outline ">
47
47
< select (change) ="from = getVersion($event.target.value); track.send('setting-from','v'+$event.target.value); showUpdatePath() " placeholder ="from " matNativeControl >
48
48
< option *ngFor ="let version of versions " [value] ="version.name " [selected] ="version.name === from.name "> {{version.name}}</ option >
49
49
</ select >
50
50
</ mat-form-field >
51
51
52
- < span style ="white-space: nowrap "> {{'To'|i18n}}:
52
+ < span style ="white-space: nowrap "> {{'To'|i18n}} v.
53
53
< mat-form-field appearance ="outline ">
54
54
< select (change) ="to = getVersion($event.target.value); track.send('setting-to','v'+$event.target.value); showUpdatePath() " placeholder ="to " matNativeControl >
55
55
< option *ngFor ="let version of versions " [value] ="version.name " [selected] ="version.name === to.name "> {{version.name}}</ option >
@@ -63,26 +63,26 @@ <h4>{{'Angular Versions'|i18n}}</h4>
63
63
</ div >
64
64
< div *ngIf ="from.number > to.number ">
65
65
< br />
66
- < strong style ="color:darkred "> {{'Warning'|i18n}}:</ strong > {{'We do not currently support downgrading versions of Angular.'|i18n}}
66
+ < strong style ="color:darkred "> {{'Warning'|i18n}}:</ strong > {{'We do not support downgrading versions of Angular.'|i18n}}
67
67
</ div >
68
68
< div *ngIf ="(to.number - from.number > 150) && from.number > 240 ">
69
69
< br />
70
- < strong style ="color:darkred "> {{'Warning'|i18n}}:</ strong > {{'We do not support migrating across multiple major versions at once. Please migrate each major version individually .'|i18n}}
70
+ < strong style ="color:darkred "> {{'Warning'|i18n}}:</ strong > {{'Be sure to follow the guide below to migrate your application to the new version. You can\'t run'|i18n}} < code > ng update </ code > {{'to update Angular applications more than one major version at a time .'|i18n}}
71
71
</ div >
72
72
73
- < h4 > {{'App Complexity '|i18n}}</ h4 >
73
+ < h3 > {{'Application complexity '|i18n}}</ h3 >
74
74
< ng-container >
75
75
< mat-button-toggle-group (change) ="level = $event.value; track.send('setting-complexity',$event.value); showUpdatePath() " [value] ="level " style ="margin-bottom:16px; ">
76
76
< mat-button-toggle [value] ="1 "> {{'Basic'|i18n}}</ mat-button-toggle >
77
77
< mat-button-toggle [value] ="2 "> {{'Medium'|i18n}}</ mat-button-toggle >
78
78
< mat-button-toggle [value] ="3 "> {{'Advanced'|i18n}}</ mat-button-toggle >
79
79
</ mat-button-toggle-group >
80
- < p *ngIf ="level === 1 "> {{'Show update information relevant to all Angular developers.'|i18n}}</ p >
81
- < p *ngIf ="level === 2 "> {{'Show more specific update information relevant to around 10% of Angular developers.'|i18n}}</ p >
82
- < p *ngIf ="level === 3 "> {{'Show all the information we have about the update.'|i18n}}</ p >
80
+ < p *ngIf ="level === 1 "> {{'Shows information for all Angular developers.'|i18n}}</ p >
81
+ < p *ngIf ="level === 2 "> {{'Shows information that\'s of interest to more advanced Angular developers.'|i18n}}</ p >
82
+ < p *ngIf ="level === 3 "> {{'Shows all the information we have about this update.'|i18n}}</ p >
83
83
</ ng-container >
84
84
85
- < h4 > {{'Other Dependencies '|i18n}}</ h4 >
85
+ < h3 > {{'Other dependencies '|i18n}}</ h3 >
86
86
< ng-container *ngFor ="let option of optionList ">
87
87
< p >
88
88
< mat-checkbox (change) ="options[option.id] = $event.checked; track.send('setting-'+option.name,$event.checked); showUpdatePath() " [checked] ="options[option.id] "> {{'I use'|i18n}} {{option.name}} {{option.description}}</ mat-checkbox >
@@ -112,30 +112,34 @@ <h4>{{'Package Manager'|i18n}}</h4>
112
112
113
113
< div class ="recommendations " *ngIf ="beforeRecommendations.length > 0 || duringRecommendations.length > 0 || afterRecommendations.length > 0 ">
114
114
< h2 > {{title}}</ h2 >
115
- < h3 > {{'Before Updating '|i18n}}</ h3 >
115
+ < h3 > {{'Before you update '|i18n}}</ h3 >
116
116
< div *ngFor ="let r of beforeRecommendations ">
117
117
< mat-checkbox > </ mat-checkbox >
118
118
< div style ="margin-left:30px; " [innerHTML] ="r.renderedStep "> </ div >
119
119
</ div >
120
120
< div *ngIf ="beforeRecommendations.length <= 0 ">
121
- < em > {{"There aren 't currently any changes needed before moving between these versions."|i18n}}</ em >
121
+ < em > {{"You don 't need to do anything before moving between these versions."|i18n}}</ em >
122
122
</ div >
123
123
124
- < h3 > {{'During the Update'|i18n}}</ h3 >
124
+ < h3 > {{'Update to the new version'|i18n}}</ h3 >
125
+ < div *ngIf ="duringRecommendations.length > 0 ">
126
+ < p > < em > {{"Review these changes and perform the actions to update your application."|i18n}}</ em > </ p >
127
+ < p > </ p >
128
+ </ div >
125
129
< div *ngFor ="let r of duringRecommendations ">
126
130
< mat-checkbox > </ mat-checkbox >
127
131
< div style ="margin-left:30px; " [innerHTML] ="r.renderedStep "> </ div >
128
132
</ div >
129
133
< div *ngIf ="duringRecommendations.length <= 0 ">
130
- < em > {{"There aren't currently any recommendations for moving between these versions."|i18n}}</ em >
134
+ < em > {{"There aren't any recommendations for moving between these versions."|i18n}}</ em >
131
135
</ div >
132
- < h3 > {{'After the Update '|i18n}}</ h3 >
136
+ < h3 > {{'After you update '|i18n}}</ h3 >
133
137
< div *ngFor ="let r of afterRecommendations ">
134
138
< mat-checkbox > </ mat-checkbox >
135
139
< div style ="margin-left:30px; " [innerHTML] ="r.renderedStep "> </ div >
136
140
</ div >
137
141
< div *ngIf ="afterRecommendations.length <= 0 ">
138
- < em > {{"There aren 't currently any changes needed after moving between these versions."|i18n}}</ em >
142
+ < em > {{"You don 't need to do anything after moving between these versions."|i18n}}</ em >
139
143
</ div >
140
144
</ div >
141
145
</ div >
0 commit comments