WordPress.org

Ready to get started?Download WordPress

Forums

Theme-Check
Japanese translation of theme-check plugin (8 posts)

  1. Tai
    Member
    Posted 2 years ago #

    Thank you for the very very useful plugin!

    I've made Japanese translation for the plugin:
    http://wp.tekapo.com/tawp/wp-content/uploads/2012/02/theme-check-ja.zip

    Also I've found some missing gettexted strigs in it, so where should I send the patch for them?

    Thanks again!

    http://wordpress.org/extend/plugins/theme-check/

  2. Simon Prosser
    Theme Review Admin
    Plugin Author

    Posted 2 years ago #

    Thats great! If you have a patch Just use pastie.org and link it here :)

  3. Tai
    Member
    Posted 2 years ago #

    Thank you, Simon!

    Here is the first patch:
    http://pastie.org/3335127

    I'm still looking into it and I think we need a few more patches , so I will post here again.

  4. Tai
    Member
    Posted 2 years ago #

    Hi,

    This is the last patch and includes the first one.

    http://pastie.org/3364542

    I've made some lines gettexted, and also revised some current gettexted lines because the gettext command can't parse the current one.

    The current one example:

    $this->error[] = __( "<span class='tc-lead tc-warning'>WARNING</span>: could not find the file <strong>{$file}</strong> in the theme.", "themecheck" );

    revised like this:

    $this->error[] = sprintf(__('<span class="tc-lead tc-warning">WARNING</span>: could not find the file <strong>%1$s</strong> in the theme.', 'themecheck'), $file);

  5. Simon Prosser
    Theme Review Admin
    Plugin Author

    Posted 2 years ago #

    Added the patch to trunk http://downloads.wordpress.org/plugin/theme-check.zip

    Check it out if its all ok i'll bump the version :)

  6. Tai
    Member
    Posted 2 years ago #

    Checked it out and found one issue.

    When you don't have screenshot.png in a theme, it is supposed to display the error message "No screenshot detected!", but it doesn't display the message.

    As for the rest, I think it works fine and here is the updated Japanese translation:
    http://wp.tekapo.com/tawp/wp-content/uploads/2012/02/themecheck-ja.zip

  7. Simon Prosser
    Theme Review Admin
    Plugin Author

    Posted 2 years ago #

    It displays this error:

    WARNING: No screenshot detected! Please include a screenshot.png.

    I updated the dev package with your latest files.

  8. Tai
    Member
    Posted 2 years ago #

    Ah! I checked a child theme and the parent theme has a screenshot. Is this correct behavior?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic