rails-timeago 2.7.1 → 2.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/javascripts/rails-timeago-all.js +1 -0
- data/lib/rails-timeago/version.rb +2 -2
- data/vendor/assets/javascripts/jquery.timeago.js +3 -1
- data/vendor/assets/javascripts/locales/jquery.timeago.jv.js +18 -0
- data/vendor/assets/javascripts/locales/jquery.timeago.pt-br.js +14 -12
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7089deb929bf93a15ca800fd50d3cdd90fa667be
|
4
|
+
data.tar.gz: 0719c9a6979d5406342e64bfaea4ff107cbb18fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b33c0956c29ddde20a09e51f352cd6088bc0f06febfc203e0653667068220ac18d0a5426df9dbc572bd80b40b144672c6e60bf078172f95818ee39266b011c7a
|
7
|
+
data.tar.gz: 31d31d98f3d8a719fcae78363228f50cfcf0ac9ef4be8f4e01c210aaa079ee7aaceee82d0d99cc89d580a0c1f6adbf5ade5d7379164018c9d3811398acac6ebb
|
@@ -24,6 +24,7 @@
|
|
24
24
|
//= require locales/jquery.timeago.is.js
|
25
25
|
//= require locales/jquery.timeago.it.js
|
26
26
|
//= require locales/jquery.timeago.ja.js
|
27
|
+
//= require locales/jquery.timeago.jv.js
|
27
28
|
//= require locales/jquery.timeago.ko.js
|
28
29
|
//= require locales/jquery.timeago.lt.js
|
29
30
|
//= require locales/jquery.timeago.mk.js
|
@@ -133,7 +133,9 @@
|
|
133
133
|
}
|
134
134
|
},
|
135
135
|
update: function(time){
|
136
|
-
|
136
|
+
var parsedTime = $t.parse(time);
|
137
|
+
$(this).data('timeago', { datetime: parsedTime });
|
138
|
+
if($t.settings.localeTitle) $(this).attr("title", parsedTime.toLocaleString());
|
137
139
|
refresh.apply(this);
|
138
140
|
},
|
139
141
|
updateFromDOM: function(){
|
@@ -0,0 +1,18 @@
|
|
1
|
+
// Javanesse (Boso Jowo)
|
2
|
+
jQuery.timeago.settings.strings["jv"] = {
|
3
|
+
prefixAgo: null,
|
4
|
+
prefixFromNow: null,
|
5
|
+
suffixAgo: "kepungkur",
|
6
|
+
suffixFromNow: "seko saiki",
|
7
|
+
seconds: "kurang seko sakmenit",
|
8
|
+
minute: "kurang luwih sakmenit",
|
9
|
+
minutes: "%d menit",
|
10
|
+
hour: "kurang luwih sakjam",
|
11
|
+
hours: "kurang luwih %d jam",
|
12
|
+
day: "sedina",
|
13
|
+
days: "%d dina",
|
14
|
+
month: "kurang luwih sewulan",
|
15
|
+
months: "%d wulan",
|
16
|
+
year: "kurang luwih setahun",
|
17
|
+
years: "%d tahun"
|
18
|
+
};
|
@@ -1,16 +1,18 @@
|
|
1
1
|
// Brazilian Portuguese
|
2
2
|
jQuery.timeago.settings.strings["pt-br"] = {
|
3
|
-
|
4
|
-
|
3
|
+
prefixAgo: "há",
|
4
|
+
prefixFromNow: "em",
|
5
|
+
suffixAgo: null,
|
6
|
+
suffixFromNow: null,
|
5
7
|
seconds: "alguns segundos",
|
6
|
-
minute: "
|
7
|
-
minutes: "
|
8
|
-
hour: "
|
9
|
-
hours: "
|
10
|
-
day: "
|
11
|
-
days: "
|
12
|
-
month: "
|
13
|
-
months: "
|
14
|
-
year: "
|
15
|
-
years: "
|
8
|
+
minute: "um minuto",
|
9
|
+
minutes: "%d minutos",
|
10
|
+
hour: "uma hora",
|
11
|
+
hours: "%d horas",
|
12
|
+
day: "um dia",
|
13
|
+
days: "%d dias",
|
14
|
+
month: "um mês",
|
15
|
+
months: "%d meses",
|
16
|
+
year: "um ano",
|
17
|
+
years: "%d anos"
|
16
18
|
};
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-timeago
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Graichen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -99,6 +99,7 @@ files:
|
|
99
99
|
- vendor/assets/javascripts/locales/jquery.timeago.is.js
|
100
100
|
- vendor/assets/javascripts/locales/jquery.timeago.it.js
|
101
101
|
- vendor/assets/javascripts/locales/jquery.timeago.ja.js
|
102
|
+
- vendor/assets/javascripts/locales/jquery.timeago.jv.js
|
102
103
|
- vendor/assets/javascripts/locales/jquery.timeago.ko.js
|
103
104
|
- vendor/assets/javascripts/locales/jquery.timeago.lt.js
|
104
105
|
- vendor/assets/javascripts/locales/jquery.timeago.mk.js
|
@@ -144,4 +145,3 @@ signing_key:
|
|
144
145
|
specification_version: 4
|
145
146
|
summary: A Rails Helper to create time tags usable for jQuery Timeago plugin
|
146
147
|
test_files: []
|
147
|
-
has_rdoc:
|