summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs36
-rw-r--r--win/CS/HandBrakeWPF/Properties/ResourcesUI.resx8
-rw-r--r--win/CS/HandBrakeWPF/Views/MainView.xaml22
3 files changed, 40 insertions, 26 deletions
diff --git a/win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs b/win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs
index 4a6ce4602..c2aee92a6 100644
--- a/win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs
+++ b/win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs
@@ -520,24 +520,6 @@ namespace HandBrakeWPF.Properties {
}
/// <summary>
- /// Looks up a localized string similar to Export.
- /// </summary>
- public static string Generic_Export {
- get {
- return ResourceManager.GetString("Generic_Export", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Import.
- /// </summary>
- public static string Generic_Import {
- get {
- return ResourceManager.GetString("Generic_Import", resourceCulture);
- }
- }
-
- /// <summary>
/// Looks up a localized string similar to Move Left.
/// </summary>
public static string Generic_MoveLeft {
@@ -1537,6 +1519,24 @@ namespace HandBrakeWPF.Properties {
}
/// <summary>
+ /// Looks up a localized string similar to Export to file.
+ /// </summary>
+ public static string Preset_Export {
+ get {
+ return ResourceManager.GetString("Preset_Export", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Import from file.
+ /// </summary>
+ public static string Preset_Import {
+ get {
+ return ResourceManager.GetString("Preset_Import", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to Choose titles:.
/// </summary>
public static string QueueSelectionView_ChooseTitles {
diff --git a/win/CS/HandBrakeWPF/Properties/ResourcesUI.resx b/win/CS/HandBrakeWPF/Properties/ResourcesUI.resx
index b07140b54..ad6e0450f 100644
--- a/win/CS/HandBrakeWPF/Properties/ResourcesUI.resx
+++ b/win/CS/HandBrakeWPF/Properties/ResourcesUI.resx
@@ -267,11 +267,11 @@
<data name="ChapterView_ResetChapterNames" xml:space="preserve">
<value>Reset Chapter Names</value>
</data>
- <data name="Generic_Export" xml:space="preserve">
- <value>Export</value>
+ <data name="Preset_Export" xml:space="preserve">
+ <value>Export to file</value>
</data>
- <data name="Generic_Import" xml:space="preserve">
- <value>Import</value>
+ <data name="Preset_Import" xml:space="preserve">
+ <value>Import from file</value>
</data>
<data name="LogView_CopyClipboard" xml:space="preserve">
<value>Copy to clipboard</value>
diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml b/win/CS/HandBrakeWPF/Views/MainView.xaml
index 1487e46e1..fe2e4dad7 100644
--- a/win/CS/HandBrakeWPF/Views/MainView.xaml
+++ b/win/CS/HandBrakeWPF/Views/MainView.xaml
@@ -113,8 +113,8 @@
</MenuItem.ItemContainerStyle>
</MenuItem>
<Separator />
- <MenuItem Header="_Import" cal:Message.Attach="[Event Click] = [Action PresetImport]" />
- <MenuItem Header="_Export" cal:Message.Attach="[Event Click] = [Action PresetExport]" />
+ <MenuItem Header="_Import from file" cal:Message.Attach="[Event Click] = [Action PresetImport]" />
+ <MenuItem Header="_Export to file" cal:Message.Attach="[Event Click] = [Action PresetExport]" />
<Separator />
<MenuItem Header="_Set Current as Default" cal:Message.Attach="[Event Click] = [Action PresetSetDefault]" />
<MenuItem Header="_Reset Built-In Presets" cal:Message.Attach="[Event Click] = [Action PresetReset]" />
@@ -548,6 +548,20 @@
</Style>
</ListBox.Resources>
+ <ListBox.ContextMenu>
+ <ContextMenu AutomationProperties.Name="Presets List Context Menu">
+ <MenuItem Header="{x:Static Properties:ResourcesUI.MainView_SetDefault}" cal:Message.Attach="[Event Click] = [Action PresetSetDefault]" />
+ <Separator />
+ <MenuItem Header="{x:Static Properties:ResourcesUI.MainView_UpdateSelectedPreset}" cal:Message.Attach="[Event Click] = [Action PresetUpdate]" />
+ <Separator />
+ <MenuItem Header="{x:Static Properties:ResourcesUI.Preset_Import}" cal:Message.Attach="[Event Click] = [Action PresetImport]" />
+ <MenuItem Header="{x:Static Properties:ResourcesUI.Preset_Export}" cal:Message.Attach="[Event Click] = [Action PresetExport]" />
+ <Separator />
+ <MenuItem Header="{x:Static Properties:ResourcesUI.MainView_ResetBuiltInPresets}" cal:Message.Attach="[Event Click] = [Action PresetReset]" />
+ </ContextMenu>
+
+ </ListBox.ContextMenu>
+
<i:Interaction.Triggers>
<commands:InputBindingTrigger>
<commands:InputBindingTrigger.InputBinding>
@@ -632,8 +646,8 @@
<Separator />
<MenuItem Header="{x:Static Properties:ResourcesUI.MainView_UpdateSelectedPreset}" cal:Message.Attach="[Event Click] = [Action PresetUpdate]" />
<Separator />
- <MenuItem Header="{x:Static Properties:ResourcesUI.Generic_Import}" cal:Message.Attach="[Event Click] = [Action PresetImport]" />
- <MenuItem Header="{x:Static Properties:ResourcesUI.Generic_Export}" cal:Message.Attach="[Event Click] = [Action PresetExport]" />
+ <MenuItem Header="{x:Static Properties:ResourcesUI.Preset_Import}" cal:Message.Attach="[Event Click] = [Action PresetImport]" />
+ <MenuItem Header="{x:Static Properties:ResourcesUI.Preset_Export}" cal:Message.Attach="[Event Click] = [Action PresetExport]" />
<Separator />
<MenuItem Header="{x:Static Properties:ResourcesUI.MainView_ResetBuiltInPresets}" cal:Message.Attach="[Event Click] = [Action PresetReset]" />
</MenuItem>