Ignore:
Timestamp:
Jan 7, 2011, 2:25:21 PM (11 years ago)
Author:
Sven Rech
Message:

Prepared KeySearcher for Localization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/KeySearcher/Presentation/Controls/StatisticsPresentation.xaml

    r2293 r2295  
    2121   
    2222    <TabControl>
    23         <TabItem Header="Users">
     23        <TabItem Header="{Loc _Users_}">
    2424            <TreeView HorizontalAlignment="Stretch" Name="statisticsTree" VerticalAlignment="Stretch" ItemsSource="{Binding}" AlternationCount="3">
    2525                <TreeView.ItemTemplate>
     
    4545                                <ProgressBar x:Name="Bar" Foreground="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type TreeViewItem}},Path=(ItemsControl.AlternationIndex),Converter={StaticResource ResourceKey=TeamsBackgroundConverter}}" Value="{Binding Path=Value, Mode=OneTime, Converter={StaticResource ResourceKey=InformationToProgressConverter}}" Width="{Binding ElementName=statisticsTree, Path=ActualWidth, Converter={StaticResource ResourceKey=WidthConverter}}" Maximum="1" />
    4646                                <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
    47                                     <TextBlock Text="Chunks: "/>
     47                                    <TextBlock Text="{Loc Chunks_}"/>
    4848                                    <TextBlock Text="{Binding Path=Key, Converter={StaticResource ResourceKey=ChunkSumConverter}, StringFormat=\{0\,-5\}}"/>
    4949                                </StackPanel>
     
    5656        </TabItem>
    5757       
    58         <TabItem Header="Machines">
     58        <TabItem Header="{Loc _Machines_}">
    5959            <TreeView HorizontalAlignment="Stretch" Name="machineTree" VerticalAlignment="Stretch" ItemsSource="{Binding}" AlternationCount="3">
    6060                <TreeView.ItemTemplate>
     
    7070                                <ProgressBar Value="{Binding Path=Value.Sum, Mode=OneTime, Converter={StaticResource ResourceKey=MachineSumToProgressConverter}}" Width="{Binding ElementName=machineTree, Path=ActualWidth, Converter={StaticResource ResourceKey=WidthConverter}}" Maximum="1" />
    7171                                <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
    72                                     <TextBlock Text="Chunks: "/>
     72                                    <TextBlock Text="{Loc Chunks_}"/>
    7373                                    <TextBlock Text="{Binding Path=Value.Sum,StringFormat=\{0\,-5\}}"/>
    7474                                </StackPanel>
Note: See TracChangeset for help on using the changeset viewer.