sinatra-r18n 0.4.12 → 0.4.13
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +3 -3
- data/README.rdoc +2 -2
- metadata +7 -7
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
sinatra-r18n (0.4.
|
5
|
-
r18n-core (= 0.4.
|
4
|
+
sinatra-r18n (0.4.13)
|
5
|
+
r18n-core (= 0.4.13)
|
6
6
|
sinatra (>= 1.3)
|
7
7
|
|
8
8
|
PATH
|
9
9
|
remote: ../r18n-core/
|
10
10
|
specs:
|
11
|
-
r18n-core (0.4.
|
11
|
+
r18n-core (0.4.13)
|
12
12
|
|
13
13
|
GEM
|
14
14
|
remote: http://rubygems.org/
|
data/README.rdoc
CHANGED
@@ -21,7 +21,7 @@ information.
|
|
21
21
|
2. Add file with translation to <tt>./i18n/</tt> with language code in file name
|
22
22
|
(for example, <tt>en.yml</tt> for English or <tt>en-us.yml</tt> USA English
|
23
23
|
dialect). For example, <tt>./i18n/en.yml</tt>:
|
24
|
-
|
24
|
+
|
25
25
|
post:
|
26
26
|
friends: Post only for friends
|
27
27
|
tags: Post tags is %1
|
@@ -73,7 +73,7 @@ information.
|
|
73
73
|
%ul
|
74
74
|
- r18n.available_locales.each do |locale|
|
75
75
|
%li
|
76
|
-
%a
|
76
|
+
%a( href="/#{locale.code}/" )= locale.title
|
77
77
|
|
78
78
|
== Configuration
|
79
79
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-r18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 13
|
10
|
+
version: 0.4.13
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andrey "A.I." Sitnik
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-12-
|
18
|
+
date: 2011-12-10 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
type: :runtime
|
@@ -41,12 +41,12 @@ dependencies:
|
|
41
41
|
requirements:
|
42
42
|
- - "="
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
hash:
|
44
|
+
hash: 21
|
45
45
|
segments:
|
46
46
|
- 0
|
47
47
|
- 4
|
48
|
-
-
|
49
|
-
version: 0.4.
|
48
|
+
- 13
|
49
|
+
version: 0.4.13
|
50
50
|
requirement: *id002
|
51
51
|
- !ruby/object:Gem::Dependency
|
52
52
|
type: :development
|