I'm using following code to display the number of comments:
printf(_n('1 comment', '%1$s comments', get_comments_number()), number_format_i18n( get_comments_number() ), 'text-domain' );
Is there something wrong with it?
The theme check plugin is giving the warning :
WARNING: Found a translation function that is missing a text-domain. Function _n, with the arguments '1 comment','%1$s comments'
I do not understand what it is suggesting, neither it tells in which file is the error, so I am assuming its the above code.
How I can fix that?