Plugin Directory

Changeset 2114103


Ignore:
Timestamp:
06/28/2019 10:14:57 AM (7 years ago)
Author:
PowieT
Message:

translation slug

Location:
powies-uptime-robot
Files:
11 added
4 edited

Legend:

Unmodified
Added
Removed
  • powies-uptime-robot/trunk/pum.php

    r1691760 r2114103  
    44Plugin URI: https://powie.de/wordpress/powies-uptime-robot/
    55Description: Powies Uptime Robot Plugin with Shortcode and Widget
    6 Version: 0.9.5
     6Version: 0.9.6
    77License: GPLv2
    88Author: Thomas Ehrhardt
     
    1515define( 'PUM_PLUGIN_DIR', dirname( plugin_basename( __FILE__ ) ) );
    1616define( 'PUM_PLUGIN_URL', plugins_url( dirname( plugin_basename( __FILE__ ) ) ) );
    17 load_plugin_textdomain( 'pum', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
     17load_plugin_textdomain( 'powies-uptime-robot', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
    1818
    1919//call widgets file
     
    5757    //var_dump($json);
    5858    $sc = '<table class="pum"><tr>
    59             <th>'.__('Status', 'pum').'</th>
    60             <th>'.__('Monitor Name', 'pum').'</th>
    61             <th>'.__('Uptime', 'pum').'</th></tr>';
     59            <th>'.__('Status', 'powies-uptime-robot').'</th>
     60            <th>'.__('Monitor Name', 'powies-uptime-robot').'</th>
     61            <th>'.__('Uptime', 'powies-uptime-robot').'</th></tr>';
    6262    foreach ($json->monitors as $monitor) {
    6363        if ( isset($atts['monitor'])) {
     
    7777    }
    7878    $sc.='</table>';
    79     $sc.=__('Updated at', 'pum'). ' '.get_date_from_gmt( date('Y-m-d H:i:s' ,get_option( 'pum-time' )), get_option('time_format'));
     79    $sc.=__('Updated at', 'powies-uptime-robot'). ' '.get_date_from_gmt( date('Y-m-d H:i:s' ,get_option( 'pum-time' )), get_option('time_format'));
    8080    //$sc.=__('Updated at', 'pum'). ' '.date_i18n(get_option('time_format'), get_option( 'pum-time' ));
    8181    return $sc;
     
    9797    switch ($status) {
    9898        case 0:
    99             $r = __('paused', 'pum');
     99            $r = __('paused', 'powies-uptime-robot');
    100100            break;
    101101        case 1:
    102             $r = __('not checked yet', 'pum');
     102            $r = __('not checked yet', 'powies-uptime-robot');
    103103            break;
    104104        case 2:
    105             $r = __('up', 'pum');
     105            $r = __('up', 'powies-uptime-robot');
    106106            break;
    107107        case 8:
    108             $r = __('seems down', 'pum');
     108            $r = __('seems down', 'powies-uptime-robot');
    109109            break;
    110110        case 9:
    111             $r = __('down', 'pum');
     111            $r = __('down', 'powies-uptime-robot');
    112112            break;
    113113        default:
    114             $r = __('unknown', 'pum');
     114            $r = __('unknown', 'powies-uptime-robot');
    115115    } // switch
    116116    return $r;
  • powies-uptime-robot/trunk/pum_settings.php

    r1435436 r2114103  
    11<div class="wrap">
    22<div class="icon32" id="icon-options-general"></div>
    3 <h2><?php _e('Uptime Robot Settings', 'pum') ?></h2>
     3<h2><?php _e('Uptime Robot Settings', 'powies-uptime-robot') ?></h2>
    44<form method="post" action="options.php">
    55<?php
    66settings_fields( 'pum-settings' );
    77if  ( get_option('postfield-legend') == '' ) {
    8     update_option('postfield-legend',__('Post Content','pum'));
     8    update_option('postfield-legend',__('Post Content','powies-uptime-robot'));
    99}
    1010?>
    1111<div id="poststuff">
    1212<div class="postbox">
    13 <h3><?php _e('API Settings', 'pum') ?></h3>
     13<h3><?php _e('API Settings', 'powies-uptime-robot') ?></h3>
    1414    <div class="inside">
    1515    <table class="form-table">
    1616        <tr valign="top">
    17             <th scope="row"><?php _e('API Key', 'pum') ?></th>
     17            <th scope="row"><?php _e('API Key', 'powies-uptime-robot') ?></th>
    1818            <td><input type="text" size="50" name="pum-apikey" value="<?php echo get_option('pum-apikey'); ?>" /></td>
    1919        </tr>
     
    2525<div id="poststuff">
    2626<div class="postbox">
    27 <h3><?php _e('Display Settings', 'pum') ?></h3>
     27<h3><?php _e('Display Settings', 'powies-uptime-robot') ?></h3>
    2828    <div class="inside">
    2929    <table class="form-table">
    3030        <tr valign="top">
    31             <th scope="row"><?php _e('Hide Monitors', 'pum') ?></th>
     31            <th scope="row"><?php _e('Hide Monitors', 'powies-uptime-robot') ?></th>
    3232            <td><input type="text" size="80" name="pum-hidemonitors" value="<?php echo get_option('pum-hidemonitors'); ?>" /></td>
    3333        </tr>
    3434    </table>
    35     <?php _e('Comma separated list of monitors to hide from displaying', 'pum') ?>
     35    <?php _e('Comma separated list of monitors to hide from displaying', 'powies-uptime-robot') ?>
    3636    </div>
    3737</div>
     
    4444<div id="poststuff">
    4545<div class="postbox">
    46 <h3><?php _e('Shortcode Usage', 'pum') ?></h3>
     46<h3><?php _e('Shortcode Usage', 'powies-uptime-robot') ?></h3>
    4747    <div class="inside">
    48         <?php _e('Use the shortcode <code>[pum]</code> to show the status list on a page or post.', 'pum') ?><br />
    49         <?php _e('Use <code>[pum monitor=friendlyname]</code> to show the status of a single monitor only.', 'pum') ?>
     48        <?php _e('Use the shortcode <code>[pum]</code> to show the status list on a page or post.', 'powies-uptime-robot') ?><br />
     49        <?php _e('Use <code>[pum monitor=friendlyname]</code> to show the status of a single monitor only.', 'powies-uptime-robot') ?>
    5050    </div>
    5151</div>
    5252
    5353<div class="postbox">
    54 <h3><?php _e('About', 'pum') ?></h3>
     54<h3><?php _e('About', 'powies-uptime-robot') ?></h3>
    5555    <div class="inside" style="overflow:auto">
    5656        <div style="float:left;margin-right: 10px; display:inline;">
  • powies-uptime-robot/trunk/readme.txt

    r1997859 r2114103  
    44Tags: Uptime Robot, Server Monitoring, Widget, Shortcode
    55Requires at least: 4.0
    6 Tested up to: 5.0.1
    7 Stable tag: 0.9.5
     6Tested up to: 5.2.2
     7Stable tag: 0.9.6
    88License: GPLv2
    99
     
    1515
    1616If you make a donation to this plugin we will put it directly to the UptimeRobot project.
    17 
    18 = Demos =
    19 [Demo 1](https://be-webspace.de/systemstatus/)
    2017
    2118= Documentation =
     
    4239
    4340== Changelog ==
     41= 0.9.6 (28.06.2019) =
     42* 5.2.2 checks
     43* translation readiness
     44
    4445= 0.9.5 (06.07.2017) =
    4546* API v2
  • powies-uptime-robot/trunk/status-cloud-widget.php

    r1691725 r2114103  
    1313        parent::__construct(
    1414            'pum-status-cloud', // Base ID
    15             __( 'Uptime Robot Status Cloud', 'pum' ), // Name
    16             array( 'description' => __( 'Displays Uptime Robot Statuses on the sidebar', 'pum' ), ) // Args
     15            __( 'Uptime Robot Status Cloud', 'powies-uptime-robot' ), // Name
     16            array( 'description' => __( 'Displays Uptime Robot Statuses on the sidebar', 'powies-uptime-robot' ), ) // Args
    1717        );
    1818    }
Note: See TracChangeset for help on using the changeset viewer.