Skip to content

Commit

Permalink
Localise Repair and Evacuation indicators
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuubari committed Nov 2, 2015
1 parent ddc9037 commit 3fc0771
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion source/Grabacr07.KanColleViewer/Properties/Resources.en.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ GPU: Slow! GPU optimization for tablets.</value>
<value>Withdrew (Towing)</value>
</data>
<data name="Ship_Repairing" xml:space="preserve">
<value>Repairing</value>
<value>Docked</value>
</data>
<data name="SlotItemCatalog_Refresh" xml:space="preserve">
<value>Refresh</value>
Expand Down Expand Up @@ -1345,4 +1345,7 @@ HTTP proxy settings are applied immediately. Settings for all other protocols ar
<data name="Notifications_Test_Details" xml:space="preserve">
<value>This is a test notification from KanColleViewer.</value>
</data>
<data name="Ship_Evacuating" xml:space="preserve">
<value>Evac</value>
</data>
</root>
3 changes: 3 additions & 0 deletions source/Grabacr07.KanColleViewer/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1355,4 +1355,7 @@ HTTP プロトコルの通信は自動構成も含め「インターネット
<data name="Notifications_Test_Details" xml:space="preserve">
<value>これは「提督業も忙しい!」のテスト通知です。</value>
</data>
<data name="Ship_Evacuating" xml:space="preserve">
<value>退避済</value>
</data>
</root>
4 changes: 2 additions & 2 deletions source/Grabacr07.KanColleViewer/Views/Contents/Fleets.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@
<Border Background="{DynamicResource FleetRepairingBrushKey}"
Opacity=".4"
Margin="5,0" />
<TextBlock Text="入渠中"
<TextBlock Text="{Binding Resources.Ship_Repairing, Source={x:Static models:ResourceService.Current}, Mode=OneWay}"
Style="{DynamicResource EmphaticTextStyleKey}"
HorizontalAlignment="Center" />
</Grid>
Expand All @@ -364,7 +364,7 @@
<Border Background="{DynamicResource FleetRepairingBrushKey}"
Opacity=".4"
Margin="5,0" />
<TextBlock Text="退避済"
<TextBlock Text="{Binding Resources.Ship_Evacuating, Source={x:Static models:ResourceService.Current}, Mode=OneWay}"
Style="{DynamicResource EmphaticTextStyleKey}"
HorizontalAlignment="Center" />
</Grid>
Expand Down
4 changes: 2 additions & 2 deletions source/Grabacr07.KanColleViewer/Views/Contents/Overview.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
Margin="8,2,8,0">
<Border Background="{DynamicResource FleetRepairingBrushKey}"
Opacity=".4" />
<TextBlock Text="入渠中"
<TextBlock Text="{Binding Resources.Ship_Repairing, Source={x:Static models:ResourceService.Current}, Mode=OneWay}"
Style="{DynamicResource EmphaticTextStyleKey}"
HorizontalAlignment="Center" />
</Grid>
Expand All @@ -229,7 +229,7 @@
Margin="8,2,8,0">
<Border Background="{DynamicResource FleetRepairingBrushKey}"
Opacity=".4" />
<TextBlock Text="退避済"
<TextBlock Text="{Binding Resources.Ship_Evacuating, Source={x:Static models:ResourceService.Current}, Mode=OneWay}"
Style="{DynamicResource EmphaticTextStyleKey}"
HorizontalAlignment="Center" />
</Grid>
Expand Down

0 comments on commit 3fc0771

Please sign in to comment.