Edited author.php to correct i18n problem
-
New installation. Using P2 and Mercury.
I did learn how to use Poedit to correct two or three other problems in the prescribed way, but I could not get the string “Updates from” (at the top of the Author’s page) to translate.Just telling you, I fixed it by changing (in P2/author.php, near the top):
<?php printf( _x( ‘Updates from %s’, ‘Author name’, ‘p2’ ), p2_get_archive_author() ); ?>
to
<?php _e( ‘Updates from’, ‘p2’ ); ?>
<?php printf( _x( ‘ %s’, ‘Author name’, ‘p2’ ), p2_get_archive_author() ); ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Edited author.php to correct i18n problem’ is closed to new replies.