Skip to content

Commit 3aaf41f

Browse files
authored
Chore: Improve translation for AWS Session Manager (#1572)
1 parent 38962eb commit 3aaf41f

File tree

4 files changed

+33
-33
lines changed

4 files changed

+33
-33
lines changed

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

Lines changed: 16 additions & 16 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: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3146,8 +3146,8 @@ Enable profile file encryption in Settings>Profile to store credentials secur
31463146
<data name="Region" xml:space="preserve">
31473147
<value>Region</value>
31483148
</data>
3149-
<data name="SyncInstanceIDsFromAWS" xml:space="preserve">
3150-
<value>Sync Instance IDs from AWS</value>
3149+
<data name="SyncEC2InstancesFromAWS" xml:space="preserve">
3150+
<value>Synchronize EC2 instances from AWS</value>
31513151
</data>
31523152
<data name="AddAWSProfile" xml:space="preserve">
31533153
<value>Add AWS profile</value>
@@ -3163,17 +3163,17 @@ The profile is not removed from the ~\.aws\credentials file.</value>
31633163
<data name="EditAWSProfile" xml:space="preserve">
31643164
<value>Edit AWS profile</value>
31653165
</data>
3166-
<data name="SyncAllInstanceIDsFromAWS" xml:space="preserve">
3167-
<value>Sync all Instance IDs from AWS</value>
3166+
<data name="SyncAllEC2InstancesFromAWS" xml:space="preserve">
3167+
<value>Synchronize all EC2 instances from AWS</value>
31683168
</data>
3169-
<data name="SyncGroupInstanceIDsFromAWS" xml:space="preserve">
3170-
<value>Sync group Instance IDs from AWS</value>
3169+
<data name="SyncGroupEC2InstancesFromAWS" xml:space="preserve">
3170+
<value>Synchronize group EC2 instances from AWS</value>
31713171
</data>
31723172
<data name="ProfilesAndRegionsToSync" xml:space="preserve">
3173-
<value>Profiles and regions to sync</value>
3173+
<value>Profiles and regions to synchronize</value>
31743174
</data>
31753175
<data name="HelpMessage_AWSSessionManagerProfilesAndRegionsToSync" xml:space="preserve">
3176-
<value>To synchronize instance IDs from AWS, the AWS CLI must be configured on the system. The instance IDs can be queried for multiple AWS accounts (profiles) and multiple regions. To do this, the profile stored in ~/.aws/credentials must be configured along with the region to query.</value>
3176+
<value>To synchronize EC2 instances from AWS, the AWS CLI must be configured on the system. The EC2 instances can be queried for multiple AWS accounts (profiles) and multiple regions. To do this, the profile stored in ~/.aws/credentials must be configured along with the region to query.</value>
31773177
</data>
31783178
<data name="Library_AWSSDKdotEC2_Description" xml:space="preserve">
31793179
<value>AWS SDK for .NET to work with Amazon Elastic Compute Cloud (Amazon EC2) in Amazon Web Services (AWS).</value>
@@ -3185,12 +3185,12 @@ The profile is not removed from the ~\.aws\credentials file.</value>
31853185
<value>Default region</value>
31863186
</data>
31873187
<data name="HelpMessage_AWSSessionManagerDefaultProfile" xml:space="preserve">
3188-
<value>Default AWS CLI profile which is used by manually created profiles to connect to an instance.
3188+
<value>Default profile which is used by manually created profiles to connect to an EC2 instance via AWS CLI.
31893189

31903190
If not set, the default AWS CLI settings are used.</value>
31913191
</data>
31923192
<data name="HelpMessage_AWSSessionManagerDefaultRegion" xml:space="preserve">
3193-
<value>Default AWS CLI region which is used by manually created profiles to connect to an instance.
3193+
<value>Default region which is used by manually created profiles to connect to an EC2 instance via AWS CLI .
31943194

31953195
If not set, the default AWS CLI settings are used.</value>
31963196
</data>
@@ -3203,8 +3203,8 @@ If not set, the default AWS CLI settings are used.</value>
32033203
<data name="GroupNameCannotStartWithX" xml:space="preserve">
32043204
<value>Group name cannot start with "{0}"!</value>
32053205
</data>
3206-
<data name="SyncOnlyRunningInstancesFromAWS" xml:space="preserve">
3207-
<value>Sync only running instances from AWS</value>
3206+
<data name="SyncOnlyRunningEC2InstancesFromAWS" xml:space="preserve">
3207+
<value>Synchronize only running EC2 instances from AWS</value>
32083208
</data>
32093209
<data name="AnAWSRegionNamedXDoesNotExist" xml:space="preserve">
32103210
<value>An AWS region named "{0}" does not exist!</value>

Source/NETworkManager/Views/AWSSessionManagerHostView.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@
260260
</interactivity:EventTrigger>
261261
</interactivity:Interaction.Triggers>
262262
</TextBox>
263-
<Button Grid.Column="4" Grid.Row="0" Style="{StaticResource CleanButton}" Command="{Binding SyncAllInstanceIDsFromAWSCommand}" Visibility="{Binding IsSyncing, Converter={StaticResource BooleanReverseToVisibilityCollapsedConverter}}" ToolTip="{x:Static localization:Strings.SyncAllInstanceIDsFromAWS}">
263+
<Button Grid.Column="4" Grid.Row="0" Style="{StaticResource CleanButton}" Command="{Binding SyncAllInstanceIDsFromAWSCommand}" Visibility="{Binding IsSyncing, Converter={StaticResource BooleanReverseToVisibilityCollapsedConverter}}" ToolTip="{x:Static localization:Strings.SyncAllEC2InstancesFromAWS}">
264264
<Rectangle Width="16" Height="16">
265265
<Rectangle.OpacityMask>
266266
<VisualBrush Stretch="Uniform" Visual="{iconPacks:Unicons Kind=Sync}" />
@@ -377,7 +377,7 @@
377377
<Style.Triggers>
378378
<DataTrigger Binding="{Binding (CollectionViewGroup.Name), Converter={StaticResource IsDynamicProfileToBooleanConverter}}" Value="True">
379379
<Setter Property="Command" Value="{Binding DataContext.SyncGroupInstanceIDsFromAWSCommand, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type ListBox}}}" />
380-
<Setter Property="ToolTip" Value="{x:Static localization:Strings.SyncGroupInstanceIDsFromAWS}" />
380+
<Setter Property="ToolTip" Value="{x:Static localization:Strings.SyncGroupEC2InstancesFromAWS}" />
381381
</DataTrigger>
382382
</Style.Triggers>
383383
</Style>

Source/NETworkManager/Views/AWSSessionManagerSettingsView.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
mc:Ignorable="d" d:DataContext="{d:DesignInstance viewModels:AWSSessionManagerSettingsViewModel}">
1414
<StackPanel>
1515
<TextBlock Text="{x:Static localization:Strings.AWSSessionManager}" Style="{StaticResource HeaderTextBlock}" />
16-
<mah:ToggleSwitch Header="{x:Static localization:Strings.SyncInstanceIDsFromAWS}" IsOn="{Binding EnableSyncInstanceIDsFromAWS}" Margin="0,0,0,10" />
16+
<mah:ToggleSwitch Header="{x:Static localization:Strings.SyncEC2InstancesFromAWS}" IsOn="{Binding EnableSyncInstanceIDsFromAWS}" Margin="0,0,0,10" />
1717
<StackPanel Orientation="Horizontal" Margin="0,0,0,10">
18-
<TextBlock Text="{x:Static localization:Strings.ProfilesAndRegionsToSync}" Style="{DynamicResource DefaultTextBlock}" Margin="0,0,0,10" />
18+
<TextBlock Text="{x:Static localization:Strings.ProfilesAndRegionsToSync}" Style="{DynamicResource DefaultTextBlock}" />
1919
<Rectangle Width="24" Height="24" ToolTip="{x:Static localization:Strings.HelpMessage_AWSSessionManagerProfilesAndRegionsToSync}" Style="{StaticResource HelpImageRectangle}" Margin="10,0,0,0">
2020
<Rectangle.Resources>
2121
<Style TargetType="{x:Type ToolTip}" BasedOn="{StaticResource HelpToolTip}" />
@@ -146,7 +146,7 @@
146146
</Button.Content>
147147
</Button>
148148
</StackPanel>
149-
<mah:ToggleSwitch Header="{x:Static localization:Strings.SyncOnlyRunningInstancesFromAWS}" IsOn="{Binding SyncOnlyRunningInstancesFromAWS}" Margin="0,0,0,10" />
149+
<mah:ToggleSwitch Header="{x:Static localization:Strings.SyncOnlyRunningEC2InstancesFromAWS}" IsOn="{Binding SyncOnlyRunningInstancesFromAWS}" Margin="0,0,0,10" />
150150
<StackPanel Orientation="Horizontal" Margin="0,0,0,10">
151151
<TextBlock Text="{x:Static localization:Strings.DefaultProfile}" Style="{DynamicResource DefaultTextBlock}" />
152152
<Rectangle Width="24" Height="24" ToolTip="{x:Static localization:Strings.HelpMessage_AWSSessionManagerDefaultProfile}" Style="{StaticResource HelpImageRectangle}" Margin="10,0,0,0">

0 commit comments

Comments
 (0)