Plugin Directory

Changeset 3787563


Ignore:
Timestamp:
11/06/2026 09:14:36 AM (10 hours ago)
Author:
marukinad
Message:

Release Marukin HG Site Reporter 1.9.3 with Japanese translations

Location:
marukin-hg-site-reporter
Files:
6 added
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • marukin-hg-site-reporter/tags/1.9.3/marukin-hg-site-reporter.php

    r3787431 r3787563  
    33 * Plugin Name: Marukin HG Site Reporter
    44 * Description: Provides authenticated, read-only REST API access to site versions and update status.
    5  * Version: 1.9.2
     5 * Version: 1.9.3
    66 * Author: Marukin Ad
    77 * Requires at least: 4.7
    … …  
    1010 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1111 * Text Domain: marukin-hg-site-reporter
     12 * Domain Path: /languages
    1213 */
    1314
    … …  
    1516
    1617final class Marukin_HG_Site_Reporter {
    17         const VERSION = '1.9.2';
     18        const VERSION = '1.9.3';
    1819        const OPTION  = 'hg_site_reporter_config';
    1920        // Read only when migrating an installation of WP Site Reporter / Company Monitor.
    … …  
    2324
    2425        public static function boot() {
     26                add_action( 'init', array( __CLASS__, 'translations' ) );
    2527                add_action( 'rest_api_init', array( __CLASS__, 'routes' ) );
    2628                add_filter( 'rest_post_dispatch', array( __CLASS__, 'headers' ), 100, 3 );
    2729                add_action( 'admin_menu', array( __CLASS__, 'menu' ) );
    2830                add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_assets' ) );
     31        }
     32
     33        public static function translations() {
     34                // WordPress.org language packs take precedence over the bundled fallback.
     35                load_plugin_textdomain( 'marukin-hg-site-reporter', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
    2936        }
    3037
  • marukin-hg-site-reporter/tags/1.9.3/readme.txt

    r3787431 r3787563  
    55Tested up to: 7.1
    66Requires PHP: 7.0
    7 Stable tag: 1.9.2
     7Stable tag: 1.9.3
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    1616
    1717An administrator must issue a key and configure the client. Activating this plugin alone does not authorize access or send site information anywhere.
     18
     19= Languages =
     20
     21English and Japanese are included. Settings, notices and error messages are displayed in Japanese when the applicable WordPress site or user language is Japanese (ja), without downloading a language pack. WordPress.org language packs take precedence when available. API field names and authentication headers remain unchanged.
    1822
    1923= Reported information =
    … …  
    105109== Changelog ==
    106110
     111= 1.9.3 =
     112* Bundle Japanese translations for settings, notices, error messages and the plugin description.
     113* Register the bundled language directory on init, while preserving WordPress.org language pack priority.
     114* Keep API URLs, response fields, authentication headers and saved credentials unchanged.
     115
    107116= 1.9.2 =
    108117* Rename the plugin and text domain to Marukin HG Site Reporter (marukin-hg-site-reporter).
    … …  
    135144== Upgrade Notice ==
    136145
     146= 1.9.3 =
     147Japanese translations are included. Set the applicable WordPress site or user language to Japanese to use them. Existing keys and client settings remain valid.
     148
    137149= 1.9.2 =
    138150Requires PHP 7.0+. Deactivate the previous plugin and replace its files without running its uninstall handler. API URLs, headers and saved credentials are unchanged. Translations are delivered through WordPress.org language packs.
  • marukin-hg-site-reporter/trunk/marukin-hg-site-reporter.php

    r3787431 r3787563  
    33 * Plugin Name: Marukin HG Site Reporter
    44 * Description: Provides authenticated, read-only REST API access to site versions and update status.
    5  * Version: 1.9.2
     5 * Version: 1.9.3
    66 * Author: Marukin Ad
    77 * Requires at least: 4.7
    … …  
    1010 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1111 * Text Domain: marukin-hg-site-reporter
     12 * Domain Path: /languages
    1213 */
    1314
    … …  
    1516
    1617final class Marukin_HG_Site_Reporter {
    17         const VERSION = '1.9.2';
     18        const VERSION = '1.9.3';
    1819        const OPTION  = 'hg_site_reporter_config';
    1920        // Read only when migrating an installation of WP Site Reporter / Company Monitor.
    … …  
    2324
    2425        public static function boot() {
     26                add_action( 'init', array( __CLASS__, 'translations' ) );
    2527                add_action( 'rest_api_init', array( __CLASS__, 'routes' ) );
    2628                add_filter( 'rest_post_dispatch', array( __CLASS__, 'headers' ), 100, 3 );
    2729                add_action( 'admin_menu', array( __CLASS__, 'menu' ) );
    2830                add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_assets' ) );
     31        }
     32
     33        public static function translations() {
     34                // WordPress.org language packs take precedence over the bundled fallback.
     35                load_plugin_textdomain( 'marukin-hg-site-reporter', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
    2936        }
    3037
  • marukin-hg-site-reporter/trunk/readme.txt

    r3787431 r3787563  
    55Tested up to: 7.1
    66Requires PHP: 7.0
    7 Stable tag: 1.9.2
     7Stable tag: 1.9.3
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    1616
    1717An administrator must issue a key and configure the client. Activating this plugin alone does not authorize access or send site information anywhere.
     18
     19= Languages =
     20
     21English and Japanese are included. Settings, notices and error messages are displayed in Japanese when the applicable WordPress site or user language is Japanese (ja), without downloading a language pack. WordPress.org language packs take precedence when available. API field names and authentication headers remain unchanged.
    1822
    1923= Reported information =
    … …  
    105109== Changelog ==
    106110
     111= 1.9.3 =
     112* Bundle Japanese translations for settings, notices, error messages and the plugin description.
     113* Register the bundled language directory on init, while preserving WordPress.org language pack priority.
     114* Keep API URLs, response fields, authentication headers and saved credentials unchanged.
     115
    107116= 1.9.2 =
    108117* Rename the plugin and text domain to Marukin HG Site Reporter (marukin-hg-site-reporter).
    … …  
    135144== Upgrade Notice ==
    136145
     146= 1.9.3 =
     147Japanese translations are included. Set the applicable WordPress site or user language to Japanese to use them. Existing keys and client settings remain valid.
     148
    137149= 1.9.2 =
    138150Requires PHP 7.0+. Deactivate the previous plugin and replace its files without running its uninstall handler. API URLs, headers and saved credentials are unchanged. Translations are delivered through WordPress.org language packs.
Note: See TracChangeset for help on using the changeset viewer.