Possible error in fuzzy string

  • Author
    Posts
  • #2031367

    iqatrophie
    Member

    I’ve come across a fuzzy string in GlotPress and I’m not sure if about it.

    %1$s and %2$s followed your blog %2$s

    The string uses the variable “%2$s” in two places. Is this right? As far as I understand the string, the first two variables should be usernames while the last one appears to be a blog title. In that case the last variable should be “%3$s”. Am I right?

    Gruß
    Martin(IQ)

    The blog I need help with is iqatrophie.wordpress.com.

    #2031586

    gracejiyoung
    Member

    The string uses the variable “%2$s” in two places. Is this right? As far as I understand the string, the first two variables should be usernames while the last one appears to be a blog title. In that case the last variable should be “%3$s”. Am I right?

    Yes that is correct. It will replace the respective username and site.

    Cheers!

    #2031589

    iqatrophie
    Member

    Hi Grace,

    thanks for answering. Maybe I didn’t describe the problem correctly, but wouldn’t the current english (original) string – due to using “%2$s” in two places – look like the following after substitution?

    USER1 and USER2 followed your blog USER2

    #2031609

    gracejiyoung
    Member

    Can you show me where are your site you are seeing this translation?

    #2031611

    iqatrophie
    Member

    I came across the string because I’m a validator for german on translate.wordpress.com and this is one of the new fuzzy strings. I’ve linked to the string in my first post.

    I reported it because I have a suspicion the original string might be wrong. I’m not talking about the current german translation or the fact that it’s a fuzzy string. I’m wondering why the string uses the second variable in two places. Shouldn’t the last variable be “%3$s” instead?

    The comment in the .po file for this string reads:

    public.api/rest/wpcom-json-endpoints/class.wpcom-json-api-notes-v2-0-endpoint.php:354

    #2031612

    iqatrophie
    Member

    In a similar string (see below), the last variable is numbered correctly.

    %1$s and %2$s reblogged your post %3$s

    #2031636

    gracejiyoung
    Member

    Hi there,

    Thanks for this! I have reported this to our team for review. I’ll update as soon as I hear back!

    Cheers!

    #2031640

    gracejiyoung
    Member

    Hi there!

    Our developer has fixed it and it should be updated on GlotPress soon! Thanks for the help!

    Cheers!

    #2031648

    iqatrophie
    Member

    Hi Grace,

    thanks for reporting and fixing. Glad I could help prevent some possible support tickets. :) I marked the topic as “resolved” now.

    Cheers
    Martin

    #2031649

    gracejiyoung
    Member

    Perfect! We appreciate the help.

    Happy Blogging!

The topic ‘Possible error in fuzzy string’ is closed to new replies.