Plugin Directory

Changeset 1194888


Ignore:
Timestamp:
07/08/2015 05:50:21 PM (11 years ago)
Author:
iTux
Message:

Fix for translation strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • post-index/trunk/php/settings.php

    r1193511 r1194888  
    111111                <h2><?php printf(__('%s Settings', 'post-index'), $this->pluginLabel); ?></h2>
    112112
    113                     <p><?php _e('Get started by adding the shortcode <code>[post_index]</code> to a new page to list an index of your blog posts.')?></p>
     113                    <p><?php printf(__('Get started by adding the shortcode %s to a new page to list an index of your blog posts.', 'post-index'), '<code>[post_index]</code>'); ?></p>
    114114                   
    115                 <p><?php _e('A complete list of all supported short codes and arguments are listed in the <a href="https://wordpress.org/plugins/post-index/faq/" target="_BLANK">FAQ</a>.'); ?>
     115                <p><?php printf(__('A complete list of all supported short codes and arguments are listed in the %s.', 'post-index'), sprintf('<a href="https://wordpress.org/plugins/post-index/faq/" target="_BLANK">%s</a>', __('FAQ'))); ?>
    116116                   
    117 
    118 
    119117                <form method="post" action="options-general.php?page=<?php echo$this->pluginName;?>">
    120118                    <input type="hidden" name="updateSettings" value="1" />
     
    130128                            <th><?php _e('Show group count', 'post-index'); ?></th>
    131129                            <td>
    132                                 <input type="radio" <?php if($showGroupCount == 1) echo 'checked="checked"'; ?> name="showGroupCount" value="1" /> Yes
    133                                 <input type="radio" <?php if($showGroupCount != 1) echo 'checked="checked"'; ?> name="showGroupCount" value="0" /> No
     130                                <input type="radio" <?php if($showGroupCount == 1) echo 'checked="checked"'; ?> name="showGroupCount" value="1" /> <?php _e('Yes', 'post-index'); ?>
     131                                <input type="radio" <?php if($showGroupCount != 1) echo 'checked="checked"'; ?> name="showGroupCount" value="0" /> <?php _e('No', 'post-index'); ?>
    134132                            </td>
    135133                        </tr>
Note: See TracChangeset for help on using the changeset viewer.