Guest

Amazing Grace Comments Translation

By: a guest on Sep 21st, 2010  |  syntax: PHP  |  size: 1.49 KB  |  hits: 132  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  1. // functions.php
  2. // line 428:
  3.                 'label_submit'=>'Submit Reply',
  4. // to:
  5.                 'label_submit'=>__('Submit Reply'),
  6.  
  7.  
  8. // in line 423:
  9.                 'comment_notes_before' => '<p class="comment-notes"><label for="author">' . ( $req ? __( ' Required fields are marked ', 'amazinggrace') . '<span class="required">' . __('*', 'amazinggrace') . '</span><br />' : '' ) . __( 'Your email address will <em>never</em> be published or shared.' ) . '</label></p>',
  10. // to:
  11.                 'comment_notes_before' => '<p class="comment-notes"><label for="author">' . ( $req ? __( ' Required fields are marked ', 'amazinggrace') . '<span class="required">' . __('*', 'amazinggrace') . '</span><br />' : '' ) . __( 'Your email address will <em>never</em> be published or shared.', 'amazinggrace' ) . '</label></p>',
  12.  
  13.  
  14. // line 425:
  15.                 'logged_in_as' => '<p class="logged-in-as"><label for="comment">' . sprintf( __( 'Logged in as <a href="%s">%s</a>. <a href="%s" title="Log out of this account">Log out?</a></label></p>' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ),
  16. // to:
  17.                 'logged_in_as' => '<p class="logged-in-as"><label for="comment">' . sprintf( __( 'Logged in as ', 'amazinggrace' ) . ('<a href="%s">%s</a> . <a href="%s" title="') . __('Log out of this account', 'amazinggrace').('">') . __('Log out?', 'amazinggrace') . ('</a></label></p>' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ),