1
0
mirror of https://github.com/Kopano-dev/kopano-ol-extension.git synced 2023-10-10 13:37:40 +02:00

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

View File

@ -210,7 +210,13 @@ namespace Acacia.UI.Outlook
if (!b.Large) if (!b.Large)
buttons.AppendLine(b.ToXml()); 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 // Context menus