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

@ -51,7 +51,6 @@ namespace Greenshot.Helpers {
private Rectangle captureRect = Rectangle.Empty;
private bool captureMouseCursor = false;
private ICapture capture = null;
private ILanguage lang = Language.GetInstance();
private CaptureMode captureMode;
private Thread windowDetailsThread = null;
@ -254,7 +253,7 @@ namespace Greenshot.Helpers {
fileBitmap = ImageHelper.LoadBitmap(filename);
} catch (Exception e) {
LOG.Error(e.Message, e);
MessageBox.Show(lang.GetFormattedString(LangKey.error_openfile, filename));
MessageBox.Show(Language.GetFormattedString(LangKey.error_openfile, filename));
}
}
if (fileBitmap != null) {