|
125 | 125 | <StackPanel Spacing="8" Margin="0,4,0,12"> |
126 | 126 | <TextBlock x:Name="UnavailableActionMessage" TextWrapping="Wrap" /> |
127 | 127 | <StackPanel Orientation="Horizontal" Spacing="8"> |
128 | | - <Button x:Name="UnavailablePrimaryButton" Click="OnUnavailableActionClick" Style="{ThemeResource AccentButtonStyle}" |
129 | | - AutomationProperties.Name="Sandbox action" /> |
| 128 | + <Button x:Uid="SandboxPage_UnavailablePrimaryButton" x:Name="UnavailablePrimaryButton" |
| 129 | + Click="OnUnavailableActionClick" Style="{ThemeResource AccentButtonStyle}" /> |
130 | 130 | <HyperlinkButton x:Uid="SandboxPage_LearnMoreAboutMXC" Content="Learn more about MXC sandboxing" |
131 | 131 | NavigateUri="https://github.com/microsoft/mxc" /> |
132 | 132 | </StackPanel> |
|
155 | 155 | <ColumnDefinition Width="*" /> |
156 | 156 | </Grid.ColumnDefinitions> |
157 | 157 |
|
158 | | - <Button x:Name="PresetLockedButton" |
| 158 | + <Button x:Uid="SandboxPage_PresetLockedButton" x:Name="PresetLockedButton" |
159 | 159 | Grid.Column="0" |
160 | 160 | HorizontalAlignment="Stretch" |
161 | 161 | HorizontalContentAlignment="Stretch" |
|
164 | 164 | Padding="20,18" |
165 | 165 | MinHeight="130" |
166 | 166 | CornerRadius="8" |
167 | | - Click="OnPresetLockedClick" |
168 | | - AutomationProperties.Name="Locked Down preset: No internet, no clipboard, no standard user folders"> |
| 167 | + Click="OnPresetLockedClick"> |
169 | 168 | <StackPanel Spacing="8"> |
170 | 169 | <TextBlock x:Uid="SandboxPage_LockedDown" Text="🔒 Locked Down" |
171 | 170 | FontSize="18" |
|
177 | 176 | </StackPanel> |
178 | 177 | </Button> |
179 | 178 |
|
180 | | - <Button x:Name="PresetBalancedButton" |
| 179 | + <Button x:Uid="SandboxPage_PresetBalancedButton" x:Name="PresetBalancedButton" |
181 | 180 | Grid.Column="1" |
182 | 181 | HorizontalAlignment="Stretch" |
183 | 182 | HorizontalContentAlignment="Stretch" |
|
186 | 185 | Padding="20,18" |
187 | 186 | MinHeight="130" |
188 | 187 | CornerRadius="8" |
189 | | - Click="OnPresetBalancedClick" |
190 | | - AutomationProperties.Name="Recommended preset: Internet on, read-only on Documents, Downloads, Desktop"> |
| 188 | + Click="OnPresetBalancedClick"> |
191 | 189 | <StackPanel Spacing="8"> |
192 | 190 | <TextBlock x:Uid="SandboxPage_Recommended" Text="🛡 Recommended" |
193 | 191 | FontSize="18" |
|
199 | 197 | </StackPanel> |
200 | 198 | </Button> |
201 | 199 |
|
202 | | - <Button x:Name="PresetPermissiveButton" |
| 200 | + <Button x:Uid="SandboxPage_PresetPermissiveButton" x:Name="PresetPermissiveButton" |
203 | 201 | Grid.Column="2" |
204 | 202 | HorizontalAlignment="Stretch" |
205 | 203 | HorizontalContentAlignment="Stretch" |
|
208 | 206 | Padding="20,18" |
209 | 207 | MinHeight="130" |
210 | 208 | CornerRadius="8" |
211 | | - Click="OnPresetPermissiveClick" |
212 | | - AutomationProperties.Name="Unprotected preset: Internet on, read and write on Documents, Downloads, Desktop"> |
| 209 | + Click="OnPresetPermissiveClick"> |
213 | 210 | <StackPanel Spacing="8"> |
214 | 211 | <TextBlock x:Uid="SandboxPage_Unprotected" Text="⚠ Unprotected" |
215 | 212 | FontSize="18" |
|
257 | 254 | </Grid.RowDefinitions> |
258 | 255 |
|
259 | 256 | <TextBlock x:Uid="SandboxPage_Documents" Grid.Row="0" Grid.Column="0" Text="Documents" VerticalAlignment="Center"/> |
260 | | - <ComboBox x:Name="DocsAccessCombo" Grid.Row="0" Grid.Column="1" |
| 257 | + <ComboBox x:Uid="SandboxPage_DocsAccessCombo" x:Name="DocsAccessCombo" Grid.Row="0" Grid.Column="1" |
261 | 258 | HorizontalAlignment="Stretch" |
262 | | - AutomationProperties.Name="Documents access level" |
263 | 259 | SelectionChanged="OnDocsAccessChanged"> |
264 | 260 | <ComboBoxItem x:Uid="SandboxPage_Blocked" Content="Blocked" Tag="None" /> |
265 | 261 | <ComboBoxItem x:Uid="SandboxPage_ReadOnly" Content="Read only" Tag="ReadOnly" /> |
266 | 262 | <ComboBoxItem x:Uid="SandboxPage_ReadAmpWrite" Content="Read & write" Tag="ReadWrite" /> |
267 | 263 | </ComboBox> |
268 | 264 |
|
269 | 265 | <TextBlock x:Uid="SandboxPage_Downloads" Grid.Row="1" Grid.Column="0" Text="Downloads" VerticalAlignment="Center"/> |
270 | | - <ComboBox x:Name="DownloadsAccessCombo" Grid.Row="1" Grid.Column="1" |
| 266 | + <ComboBox x:Uid="SandboxPage_DownloadsAccessCombo" x:Name="DownloadsAccessCombo" Grid.Row="1" Grid.Column="1" |
271 | 267 | HorizontalAlignment="Stretch" |
272 | | - AutomationProperties.Name="Downloads access level" |
273 | 268 | SelectionChanged="OnDownloadsAccessChanged"> |
274 | 269 | <ComboBoxItem x:Uid="SandboxPage_Blocked2" Content="Blocked" Tag="None" /> |
275 | 270 | <ComboBoxItem x:Uid="SandboxPage_ReadOnly2" Content="Read only" Tag="ReadOnly" /> |
276 | 271 | <ComboBoxItem x:Uid="SandboxPage_ReadAmpWrite2" Content="Read & write" Tag="ReadWrite" /> |
277 | 272 | </ComboBox> |
278 | 273 |
|
279 | 274 | <TextBlock x:Uid="SandboxPage_Desktop" Grid.Row="2" Grid.Column="0" Text="Desktop" VerticalAlignment="Center"/> |
280 | | - <ComboBox x:Name="DesktopAccessCombo" Grid.Row="2" Grid.Column="1" |
| 275 | + <ComboBox x:Uid="SandboxPage_DesktopAccessCombo" x:Name="DesktopAccessCombo" Grid.Row="2" Grid.Column="1" |
281 | 276 | HorizontalAlignment="Stretch" |
282 | | - AutomationProperties.Name="Desktop access level" |
283 | 277 | SelectionChanged="OnDesktopAccessChanged"> |
284 | 278 | <ComboBoxItem x:Uid="SandboxPage_Blocked3" Content="Blocked" Tag="None" /> |
285 | 279 | <ComboBoxItem x:Uid="SandboxPage_ReadOnly3" Content="Read only" Tag="ReadOnly" /> |
|
0 commit comments