Support Forum

  • Page:
  • 1

Translation

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

I want to translate the time phrases of jTweet in Dutch. Which file(s) does jTweet use to generate the time?
  • Mandy Kaas's Avatar
  • Mandy Kaas
  • 6 Month Developer
  • 37 posts
  • 2 Thanks
  • Karma: 0
The administrator has disabled public write access.
Hi,

You can find them in this file:

modules/mod_jTweet/js/jquery.tweet.js
function format_relative_time(time_ago) {
			if ( time_ago.days > 2 )     return 'about ' + time_ago.days + ' days ago';
			if ( time_ago.hours > 24 )   return 'about a day ago';
			if ( time_ago.hours > 2 )    return 'about ' + time_ago.hours + ' hours ago';
			if ( time_ago.minutes > 45 ) return 'about an hour ago';
			if ( time_ago.minutes > 2 )  return 'about ' + time_ago.minutes + ' minutes ago';
			if ( time_ago.seconds > 1 )  return 'about ' + time_ago.seconds + ' seconds ago';
			return 'just now';
		}

Regards,
  • vietvu's Avatar
  • vietvu
  • 12 Month basic
  • 605 posts
  • 51 Thanks
  • Karma: 22
Last Edit: 6 years 9 months ago by vietvu.
The administrator has disabled public write access.
Great! Thank you!
  • Mandy Kaas's Avatar
  • Mandy Kaas
  • 6 Month Developer
  • 37 posts
  • 2 Thanks
  • Karma: 0
The administrator has disabled public write access.
Hi Mandy,

You are welcome.

Regards,
  • vietvu's Avatar
  • vietvu
  • 12 Month basic
  • 605 posts
  • 51 Thanks
  • Karma: 22
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers