Plugin Directory

Changeset 1854814


Ignore:
Timestamp:
04/08/2018 03:56:53 PM (8 years ago)
Author:
Felln
Message:

Release Version 1.0.2

Location:
gr-dashboard-notes
Files:
6 added
3 edited

Legend:

Unmodified
Added
Removed
  • gr-dashboard-notes/trunk/gr-dashboard-notes.php

    r1814893 r1854814  
    44 * Plugin URI: https://wordpress.org/plugins/gr-dashboard-notes/
    55 * Description: This plugin let you create notes on the dashboard for different roles of your choice.
    6  * Version: 1.0.1
     6 * Version: 1.0.2
    77 * Author: Achim T.
    88 * Author URI: https://www.Game-Reset.de
  • gr-dashboard-notes/trunk/inc/gr-admin-menu.php

    r1814893 r1854814  
    2525                    {
    2626                    echo '<center><b>';
    27                     esc_html_e( 'Error. You have already 5/5 notes. When you want to post a new one you have to delete an existing one.', 'gr_dashboard_notes' );
     27                    esc_html_e( 'Error. You have already 5/5 notes. When you want to post a new one you have to delete an existing one.', 'gr-dashboard-notes' );
    2828                    echo '</b></center>';   
    2929                    } 
     
    7373                        update_option( $gr_dashboard_notes_setnewid_role, $gr_dashboard_notes_setnewroles);
    7474                        echo '<center><b>';
    75                         esc_html_e( 'Note created!', 'gr_dashboard_notes' );
     75                        esc_html_e( 'Note created!', 'gr-dashboard-notes' );
    7676                        echo '</b></center>';
    7777                        }       
     
    8080                {
    8181                echo '<center><b>';
    82                 esc_html_e( 'Error. No note-text written or target-group selected. Please try it again.', 'gr_dashboard_notes' );
     82                esc_html_e( 'Error. No note-text written or target-group selected. Please try it again.', 'gr-dashboard-notes' );
    8383                echo '</b></center>';
    8484                }
     
    139139                        update_option( $gr_dashboard_notes_setoldid_role, '');
    140140                        echo '<center><b>';
    141                         esc_html_e( 'Note deleted!', 'gr_dashboard_notes' );
     141                        esc_html_e( 'Note deleted!', 'gr-dashboard-notes' );
    142142                        echo '</b></center>';
    143143                        }
     
    152152        <h1>GR Dashboard Notes</h1>
    153153        <h2>
    154         <?php esc_html_e( 'Manual', 'gr_dashboard_notes' );
     154        <?php esc_html_e( 'Manual', 'gr-dashboard-notes' );
    155155        echo '</h2><b>';
    156         esc_html_e( 'Add a note:', 'gr_dashboard_notes' );
     156        esc_html_e( 'Add a note:', 'gr-dashboard-notes' );
    157157        echo '</b><br>';
    158         esc_html_e( '1. Insert your desired text into the text-field below.', 'gr_dashboard_notes' );
     158        esc_html_e( '1. Insert your desired text into the text-field below.', 'gr-dashboard-notes' );
    159159        echo '<br>';
    160         esc_html_e( '2. Select the usergroups who should see the notice.', 'gr_dashboard_notes' );
     160        esc_html_e( '2. Select the usergroups who should see the notice.', 'gr-dashboard-notes' );
    161161        echo '<br>';
    162         esc_html_e( '3. Press the save-button.', 'gr_dashboard_notes' );
     162        esc_html_e( '3. Press the save-button.', 'gr-dashboard-notes' );
    163163        echo '<br>';
    164         esc_html_e( '4. The new note will be shown at the dashboard.', 'gr_dashboard_notes' );
     164        esc_html_e( '4. The new note will be shown at the dashboard.', 'gr-dashboard-notes' );
    165165        echo '<br><br><b>';
    166         esc_html_e( 'Delete a note:', 'gr_dashboard_notes' );
     166        esc_html_e( 'Delete a note:', 'gr-dashboard-notes' );
    167167        echo '</b><br>';
    168         esc_html_e( 'Click on the delete button from the note who should be deleted.', 'gr_dashboard_notes' );
     168        esc_html_e( 'Click on the delete button from the note who should be deleted.', 'gr-dashboard-notes' );
    169169        echo '<br><br>';
    170170            /* Zählen der Note-Einträge und Ausgabe der Menge */
     
    174174            echo $gr_dashboard_notes_optionscheck_count;
    175175            echo '/5 ';
    176             esc_html_e( 'notes published', 'gr_dashboard_notes' );
     176            esc_html_e( 'notes published', 'gr-dashboard-notes' );
    177177            echo '</b><br>';
    178178            /* Bisherige Speicherungen abrufen */
     
    180180            {
    181181            echo '<center><b>';
    182             esc_html_e( 'No Dashboard notes published.', 'gr_dashboard_notes' );
     182            esc_html_e( 'No Dashboard notes published.', 'gr-dashboard-notes' );
    183183            echo '</b></center>';
    184184            }
     
    188188            <tr>
    189189            <td width="10%">';
    190             esc_html_e ( 'ID', 'gr_dashboard_notes' );
     190            esc_html_e ( 'ID', 'gr-dashboard-notes' );
    191191            echo '</td>
    192192            <td width="70%">';
    193             esc_html_e ( 'Text', 'gr_dashboard_notes' );
     193            esc_html_e ( 'Text', 'gr-dashboard-notes' );
    194194            echo '</td>
    195195            <td>';
    196             esc_html_e ( 'Usergroups', 'gr_dashboard_notes' );
     196            esc_html_e ( 'Usergroups', 'gr-dashboard-notes' );
    197197            echo'</td>
    198198            <td>';
    199             esc_html_e ( 'Delete', 'gr_dashboard_notes' );
     199            esc_html_e ( 'Delete', 'gr-dashboard-notes' );
    200200            echo'</td>
    201201            </tr>
     
    221221                wp_nonce_field( 'gr_dashboard_notes_nonce', 'gr_dashboard_notes_nonce_field' );
    222222                echo '<span class="submit" style="border: 0;"><input type="submit" name="delete1" value="';
    223                 esc_html_e( 'Delete', 'gr_dashboard_notes' );
     223                esc_html_e( 'Delete', 'gr-dashboard-notes' );
    224224                echo '" /></span></form></tr>';
    225225                }               
     
    242242                wp_nonce_field( 'gr_dashboard_notes_nonce', 'gr_dashboard_notes_nonce_field' );
    243243                echo '<span class="submit" style="border: 0;"><input type="submit" name="delete2" value="';
    244                 esc_html_e( 'Delete', 'gr_dashboard_notes' );
     244                esc_html_e( 'Delete', 'gr-dashboard-notes' );
    245245                echo '" /></span></form></tr>';
    246246                }
     
    263263                wp_nonce_field( 'gr_dashboard_notes_nonce', 'gr_dashboard_notes_nonce_field' );
    264264                echo '<span class="submit" style="border: 0;"><input type="submit" name="delete3" value="';
    265                 esc_html_e( 'Delete', 'gr_dashboard_notes' );
     265                esc_html_e( 'Delete', 'gr-dashboard-notes' );
    266266                echo '" /></span></form></tr>';
    267267                }
     
    284284                wp_nonce_field( 'gr_dashboard_notes_nonce', 'gr_dashboard_notes_nonce_field' );
    285285                echo '<span class="submit" style="border: 0;"><input type="submit" name="delete4" value="';
    286                 esc_html_e( 'Delete', 'gr_dashboard_notes' );
     286                esc_html_e( 'Delete', 'gr-dashboard-notes' );
    287287                echo '" /></span></form></tr>';
    288288                }
     
    305305                wp_nonce_field( 'gr_dashboard_notes_nonce', 'gr_dashboard_notes_nonce_field' );
    306306                echo '<span class="submit" style="border: 0;"><input type="submit" name="delete5" value="';
    307                 esc_html_e( 'Delete', 'gr_dashboard_notes' );
     307                esc_html_e( 'Delete', 'gr-dashboard-notes' );
    308308                echo '" /></span></form></tr>';
    309309                }
     
    314314        ?>
    315315        <br><h2>
    316         <?php esc_html_e( 'Add a new note:', 'gr_dashboard_notes' );?>
     316        <?php esc_html_e( 'Add a new note:', 'gr-dashboard-notes' );?>
    317317        </h2><table border="2" width="80%" class="grdashboardnotes">
    318318        <tr>
    319         <td width="70%"><?php esc_html_e ( 'Text', 'gr_dashboard_notes' );?></td>
    320         <td><?php esc_html_e ( 'Usergroups', 'gr_dashboard_notes' );?></td>
     319        <td width="70%"><?php esc_html_e ( 'Text', 'gr-dashboard-notes' );?></td>
     320        <td><?php esc_html_e ( 'Usergroups', 'gr-dashboard-notes' );?></td>
    321321        </tr>
    322322        <tr>
     
    335335        <?php /* Absendebutton für neue Dashboard Notiz */
    336336        echo '<span class="submit" style="border: 0;"><input type="submit" name="submit" value="';
    337         esc_html_e( 'Save', 'gr_dashboard_notes' );
     337        esc_html_e( 'Save', 'gr-dashboard-notes' );
    338338        echo '" /></span></form>';?>     
    339339        </td>
  • gr-dashboard-notes/trunk/readme.txt

    r1854582 r1854814  
    44Requires at least: 4.6
    55Tested up to: 4.9.5
    6 Stable tag: 1.0.1
     6Stable tag: 1.0.2
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    3232== Changelog ==
    3333
     34= 1.0.2 =
     35 * Fixed translation-string errors
    3436
    3537= 1.0.1 =
Note: See TracChangeset for help on using the changeset viewer.