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

git-svn-id: https://develop.svn.wordpress.org/trunk@17098 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-12-21 14:58:54 +00:00
parent fbc4c6980e
commit 408eb985c8
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ function get_file_description( $file ) {
elseif ( file_exists( $file ) && is_file( $file ) ) {
$template_data = implode( '', file( $file ) );
if ( preg_match( '|Template Name:(.*)$|mi', $template_data, $name ))
return _cleanup_header_comment($name[1]) . ' Page Template';
return sprintf( __( '%s Page Template' ), _cleanup_header_comment($name[1]) );
}
return basename( $file );