mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 05:53:27 -07:00
Preparations for the language changes
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1783 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
d6c608bf65
commit
53af559d22
44 changed files with 472 additions and 874 deletions
|
@ -39,8 +39,6 @@ namespace Greenshot.Destinations {
|
|||
private static CoreConfiguration conf = IniConfig.GetIniSection<CoreConfiguration>();
|
||||
public const string DESIGNATION = "Clipboard";
|
||||
|
||||
private ILanguage lang = Language.GetInstance();
|
||||
|
||||
public override string Designation {
|
||||
get {
|
||||
return DESIGNATION;
|
||||
|
@ -49,7 +47,7 @@ namespace Greenshot.Destinations {
|
|||
|
||||
public override string Description {
|
||||
get {
|
||||
return lang.GetString(LangKey.settings_destination_clipboard);
|
||||
return Language.GetString(LangKey.settings_destination_clipboard);
|
||||
}
|
||||
}
|
||||
public override int Priority {
|
||||
|
@ -76,10 +74,10 @@ namespace Greenshot.Destinations {
|
|||
ClipboardHelper.SetClipboardData(image);
|
||||
surface.Modified = false;
|
||||
}
|
||||
surface.SendMessageEvent(this, SurfaceMessageTyp.Info, lang.GetString(LangKey.editor_storedtoclipboard));
|
||||
surface.SendMessageEvent(this, SurfaceMessageTyp.Info, Language.GetString(LangKey.editor_storedtoclipboard));
|
||||
return true;
|
||||
} catch (Exception) {
|
||||
surface.SendMessageEvent(this, SurfaceMessageTyp.Error, lang.GetString(LangKey.editor_clipboardfailed));
|
||||
surface.SendMessageEvent(this, SurfaceMessageTyp.Error, Language.GetString(LangKey.editor_clipboardfailed));
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue