Dotclear

Changeset 1353:745f14d89686 for inc


Ignore:
Timestamp:
08/14/13 10:35:15 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Post ergo, first step (work in progress).
Typo harmonization (capitalize items).

Location:
inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.pager.php

    r1179 r1353  
    9393          switch ($this->rs->post_status) { 
    9494               case 1: 
    95                     $img_status = sprintf($img,__('published'),'check-on.png'); 
     95                    $img_status = sprintf($img,__('Published'),'check-on.png'); 
    9696                    break; 
    9797               case 0: 
    98                     $img_status = sprintf($img,__('unpublished'),'check-off.png'); 
     98                    $img_status = sprintf($img,__('Unpublished'),'check-off.png'); 
    9999                    break; 
    100100               case -1: 
    101                     $img_status = sprintf($img,__('scheduled'),'scheduled.png'); 
     101                    $img_status = sprintf($img,__('Scheduled'),'scheduled.png'); 
    102102                    break; 
    103103               case -2: 
    104                     $img_status = sprintf($img,__('pending'),'check-wrn.png'); 
     104                    $img_status = sprintf($img,__('Pending'),'check-wrn.png'); 
    105105                    break; 
    106106          } 
     
    108108          $protected = ''; 
    109109          if ($this->rs->post_password) { 
    110                $protected = sprintf($img,__('protected'),'locker.png'); 
     110               $protected = sprintf($img,__('Protected'),'locker.png'); 
    111111          } 
    112112           
    113113          $selected = ''; 
    114114          if ($this->rs->post_selected) { 
    115                $selected = sprintf($img,__('selected'),'selected.png'); 
     115               $selected = sprintf($img,__('Selected'),'selected.png'); 
    116116          } 
    117117           
     
    192192          switch ($this->rs->post_status) { 
    193193               case 1: 
    194                     $img_status = sprintf($img,__('published'),'check-on.png'); 
     194                    $img_status = sprintf($img,__('Published'),'check-on.png'); 
    195195                    break; 
    196196               case 0: 
    197                     $img_status = sprintf($img,__('unpublished'),'check-off.png'); 
     197                    $img_status = sprintf($img,__('Unpublished'),'check-off.png'); 
    198198                    break; 
    199199               case -1: 
    200                     $img_status = sprintf($img,__('scheduled'),'scheduled.png'); 
     200                    $img_status = sprintf($img,__('Scheduled'),'scheduled.png'); 
    201201                    break; 
    202202               case -2: 
    203                     $img_status = sprintf($img,__('pending'),'check-wrn.png'); 
     203                    $img_status = sprintf($img,__('Pending'),'check-wrn.png'); 
    204204                    break; 
    205205          } 
     
    207207          $protected = ''; 
    208208          if ($this->rs->post_password) { 
    209                $protected = sprintf($img,__('protected'),'locker.png'); 
     209               $protected = sprintf($img,__('Protected'),'locker.png'); 
    210210          } 
    211211           
    212212          $selected = ''; 
    213213          if ($this->rs->post_selected) { 
    214                $selected = sprintf($img,__('selected'),'selected.png'); 
     214               $selected = sprintf($img,__('Selected'),'selected.png'); 
    215215          } 
    216216           
     
    306306          switch ($this->rs->comment_status) { 
    307307               case 1: 
    308                     $img_status = sprintf($img,__('published'),'check-on.png'); 
     308                    $img_status = sprintf($img,__('Published'),'check-on.png'); 
    309309                    break; 
    310310               case 0: 
    311                     $img_status = sprintf($img,__('unpublished'),'check-off.png'); 
     311                    $img_status = sprintf($img,__('Unpublished'),'check-off.png'); 
    312312                    break; 
    313313               case -1: 
    314                     $img_status = sprintf($img,__('pending'),'check-wrn.png'); 
     314                    $img_status = sprintf($img,__('Pending'),'check-wrn.png'); 
    315315                    break; 
    316316               case -2: 
    317                     $img_status = sprintf($img,__('junk'),'junk.png'); 
     317                    $img_status = sprintf($img,__('Junk'),'junk.png'); 
    318318                    break; 
    319319          } 
  • inc/core/class.dc.blog.php

    r1280 r1353  
    9191               $this->public_path = path::fullFromRoot($this->settings->system->public_path,DC_ROOT); 
    9292                
    93                $this->post_status['-2'] = __('pending'); 
    94                $this->post_status['-1'] = __('scheduled'); 
    95                $this->post_status['0'] = __('unpublished'); 
    96                $this->post_status['1'] = __('published'); 
    97                 
    98                $this->comment_status['-2'] = __('junk'); 
    99                $this->comment_status['-1'] = __('pending'); 
    100                $this->comment_status['0'] = __('unpublished'); 
    101                $this->comment_status['1'] = __('published'); 
     93               $this->post_status['-2'] = __('Pending'); 
     94               $this->post_status['-1'] = __('Scheduled'); 
     95               $this->post_status['0'] = __('Unpublished'); 
     96               $this->post_status['1'] = __('Published'); 
     97                
     98               $this->comment_status['-2'] = __('Junk'); 
     99               $this->comment_status['-1'] = __('Pending'); 
     100               $this->comment_status['0'] = __('Unpublished'); 
     101               $this->comment_status['1'] = __('Published'); 
    102102                
    103103               # --BEHAVIOR-- coreBlogConstruct 
Note: See TracChangeset for help on using the changeset viewer.

Sites map