Fixed error with IETF and refactored the confluence plugin to use the right language code.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1790 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-04-18 08:56:37 +00:00
commit 4e8f6b0b26
5 changed files with 87 additions and 69 deletions

View file

@ -66,9 +66,9 @@ namespace GreenshotConfluencePlugin {
public override string Description {
get {
if (page == null) {
return Language.GetString(LangKey.upload_menu_item);
return Language.GetString("confluence", LangKey.upload_menu_item);
} else {
return Language.GetString(LangKey.upload_menu_item) + ": \"" + page.Title + "\"";
return Language.GetString("confluence", LangKey.upload_menu_item) + ": \"" + page.Title + "\"";
}
}
}
@ -173,11 +173,11 @@ namespace GreenshotConfluencePlugin {
Process.Start(page.Url);
} catch {}
} else {
System.Windows.MessageBox.Show(Language.GetString(LangKey.upload_success));
System.Windows.MessageBox.Show(Language.GetString("confluence", LangKey.upload_success));
}
return true;
} catch(Exception e) {
System.Windows.MessageBox.Show(Language.GetString(LangKey.upload_failure) + " " + e.Message);
System.Windows.MessageBox.Show(Language.GetString("confluence", LangKey.upload_failure) + " " + e.Message);
}
return false;
}