mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
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:
parent
a0c09b7d6a
commit
4e8f6b0b26
5 changed files with 87 additions and 69 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue