i18n-timezones 0.0.6 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/i18n_timezones/timezone.rb +1 -1
- data/lib/i18n_timezones/version.rb +1 -1
- data/rails/locale/es.yml +2 -1
- data/rails/locale/fr.yml +2 -2
- metadata +12 -12
@@ -2,7 +2,7 @@ module ActiveSupport
|
|
2
2
|
class TimeZone
|
3
3
|
def to_s
|
4
4
|
offset = "(GMT#{formatted_offset})"
|
5
|
-
translated_name = I18n.t(name, :scope => :timezones, :default => name)
|
5
|
+
translated_name = I18n.t(name, :scope => :timezones, :default => name, :separator => "\001")
|
6
6
|
%(#{offset} #{translated_name})
|
7
7
|
end
|
8
8
|
end
|
data/rails/locale/es.yml
CHANGED
data/rails/locale/fr.yml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
fr:
|
2
2
|
timezones:
|
3
3
|
"American Samoa": "Samoa américaines" # -11:00
|
4
|
-
|
4
|
+
"International Date Line West": "International Date Line West" # -11:00
|
5
5
|
"Midway Island": "Îles Midway" # -11:00
|
6
6
|
"Hawaii": "Hawaï" # -10:00
|
7
7
|
"Alaska": "Alaska" # -09:00
|
@@ -31,7 +31,7 @@ fr:
|
|
31
31
|
"Brasilia": "Brasilia" # -03:00
|
32
32
|
"Buenos Aires": "Buenos Aires" # -03:00
|
33
33
|
"Greenland": "Groenland" # -03:00
|
34
|
-
|
34
|
+
"Mid-Atlantic": "Mid-Atlantic" # -02:00
|
35
35
|
"Azores": "Açores" # -01:00
|
36
36
|
"Cape Verde Is.": "Cap-Vert" # -01:00
|
37
37
|
"Casablanca": "Casablanca" # +00:00
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: i18n-timezones
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-07-08 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: i18n
|
16
|
-
requirement: &
|
16
|
+
requirement: &70334014808680 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0.5'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70334014808680
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
|
-
name:
|
27
|
-
requirement: &
|
26
|
+
name: rails
|
27
|
+
requirement: &70334014808000 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 3.0.0
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70334014808000
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rspec-rails
|
38
|
-
requirement: &
|
38
|
+
requirement: &70334014807480 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 2.7.0
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70334014807480
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: i18n-spec
|
49
|
-
requirement: &
|
49
|
+
requirement: &70334014806960 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 0.1.1
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70334014806960
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: spork
|
60
|
-
requirement: &
|
60
|
+
requirement: &70334014806340 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,7 +65,7 @@ dependencies:
|
|
65
65
|
version: 1.0rc
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70334014806340
|
69
69
|
description: The purpose of this gem is to simply provide timezone translations. The
|
70
70
|
gem is intended to be easy to combine with other gems that require i18n timezone
|
71
71
|
translations so we can have common i18n timezone translation gem.
|