rails-timeago 2.2.3 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +1 -3
- data/lib/assets/javascripts/rails-timeago-all.js +1 -0
- data/lib/rails-timeago/version.rb +2 -2
- data/vendor/assets/javascripts/locales/jquery.timeago.lt.js +20 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 286fa0f5a4b2883116b7be8c2adc65d625599107
|
4
|
+
data.tar.gz: 191039195eb205496bd5f72df652a02883c0aa9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 961e46c152c7485b2d90107b52c507392e5bbc2c75ad4498538f3ffd9d0a3d3c59dd3587d3453b5b15d2a10e37b560b8b5873309ad14fc6176051fb4378cad5f
|
7
|
+
data.tar.gz: 5b18185280ccff069955b24276dfed295a19ecbd2f868d3ff8cbfd4fe0c9d4d6b9dc6de1c93991297b08fd18f9a197b22059591134fa296215d6ed3a51c6f4ab
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -102,9 +102,7 @@ Do not forget to require the needed locale files by either require `rails-timeag
|
|
102
102
|
|
103
103
|
**rails-timeago** includes locale files for the following locales taken from [jQuery Timeago](https://github.com/rmm5t/jquery-timeago).
|
104
104
|
|
105
|
-
>
|
106
|
-
> he, hr, hu, hy, id, it, ja, ko, mk, nl, no, pl, pt, pt-br, ro, ru,
|
107
|
-
> sv, tr, uk, uz, zh-CN, zh-TW
|
105
|
+
> de cy pl mk zh-CN bs en-short it fi es uk lt zh-TW sk hy ca pt el sv ar no fa fr pt-br tr he bg ko uz cz sl hu id hr ru nl fr-short da ja ro th
|
108
106
|
|
109
107
|
Your customized jQuery locale files must be changed to work with **rails-timeago 2**. Instead of defining your locale strings as `jQuery.timeago.settings.strings` you need to define them like this:
|
110
108
|
|
@@ -11,6 +11,7 @@
|
|
11
11
|
//= require locales/jquery.timeago.fi.js
|
12
12
|
//= require locales/jquery.timeago.es.js
|
13
13
|
//= require locales/jquery.timeago.uk.js
|
14
|
+
//= require locales/jquery.timeago.lt.js
|
14
15
|
//= require locales/jquery.timeago.zh-TW.js
|
15
16
|
//= require locales/jquery.timeago.sk.js
|
16
17
|
//= require locales/jquery.timeago.hy.js
|
@@ -0,0 +1,20 @@
|
|
1
|
+
//Lithuanian
|
2
|
+
jQuery.timeago.settings.strings["lt"] = {
|
3
|
+
prefixAgo: "prieš",
|
4
|
+
prefixFromNow: null,
|
5
|
+
suffixAgo: null,
|
6
|
+
suffixFromNow: "nuo dabar",
|
7
|
+
seconds: "%d sek.",
|
8
|
+
minute: "min.",
|
9
|
+
minutes: "%d min.",
|
10
|
+
hour: "val.",
|
11
|
+
hours: "%d val.",
|
12
|
+
day: "1 d.",
|
13
|
+
days: "%d d.",
|
14
|
+
month: "mėn.",
|
15
|
+
months: "%d mėn.",
|
16
|
+
year: "metus",
|
17
|
+
years: "%d metus",
|
18
|
+
wordSeparator: " ",
|
19
|
+
numbers: []
|
20
|
+
};
|
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.3.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-04-
|
11
|
+
date: 2013-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -98,6 +98,7 @@ files:
|
|
98
98
|
- vendor/assets/javascripts/locales/jquery.timeago.it.js
|
99
99
|
- vendor/assets/javascripts/locales/jquery.timeago.ja.js
|
100
100
|
- vendor/assets/javascripts/locales/jquery.timeago.ko.js
|
101
|
+
- vendor/assets/javascripts/locales/jquery.timeago.lt.js
|
101
102
|
- vendor/assets/javascripts/locales/jquery.timeago.mk.js
|
102
103
|
- vendor/assets/javascripts/locales/jquery.timeago.nl.js
|
103
104
|
- vendor/assets/javascripts/locales/jquery.timeago.no.js
|