Open kkmuffme opened 2 years ago
Thank you for raising this topic,
I do not agree with your assessment however, though I'm open to hearing more opinions.
since %d is sufficiently specific for every translator to know it's a number
%d
signifies a number, beginner translators may not.%d
is always a number, what that number signifies can make a significant difference to how the "translation" is done,
Consider the following examples:
"Page %d" <= This is clear enough.
"%1$d/%2$d/%3$d" <= This is absolutely unclear without a translators comment - is this mm/dd/yyyy ? yyyy/mm/dd ? etc
1) this is true, but this is something you'd be able to figure out with 10 seconds of googling 2) true for multiple placeholders - however I meant to not report for %d only (= if there is only 1 placeholder)
WordPress.WP.I18n.MissingTranslatorsComment should not report for %d placeholders, since %d is sufficiently specific for every translator to know it's a number