Skip to content

Commit 1b12a86

Browse files
CopilotBornToBeRoot
andcommitted
Add localization string for policy-managed setting message
Co-authored-by: BornToBeRoot <16019165+BornToBeRoot@users.noreply.github.com>
1 parent 506e6bf commit 1b12a86

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

Source/NETworkManager.Localization/Resources/Strings.Designer.cs

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Source/NETworkManager.Localization/Resources/Strings.resx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3960,4 +3960,7 @@ If you click Cancel, the profile file will remain unencrypted.</value>
39603960
<data name="HelpMessage_MaximumNumberOfBackups" xml:space="preserve">
39613961
<value>Number of backups that are retained before the oldest one is deleted.</value>
39623962
</data>
3963+
<data name="SettingManagedByAdministrator" xml:space="preserve">
3964+
<value>This setting is managed by your administrator.</value>
3965+
</data>
39633966
</root>

Source/NETworkManager/Views/SettingsUpdateView.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</Rectangle.Resources>
3131
</Rectangle>
3232
</StackPanel>
33-
<TextBlock Text="This setting is managed by your administrator."
33+
<TextBlock Text="{x:Static localization:Strings.SettingManagedByAdministrator}"
3434
Foreground="Orange"
3535
Margin="0,0,0,10"
3636
Visibility="{Binding IsUpdateCheckManagedByPolicy, Converter={StaticResource BooleanToVisibilityCollapsedConverter}}" />

0 commit comments

Comments
 (0)