Merge pull request #3149 from RedMser/master

Wav file browser doesn't show "Browse for executable" in title anymore
This commit is contained in:
Jaex 2018-02-16 01:06:25 +03:00 committed by GitHub
commit 3c4cf2d079
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 3 deletions

View file

@ -78,7 +78,7 @@ internal class Resources {
"me_extension_", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to abandoned
///able
@ -377,7 +377,7 @@ internal class Resources {
return ResourceManager.GetString("AmazonS3StorageClass_STANDARD_IA", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to aardvark
///aardwolf
@ -3260,5 +3260,14 @@ internal class Resources {
return ResourceManager.GetString("UrlShortenerType_CustomURLShortener", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Browse for a sound file....
/// </summary>
internal static string WavFileNameEditor_EditValue_Browse_for_a_sound_file___ {
get {
return ResourceManager.GetString("WavFileNameEditor_EditValue_Browse_for_a_sound_file___", resourceCulture);
}
}
}
}

View file

@ -895,4 +895,7 @@ Möchtest du sie herunterladen?</value>
<data name="ShapeType_ToolCrop" xml:space="preserve">
<value>Bild zuschneiden</value>
</data>
<data name="WavFileNameEditor_EditValue_Browse_for_a_sound_file___" xml:space="preserve">
<value>Nach .wav durchsuchen...</value>
</data>
</root>

View file

@ -1151,4 +1151,7 @@ Would you like to download it?</value>
<data name="ShapeType_DrawingSticker" xml:space="preserve">
<value>Drawing: Sticker</value>
</data>
<data name="WavFileNameEditor_EditValue_Browse_for_a_sound_file___" xml:space="preserve">
<value>Browse for a sound file...</value>
</data>
</root>

View file

@ -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)
{