Merge pull request #1686 from dannoe/enh-add-confirm-dialogs-for-reset

Updated localization name to fit others.
This commit is contained in:
Jaex 2016-07-01 21:21:19 +03:00 committed by GitHub
commit bc75412eb5
3 changed files with 4 additions and 4 deletions

View file

@ -212,7 +212,7 @@ private void btnDuplicate_Click(object sender, EventArgs e)
private void btnReset_Click(object sender, EventArgs e)
{
if (MessageBox.Show(Resources.HotkeySettingsForm_btnReset_Click_Reset_all_hotkeys_to_defaults_, "ShareX", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
if (MessageBox.Show(Resources.HotkeySettingsForm_Reset_all_hotkeys_to_defaults_Confirmation, "ShareX", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
manager.ResetHotkeys();
AddControls();

View file

@ -1068,9 +1068,9 @@ public static string HotkeySelectionControl_StartEditing_Select_a_hotkey___ {
/// <summary>
/// Looks up a localized string similar to Reset all hotkeys to defaults?.
/// </summary>
public static string HotkeySettingsForm_btnReset_Click_Reset_all_hotkeys_to_defaults_ {
public static string HotkeySettingsForm_Reset_all_hotkeys_to_defaults_Confirmation {
get {
return ResourceManager.GetString("HotkeySettingsForm_btnReset_Click_Reset_all_hotkeys_to_defaults_", resourceCulture);
return ResourceManager.GetString("HotkeySettingsForm_Reset_all_hotkeys_to_defaults_Confirmation", resourceCulture);
}
}

View file

@ -838,7 +838,7 @@ Would you like to restart ShareX?</value>
<data name="Patreon_Button_02" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Patreon_Button_02.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="HotkeySettingsForm_btnReset_Click_Reset_all_hotkeys_to_defaults_" xml:space="preserve">
<data name="HotkeySettingsForm_Reset_all_hotkeys_to_defaults_Confirmation" xml:space="preserve">
<value>Reset all hotkeys to defaults?</value>
</data>
<data name="QuickTaskMenuEditorForm_Reset_all_quick_tasks_to_defaults_Confirmation" xml:space="preserve">