Changeset 1688346
- Timestamp:
- 06/30/2017 02:44:59 PM (9 years ago)
- Location:
- nicechat/trunk
- Files:
-
- 4 added
- 1 deleted
- 3 edited
-
admin/class-nice-chat-to-wp-admin.php (modified) (2 diffs)
-
includes/class-nice-chat-to-wp-i18n.php (modified) (2 diffs)
-
languages/nice-chat-to-wp-en_GB.mo (added)
-
languages/nice-chat-to-wp-en_GB.po (added)
-
languages/nice-chat-to-wp-ru_RU.mo (added)
-
languages/nice-chat-to-wp-ru_RU.po (added)
-
languages/nice-chat-to-wp.pot (deleted)
-
nice-chat-to-wp.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
nicechat/trunk/admin/class-nice-chat-to-wp-admin.php
r1686045 r1688346 71 71 $nice_chat_partner_id = $_POST['nice_chat_partner_id']; 72 72 update_option('nice_chat_partner_id', $nice_chat_partner_id); 73 echo ('<div class="updated"><p>'.__('Settings updated', ' textdomain').'</p></div>');73 echo ('<div class="updated"><p>'.__('Settings updated', 'nice-chat-to-wp').'</p></div>'); 74 74 } else { 75 echo ('<div class="error"><p>'.__('Wrong Partner ID', ' textdomain').'</p></div>');75 echo ('<div class="error"><p>'.__('Wrong Partner ID', 'nice-chat-to-wp').'</p></div>'); 76 76 } 77 77 } … … 81 81 ?> 82 82 <div class="wrap"> 83 <h2><?php echo (__('Setup NiceChat Widget', ' textdomain')) ?></h2>83 <h2><?php echo (__('Setup NiceChat Widget', 'nice-chat-to-wp')) ?></h2> 84 84 <form method="post"> 85 85 <fieldset class="options"> 86 86 <p> 87 <legend><?php echo (__('Partner ID (optional)', ' textdomain')) ?>:</legend>87 <legend><?php echo (__('Partner ID (optional)', 'nice-chat-to-wp')) ?>:</legend> 88 88 <input type="text" name="nice_chat_partner_id" value="<?php echo($nice_chat_partner_id)?>"/> 89 89 </p> 90 90 <p> 91 <input type="submit" value="<?php echo (__('Send', ' textdomain')) ?>" />91 <input type="submit" value="<?php echo (__('Send', 'nice-chat-to-wp')) ?>" /> 92 92 </p> 93 93 </fieldset> -
nicechat/trunk/includes/class-nice-chat-to-wp-i18n.php
r1686045 r1688346 20 20 * so that it is ready for translation. 21 21 * 22 * @since 1.0. 022 * @since 1.0.1 23 23 * @package NiceChat_to_WP 24 24 * @subpackage NiceChat_to_WP/includes … … 31 31 * Load the plugin text domain for translation. 32 32 * 33 * @since 1.0. 033 * @since 1.0.1 34 34 */ 35 35 public function load_plugin_textdomain() { 36 36 37 load_plugin_textdomain(37 print load_plugin_textdomain( 38 38 'nice-chat-to-wp', 39 39 false, 40 dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'40 plugin_basename(NICE_CHAT_TO_WP_PLUGIN_PATH.'languages/') 41 41 ); 42 43 42 } 44 43 45 46 47 44 } -
nicechat/trunk/nice-chat-to-wp.php
r1686045 r1688346 20 20 die; 21 21 } 22 23 define( 'NICE_CHAT_TO_WP_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); 22 24 23 25 /**
Note: See TracChangeset
for help on using the changeset viewer.