From 5ef78bd702fe242d252277346f6938c728d1398e Mon Sep 17 00:00:00 2001 From: RedMser Date: Thu, 15 Feb 2018 23:00:15 +0100 Subject: [PATCH 1/2] Wav file browser doesn't show "Browse for executable" in title anymore. Added a new string to display instead. --- ShareX.HelpersLib/Properties/Resources.Designer.cs | 13 +++++++++++-- ShareX.HelpersLib/Properties/Resources.resx | 3 +++ .../UITypeEditors/WavFileNameEditor.cs | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/ShareX.HelpersLib/Properties/Resources.Designer.cs b/ShareX.HelpersLib/Properties/Resources.Designer.cs index a489a5388..38d01567a 100644 --- a/ShareX.HelpersLib/Properties/Resources.Designer.cs +++ b/ShareX.HelpersLib/Properties/Resources.Designer.cs @@ -78,7 +78,7 @@ internal static string ActionsCodeMenuEntry_OutputFilePath_File_path_without_ext "me_extension_", resourceCulture); } } - + /// /// Looks up a localized string similar to abandoned ///able @@ -377,7 +377,7 @@ internal static string AmazonS3StorageClass_STANDARD_IA { return ResourceManager.GetString("AmazonS3StorageClass_STANDARD_IA", resourceCulture); } } - + /// /// Looks up a localized string similar to aardvark ///aardwolf @@ -3260,5 +3260,14 @@ internal static string UrlShortenerType_CustomURLShortener { return ResourceManager.GetString("UrlShortenerType_CustomURLShortener", resourceCulture); } } + + /// + /// Looks up a localized string similar to Browse for a sound file.... + /// + internal static string WavFileNameEditor_EditValue_Browse_for_a_sound_file___ { + get { + return ResourceManager.GetString("WavFileNameEditor_EditValue_Browse_for_a_sound_file___", resourceCulture); + } + } } } diff --git a/ShareX.HelpersLib/Properties/Resources.resx b/ShareX.HelpersLib/Properties/Resources.resx index cf5fbff0e..0c24278e7 100644 --- a/ShareX.HelpersLib/Properties/Resources.resx +++ b/ShareX.HelpersLib/Properties/Resources.resx @@ -1151,4 +1151,7 @@ Would you like to download it? Drawing: Sticker + + Browse for a sound file... + \ No newline at end of file diff --git a/ShareX.HelpersLib/UITypeEditors/WavFileNameEditor.cs b/ShareX.HelpersLib/UITypeEditors/WavFileNameEditor.cs index 5ea3a7119..904578ec6 100644 --- a/ShareX.HelpersLib/UITypeEditors/WavFileNameEditor.cs +++ b/ShareX.HelpersLib/UITypeEditors/WavFileNameEditor.cs @@ -41,7 +41,7 @@ public override object EditValue(ITypeDescriptorContext context, IServiceProvide } using (OpenFileDialog dlg = new OpenFileDialog()) { - dlg.Title = Resources.ExeFileNameEditor_EditValue_Browse_for_executable___; + dlg.Title = Resources.WavFileNameEditor_EditValue_Browse_for_a_sound_file___; dlg.Filter = "Sound file (*.wav)|*.wav"; if (dlg.ShowDialog() == DialogResult.OK) { From 7926c02de4939434fe73be71edfbe59f67e4af48 Mon Sep 17 00:00:00 2001 From: RedMser Date: Thu, 15 Feb 2018 23:03:21 +0100 Subject: [PATCH 2/2] Added German translation for sound browser title string. --- ShareX.HelpersLib/Properties/Resources.de.resx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ShareX.HelpersLib/Properties/Resources.de.resx b/ShareX.HelpersLib/Properties/Resources.de.resx index ef8ffb9fd..309b101d1 100644 --- a/ShareX.HelpersLib/Properties/Resources.de.resx +++ b/ShareX.HelpersLib/Properties/Resources.de.resx @@ -895,4 +895,7 @@ Möchtest du sie herunterladen? Bild zuschneiden + + Nach .wav durchsuchen... + \ No newline at end of file