WordPress.org

Ready to get started?Download WordPress

Forums

Simple Ajax Chat
[resolved] Time in Dutch (2 posts)

  1. Buienradars
    Member
    Posted 4 months ago #

    I translate it a little bit but it says Laatste Bericht: 7 minutes geleden.
    Minutes must be minuten.
    Hours must be uren.
    Days must be dagen.

    Can i fix that ?

    https://wordpress.org/plugins/simple-ajax-chat/

  2. Buienradars
    Member
    Posted 4 months ago #

    Sorry i found it in the simple-ajax-chat-core file.
    I changed de s for a n

    $print = ($count == 1) ? '1 '.$name : "$count {$name}n";
    	if ($i + 1 < $j) {
    		$seconds2 = $chunks[$i + 1][0];
    		$name2    = $chunks[$i + 1][1];
    
    		if (($count2 = floor(($since - ($seconds * $count)) / $seconds2)) != 0) {
    			$print .= ($count2 == 1) ? ', 1 ' . $name2 : ", $count2 {$name2}n";

Reply

You must log in to post.

About this Plugin

About this Topic

Tags