Parameter incorrectly marked as translatable?
-
Hi,
I just helped a user in the Swedish forum. She uses this theme (First) but noted that the links to previous and next post didn’t show the post names, but instead were literally saying
%rubrik
.
I updated the translation and for these two strings I copied the source string%title
to the translation, and then things started working well.So if you would be able to do it, it would probably be good to update rows 44-45 in /inc/template-tags.php that currently read:
previous_post_link( '<div class="nav-previous"><div class="post-nav-title">' . __( 'Older post', 'first' ) . '</div>%link</div>', _x( '%title', 'Previous post link', 'first' ) ); next_post_link( '<div class="nav-next"><div class="post-nav-title">' . __( 'Newer post', 'first' ) . '</div>%link</div>', _x( '%title', 'Next post link', 'first' ) );
Is this a string you search for and replace later on with a filter?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Parameter incorrectly marked as translatable?’ is closed to new replies.