public function getNote()
    {
        $message = null;
        $locale = SwatI18NLocale::get();

        if (
            $this->max_entries !== null &&
            $this->max_entries > 0 &&
            $this->min_entries === null
        ) {
            $message = new SwatMessage(
                sprintf(
                    Swat::ngettext(
                        'List can contain at most %s entry',
                        'List can contain at most %s entries',
                        $this->max_entries
                    ),
                    $locale->formatNumber($this->max_entries)
                )
            );
        } elseif (
            ($this->max_entries === null || $this->max_entries === 0) &&
            $this->min_entries > 1 &&
            $this->required == true
        ) {
            $message = new SwatMessage(
                sprintf(
                    Swat::ngettext(
                        'List must contain at least %s entry',
                        'List must contain at least %s entries',
                        $this->min_entries
                    ),
                    $locale->formatNumber($this->min_entries)
                )
            );
        } elseif (
            $this->max_entries !== null &&
            $this->max_entries > 0 &&
            $this->min_entries !== null &&
            $this->required == true
        ) {
            $message = new SwatMessage(
                sprintf(
                    'List must contain between %s and %s entries.',
                    $locale->formatNumber($this->min_entries),
                    $locale->formatNumber($this->max_entries)
                )
            );
        }

        return $message;
    }