CounterpartyXCP/counterwallet — pull request #583 by digital-dreamer (2014-11-13 13:01:04+00:00)
Title: Add i18n support for timeago

Localizes expressions like “2 minutes ago”. jQuery TimeAgo has a lot of .js files for localization bundled with it, but it lacks a way to choose them automatically from JavaScript, so I wrote a simple function for that.

To test it easily: change language, log in, and click on notifications icon. The “Last updated” status uses TimeAgo, so it will be translated.