Support » Plugin: ImageInject » I am pleased and very wonderful.

  • nori8w8

    (@nori8w8)


    I am pleased and very wonderful.
    I liked it very much.

    But there is hope.
    Please to perfect the correspondence of internationalization.

    1) additional text domain

    * Text Domain: wpinject
    * Domain Path: languages

    2) additional function of internationalization

    add_action( 'plugins_loaded', 'wpinject_load_textdomain' );
    function wpinject_load_textdomain() {
        load_plugin_textdomain( 'wpinject', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
    }

    3) wpinject.php

    3-1) Example : Modify the previous code
    <h3>Available Template Tags</h3>

    3-2) Example : Amended code
    <h3><?php _e("Available Template Tags","wpinject") ?></h3>

    4) info_sources_options.php

    4-1) Example : Modify the previous code
    "Commercial Use Allowed, Attribution Required"

    4-2) Example : Amended code
    __("Commercial Use Allowed, Attribution Required","wpinject")

    The next update I am looking forward.

  • The topic ‘I am pleased and very wonderful.’ is closed to new replies.