| @@ -4,8 +4,11 @@ | ||
| 4 | 4 | * Displays a map of geolocalized posts |
| 5 | 5 | * @deprecated |
| 6 | 6 | * @package event-post |
| 7 | 7 | */ |
| 8 | + | |
| 9 | +if ( ! defined( 'ABSPATH' ) ) exit; | |
| 10 | + | |
| 8 | 11 | class EventPost_Map extends WP_Widget { |
| 9 | 12 | var $defaults; |
| 10 | 13 | function __construct() { |
| 11 | 14 | global $EventPost; |
| @@ -236,9 +239,11 @@ | ||
| 236 | 239 | <?php foreach($EventPost->map_interactions as $int_key=>$int_name): ?> |
| 237 | 240 | <p> |
| 238 | 241 | <label for="<?php echo $this->get_field_id($int_key); ?>"> |
| 239 | 242 | <input id="<?php echo $this->get_field_id($int_key); ?>" name="<?php echo $this->get_field_name($int_key); ?>" type="checkbox" value="1" <?php checked($instance[$int_key], true , true); ?>/> |
| 240 | - <?php printf(__('Activate %s interaction','event-post'), $int_name); ?> | |
| 243 | + <?php | |
| 244 | + // Translators: %s is the interaction name | |
| 245 | + printf(__('Activate %s interaction','event-post'), $int_name); ?> | |
| 241 | 246 | </label> |
| 242 | 247 | </p> |
| 243 | 248 | <?php endforeach; ?> |
| 244 | 249 | <?php |