Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter BenM

    (@alysko)

    chat-admin.php :

    line 186 $chat_report = __('Currently there', 'sac');
    line 606 : <p><strong><?php _e('Delete all plugin settings', 'sac'); ?></strong></p>

    Thread Starter BenM

    (@alysko)

    Wowowow !

    $chat_report = __('Currently there', 'sac');
    
    	if (!empty($chats)) {
    		if (count($chats) == 1) {
    			$chat_report .= __(' is ', 'sac');
    		} else {
    			$chat_report .= __(' are ', 'sac');
    		}
    		$chat_report .= count($chats) . __(' chat message', 'sac');
    		if (count($chats) == 1) {
    			$chat_report .= __(' (your default message)', 'sac');
    		} else {
    			$chat_report .= __('s', 'sac');
    		}
    	} else {
    		$chat_report .= __('0 chat messages. Please add at least one message via the chat box.', 'sac');
    	} ?>

    You should correct this using _n !

    Thread Starter BenM

    (@alysko)

    chat-admin, line 539 : <div><span><?php sprintf( __('Last Message %s ago', 'sac'), sac_time_since($chat->time) ); ?></span></div>

    So, you should really read i18n page from WordPress Codex

    Thread Starter BenM

    (@alysko)

    Another one, simple-ajax-chat-admin.php line561 :
    <input type="submit" name="sac_truncate" class="button-secondary" id="mm_truncate_all" value="<?php __('Delete all chat messages', 'sac'); ?>" />

    Thread Starter BenM

    (@alysko)

    Not possible to edit message on wordpress forum ???

    For the previous, it’s _e(‘Delete all chat messages’, ‘sac’), not __()

    Plugin Author Jeff Starr

    (@specialk)

    Hi alysko, thank you for the feedback – all of these items have been fixed up in the next version of the plugin (v20151110).

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘French translation’ is closed to new replies.