vendor/assets/javascripts/locales/jquery.timeago.ro.js in rails-timeago-2.16.0 vs vendor/assets/javascripts/locales/jquery.timeago.ro.js in rails-timeago-2.17.1
- old
+ new
@@ -1,18 +1,29 @@
-// Romanian
-jQuery.timeago.settings.strings["ro"] = {
- prefixAgo: "acum",
- prefixFromNow: "in timp de",
- suffixAgo: "",
- suffixFromNow: "",
- seconds: "mai putin de un minut",
- minute: "un minut",
- minutes: "%d minute",
- hour: "o ora",
- hours: "%d ore",
- day: "o zi",
- days: "%d zile",
- month: "o luna",
- months: "%d luni",
- year: "un an",
- years: "%d ani"
-};
+(function (factory) {
+ if (typeof define === 'function' && define.amd) {
+ define(['jquery'], factory);
+ } else if (typeof module === 'object' && typeof module.exports === 'object') {
+ factory(require('jquery'));
+ } else {
+ factory(jQuery);
+ }
+}(function (jQuery) {
+ // Romanian
+ jQuery.timeago.settings.strings["ro"] = {
+ prefixAgo: "acum",
+ prefixFromNow: "in timp de",
+ suffixAgo: "",
+ suffixFromNow: "",
+ seconds: "mai putin de un minut",
+ minute: "un minut",
+ minutes: "%d minute",
+ hour: "o ora",
+ hours: "%d ore",
+ day: "o zi",
+ days: "%d zile",
+ month: "o luna",
+ months: "%d luni",
+ year: "un an",
+ years: "%d ani"
+ };
+}));
+