Fix translation on action links and logout link
-
Hello,
After translating the whole plugin, I was stuck with links like “Lost password”, “Register” or “Log Out” not translated.
I changed the following that did the trick :
in includes/class-theme-my-login-template.php, line 331 echo ' <li><a href="' . esc_url( $link['url'] ) . '" rel="nofollow">' . esc_html( __( $link['title'] , 'theme-my-login' ) ) . '</a></li> ' . "\n"; line 369 echo ' <li><a href="' . wp_logout_url() . '">' . __( self::get_title( 'logout' ), 'theme-my-login' ) . '</a></li> ' . "\n";
Hope this helps, would be great to have it in the next release …
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Fix translation on action links and logout link’ is closed to new replies.