Plugin Directory

Changeset 1052711


Ignore:
Timestamp:
12/23/2014 03:19:09 PM (11 years ago)
Author:
karevn
Message:

Translation fixes.

Location:
usernoise/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • usernoise/trunk/admin/settings.php

    r950056 r1052711  
    3232            'Arial', 'Georgia', 'Palatino'));
    3333        sort($fonts);
    34         $positions = array('left' => __('Left'), 'right' => __('Right'), 'top' => __('Top'),
    35             'bottom' => __('Bottom'));
     34        $positions = array('left' => __('Left','usernoise'), 'right' => __('Right', 'usernoise'), 'top' => __('Top', 'usernoise'),
     35            'bottom' => __('Bottom', 'usernoise'));
    3636        $general_options = array(
    3737            array('type' => 'tab', 'title' => __('General', 'usernoise')),
     
    8686                'title' => __('Introductional text', 'usernoise'),
    8787                'default' => __('Please tell us what do you think, any kind of feedback is highly appreciated.', 'usernoise'),
    88                 'legend' => __('This text will be wrapped into <p> tag. You can still use HTML code.'),
     88                'legend' => __('This text will be wrapped into <p> tag. You can still use HTML code.', 'usernoise'),
    8989                'rows' => 5),
    9090            array('type' => 'text', 'name' => UN_FEEDBACK_TEXTAREA_PLACEHOLDER, 'default' => __('Your feedback', 'usernoise'), 'title' => __('Textarea placeholder', 'usernoise')),
     
    118118                'title' => __('Thank you text', 'usernoise'),
    119119                'default' => __('Your feedback has been received.', 'usernoise'),
    120                 'legend' => __('This text will be wrapped into <p> tag. You can still use HTML code.'),
     120                'legend' => __('This text will be wrapped into <p> tag. You can still use HTML code.', 'usernoise'),
    121121                'rows' => '5'));
    122122            $notification_options = array(
  • usernoise/trunk/usernoise.php

    r1007686 r1052711  
    1717define('USERNOISE_DIR', dirname(plugin_basename(__FILE__)));
    1818define('USERNOISE_MAIN', __FILE__);
     19define('USERNOISE_PATH', dirname(__FILE__));
    1920
    2021define('UN_FEEDBACK_FORM_TITLE', 'feedback_form_title');
     
    4849define('UN_DISABLE_ON_MOBILES', 'disable_on_mobiles');
    4950define('UN_LOAD_IN_FOOTER', 'load_in_footer');
    50 require(dirname(USERNOISE_MAIN) .'/vendor/plugin-options-framework/plugin-options-framework.php');
     51require(USERNOISE_PATH .'/vendor/plugin-options-framework/plugin-options-framework.php');
    5152$un_h = new HTML_Helpers_0_4;
    52 require(dirname(USERNOISE_MAIN) .'/inc/template.php');
     53require(USERNOISE_PATH .'/inc/template.php');
    5354
    54 require(dirname(USERNOISE_MAIN) . '/inc/termmeta-api.php');
     55require(USERNOISE_PATH . '/inc/termmeta-api.php');
    5556if (is_admin()) require(usernoise_path('/admin/upgrade.php'));
    5657require(usernoise_path('/admin/settings.php'));
     
    7879
    7980function un_get_feedback_capabilities(){
    80     return array('edit_un_feedback_items', 'edit_un_feedback', 'delete_un_feedback', 
    81         'publish_un_feedback', 'publish_un_feedback_items', 
     81    return array('edit_un_feedback_items', 'edit_un_feedback', 'delete_un_feedback',
     82        'publish_un_feedback', 'publish_un_feedback_items',
    8283        'edit_others_un_feedback_items', 'edit_published_un_feedback');
    8384}
     
    8788
    8889function un_activation_hook(){
    89    
     90
    9091}
    9192
  • usernoise/trunk/vendor/plugin-options-framework/plugin-options-framework.php

    r950056 r1052711  
    221221            ?>
    222222            <div id="pof-submit">
    223                 <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e( 'Save Options' ); ?>" />
    224                 <input type="submit" class="reset-button button-secondary hide-if-no-js" value="<?php esc_attr_e( 'Restore Defaults' ); ?>" onclick="return confirm( '<?php print esc_js( __( 'Click OK to reset. All the settings will be reset to defaults!' ) ); ?>' );" id="button-reset" />
     223                <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e( 'Save Options', 'usernoise' ); ?>" />
     224                <input type="submit" class="reset-button button-secondary hide-if-no-js" value="<?php esc_attr_e( 'Restore Defaults', 'usernoise' ); ?>" onclick="return confirm( '<?php print esc_js( __( 'Click OK to reset. All the settings will be reset to defaults!' ) ); ?>' );" id="button-reset" />
    225225                <div class="clear"></div>
    226226            </div>
     
    299299            <div class="pof-color-picker">
    300300                <?php $this->h->text_field($this->input_name($field['name']), $this->pof->get_option($field['name'])); ?>
    301                 <input type="button" class="pickcolor button hide-if-no-js" value="<?php esc_attr_e( 'Select a Color'); ?>" />
     301                <input type="button" class="pickcolor button hide-if-no-js" value="<?php esc_attr_e( 'Select a Color', 'usernoise'); ?>" />
    302302                <div class="picker" id="picker-<?php echo sanitize_title_with_dashes($field['name']) ?>" style="z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;"></div>
    303303            </div>
Note: See TracChangeset for help on using the changeset viewer.