Make WordPress Core

Changeset 17098


Ignore:
Timestamp:
12/21/2010 02:58:54 PM (14 years ago)
Author:
nacin
Message:

Add missing translation for 'Page Template' in the theme editor. props SergeyBiryukov, fixes #15933.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/file.php

    r16763 r17098  
    6363        $template_data = implode( '', file( $file ) );
    6464        if ( preg_match( '|Template Name:(.*)$|mi', $template_data, $name ))
    65             return _cleanup_header_comment($name[1]) . ' Page Template';
     65            return sprintf( __( '%s Page Template' ), _cleanup_header_comment($name[1]) );
    6666    }
    6767
Note: See TracChangeset for help on using the changeset viewer.