Plugin Directory

Changeset 497333


Ignore:
Timestamp:
01/30/2012 01:33:57 PM (14 years ago)
Author:
moskis
Message:

adding localization support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • custom-smilies-directory/trunk/custom-smilies-directory.php

    r497326 r497333  
    7575/**
    7676 * Main Hook
     77 *
     78 * @since 1.0
     79 *
    7780 */
    7881function jpm_custom_smilies_init() {
     
    106109
    107110
     111/**
     112 * Load textdomain
     113 *
     114 * @since 1.1
     115 *
     116 */
     117function jpm_custom_smilies_textdomain() {
     118    load_plugin_textdomain( 'jpm-csd', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
     119}
     120add_action('init', 'jpm_custom_smilies_textdomain');
     121
     122
    108123?>
Note: See TracChangeset for help on using the changeset viewer.