mirror of
https://github.com/Tichau/FileConverter.git
synced 2026-11-22 18:41:48 +01:00
Use localization keys
This commit is contained in:
4 files changed
+2117
-2021
No files matched your search
+1512
-1440
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -12,9 +12,9 @@ namespace FileConverter.ValueConverters
|
||||
{
|
||||
switch (value) {
|
||||
case Helpers.HardwareAccelerationMode.Off:
|
||||
return "Off";
|
||||
return Properties.Resources.HardwareAccelerationModeOffName;
|
||||
case Helpers.HardwareAccelerationMode.CUDA:
|
||||
return "Nvidia (CUDA)";
|
||||
return Properties.Resources.HardwareAccelerationModeCUDAName;
|
||||
}
|
||||
return "Unknown";
|
||||
}
|
||||
|
||||
@@ -401,7 +401,7 @@
|
||||
<Label Grid.Row="5" Grid.Column="0" Content="{x:Static project:Resources.CopyFilesInClipboardAfterConversion}" HorizontalAlignment="Right" Margin="0,0,5,0"/>
|
||||
<CheckBox Grid.Row="5" Grid.Column="1" x:Name="CopyFilesInClipboardAfterConversionCheckBox" IsChecked="{Binding Settings.CopyFilesInClipboardAfterConversion, Mode=TwoWay}" Margin="0,5,0,5" />
|
||||
|
||||
<Label Grid.Row="6" Grid.Column="0" Content="Hardware acceleration mode" HorizontalAlignment="Right" Margin="0,0,5,0"/>
|
||||
<Label Grid.Row="6" Grid.Column="0" Content="{x:Static project:Resources.HardwareAccelerationMode}" HorizontalAlignment="Right" Margin="0,0,5,0"/>
|
||||
<ComboBox Grid.Row="6" Grid.Column="1" ItemsSource="{Binding HardwareAccelerationModes, Mode=OneTime}" Margin="0,0,0,1"
|
||||
SelectedValue="{Binding Settings.HardwareAccelerationMode, Mode=TwoWay}">
|
||||
<ComboBox.ItemTemplate>
|
||||
|
||||
Reference in new issue
Block a user