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.
Files changed (93) hide show
  1. data/LICENSE.ja.txt +25 -25
  2. data/LICENSE.txt +31 -31
  3. data/bin/locales.rb +2 -1
  4. data/bin/when.rb.config +1 -1
  5. data/lib/when_exe.rb +70 -48
  6. data/lib/when_exe/basictypes.rb +99 -65
  7. data/lib/when_exe/calendartypes.rb +40 -178
  8. data/lib/when_exe/coordinates.rb +156 -62
  9. data/lib/when_exe/core/compatibility.rb +10 -0
  10. data/lib/when_exe/core/extension.rb +40 -0
  11. data/lib/when_exe/ephemeris.rb +112 -50
  12. data/lib/when_exe/icalendar.rb +125 -91
  13. data/lib/when_exe/inspect.rb +100 -48
  14. data/lib/when_exe/locales/ar.rb +48 -48
  15. data/lib/when_exe/locales/bg.rb +1 -1
  16. data/lib/when_exe/locales/bs.rb +4 -2
  17. data/lib/when_exe/locales/ca.rb +1 -1
  18. data/lib/when_exe/locales/en_CA.rb +3 -4
  19. data/lib/when_exe/locales/en_IE.rb +88 -0
  20. data/lib/when_exe/locales/en_US.rb +87 -0
  21. data/lib/when_exe/locales/es_CR.rb +84 -0
  22. data/lib/when_exe/locales/es_EC.rb +85 -0
  23. data/lib/when_exe/locales/es_PA.rb +85 -0
  24. data/lib/when_exe/locales/fr.rb +39 -39
  25. data/lib/when_exe/locales/hu.rb +15 -14
  26. data/lib/when_exe/locales/it.rb +1 -1
  27. data/lib/when_exe/locales/ja.rb +2 -2
  28. data/lib/when_exe/locales/locales.rb +7 -0
  29. data/lib/when_exe/locales/lt.rb +21 -19
  30. data/lib/when_exe/locales/ms.rb +84 -0
  31. data/lib/when_exe/locales/nl.rb +2 -2
  32. data/lib/when_exe/locales/ru.rb +1 -1
  33. data/lib/when_exe/locales/uk.rb +1 -1
  34. data/lib/when_exe/locales/ur.rb +84 -0
  35. data/lib/when_exe/mini_application.rb +44 -43
  36. data/lib/when_exe/parts/enumerator.rb +3 -3
  37. data/lib/when_exe/parts/geometric_complex.rb +6 -1
  38. data/lib/when_exe/parts/locale.rb +49 -18
  39. data/lib/when_exe/parts/method_cash.rb +61 -0
  40. data/lib/when_exe/parts/resource.rb +221 -106
  41. data/lib/when_exe/parts/timezone.rb +70 -33
  42. data/lib/when_exe/region/bahai.rb +2 -2
  43. data/lib/when_exe/region/balinese.rb +40 -43
  44. data/lib/when_exe/region/chinese.rb +93 -33
  45. data/lib/when_exe/region/chinese_calendar.rb +117 -1
  46. data/lib/when_exe/region/chinese_epoch.rb +65 -10
  47. data/lib/when_exe/region/christian.rb +97 -2
  48. data/lib/when_exe/region/ephemeric_notes.rb +353 -0
  49. data/lib/when_exe/region/french.rb +1 -1
  50. data/lib/when_exe/region/geologicalage.rb +171 -171
  51. data/lib/when_exe/region/indian.rb +18 -14
  52. data/lib/when_exe/region/iranian.rb +1 -1
  53. data/lib/when_exe/region/japanese.rb +49 -12
  54. data/lib/when_exe/region/japanese_notes.rb +838 -507
  55. data/lib/when_exe/region/japanese_residues.rb +724 -662
  56. data/lib/when_exe/region/javanese.rb +7 -7
  57. data/lib/when_exe/region/mayan.rb +19 -17
  58. data/lib/when_exe/region/nihon_shoki.rb +3 -3
  59. data/lib/when_exe/region/residue.rb +29 -28
  60. data/lib/when_exe/region/shire.rb +2 -2
  61. data/lib/when_exe/region/tibetan.rb +87 -5
  62. data/lib/when_exe/region/world.rb +1 -1
  63. data/lib/when_exe/timestandard.rb +85 -7
  64. data/lib/when_exe/tmobjects.rb +32 -4
  65. data/lib/when_exe/tmposition.rb +104 -55
  66. data/lib/when_exe/tmreference.rb +157 -60
  67. data/lib/when_exe/version.rb +2 -2
  68. data/test/examples/JapanHolidays.ics +3 -3
  69. data/test/examples/JapanHolidaysRFC6350.ics +499 -0
  70. data/test/examples/Residue.m17n +3 -2
  71. data/test/examples/Spatial.m17n +3 -3
  72. data/test/examples/USA-DST.ics +27 -27
  73. data/test/examples/today.rb +1 -1
  74. data/test/test.rb +4 -2
  75. data/test/test/basictypes.rb +40 -15
  76. data/test/test/coordinates.rb +9 -4
  77. data/test/test/icalendar.rb +24 -14
  78. data/test/test/inspect.rb +5 -3
  79. data/test/test/parts.rb +11 -2
  80. data/test/test/region/chinese.rb +4 -4
  81. data/test/test/region/civil.rb +124 -0
  82. data/test/test/region/geologicalage.rb +5 -2
  83. data/test/test/region/indian.rb +2 -0
  84. data/test/test/region/japanese.rb +156 -1
  85. data/test/test/region/jewish.rb +3 -3
  86. data/test/test/region/m17n.rb +9 -9
  87. data/test/test/region/mayan.rb +122 -5
  88. data/test/test/region/residue.rb +1 -1
  89. data/test/test/tmobjects.rb +27 -64
  90. data/test/test/tmposition.rb +48 -1
  91. data/test/test/tmreference.rb +66 -4
  92. data/when_exe.gemspec +1 -1
  93. metadata +15 -6
@@ -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"=>"%{count} ساعات",
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"=>"%{count} أشهر",
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"=>"%{count} سنوات",
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"=>"ما يقرب من %{count} سنة",
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"=>"%{count} دقائق",
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"=>"%{count} ثوان",
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"=>"%{count} سنوات",
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"=>"%{count} أيام",
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"=>"%{count} دقائق",
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"=>"%{count} أشهر",
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"=>"%{count} ثوان",
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"=>"ساعة",
@@ -15,7 +15,7 @@ module When::BasicTypes
15
15
  {"abbr_day_names"=>["нед", "пон", "вт", "ср", "чет", "пет", "съб"],
16
16
  "abbr_month_names"=>
17
17
  [nil,
18
- "яну.",
18
+ "ян.",
19
19
  "фев.",
20
20
  "март",
21
21
  "апр.",
@@ -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
- ["jan",
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
- ["januar",
35
+ [nil,
36
+ "januar",
35
37
  "februar",
36
38
  "mart",
37
39
  "april",
@@ -14,7 +14,7 @@ module When::BasicTypes
14
14
  {"date"=>
15
15
  {"abbr_day_names"=>["Dg", "Dl", "Dm", "Dc", "Dj", "Dv", "Ds"],
16
16
  "abbr_month_names"=>
17
- ["~,",
17
+ [nil,
18
18
  "Gen",
19
19
  "Feb",
20
20
  "Mar",
@@ -54,10 +54,9 @@ module When::BasicTypes
54
54
  "time"=>
55
55
  {"am"=>"am",
56
56
  "formats"=>
57
- {"default"=>"%a, %d %b %Y %H:%M:%S %z",
58
- "long"=>"%B %d, %Y %H:%M",
59
- "short"=>"%d %b %H:%M",
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