Made ribbon caption upper case for Outlook 2013 to match other captions

This commit is contained in:
Patrick Simpson 2017-09-26 16:10:45 +02:00
parent e2bf59ea31
commit 04a73157b5
1 changed files with 7 additions and 1 deletions

View File

@ -210,7 +210,13 @@ namespace Acacia.UI.Outlook
if (!b.Large)
buttons.AppendLine(b.ToXml());
ribbon = string.Format(RIBBON_XML, Properties.Resources.Ribbon_Title, buttons);
string title = Properties.Resources.Ribbon_Title;
// Convert to upper case for Outlook 2013, to match other ribbons
if (ThisAddIn.Instance.Version.StartsWith("15."))
{
title = title.ToUpper();
}
ribbon = string.Format(RIBBON_XML, title, buttons);
}
// Context menus