Fixed editor "DrawableContainer" context-menu translations.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1827 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-05-03 08:34:54 +00:00
parent 9596ecbec4
commit cfb370a697
4 changed files with 17 additions and 15 deletions

View file

@ -137,6 +137,7 @@ namespace Greenshot.Configuration {
editor_undo,
editor_redo,
editor_insertwindow,
editor_resetsize,
error,
error_multipleinstances,
error_nowriteaccess,

View file

@ -459,7 +459,7 @@ namespace Greenshot.Drawing {
}
}
if (canReset) {
item = new ToolStripMenuItem("Reset size");
item = new ToolStripMenuItem(Language.GetString(LangKey.editor_resetsize));
//item.Image = ((System.Drawing.Image)(editorFormResources.GetObject("removeObjectToolStripMenuItem.Image")));
item.Click += delegate {
foreach (DrawableContainer container in this) {
@ -478,7 +478,6 @@ namespace Greenshot.Drawing {
}
public virtual void ShowContextMenu(MouseEventArgs e, Surface surface) {
if (conf.isExperimentalFeatureEnabled("Contextmenu")) {
bool hasMenu = false;
foreach (DrawableContainer container in this) {
if (container.hasContextMenu) {
@ -495,5 +494,4 @@ namespace Greenshot.Drawing {
}
}
}
}
}

View file

@ -574,6 +574,9 @@ time, e.g. 11_58_32 (plus extension defined in the settings)
<resource name="editor_insertwindow">
Insert window
</resource>
<resource name="editor_resetsize">
Reset size
</resource>
<resource name="settings_waittime">
Milliseconds to wait before capture
</resource>

View file

@ -179,7 +179,7 @@ namespace GreenshotPlugin.Core {
[IniProperty("TitleFixReplacer", Description="The replacements for the matchers.")]
public Dictionary<string, string> TitleFixReplacer;
[IniProperty("ExperimentalFeatures", Description="A list which allows us to enable certain experimental features", ExcludeIfNull=true)]
[IniProperty("ExperimentalFeatures", Description="A list of experimental features, this allows us to test certain features before releasing them.", ExcludeIfNull=true)]
public List<string> ExperimentalFeatures;
/// <summary>