feat(i18n): localize ViewModel-built strings via ambient Loc accessor
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
SelectedItem="{Binding TaskModelSelection, Mode=TwoWay}"
|
||||
HorizontalAlignment="Stretch"/>
|
||||
<TextBlock Classes="meta"
|
||||
Text="{Binding EffectiveModelHint, StringFormat='Effective if inherited: {0}'}"
|
||||
Text="{Binding EffectiveModelLabel}"
|
||||
Opacity="0.6"/>
|
||||
</StackPanel>
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
</ComboBox.ItemTemplate>
|
||||
</ComboBox>
|
||||
<TextBlock Classes="meta"
|
||||
Text="{Binding EffectiveAgentHint, StringFormat='Effective if inherited: {0}'}"
|
||||
Text="{Binding EffectiveAgentLabel}"
|
||||
Opacity="0.6"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
@@ -47,13 +47,7 @@
|
||||
<!-- Name + machine -->
|
||||
<StackPanel Grid.Column="1" Margin="8,0" Spacing="1" VerticalAlignment="Center">
|
||||
<TextBlock Classes="title" Text="{Binding UserName}"/>
|
||||
<TextBlock Classes="meta">
|
||||
<TextBlock.Text>
|
||||
<MultiBinding StringFormat="{}{0} / local">
|
||||
<Binding Path="MachineName"/>
|
||||
</MultiBinding>
|
||||
</TextBlock.Text>
|
||||
</TextBlock>
|
||||
<TextBlock Classes="meta" Text="{Binding MachineNameLocal}"/>
|
||||
</StackPanel>
|
||||
<!-- More button -->
|
||||
<Button Grid.Column="2" Classes="icon-btn" VerticalAlignment="Center"
|
||||
|
||||
@@ -31,8 +31,8 @@
|
||||
<!-- Content -->
|
||||
<StackPanel Spacing="12" Margin="20,16" MinWidth="520">
|
||||
<TextBlock Classes="heading"
|
||||
Text="{Binding SubtaskTitle, StringFormat='Conflicts in subtask: {0}'}"/>
|
||||
<TextBlock Classes="body" Text="{Binding TargetBranch, StringFormat='Merging into: {0}'}"/>
|
||||
Text="{Binding SubtaskLabel}"/>
|
||||
<TextBlock Classes="body" Text="{Binding TargetLabel}"/>
|
||||
<ItemsControl ItemsSource="{Binding ConflictedFiles}">
|
||||
<ItemsControl.ItemTemplate>
|
||||
<DataTemplate>
|
||||
|
||||
Reference in New Issue
Block a user