Plugin Directory

Changeset 1843512


Ignore:
Timestamp:
03/20/2018 01:57:07 PM (8 years ago)
Author:
stefanocanziani
Message:

Changed text domain to reflect plugin slug

Location:
wp-database-session-handler/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • wp-database-session-handler/trunk/admin.php

    r1843426 r1843512  
    1010        if( !current_user_can( 'manage_options' ) ) {
    1111
    12             wp_die( __( 'Your permissions are not sufficient to view the page', 'sc-session-handler' ) );
     12            wp_die( __( 'Your permissions are not sufficient to view the page', 'wp-database-session-handler' ) );
    1313
    1414        }
     
    3131        if ($_REQUEST['clean_all']) {
    3232            SC_MySqlSessionHandler::destroy_all();
    33             _e( 'Cleaned all sessions.', 'sc-session-handler' );
     33            _e( 'Cleaned all sessions.', 'wp-database-session-handler' );
    3434        }
    3535
     
    4343
    4444                    echo '<table width="100%">';
    45                     echo '<thead><tr><td>'.__( 'ID', 'sc-session-handler' ).'</td><td>&nbsp;</td><td>'.__( 'CONTENT', 'sc-session-handler' ).'</td><td>'.__( 'IP', 'sc-session-handler' ).'</td><td>'.__( 'LAST UPDATE', 'sc-session-handler' ).'</td></tr></thead>';
     45                    echo '<thead><tr><td>'.__( 'ID', 'wp-database-session-handler' ).'</td><td>&nbsp;</td><td>'.__( 'CONTENT', 'wp-database-session-handler' ).'</td><td>'.__( 'IP', 'wp-database-session-handler' ).'</td><td>'.__( 'LAST UPDATE', 'wp-database-session-handler' ).'</td></tr></thead>';
    4646                    echo '<tbody>';
    4747                    while ($obj = $rows->fetch_object()) {
  • wp-database-session-handler/trunk/inc/admin_page.php

    r1843426 r1843512  
    22
    33    <div id="icon-options-general" class="icon32"></div>
    4     <h2><?_e( 'WP Database Session Handler settings', 'sc-session-handler' )?></h2>
     4    <h2><?_e( 'WP Database Session Handler settings', 'wp-database-session-handler' )?></h2>
    55
    66    <div id="poststuff">
     
    1515                    <div class="postbox">
    1616
    17                         <h3><span><?_e( 'Options', 'sc-session-handler' )?></span></h3>
     17                        <h3><span><?_e( 'Options', 'wp-database-session-handler' )?></span></h3>
    1818                        <div class="inside">
    1919
     
    2727                                        </td>
    2828                                        <td>
    29                                             <label for="clean_on_open"><?_e( 'Clean expired sessions on open new session', 'sc-session-handler' )?></label>
     29                                            <label for="clean_on_open"><?_e( 'Clean expired sessions on open new session', 'wp-database-session-handler' )?></label>
    3030                                        </td>
    3131                                    </tr>
     
    3636                                        </td>
    3737                                        <td>
    38                                             <label for="clean_on_gc"><?_e( 'Clean expired sessions on garbage collection', 'sc-session-handler' )?></label>
     38                                            <label for="clean_on_gc"><?_e( 'Clean expired sessions on garbage collection', 'wp-database-session-handler' )?></label>
    3939                                        </td>
    4040                                    </tr>
     
    4545                                        </td>
    4646                                        <td>
    47                                             <label for="clean_every"><?_e( 'Clean expired sessions every N hours. 0 for disable', 'sc-session-handler' )?></label>
     47                                            <label for="clean_every"><?_e( 'Clean expired sessions every N hours. 0 for disable', 'wp-database-session-handler' )?></label>
    4848                                        </td>
    4949                                    </tr>
     
    5151
    5252                                <p>
    53                                     <input class="button-primary" type="submit" name="update_options" value="<?_e( 'Save', 'sc-session-handler' )?>" />
     53                                    <input class="button-primary" type="submit" name="update_options" value="<?_e( 'Save', 'wp-database-session-handler' )?>" />
    5454                                </p>
    5555
     
    6262                    <div class="postbox">
    6363
    64                         <h3><span><?_e( 'Clean all session', 'sc-session-handler' )?></span></h3>
     64                        <h3><span><?_e( 'Clean all session', 'wp-database-session-handler' )?></span></h3>
    6565                        <div class="inside">
    6666
    6767                            <p>
    6868                                <?php
    69                                 _e( 'Currently there are: ', 'sc-session-handler' );
     69                                _e( 'Currently there are: ', 'wp-database-session-handler' );
    7070                                echo ' ' . \SC\WPSH\SC_MySqlSessionHandler::count() . ' ';
    71                                 _e( ' sessions ', 'sc-session-handler' );
     71                                _e( ' sessions ', 'wp-database-session-handler' );
    7272                                ?>
    7373                            </p>
    74                             <p><?_e( 'If you want to clean all session you can press this button. All connected users will lose their session informations.', 'sc-session-handler' )?></p>
     74                            <p><?_e( 'If you want to clean all session you can press this button. All connected users will lose their session informations.', 'wp-database-session-handler' )?></p>
    7575
    7676                            <form method="post" action="">
     
    8484                    <div class="postbox">
    8585
    86                         <h3><span><?_e( 'View sessions', 'sc-session-handler' )?></span></h3>
     86                        <h3><span><?_e( 'View sessions', 'wp-database-session-handler' )?></span></h3>
    8787                        <div class="inside">
    8888
    8989                            <p>
    9090                                <?php
    91                                 _e( 'Currently there are: ', 'sc-session-handler' );
     91                                _e( 'Currently there are: ', 'wp-database-session-handler' );
    9292                                echo ' ' . \SC\WPSH\SC_MySqlSessionHandler::count() . ' ';
    93                                 _e( ' sessions ', 'sc-session-handler' );
     93                                _e( ' sessions ', 'wp-database-session-handler' );
    9494                                ?>
    9595                            </p>
    96                             <p><?_e( 'If you want to view the content of all sessions, push the button.', 'sc-session-handler' )?></p>
     96                            <p><?_e( 'If you want to view the content of all sessions, push the button.', 'wp-database-session-handler' )?></p>
    9797
    9898                            <form method="post" action="">
     
    115115                    <div class="postbox">
    116116
    117                         <h3><span><?_e( 'Info', 'sc-session-handler' )?></span></h3>
     117                        <h3><span><?_e( 'Info', 'wp-database-session-handler' )?></span></h3>
    118118                        <div class="inside">
    119119
    120                             <p><?_e( 'In this page you can setup when the sessions will be automatically cleaned.<br><br>You can also check how many sessions actually exist currently and you can clean them.<br><br>Further more, you can view all sessions content.', 'sc-session-handler' )?></p>
     120                            <p><?_e( 'In this page you can setup when the sessions will be automatically cleaned.<br><br>You can also check how many sessions actually exist currently and you can clean them.<br><br>Further more, you can view all sessions content.', 'wp-database-session-handler' )?></p>
    121121
    122122                        </div> <!-- .inside -->
  • wp-database-session-handler/trunk/languages/sc-session-handler-en_US.po

    r1843426 r1843512  
    44"Report-Msgid-Bugs-To: \n"
    55"POT-Creation-Date: 2018-03-19 11:35+0000\n"
    6 "PO-Revision-Date: 2018-03-19 11:37+0000\n"
     6"PO-Revision-Date: 2018-03-20 13:54+0000\n"
    77"Last-Translator: WdJonr7VLA <steve@stefanocanziani.com>\n"
    88"Language-Team: English (United States)\n"
     
    1616#: inc/admin_page.php:71 inc/admin_page.php:93
    1717msgid " sessions "
    18 msgstr " sessions "
     18msgstr " sessions"
    1919
    2020#. Description of the plugin
  • wp-database-session-handler/trunk/languages/sc-session-handler-it_IT.po

    r1843426 r1843512  
    44"Report-Msgid-Bugs-To: \n"
    55"POT-Creation-Date: 2018-03-19 11:35+0000\n"
    6 "PO-Revision-Date: 2018-03-19 14:39+0000\n"
     6"PO-Revision-Date: 2018-03-20 13:53+0000\n"
    77"Last-Translator: WdJonr7VLA <steve@stefanocanziani.com>\n"
    88"Language-Team: Italian\n"
  • wp-database-session-handler/trunk/languages/sc-session-handler.pot

    r1843426 r1843512  
    44"Project-Id-Version: WP Database Session Handler\n"
    55"Report-Msgid-Bugs-To: \n"
    6 "POT-Creation-Date: 2018-03-19 11:35+0000\n"
     6"POT-Creation-Date: 2018-03-20 13:54+0000\n"
    77"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    88"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  • wp-database-session-handler/trunk/sc-session-handler.php

    r1843475 r1843512  
    88Author URI: http://www.stefanocanziani.com
    99License: GPLv2 or later
    10 Text Domain: sc-session-handler
     10Text Domain: wp-database-session-handler
    1111Domain Path: /languages
    1212*/
     
    4242
    4343// define textdomain
    44 load_plugin_textdomain( 'sc-session-handler' );
     44load_plugin_textdomain( 'wp-database-session-handler' );
    4545
    4646// include plugin files
     
    7272    add_action( 'admin_menu', function () {
    7373        add_options_page(
    74             __( 'DB Session Handler settings', 'sc-session-handler' ),
    75             __( 'DB Session Handler', 'sc-session-handler' ),
     74             __( 'DB Session Handler settings', 'wp-database-session-handler' ),
     75             __( 'DB Session Handler', 'wp-database-session-handler' ),
    7676            'manage_options',
    7777            'sc_mysqlsessionadmin',
Note: See TracChangeset for help on using the changeset viewer.