Make WordPress Core


Ignore:
Timestamp:
03/18/2009 02:43:45 AM (18 years ago)
Author:
ryan
Message:

Trim trailing whitespace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/pomo/po.php

    r10584 r10810  
    1818 */
    1919class PO extends Translations {
    20        
     20
    2121
    2222        /**
    … …  
    9595                        "$quote"        => "$slash$quote",
    9696                );
    97                 $string = str_replace(array_keys($replaces), array_values($replaces), $string); 
     97                $string = str_replace(array_keys($replaces), array_values($replaces), $string);
    9898
    9999                $po = array();
    … …  
    112112
    113113        /**
    114          * Inserts $with in the beginning of every new line of $string and 
     114         * Inserts $with in the beginning of every new line of $string and
    115115         * returns the modified string
    116116         *
    … …  
    154154        function export_entry(&$entry) {
    155155                if (is_null($entry->singular)) return false;
    156                 $po = array(); 
     156                $po = array();
    157157                if (!empty($entry->translator_comments)) $po[] = PO::comment_block($entry->translator_comments);
    158158                if (!empty($entry->extracted_comments)) $po[] = PO::comment_block($entry->extracted_comments, '.');
Note: See TracChangeset for help on using the changeset viewer.