我使用以下代码显示注释数:
printf(_n(\'1 comment\', \'%1$s comments\', get_comments_number()), number_format_i18n( get_comments_number() ), \'text-domain\' );
有什么问题吗?主题检查插件发出警告:
WARNING: Found a translation function that is missing a text-domain. Function _n, with the arguments \'1 comment\',\'%1$s comments\'
我不明白它在暗示什么,也不知道哪个文件是错误的,所以我假设是上面的代码。我怎样才能解决这个问题?