Changeset 36781 for trunk/tools/i18n/extract.php
- Timestamp:
- 02/29/2016 08:44:31 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/tools/i18n/extract.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/i18n/extract.php
r31498 r36781 173 173 $text = preg_replace( '%^\s+\*\s%m', '', $text ); 174 174 $text = str_replace( array( "\r\n", "\n" ), ' ', $text );; 175 $text = trim( preg_replace( '%^ /\*|//%', '', preg_replace( '%\*/$%', '', $text ) ) );175 $text = trim( preg_replace( '%^(/\*|//)%', '', preg_replace( '%\*/$%', '', $text ) ) ); 176 176 if ( 0 === stripos( $text, $this->comment_prefix ) ) { 177 177 $latest_comment = $text;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)