Making WordPress.org


Ignore:
Timestamp:
11/23/2015 07:27:59 PM (9 years ago)
Author:
ocean90
Message:

Translate: Add a warning to plugin pages if a plugin has only one sub-project.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/translate.wordpress.org/public_html/gp-templates/projects-wp-plugins.php

    r2076 r2118  
    3434    </div>
    3535</div>
     36
     37<?php if ( $has_error ) : ?>
     38<div class="wporg-notice wporg-notice-warning">
     39    <p>This plugin is not properly prepared for localization. If you would like to translate this plugin, <a href="<?php echo esc_url( 'https://wordpress.org/support/plugin/' . $project->slug ); ?>">please contact the author.</a></p>
     40</div>
     41<?php endif; ?>
    3642
    3743<div class="stats-table">
Note: See TracChangeset for help on using the changeset viewer.