diff options
author | sr55 <[email protected]> | 2021-01-07 21:09:02 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2021-01-07 21:09:02 +0000 |
commit | 561a4e6a2eaec01608fa3d807b3b8c110a47705a (patch) | |
tree | 9d2156f96dcf633cdead880f3c5caa141bbde8ea /win/CS/HandBrakeWPF | |
parent | 7e879d997999af0ba6981aca685adc615f3d06b5 (diff) |
WinGui: Remove bold "(Default Preset)" label and add discrete "Is Default: Yes/No" to remove association of bold == default. #3331
Diffstat (limited to 'win/CS/HandBrakeWPF')
-rw-r--r-- | win/CS/HandBrakeWPF/Properties/Resources.Designer.cs | 36 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Properties/Resources.co.resx | 5 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Properties/Resources.de.resx | 5 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Properties/Resources.es.resx | 5 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Properties/Resources.fr.resx | 5 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Properties/Resources.ja.resx | 5 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Properties/Resources.ko.resx | 5 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Properties/Resources.pt-BR.resx | 5 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Properties/Resources.resx | 12 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Properties/Resources.ru.resx | 5 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Properties/Resources.tr.resx | 5 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Properties/Resources.uk.resx | 5 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Properties/Resources.zh.resx | 5 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Views/PresetManagerView.xaml | 8 |
14 files changed, 54 insertions, 57 deletions
diff --git a/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs b/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs index 7b24025d1..59fab79ae 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs +++ b/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs @@ -158,6 +158,15 @@ namespace HandBrakeWPF.Properties { } /// <summary> + /// Looks up a localized string similar to Is Default:. + /// </summary> + public static string AddPresetView_IsDefault { + get { + return ResourceManager.GetString("AddPresetView_IsDefault", resourceCulture); + } + } + + /// <summary> /// Looks up a localized string similar to Name:. /// </summary> public static string AddPresetView_Name { @@ -2749,6 +2758,15 @@ namespace HandBrakeWPF.Properties { } /// <summary> + /// Looks up a localized string similar to No. + /// </summary> + public static string No { + get { + return ResourceManager.GetString("No", resourceCulture); + } + } + + /// <summary> /// Looks up a localized string similar to No Additional Information. /// </summary> public static string NoAdditionalInformation { @@ -4458,15 +4476,6 @@ namespace HandBrakeWPF.Properties { } /// <summary> - /// Looks up a localized string similar to (Default Preset). - /// </summary> - public static string PresetManagerView_DefaultPreset { - get { - return ResourceManager.GetString("PresetManagerView_DefaultPreset", resourceCulture); - } - } - - /// <summary> /// Looks up a localized string similar to Delete Preset. /// </summary> public static string PresetManagerView_Delete { @@ -6671,5 +6680,14 @@ namespace HandBrakeWPF.Properties { return ResourceManager.GetString("WindowTitleStatus", resourceCulture); } } + + /// <summary> + /// Looks up a localized string similar to Yes. + /// </summary> + public static string Yes { + get { + return ResourceManager.GetString("Yes", resourceCulture); + } + } } } diff --git a/win/CS/HandBrakeWPF/Properties/Resources.co.resx b/win/CS/HandBrakeWPF/Properties/Resources.co.resx index df9441e0c..f3b21fe7d 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.co.resx +++ b/win/CS/HandBrakeWPF/Properties/Resources.co.resx @@ -2356,10 +2356,7 @@ I campi sò limitati à : - Discrizzione longa</value> </data> <data name="String1" xml:space="preserve"> - <value/> - </data> - <data name="PresetManagerView_DefaultPreset" xml:space="preserve"> - <value>(Prerigatura predefinita)</value> + <value /> </data> <data name="PresetService_CategoryAlreadyExists" xml:space="preserve"> <value>U nome di categuria scrittu esiste dighjà. Ci vole à sceglie un nome sfarente.</value> diff --git a/win/CS/HandBrakeWPF/Properties/Resources.de.resx b/win/CS/HandBrakeWPF/Properties/Resources.de.resx index ec17eb7fa..18c5d8d27 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.de.resx +++ b/win/CS/HandBrakeWPF/Properties/Resources.de.resx @@ -2363,10 +2363,7 @@ Dies ist auf folgende Felder begrenzt: - Lange Beschreibung</value> </data> <data name="String1" xml:space="preserve"> - <value/> - </data> - <data name="PresetManagerView_DefaultPreset" xml:space="preserve"> - <value>(Standardvoreinstellung)</value> + <value /> </data> <data name="PresetService_CategoryAlreadyExists" xml:space="preserve"> <value>Der eingegebene Name der Kategorie existiert schon. Bitte einen anderen Namen wählen.</value> diff --git a/win/CS/HandBrakeWPF/Properties/Resources.es.resx b/win/CS/HandBrakeWPF/Properties/Resources.es.resx index 4a349651c..1c49fd8e2 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.es.resx +++ b/win/CS/HandBrakeWPF/Properties/Resources.es.resx @@ -2364,10 +2364,7 @@ Los campos son: - Descripción larga</value> </data> <data name="String1" xml:space="preserve"> - <value/> - </data> - <data name="PresetManagerView_DefaultPreset" xml:space="preserve"> - <value>(Preset por defecto)</value> + <value /> </data> <data name="PresetService_CategoryAlreadyExists" xml:space="preserve"> <value>El nombre que ingresaste para la categoría ya existe. Por favor, elige un nombre diferente.</value> diff --git a/win/CS/HandBrakeWPF/Properties/Resources.fr.resx b/win/CS/HandBrakeWPF/Properties/Resources.fr.resx index 4f18d3a7e..e0b081227 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.fr.resx +++ b/win/CS/HandBrakeWPF/Properties/Resources.fr.resx @@ -2361,10 +2361,7 @@ Les champs sont limités à : - Description longue</value> </data> <data name="String1" xml:space="preserve"> - <value/> - </data> - <data name="PresetManagerView_DefaultPreset" xml:space="preserve"> - <value>(Préréglage par défaut)</value> + <value /> </data> <data name="PresetService_CategoryAlreadyExists" xml:space="preserve"> <value>Le nom de catégorie que vous avez saisi existe déjà. Veuillez choisir un autre nom.</value> diff --git a/win/CS/HandBrakeWPF/Properties/Resources.ja.resx b/win/CS/HandBrakeWPF/Properties/Resources.ja.resx index 434312a16..c616a236f 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.ja.resx +++ b/win/CS/HandBrakeWPF/Properties/Resources.ja.resx @@ -2360,10 +2360,7 @@ Fields are limited to: - Long Description</value> </data> <data name="String1" xml:space="preserve"> - <value/> - </data> - <data name="PresetManagerView_DefaultPreset" xml:space="preserve"> - <value>(Default Preset)</value> + <value /> </data> <data name="PresetService_CategoryAlreadyExists" xml:space="preserve"> <value>The category name you entered already exists. Please choose a different name.</value> diff --git a/win/CS/HandBrakeWPF/Properties/Resources.ko.resx b/win/CS/HandBrakeWPF/Properties/Resources.ko.resx index 4e639cc07..4d643bc1c 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.ko.resx +++ b/win/CS/HandBrakeWPF/Properties/Resources.ko.resx @@ -2360,10 +2360,7 @@ Fields are limited to: - Long Description</value> </data> <data name="String1" xml:space="preserve"> - <value/> - </data> - <data name="PresetManagerView_DefaultPreset" xml:space="preserve"> - <value>(Default Preset)</value> + <value /> </data> <data name="PresetService_CategoryAlreadyExists" xml:space="preserve"> <value>The category name you entered already exists. Please choose a different name.</value> diff --git a/win/CS/HandBrakeWPF/Properties/Resources.pt-BR.resx b/win/CS/HandBrakeWPF/Properties/Resources.pt-BR.resx index 7a6062405..108415973 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.pt-BR.resx +++ b/win/CS/HandBrakeWPF/Properties/Resources.pt-BR.resx @@ -2360,10 +2360,7 @@ Fields are limited to: - Long Description</value> </data> <data name="String1" xml:space="preserve"> - <value/> - </data> - <data name="PresetManagerView_DefaultPreset" xml:space="preserve"> - <value>(Default Preset)</value> + <value /> </data> <data name="PresetService_CategoryAlreadyExists" xml:space="preserve"> <value>The category name you entered already exists. Please choose a different name.</value> diff --git a/win/CS/HandBrakeWPF/Properties/Resources.resx b/win/CS/HandBrakeWPF/Properties/Resources.resx index 03123ae38..0afe6bdab 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.resx +++ b/win/CS/HandBrakeWPF/Properties/Resources.resx @@ -2363,9 +2363,6 @@ Fields are limited to: <data name="String1" xml:space="preserve">
<value />
</data>
- <data name="PresetManagerView_DefaultPreset" xml:space="preserve">
- <value>(Default Preset)</value>
- </data>
<data name="PresetService_CategoryAlreadyExists" xml:space="preserve">
<value>The category name you entered already exists. Please choose a different name.</value>
</data>
@@ -2390,4 +2387,13 @@ Fields are limited to: <data name="Preset_NotAvailable" xml:space="preserve">
<value>(Not Available)</value>
</data>
+ <data name="AddPresetView_IsDefault" xml:space="preserve">
+ <value>Is Default:</value>
+ </data>
+ <data name="No" xml:space="preserve">
+ <value>No</value>
+ </data>
+ <data name="Yes" xml:space="preserve">
+ <value>Yes</value>
+ </data>
</root>
\ No newline at end of file diff --git a/win/CS/HandBrakeWPF/Properties/Resources.ru.resx b/win/CS/HandBrakeWPF/Properties/Resources.ru.resx index 982ba0f11..362e6e493 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.ru.resx +++ b/win/CS/HandBrakeWPF/Properties/Resources.ru.resx @@ -2361,10 +2361,7 @@ Fields are limited to: - Long Description</value> </data> <data name="String1" xml:space="preserve"> - <value/> - </data> - <data name="PresetManagerView_DefaultPreset" xml:space="preserve"> - <value>(Default Preset)</value> + <value /> </data> <data name="PresetService_CategoryAlreadyExists" xml:space="preserve"> <value>The category name you entered already exists. Please choose a different name.</value> diff --git a/win/CS/HandBrakeWPF/Properties/Resources.tr.resx b/win/CS/HandBrakeWPF/Properties/Resources.tr.resx index 8e97f782a..aca670f8e 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.tr.resx +++ b/win/CS/HandBrakeWPF/Properties/Resources.tr.resx @@ -2361,10 +2361,7 @@ Fields are limited to: - Long Description</value> </data> <data name="String1" xml:space="preserve"> - <value/> - </data> - <data name="PresetManagerView_DefaultPreset" xml:space="preserve"> - <value>(Default Preset)</value> + <value /> </data> <data name="PresetService_CategoryAlreadyExists" xml:space="preserve"> <value>The category name you entered already exists. Please choose a different name.</value> diff --git a/win/CS/HandBrakeWPF/Properties/Resources.uk.resx b/win/CS/HandBrakeWPF/Properties/Resources.uk.resx index dcafdda93..cd32201cc 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.uk.resx +++ b/win/CS/HandBrakeWPF/Properties/Resources.uk.resx @@ -2361,10 +2361,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.< - Довгий опис (Long Description)</value> </data> <data name="String1" xml:space="preserve"> - <value/> - </data> - <data name="PresetManagerView_DefaultPreset" xml:space="preserve"> - <value>(Стандартний набір)</value> + <value /> </data> <data name="PresetService_CategoryAlreadyExists" xml:space="preserve"> <value>Введена назва категорії вже існує. Виберіть іншу назву.</value> diff --git a/win/CS/HandBrakeWPF/Properties/Resources.zh.resx b/win/CS/HandBrakeWPF/Properties/Resources.zh.resx index 27b048b7d..f8c689401 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.zh.resx +++ b/win/CS/HandBrakeWPF/Properties/Resources.zh.resx @@ -2354,10 +2354,7 @@ Fields are limited to: - Long Description</value> </data> <data name="String1" xml:space="preserve"> - <value/> - </data> - <data name="PresetManagerView_DefaultPreset" xml:space="preserve"> - <value>(Default Preset)</value> + <value /> </data> <data name="PresetService_CategoryAlreadyExists" xml:space="preserve"> <value>The category name you entered already exists. Please choose a different name.</value> diff --git a/win/CS/HandBrakeWPF/Views/PresetManagerView.xaml b/win/CS/HandBrakeWPF/Views/PresetManagerView.xaml index 94a3d377d..a4a7bd069 100644 --- a/win/CS/HandBrakeWPF/Views/PresetManagerView.xaml +++ b/win/CS/HandBrakeWPF/Views/PresetManagerView.xaml @@ -236,6 +236,7 @@ <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> @@ -243,7 +244,12 @@ <TextBlock Grid.Row="0" Grid.Column="0" Text="{x:Static Properties:Resources.AddPresetView_Name}" /> <StackPanel Orientation="Horizontal" Grid.Row="0" Grid.Column="1"> <TextBlock HorizontalAlignment="Stretch" Text="{Binding SelectedPreset.Name, UpdateSourceTrigger=PropertyChanged}" TextTrimming="CharacterEllipsis" /> - <TextBlock HorizontalAlignment="Stretch" Text="{x:Static Properties:Resources.PresetManagerView_DefaultPreset}" FontWeight="Bold" Margin="15,0,0,0" Visibility="{Binding SelectedPreset.IsDefault, Converter={StaticResource boolToVisConverter}}" /> + </StackPanel> + + <TextBlock Grid.Row="1" Grid.Column="0" Text="{x:Static Properties:Resources.AddPresetView_IsDefault}" Margin="0,10,0,0" /> + <StackPanel Orientation="Horizontal" Grid.Row="1" Grid.Column="1" Margin="0,10,0,0" > + <TextBlock HorizontalAlignment="Stretch" Text="{x:Static Properties:Resources.Yes}" Visibility="{Binding SelectedPreset.IsDefault, Converter={StaticResource boolToVisConverter}, ConverterParameter=False}" /> + <TextBlock HorizontalAlignment="Stretch" Text="{x:Static Properties:Resources.No}" Visibility="{Binding SelectedPreset.IsDefault, Converter={StaticResource boolToVisConverter}, ConverterParameter=True}" /> </StackPanel> <!-- Description --> |