sinatra-r18n 0.4.8 → 0.4.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/README.rdoc +3 -2
  2. metadata +9 -9
@@ -18,8 +18,9 @@ information.
18
18
  == How To
19
19
 
20
20
  1. Create translations dir <tt>./i18n/</tt>.
21
- 2. Add file with translation in some language. For example
22
- <tt>./i18n/en.yml</tt>:
21
+ 2. Add file with translation to <tt>./i18n/</tt> with language code in file name
22
+ (for example, <tt>en.yml</tt> for English or <tt>en-us.yml</tt> USA English
23
+ dialect). For example, <tt>./i18n/en.yml</tt>:
23
24
 
24
25
  post:
25
26
  friends: Post only for friends
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: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 8
10
- version: 0.4.8
9
+ - 9
10
+ version: 0.4.9
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: 2010-09-22 00:00:00 +04:00
18
+ date: 2011-02-06 00:00:00 +03:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -26,12 +26,12 @@ dependencies:
26
26
  requirements:
27
27
  - - "="
28
28
  - !ruby/object:Gem::Version
29
- hash: 31
29
+ hash: 29
30
30
  segments:
31
31
  - 0
32
32
  - 4
33
- - 8
34
- version: 0.4.8
33
+ - 9
34
+ version: 0.4.9
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  description: " A Sinatra extension that provides i18n support to translate your web\n application. It is just a wrapper for R18n core library.\n It has nice Ruby-style syntax, filters, flexible locales, custom loaders,\n translation support for any classes, time and number localization, several\n user language support, agnostic core package with out-of-box support for\n Rails, Sinatra, Merb and desktop applications.\n"
@@ -48,10 +48,10 @@ files:
48
48
  - LICENSE
49
49
  - README.rdoc
50
50
  - spec/spec_helper.rb
51
- - spec/app/views/post.erb
52
51
  - spec/app/i18n/en.yml
53
52
  - spec/app/i18n/ru.yml
54
53
  - spec/app/app.rb
54
+ - spec/app/views/post.erb
55
55
  - spec/sinatra-r18n_spec.rb
56
56
  has_rdoc: true
57
57
  homepage: http://r18n.rubyforge.org/
@@ -89,8 +89,8 @@ specification_version: 3
89
89
  summary: A Sinatra extension that provides i18n support to translate your web application.
90
90
  test_files:
91
91
  - spec/spec_helper.rb
92
- - spec/app/views/post.erb
93
92
  - spec/app/i18n/en.yml
94
93
  - spec/app/i18n/ru.yml
95
94
  - spec/app/app.rb
95
+ - spec/app/views/post.erb
96
96
  - spec/sinatra-r18n_spec.rb