internal ITsString DetermineSlotContextMenuItemLabel(string sLabel)
{
CheckDisposed();
if (m_obj.ClassID == MoInflAffixSlotTags.kClassId)
{
return DoXXXReplace(sLabel, TsSlotName(m_obj as IMoInflAffixSlot));
}
else if (m_obj.ClassID == MoInflAffixTemplateTags.kClassId)
{
var tssStem = Cache.TsStrFactory.MakeString(m_sStem, Cache.DefaultUserWs);
return DoXXXReplace(sLabel, tssStem);
}
else
{
return null;
}
}