Skip to content

Commit

Permalink
Comments title can be translated
Browse files Browse the repository at this point in the history
  • Loading branch information
emmgfx committed May 8, 2018
1 parent 1faf5cc commit 8f2d755
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion context.php
Expand Up @@ -43,6 +43,7 @@
<?PHP } ?>

<?PHP if(get_comments_number() > 0){ ?>
<li><i class="material-icons">&#xE8AF;</i> <a href="<?php the_permalink() ?>/#comments"><?PHP comments_number( 'Sin comentarios', '1 comentario', '% comentarios' ) ?></a></li>
<li><i class="material-icons">&#xE8AF;</i> <a href="<?php the_permalink() ?>/#comments"><?PHP comments_number( __('Sin comentarios', 'material-for-coders'), __('1 comentario', 'material-for-coders'), __('% comentarios', 'material-for-coders') );
?></a></li>
<?PHP } ?>
</ul>

1 comment on commit 8f2d755

@emmgfx
Copy link
Owner Author

@emmgfx emmgfx commented on 8f2d755 May 8, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue: #39

Please sign in to comment.