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:
RKrom 2012-04-17 14:16:10 +00:00
commit 53af559d22
44 changed files with 472 additions and 874 deletions

View file

@ -39,8 +39,6 @@ namespace Greenshot.Destinations {
private static CoreConfiguration conf = IniConfig.GetIniSection<CoreConfiguration>();
public const string DESIGNATION = "FileDialog";
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_fileas);
return Language.GetString(LangKey.settings_destination_fileas);
}
}
@ -80,7 +78,7 @@ namespace Greenshot.Destinations {
surface.Modified = false;
surface.LastSaveFullPath = savedTo;
captureDetails.Filename = savedTo;
surface.SendMessageEvent(this, SurfaceMessageTyp.FileSaved, lang.GetFormattedString(LangKey.editor_imagesaved,surface.LastSaveFullPath));
surface.SendMessageEvent(this, SurfaceMessageTyp.FileSaved, Language.GetFormattedString(LangKey.editor_imagesaved, surface.LastSaveFullPath));
}
}
return savedTo != null;