]> granicus.if.org Git - handbrake/commitdiff
WinGui: Language Changes around preset buttons on the main view.
authorsr55 <sr55.hb@outlook.com>
Fri, 15 Dec 2017 22:47:20 +0000 (22:47 +0000)
committersr55 <sr55.hb@outlook.com>
Fri, 15 Dec 2017 22:47:20 +0000 (22:47 +0000)
win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs
win/CS/HandBrakeWPF/Properties/ResourcesUI.resx
win/CS/HandBrakeWPF/Views/MainView.xaml

index d40aa4e0a1caddf2af2dd6536fdf1972b2730d62..c95cb7446a89320ab665d9a9c0a8fbd3dd327226 100644 (file)
@@ -942,6 +942,15 @@ namespace HandBrakeWPF.Properties {
             }\r
         }\r
         \r
+        /// <summary>\r
+        ///   Looks up a localized string similar to Reload.\r
+        /// </summary>\r
+        public static string MainView_Reload {\r
+            get {\r
+                return ResourceManager.GetString("MainView_Reload", resourceCulture);\r
+            }\r
+        }\r
+        \r
         /// <summary>\r
         ///   Looks up a localized string similar to Remove.\r
         /// </summary>\r
@@ -960,6 +969,15 @@ namespace HandBrakeWPF.Properties {
             }\r
         }\r
         \r
+        /// <summary>\r
+        ///   Looks up a localized string similar to Save New Preset.\r
+        /// </summary>\r
+        public static string MainView_SaveNewPreset {\r
+            get {\r
+                return ResourceManager.GetString("MainView_SaveNewPreset", resourceCulture);\r
+            }\r
+        }\r
+        \r
         /// <summary>\r
         ///   Looks up a localized string similar to Searching for start time.\r
         /// </summary>\r
index 32814de312b5fdc0a52ccac6bd75b259aa572d96..4dee81b03f98ba61fb0cc7970d10d3bf7956fb0b 100644 (file)
@@ -1013,4 +1013,10 @@ This will not affect your current settings in the Subtitle tab.</value>
   <data name="OptionsView_PlaySoundWhenQueueDone" xml:space="preserve">\r
     <value>Play a sound when the queue completes</value>\r
   </data>\r
+  <data name="MainView_Reload" xml:space="preserve">\r
+    <value>Reload</value>\r
+  </data>\r
+  <data name="MainView_SaveNewPreset" xml:space="preserve">\r
+    <value>Save New Preset</value>\r
+  </data>\r
 </root>
\ No newline at end of file
index 624ab40b2ab18e95f6e8764381f4ec92e1c99c6e..a8e7bc35f7bc4885a98f3ed0a0e22840dea85c94 100644 (file)
                         </Button.ContextMenu>\r
                     </Button>\r
 \r
-                    <Button Content="Reload" cal:Message.Attach="[Event Click] = [Action PresetSelect]"  Margin="15,0,0,0" VerticalAlignment="Center" />\r
-                    <Button Content="Save Custom Preset" cal:Message.Attach="[Event Click] = [Action PresetAdd]"  Margin="5,0,0,0" VerticalAlignment="Center" />\r
-\r
+                    <Button Content="{x:Static Properties:ResourcesUI.MainView_Reload}" cal:Message.Attach="[Event Click] = [Action PresetSelect]"  Margin="15,0,0,0" VerticalAlignment="Center" />\r
+                    <Button Content="{x:Static Properties:ResourcesUI.MainView_SaveNewPreset}" cal:Message.Attach="[Event Click] = [Action PresetAdd]"  Margin="5,0,0,0" VerticalAlignment="Center" />\r
+                    \r
                     <Button x:Name="MorePresetOptionsButton"  Margin="15,0,0,0" VerticalAlignment="Center" Click="MorePresetOptionsButton_OnClick">\r
                         <Button.Content>\r
                             <StackPanel Orientation="Horizontal">\r