public static IFormattedMessage TypeHasNoNullableFormAndIsNotString(string type, string @operator, int argumentNumber) { return "{operator} operator works only with nullable numbers, bools and strings for #{argumentNumber} argument. Actual type:'{type}'.".Localize(new { type, @operator, argumentNumber }); }