diff --git a/Greenshot/Forms/SettingsForm.cs b/Greenshot/Forms/SettingsForm.cs index 12c05b088..29f0519c0 100644 --- a/Greenshot/Forms/SettingsForm.cs +++ b/Greenshot/Forms/SettingsForm.cs @@ -231,6 +231,7 @@ namespace Greenshot { // Delaying the SelectedIndexChanged events untill all is initiated this.combobox_language.SelectedIndexChanged += new System.EventHandler(this.Combobox_languageSelectedIndexChanged); UpdateDestinationDescriptions(); + UpdateClipboardFormatDescriptions(); } // Check the settings and somehow visibly mark when something is incorrect @@ -264,6 +265,16 @@ namespace Greenshot { } } + /// + /// Show all clipboard format descriptions in the current language + /// + private void UpdateClipboardFormatDescriptions() { + foreach(ListViewItem item in listview_clipboardformats.Items) { + ClipboardFormat cf = (ClipboardFormat) item.Tag; + item.Text = Language.Translate(cf); + } + } + /// /// Build the view with all the destinations /// @@ -319,7 +330,7 @@ namespace Greenshot { item.Tag = clipboardFormat; item.Checked = coreConfiguration.ClipboardFormats.Contains(clipboardFormat); } - + if (Language.CurrentLanguage != null) { combobox_language.SelectedValue = Language.CurrentLanguage; }