WordPress.org

Make WordPress Core

Ticket #29774: locale.diff

File locale.diff, 1.6 KB (added by ixkaito, 5 years ago)
  • wp-includes/locale.php

     
    1919         * @var array
    2020         * @access private
    2121         */
    22         var $weekday;
     22        private $weekday;
    2323
    2424        /**
    2525         * Stores the translated strings for the one character weekday names.
     
    3333         * @var array
    3434         * @access private
    3535         */
    36         var $weekday_initial;
     36        private $weekday_initial;
    3737
    3838        /**
    3939         * Stores the translated strings for the abbreviated weekday names.
     
    4242         * @var array
    4343         * @access private
    4444         */
    45         var $weekday_abbrev;
     45        private $weekday_abbrev;
    4646
    4747        /**
    4848         * Stores the translated strings for the full month names.
     
    5151         * @var array
    5252         * @access private
    5353         */
    54         var $month;
     54        private $month;
    5555
    5656        /**
    5757         * Stores the translated strings for the abbreviated month names.
     
    6060         * @var array
    6161         * @access private
    6262         */
    63         var $month_abbrev;
     63        private $month_abbrev;
    6464
    6565        /**
    6666         * Stores the translated strings for 'am' and 'pm'.
     
    7171         * @var array
    7272         * @access private
    7373         */
    74         var $meridiem;
     74        private $meridiem;
    7575
    7676        /**
    7777         * The text direction of the locale language.
     
    8282         * @var string
    8383         * @access private
    8484         */
    85         var $text_direction = 'ltr';
     85        private $text_direction = 'ltr';
    8686
    8787        /**
    8888         * Sets up the translated strings and object properties.
     
    9494         * @since 2.1.0
    9595         * @access private
    9696         */
    97         function init() {
     97        private function init() {
    9898                // The Weekdays
    9999                $this->weekday[0] = /* translators: weekday */ __('Sunday');
    100100                $this->weekday[1] = /* translators: weekday */ __('Monday');