6 changed files with 58 additions and 1 deletions
@ -0,0 +1,23 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using ICSharpCode.Core; |
||||||
|
using System; |
||||||
|
using ICSharpCode.WpfDesign.Designer; |
||||||
|
|
||||||
|
namespace ICSharpCode.WpfDesign.AddIn |
||||||
|
{ |
||||||
|
/// <summary>
|
||||||
|
/// Description of SharpDevelopTranslations.
|
||||||
|
/// </summary>
|
||||||
|
public class SharpDevelopTranslations : Translations |
||||||
|
{ |
||||||
|
public override string PressAltText { |
||||||
|
get { return StringParser.Parse("${res:AddIns.WpfDesign.AddIn.PressAltText}"); } |
||||||
|
} |
||||||
|
|
||||||
|
public static void Init() { |
||||||
|
Instance = new SharpDevelopTranslations(); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,30 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.WpfDesign.Designer |
||||||
|
{ |
||||||
|
/// <summary>
|
||||||
|
/// Description of Translations.
|
||||||
|
/// </summary>
|
||||||
|
public class Translations |
||||||
|
{ |
||||||
|
private static Translations _instance; |
||||||
|
public static Translations Instance { |
||||||
|
get { |
||||||
|
if (_instance == null) |
||||||
|
_instance = new Translations(); |
||||||
|
return _instance; |
||||||
|
} protected set { |
||||||
|
_instance = value; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
public virtual string PressAltText { |
||||||
|
get { |
||||||
|
return "Press \"Alt\" to Enter Container"; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
Loading…
Reference in new issue