![]() There are only two explanations : either these other instances are not php-format strings (and so aren't validated) or they use valid format specifiers such as %s (and so there are no errors to report). I really would like to know why in other instances this error is not thrown out I really don't know what else to add :-( The strings are marked as php-format ones, so gettext treats them as format strings and % is not a valid part of format string, hence the error. ![]() Unfortunately, the links you provided don't fully explain the issue to me. Replaced with the actual number of comments.īothe functions, comments_number and comments_popup_link are in theĬodex and according to the Codex I don't see any errors in the code.Īnyway, I really appreciate your effort to help me get my head around this. The % sign is not a percentage sign but it should be In short, I feel something strange happens, but I don't know why or Two similar strings in the php files do not give these issues: With the free version of Poedit, but never had an issue like this. I am not blaming Poedit, but I really would like to know why in other That the file gives no errors while in use on the website. Removing the flag, corrects the issue and without it, it seems po-file and indeed it has the php-format flag on this Issue, not something that I programmed myself. Unfortunately, the links you provided don'tįully explain the issue to me. Reply to this email directly or view it on GitHub but the whole pull request is explanatory).(with the specific code change here: 679f19a An example of the latter can be seen here: You can either ignore it (the MO should still be compiled) or fix it Where |%| has special meaning in particular, following it by space is String is marked in the PO file as |php-format|, i.e. The error comes from the |msgfmt| tool and it complains because the The translated language, the error does not occur. I've never seen another way to get the plural form of a word.Īnd, the strangest thing is, when i just copy the original language to I always thought this was correct code for a WP theme. I would like to get back on this, without opening the ticket again.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |