From d3b1c9087f67ff2d29fc9c1611d3e07dc21dc1f3 Mon Sep 17 00:00:00 2001 From: Michael Magill Date: Tue, 29 Apr 2014 15:42:31 +0000 Subject: [PATCH] I was getting a 404 because it was looking for en_us, not just en. The en template may need to be copied for other English locales like en_GB, en_CA, etc. The 404 only showed up in Firefox's developer console did not appear to affect functionality, so this is just cleanup. --- .../main/webapp/js/jquery.timeago.en_us.js | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 wise-webapp/src/main/webapp/js/jquery.timeago.en_us.js diff --git a/wise-webapp/src/main/webapp/js/jquery.timeago.en_us.js b/wise-webapp/src/main/webapp/js/jquery.timeago.en_us.js new file mode 100644 index 00000000..a6d4266a --- /dev/null +++ b/wise-webapp/src/main/webapp/js/jquery.timeago.en_us.js @@ -0,0 +1,20 @@ +// English (US) +jQuery.timeago.settings.strings = { + prefixAgo: null, + prefixFromNow: null, + suffixAgo: "ago", + suffixFromNow: "from now", + seconds: "less than a minute", + minute: "about a minute", + minutes: "%d minutes", + hour: "about an hour", + hours: "about %d hours", + day: "a day", + days: "%d days", + month: "about a month", + months: "%d months", + year: "about a year", + years: "%d years", + wordSeparator: " ", + numbers: [] +}; \ No newline at end of file