• Resolved Sandra

    (@foodcat)


    Hi,
    thanks for your new update.
    There happend a small mistake. You changed ‘%d Serving’ into ‘%s Serving’ in this line:

    echo '<a href="#">' . sprintf( esc_html( _n( '%s Serving', '%s Servings', $servings, 'cooked' ) ), $servings ) . '</a>';

    The .pot file has still the %d version in it, so you have to change it into:

    #: includes/class.cooked-recipes.php:588 includes/class.cooked-recipes.php:595
    #, php-format
    msgid "%s Serving"
    msgid_plural "%s Servings"
    msgstr[0] ""
    msgstr[1] ""

    I changed it for me already, so my own german translation works again, but maybe some others have the same problem ??

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Serving translation in .pot’ is closed to new replies.