mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-02 18:26:27 +13:00
Merge pull request #3149 from RedMser/master
Wav file browser doesn't show "Browse for executable" in title anymore
This commit is contained in:
commit
3c4cf2d079
4 changed files with 18 additions and 3 deletions
|
@ -3260,5 +3260,14 @@ internal static string UrlShortenerType_CustomURLShortener {
|
|||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
|
@ -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>
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue