translate / virtaal

Easy-to-use and powerful offline translation tool
https://virtaal.translatehouse.org
GNU General Public License v2.0
300 stars 58 forks source link

Says "Different printf variable" even when identical #3281

Open scootergrisen opened 6 years ago

scootergrisen commented 6 years ago

Quality check in Virtaal 0.7.1 says "Different printf variable: %2$d" for this:

msgid "Folder is %3$d%% full (%2$d out of %1$s stored)"
msgstr "Folder is %3$d%% full (%2$d out of %1$s stored)"

Even though the two strings are identical.

It seems the double %% in %3$d%% confuses the check because if i remove one of the % the quality check does not say the message "Different printf variable".