when_exe 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE.ja.txt +25 -25
- data/LICENSE.txt +31 -31
- data/bin/locales.rb +2 -1
- data/bin/when.rb.config +1 -1
- data/lib/when_exe.rb +70 -48
- data/lib/when_exe/basictypes.rb +99 -65
- data/lib/when_exe/calendartypes.rb +40 -178
- data/lib/when_exe/coordinates.rb +156 -62
- data/lib/when_exe/core/compatibility.rb +10 -0
- data/lib/when_exe/core/extension.rb +40 -0
- data/lib/when_exe/ephemeris.rb +112 -50
- data/lib/when_exe/icalendar.rb +125 -91
- data/lib/when_exe/inspect.rb +100 -48
- data/lib/when_exe/locales/ar.rb +48 -48
- data/lib/when_exe/locales/bg.rb +1 -1
- data/lib/when_exe/locales/bs.rb +4 -2
- data/lib/when_exe/locales/ca.rb +1 -1
- data/lib/when_exe/locales/en_CA.rb +3 -4
- data/lib/when_exe/locales/en_IE.rb +88 -0
- data/lib/when_exe/locales/en_US.rb +87 -0
- data/lib/when_exe/locales/es_CR.rb +84 -0
- data/lib/when_exe/locales/es_EC.rb +85 -0
- data/lib/when_exe/locales/es_PA.rb +85 -0
- data/lib/when_exe/locales/fr.rb +39 -39
- data/lib/when_exe/locales/hu.rb +15 -14
- data/lib/when_exe/locales/it.rb +1 -1
- data/lib/when_exe/locales/ja.rb +2 -2
- data/lib/when_exe/locales/locales.rb +7 -0
- data/lib/when_exe/locales/lt.rb +21 -19
- data/lib/when_exe/locales/ms.rb +84 -0
- data/lib/when_exe/locales/nl.rb +2 -2
- data/lib/when_exe/locales/ru.rb +1 -1
- data/lib/when_exe/locales/uk.rb +1 -1
- data/lib/when_exe/locales/ur.rb +84 -0
- data/lib/when_exe/mini_application.rb +44 -43
- data/lib/when_exe/parts/enumerator.rb +3 -3
- data/lib/when_exe/parts/geometric_complex.rb +6 -1
- data/lib/when_exe/parts/locale.rb +49 -18
- data/lib/when_exe/parts/method_cash.rb +61 -0
- data/lib/when_exe/parts/resource.rb +221 -106
- data/lib/when_exe/parts/timezone.rb +70 -33
- data/lib/when_exe/region/bahai.rb +2 -2
- data/lib/when_exe/region/balinese.rb +40 -43
- data/lib/when_exe/region/chinese.rb +93 -33
- data/lib/when_exe/region/chinese_calendar.rb +117 -1
- data/lib/when_exe/region/chinese_epoch.rb +65 -10
- data/lib/when_exe/region/christian.rb +97 -2
- data/lib/when_exe/region/ephemeric_notes.rb +353 -0
- data/lib/when_exe/region/french.rb +1 -1
- data/lib/when_exe/region/geologicalage.rb +171 -171
- data/lib/when_exe/region/indian.rb +18 -14
- data/lib/when_exe/region/iranian.rb +1 -1
- data/lib/when_exe/region/japanese.rb +49 -12
- data/lib/when_exe/region/japanese_notes.rb +838 -507
- data/lib/when_exe/region/japanese_residues.rb +724 -662
- data/lib/when_exe/region/javanese.rb +7 -7
- data/lib/when_exe/region/mayan.rb +19 -17
- data/lib/when_exe/region/nihon_shoki.rb +3 -3
- data/lib/when_exe/region/residue.rb +29 -28
- data/lib/when_exe/region/shire.rb +2 -2
- data/lib/when_exe/region/tibetan.rb +87 -5
- data/lib/when_exe/region/world.rb +1 -1
- data/lib/when_exe/timestandard.rb +85 -7
- data/lib/when_exe/tmobjects.rb +32 -4
- data/lib/when_exe/tmposition.rb +104 -55
- data/lib/when_exe/tmreference.rb +157 -60
- data/lib/when_exe/version.rb +2 -2
- data/test/examples/JapanHolidays.ics +3 -3
- data/test/examples/JapanHolidaysRFC6350.ics +499 -0
- data/test/examples/Residue.m17n +3 -2
- data/test/examples/Spatial.m17n +3 -3
- data/test/examples/USA-DST.ics +27 -27
- data/test/examples/today.rb +1 -1
- data/test/test.rb +4 -2
- data/test/test/basictypes.rb +40 -15
- data/test/test/coordinates.rb +9 -4
- data/test/test/icalendar.rb +24 -14
- data/test/test/inspect.rb +5 -3
- data/test/test/parts.rb +11 -2
- data/test/test/region/chinese.rb +4 -4
- data/test/test/region/civil.rb +124 -0
- data/test/test/region/geologicalage.rb +5 -2
- data/test/test/region/indian.rb +2 -0
- data/test/test/region/japanese.rb +156 -1
- data/test/test/region/jewish.rb +3 -3
- data/test/test/region/m17n.rb +9 -9
- data/test/test/region/mayan.rb +122 -5
- data/test/test/region/residue.rb +1 -1
- data/test/test/tmobjects.rb +27 -64
- data/test/test/tmposition.rb +48 -1
- data/test/test/tmreference.rb +66 -4
- data/when_exe.gemspec +1 -1
- metadata +15 -6
data/lib/when_exe/locales/ar.rb
CHANGED
@@ -57,83 +57,83 @@ module When::BasicTypes
|
|
57
57
|
"datetime"=>
|
58
58
|
{"distance_in_words"=>
|
59
59
|
{"about_x_hours"=>
|
60
|
-
{"zero"=>"%{count} ساعات",
|
60
|
+
{"zero"=>"حوالي %{count} ساعات",
|
61
61
|
"one"=>"حوالي ساعة واحدة",
|
62
|
-
"two"=>"
|
63
|
-
"few"=>"%{count} ساعات",
|
64
|
-
"many"=>"%{count}
|
65
|
-
"other"=>"%{count}
|
62
|
+
"two"=>"حوالي ساعتان",
|
63
|
+
"few"=>"حوالي %{count} ساعات",
|
64
|
+
"many"=>"حوالي %{count} ساعة",
|
65
|
+
"other"=>"حوالي %{count} ساعة"},
|
66
66
|
"about_x_months"=>
|
67
|
-
{"zero"=>"%{count}
|
67
|
+
{"zero"=>"حوالي %{count} شهر",
|
68
68
|
"one"=>"حوالي شهر واحد",
|
69
|
-
"two"=>"
|
70
|
-
"few"=>"%{count} أشهر",
|
71
|
-
"many"=>"%{count}
|
72
|
-
"other"=>"%{count}
|
69
|
+
"two"=>"حوالي شهران",
|
70
|
+
"few"=>"حوالي %{count} أشهر",
|
71
|
+
"many"=>"حوالي %{count} شهر",
|
72
|
+
"other"=>"حوالي %{count} شهر"},
|
73
73
|
"about_x_years"=>
|
74
|
-
{"zero"=>"%{count} سنوات",
|
74
|
+
{"zero"=>"حوالي %{count} سنوات",
|
75
75
|
"one"=>"حوالي سنة",
|
76
|
-
"two"=>"
|
77
|
-
"few"=>"%{count} سنوات",
|
78
|
-
"many"=>"%{count}
|
79
|
-
"other"=>"%{count}
|
76
|
+
"two"=>"حوالي سنتان",
|
77
|
+
"few"=>"حوالي %{count} سنوات",
|
78
|
+
"many"=>"حوالي %{count} سنة",
|
79
|
+
"other"=>"حوالي %{count} سنة"},
|
80
80
|
"almost_x_years"=>
|
81
81
|
{"zero"=>"ما يقرب من %{count} سنة",
|
82
82
|
"one"=>"تقريبا سنة واحدة",
|
83
|
-
"two"=>"ما يقرب من
|
84
|
-
"few"=>"ما يقرب من %{count}
|
83
|
+
"two"=>"ما يقرب من سنتين",
|
84
|
+
"few"=>"ما يقرب من %{count} سنوات",
|
85
85
|
"many"=>"ما يقرب من %{count} سنة",
|
86
86
|
"other"=>"ما يقرب من %{count} سنة"},
|
87
87
|
"half_a_minute"=>"نصف دقيقة",
|
88
88
|
"less_than_x_minutes"=>
|
89
|
-
{"zero"=>"%{count}
|
89
|
+
{"zero"=>"أقل من %{count} دقيقة",
|
90
90
|
"one"=>"أقل من دقيقة",
|
91
|
-
"two"=>"
|
92
|
-
"few"=>"%{count} دقائق",
|
93
|
-
"many"=>"%{count}
|
94
|
-
"other"=>"%{count}
|
91
|
+
"two"=>"أقل من دقيقتان",
|
92
|
+
"few"=>"أقل من %{count} دقائق",
|
93
|
+
"many"=>"أقل من %{count} دقيقة",
|
94
|
+
"other"=>"أقل من %{count} دقيقة"},
|
95
95
|
"less_than_x_seconds"=>
|
96
|
-
{"zero"=>"%{count}
|
96
|
+
{"zero"=>"أقل من %{count} ثانية",
|
97
97
|
"one"=>"أقل من ثانية",
|
98
|
-
"two"=>"
|
99
|
-
"few"=>"%{count} ثوان",
|
100
|
-
"many"=>"%{count}
|
101
|
-
"other"=>"%{count}
|
98
|
+
"two"=>"أقل من ثانيتان",
|
99
|
+
"few"=>"أقل من %{count} ثوان",
|
100
|
+
"many"=>"أقل من %{count} ثانية",
|
101
|
+
"other"=>"أقل من %{count} ثانية"},
|
102
102
|
"over_x_years"=>
|
103
|
-
{"zero"=>"%{count}
|
103
|
+
{"zero"=>"أكثر من %{count} سنة",
|
104
104
|
"one"=>"أكثر من سنة",
|
105
|
-
"two"=>"
|
106
|
-
"few"=>"%{count} سنوات",
|
107
|
-
"many"=>"%{count}
|
108
|
-
"other"=>"%{count}
|
105
|
+
"two"=>"أكثر من سنتين",
|
106
|
+
"few"=>"أكثر من %{count} سنوات",
|
107
|
+
"many"=>"أكثر من %{count} سنة",
|
108
|
+
"other"=>"أكثر من %{count} سنة"},
|
109
109
|
"x_days"=>
|
110
|
-
{"zero"=>"%{count}
|
110
|
+
{"zero"=>"%{count} يوم",
|
111
111
|
"one"=>"يوم واحد",
|
112
|
-
"two"=>"
|
112
|
+
"two"=>"يومان",
|
113
113
|
"few"=>"%{count} أيام",
|
114
|
-
"many"=>"%{count}
|
115
|
-
"other"=>"%{count}
|
114
|
+
"many"=>"%{count} يوم",
|
115
|
+
"other"=>"%{count} يوم"},
|
116
116
|
"x_minutes"=>
|
117
|
-
{"zero"=>"%{count}
|
117
|
+
{"zero"=>"%{count} دقيقة",
|
118
118
|
"one"=>"دقيقة واحدة",
|
119
|
-
"two"=>"
|
119
|
+
"two"=>"دقيقتان",
|
120
120
|
"few"=>"%{count} دقائق",
|
121
|
-
"many"=>"%{count}
|
122
|
-
"other"=>"%{count}
|
121
|
+
"many"=>"%{count} دقيقة",
|
122
|
+
"other"=>"%{count} دقيقة"},
|
123
123
|
"x_months"=>
|
124
|
-
{"zero"=>"%{count}
|
124
|
+
{"zero"=>"%{count} شهر",
|
125
125
|
"one"=>"شهر واحد",
|
126
|
-
"two"=>"
|
126
|
+
"two"=>"شهران",
|
127
127
|
"few"=>"%{count} أشهر",
|
128
|
-
"many"=>"%{count}
|
129
|
-
"other"=>"%{count}
|
128
|
+
"many"=>"%{count} شهر",
|
129
|
+
"other"=>"%{count} شهر"},
|
130
130
|
"x_seconds"=>
|
131
|
-
{"zero"=>"%{count}
|
131
|
+
{"zero"=>"%{count} ثانية",
|
132
132
|
"one"=>"ثانية واحدة",
|
133
|
-
"two"=>"
|
133
|
+
"two"=>"ثانيتان",
|
134
134
|
"few"=>"%{count} ثوان",
|
135
|
-
"many"=>"%{count}
|
136
|
-
"other"=>"%{count}
|
135
|
+
"many"=>"%{count} ثانية",
|
136
|
+
"other"=>"%{count} ثانية"}},
|
137
137
|
"prompts"=>
|
138
138
|
{"day"=>"اليوم",
|
139
139
|
"hour"=>"ساعة",
|
data/lib/when_exe/locales/bg.rb
CHANGED
data/lib/when_exe/locales/bs.rb
CHANGED
@@ -14,7 +14,8 @@ module When::BasicTypes
|
|
14
14
|
{"date"=>
|
15
15
|
{"abbr_day_names"=>["ned", "pon", "uto", "sri", "čet", "pet", "sub"],
|
16
16
|
"abbr_month_names"=>
|
17
|
-
[
|
17
|
+
[nil,
|
18
|
+
"jan",
|
18
19
|
"feb",
|
19
20
|
"mar",
|
20
21
|
"apr",
|
@@ -31,7 +32,8 @@ module When::BasicTypes
|
|
31
32
|
"formats"=>
|
32
33
|
{"default"=>"%d.%m.%Y.", "long"=>"%e. %B %Y.", "short"=>"%e. %b. %Y."},
|
33
34
|
"month_names"=>
|
34
|
-
[
|
35
|
+
[nil,
|
36
|
+
"januar",
|
35
37
|
"februar",
|
36
38
|
"mart",
|
37
39
|
"april",
|
data/lib/when_exe/locales/ca.rb
CHANGED
@@ -54,10 +54,9 @@ module When::BasicTypes
|
|
54
54
|
"time"=>
|
55
55
|
{"am"=>"am",
|
56
56
|
"formats"=>
|
57
|
-
{"default"=>"%a, %d %b %Y %
|
58
|
-
"long"=>"%B %d, %Y %
|
59
|
-
"short"=>"%d %b %
|
60
|
-
"time"=>"%H:%M:%S %z"},
|
57
|
+
{"default"=>"%a, %d %b %Y %I:%M:%S %p %Z",
|
58
|
+
"long"=>"%B %d, %Y %I:%M %p",
|
59
|
+
"short"=>"%d %b %I:%M %p"},
|
61
60
|
"pm"=>"pm"},
|
62
61
|
"datetime"=>
|
63
62
|
{"distance_in_words"=>
|
@@ -0,0 +1,88 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
=begin
|
3
|
+
Copyright (C) 2012-2013 Takashi SUGA
|
4
|
+
|
5
|
+
You may use and/or modify this file according to the license described in the LICENSE.txt file included in this archive.
|
6
|
+
=end
|
7
|
+
|
8
|
+
module When::BasicTypes
|
9
|
+
class M17n
|
10
|
+
|
11
|
+
# from https://raw.github.com/svenfuchs/rails-i18n/master/rails/locale/en-IE.yml
|
12
|
+
|
13
|
+
Locale_en_IE =
|
14
|
+
{"date"=>
|
15
|
+
{"abbr_day_names"=>["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
16
|
+
"abbr_month_names"=>
|
17
|
+
[nil,
|
18
|
+
"Jan",
|
19
|
+
"Feb",
|
20
|
+
"Mar",
|
21
|
+
"Apr",
|
22
|
+
"May",
|
23
|
+
"Jun",
|
24
|
+
"Jul",
|
25
|
+
"Aug",
|
26
|
+
"Sep",
|
27
|
+
"Oct",
|
28
|
+
"Nov",
|
29
|
+
"Dec"],
|
30
|
+
"day_names"=>
|
31
|
+
["Sunday",
|
32
|
+
"Monday",
|
33
|
+
"Tuesday",
|
34
|
+
"Wednesday",
|
35
|
+
"Thursday",
|
36
|
+
"Friday",
|
37
|
+
"Saturday"],
|
38
|
+
"formats"=>{"default"=>"%d-%m-%Y", "long"=>"%d %B, %Y", "short"=>"%d %b"},
|
39
|
+
"month_names"=>
|
40
|
+
[nil,
|
41
|
+
"January",
|
42
|
+
"February",
|
43
|
+
"March",
|
44
|
+
"April",
|
45
|
+
"May",
|
46
|
+
"June",
|
47
|
+
"July",
|
48
|
+
"August",
|
49
|
+
"September",
|
50
|
+
"October",
|
51
|
+
"November",
|
52
|
+
"December"],
|
53
|
+
"order"=>[:day, :month, :year]},
|
54
|
+
"time"=>
|
55
|
+
{"am"=>"am",
|
56
|
+
"formats"=>
|
57
|
+
{"default"=>"%a, %d %b %Y %H:%M:%S %z",
|
58
|
+
"long"=>"%d %B, %Y %H:%M",
|
59
|
+
"short"=>"%d %b %H:%M",
|
60
|
+
"time"=>"%H:%M:%S %z"},
|
61
|
+
"pm"=>"pm"},
|
62
|
+
"datetime"=>
|
63
|
+
{"distance_in_words"=>
|
64
|
+
{"about_x_hours"=>{"one"=>"about 1 hour", "other"=>"about %{count} hours"},
|
65
|
+
"about_x_months"=>
|
66
|
+
{"one"=>"about 1 month", "other"=>"about %{count} months"},
|
67
|
+
"about_x_years"=>{"one"=>"about 1 year", "other"=>"about %{count} years"},
|
68
|
+
"almost_x_years"=>
|
69
|
+
{"one"=>"almost 1 year", "other"=>"almost %{count} years"},
|
70
|
+
"half_a_minute"=>"half a minute",
|
71
|
+
"less_than_x_minutes"=>
|
72
|
+
{"one"=>"less than a minute", "other"=>"less than %{count} minutes"},
|
73
|
+
"less_than_x_seconds"=>
|
74
|
+
{"one"=>"less than 1 second", "other"=>"less than %{count} seconds"},
|
75
|
+
"over_x_years"=>{"one"=>"over 1 year", "other"=>"over %{count} years"},
|
76
|
+
"x_days"=>{"one"=>"1 day", "other"=>"%{count} days"},
|
77
|
+
"x_minutes"=>{"one"=>"1 minute", "other"=>"%{count} minutes"},
|
78
|
+
"x_months"=>{"one"=>"1 month", "other"=>"%{count} months"},
|
79
|
+
"x_seconds"=>{"one"=>"1 second", "other"=>"%{count} seconds"}},
|
80
|
+
"prompts"=>
|
81
|
+
{"day"=>"Day",
|
82
|
+
"hour"=>"Hour",
|
83
|
+
"minute"=>"Minute",
|
84
|
+
"month"=>"Month",
|
85
|
+
"second"=>"Seconds",
|
86
|
+
"year"=>"Year"}}}
|
87
|
+
end
|
88
|
+
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
=begin
|
3
|
+
Copyright (C) 2012-2013 Takashi SUGA
|
4
|
+
|
5
|
+
You may use and/or modify this file according to the license described in the LICENSE.txt file included in this archive.
|
6
|
+
=end
|
7
|
+
|
8
|
+
module When::BasicTypes
|
9
|
+
class M17n
|
10
|
+
|
11
|
+
# from https://raw.github.com/svenfuchs/rails-i18n/master/rails/locale/en-US.yml
|
12
|
+
|
13
|
+
Locale_en_US =
|
14
|
+
{"date"=>
|
15
|
+
{"abbr_day_names"=>["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
16
|
+
"abbr_month_names"=>
|
17
|
+
[nil,
|
18
|
+
"Jan",
|
19
|
+
"Feb",
|
20
|
+
"Mar",
|
21
|
+
"Apr",
|
22
|
+
"May",
|
23
|
+
"Jun",
|
24
|
+
"Jul",
|
25
|
+
"Aug",
|
26
|
+
"Sep",
|
27
|
+
"Oct",
|
28
|
+
"Nov",
|
29
|
+
"Dec"],
|
30
|
+
"day_names"=>
|
31
|
+
["Sunday",
|
32
|
+
"Monday",
|
33
|
+
"Tuesday",
|
34
|
+
"Wednesday",
|
35
|
+
"Thursday",
|
36
|
+
"Friday",
|
37
|
+
"Saturday"],
|
38
|
+
"formats"=>{"default"=>"%m-%d-%Y", "long"=>"%B %d, %Y", "short"=>"%b %d"},
|
39
|
+
"month_names"=>
|
40
|
+
[nil,
|
41
|
+
"January",
|
42
|
+
"February",
|
43
|
+
"March",
|
44
|
+
"April",
|
45
|
+
"May",
|
46
|
+
"June",
|
47
|
+
"July",
|
48
|
+
"August",
|
49
|
+
"September",
|
50
|
+
"October",
|
51
|
+
"November",
|
52
|
+
"December"],
|
53
|
+
"order"=>[:month, :day, :year]},
|
54
|
+
"time"=>
|
55
|
+
{"am"=>"am",
|
56
|
+
"formats"=>
|
57
|
+
{"default"=>"%a, %d %b %Y %I:%M:%S %p %Z",
|
58
|
+
"long"=>"%B %d, %Y %I:%M %p",
|
59
|
+
"short"=>"%d %b %I:%M %p"},
|
60
|
+
"pm"=>"pm"},
|
61
|
+
"datetime"=>
|
62
|
+
{"distance_in_words"=>
|
63
|
+
{"about_x_hours"=>{"one"=>"about 1 hour", "other"=>"about %{count} hours"},
|
64
|
+
"about_x_months"=>
|
65
|
+
{"one"=>"about 1 month", "other"=>"about %{count} months"},
|
66
|
+
"about_x_years"=>{"one"=>"about 1 year", "other"=>"about %{count} years"},
|
67
|
+
"almost_x_years"=>
|
68
|
+
{"one"=>"almost 1 year", "other"=>"almost %{count} years"},
|
69
|
+
"half_a_minute"=>"half a minute",
|
70
|
+
"less_than_x_minutes"=>
|
71
|
+
{"one"=>"less than a minute", "other"=>"less than %{count} minutes"},
|
72
|
+
"less_than_x_seconds"=>
|
73
|
+
{"one"=>"less than 1 second", "other"=>"less than %{count} seconds"},
|
74
|
+
"over_x_years"=>{"one"=>"over 1 year", "other"=>"over %{count} years"},
|
75
|
+
"x_days"=>{"one"=>"1 day", "other"=>"%{count} days"},
|
76
|
+
"x_minutes"=>{"one"=>"1 minute", "other"=>"%{count} minutes"},
|
77
|
+
"x_months"=>{"one"=>"1 month", "other"=>"%{count} months"},
|
78
|
+
"x_seconds"=>{"one"=>"1 second", "other"=>"%{count} seconds"}},
|
79
|
+
"prompts"=>
|
80
|
+
{"day"=>"Day",
|
81
|
+
"hour"=>"Hour",
|
82
|
+
"minute"=>"Minute",
|
83
|
+
"month"=>"Month",
|
84
|
+
"second"=>"Seconds",
|
85
|
+
"year"=>"Year"}}}
|
86
|
+
end
|
87
|
+
end
|
@@ -0,0 +1,84 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
=begin
|
3
|
+
Copyright (C) 2012-2013 Takashi SUGA
|
4
|
+
|
5
|
+
You may use and/or modify this file according to the license described in the LICENSE.txt file included in this archive.
|
6
|
+
=end
|
7
|
+
|
8
|
+
module When::BasicTypes
|
9
|
+
class M17n
|
10
|
+
|
11
|
+
# from https://raw.github.com/svenfuchs/rails-i18n/master/rails/locale/es-CR.yml
|
12
|
+
|
13
|
+
Locale_es_CR =
|
14
|
+
{"date"=>
|
15
|
+
{"abbr_day_names"=>["dom", "lun", "mar", "mié", "jue", "vie", "sáb"],
|
16
|
+
"abbr_month_names"=>
|
17
|
+
[nil,
|
18
|
+
"ene",
|
19
|
+
"feb",
|
20
|
+
"mar",
|
21
|
+
"abr",
|
22
|
+
"may",
|
23
|
+
"jun",
|
24
|
+
"jul",
|
25
|
+
"ago",
|
26
|
+
"sep",
|
27
|
+
"oct",
|
28
|
+
"nov",
|
29
|
+
"dic"],
|
30
|
+
"day_names"=>
|
31
|
+
["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"],
|
32
|
+
"formats"=>
|
33
|
+
{"default"=>"%d/%m/%Y", "long"=>"%A, %d de %B de %Y", "short"=>"%d de %b"},
|
34
|
+
"month_names"=>
|
35
|
+
[nil,
|
36
|
+
"enero",
|
37
|
+
"febrero",
|
38
|
+
"marzo",
|
39
|
+
"abril",
|
40
|
+
"mayo",
|
41
|
+
"junio",
|
42
|
+
"julio",
|
43
|
+
"agosto",
|
44
|
+
"septiembre",
|
45
|
+
"octubre",
|
46
|
+
"noviembre",
|
47
|
+
"diciembre"],
|
48
|
+
"order"=>[:day, :month, :year]},
|
49
|
+
"time"=>
|
50
|
+
{"am"=>"am",
|
51
|
+
"formats"=>
|
52
|
+
{"default"=>"%a, %d de %b de %Y a las %H:%M:%S %Z",
|
53
|
+
"long"=>"%A, %d de %B de %Y a las %I:%M %p",
|
54
|
+
"short"=>"%d de %b a las %H:%M hrs",
|
55
|
+
"time"=>"%H:%M:%S %Z"},
|
56
|
+
"pm"=>"pm"},
|
57
|
+
"datetime"=>
|
58
|
+
{"distance_in_words"=>
|
59
|
+
{"about_x_hours"=>
|
60
|
+
{"one"=>"cerca de 1 hora", "other"=>"cerca de %{count} horas"},
|
61
|
+
"about_x_months"=>
|
62
|
+
{"one"=>"cerca de 1 mes", "other"=>"cerca de %{count} meses"},
|
63
|
+
"about_x_years"=>
|
64
|
+
{"one"=>"cerca de 1 año", "other"=>"cerca de %{count} años"},
|
65
|
+
"almost_x_years"=>{"one"=>"casi 1 año", "other"=>"casi %{count} años"},
|
66
|
+
"half_a_minute"=>"medio minuto",
|
67
|
+
"less_than_x_minutes"=>
|
68
|
+
{"one"=>"menos de 1 minuto", "other"=>"menos de %{count} minutos"},
|
69
|
+
"less_than_x_seconds"=>
|
70
|
+
{"one"=>"menos de 1 segundo", "other"=>"menos de %{count} segundos"},
|
71
|
+
"over_x_years"=>{"one"=>"más de 1 año", "other"=>"más de %{count} años"},
|
72
|
+
"x_days"=>{"one"=>"1 día", "other"=>"%{count} días"},
|
73
|
+
"x_minutes"=>{"one"=>"1 minuto", "other"=>"%{count} minutos"},
|
74
|
+
"x_months"=>{"one"=>"1 mes", "other"=>"%{count} meses"},
|
75
|
+
"x_seconds"=>{"one"=>"1 segundo", "other"=>"%{count} segundos"}},
|
76
|
+
"prompts"=>
|
77
|
+
{"day"=>"Día",
|
78
|
+
"hour"=>"Hora",
|
79
|
+
"minute"=>"Minuto",
|
80
|
+
"month"=>"Mes",
|
81
|
+
"second"=>"Segundos",
|
82
|
+
"year"=>"Año"}}}
|
83
|
+
end
|
84
|
+
end
|