Skip to content

Commit

Permalink
Add a translation support for comment's placeholer
Browse files Browse the repository at this point in the history
  • Loading branch information
mik-laj committed Feb 6, 2017
1 parent 8c1854c commit cb49623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comments.php
Expand Up @@ -80,7 +80,7 @@
'cancel_reply_link' => __( 'Cancel Reply', '_tk' ), // that's the wordpress default value! delete it or edit it ;)
'label_submit' => __( 'Post Comment', '_tk' ), // that's the wordpress default value! delete it or edit it ;)

'comment_field' => '<p><textarea placeholder="Start typing..." id="comment" class="form-control" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>',
'comment_field' => '<p><textarea placeholder="' . __('Start typing...', '_tk') . '" id="comment" class="form-control" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>',

'comment_notes_after' => '<p class="form-allowed-tags">' .
__( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:', '_tk' ) .
Expand Down

0 comments on commit cb49623

Please sign in to comment.