Improved JIRA destination name by including the Jira KEY.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1620 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-02-02 09:14:40 +00:00
parent 8198c69d68
commit efc18a6ad3

View file

@ -63,7 +63,7 @@ namespace GreenshotJiraPlugin {
if (jira == null) {
return lang.GetString(LangKey.upload_menu_item);
} else {
return lang.GetString(LangKey.upload_menu_item) + " - " + jira.Summary;
return lang.GetString(LangKey.upload_menu_item) + " - " + jira.Key + ": " + jira.Summary.Substring(0, Math.Min(20, jira.Summary.Length));
}
}
}