when_exe 0.2.100 → 0.3.1
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/irb.rc +5 -0
- data/bin/locales.rb +2 -2
- data/bin/when.rb +16 -0
- data/bin/when.rb.config +7 -0
- data/lib/when_exe.rb +616 -14
- data/lib/when_exe/basictypes.rb +615 -0
- data/lib/when_exe/calendartypes.rb +1700 -0
- data/lib/when_exe/coordinates.rb +1936 -0
- data/lib/when_exe/core/compatibility.rb +54 -0
- data/lib/when_exe/core/duration.rb +72 -72
- data/lib/when_exe/core/extension.rb +382 -0
- data/lib/when_exe/ephemeris.rb +1845 -0
- data/lib/when_exe/googlecalendar.rb +140 -0
- data/lib/when_exe/icalendar.rb +1587 -0
- data/lib/when_exe/inspect.rb +1237 -0
- data/lib/when_exe/locales/af.rb +90 -0
- data/lib/when_exe/locales/ar.rb +145 -0
- data/lib/when_exe/locales/az.rb +90 -0
- data/lib/when_exe/locales/bg.rb +90 -0
- data/lib/when_exe/locales/bn.rb +94 -0
- data/lib/when_exe/locales/bs.rb +121 -0
- data/lib/when_exe/locales/ca.rb +92 -0
- data/lib/when_exe/locales/cs.rb +107 -0
- data/lib/when_exe/locales/cy.rb +150 -0
- data/lib/when_exe/locales/da.rb +84 -0
- data/lib/when_exe/locales/de.rb +92 -0
- data/lib/when_exe/locales/de_AT.rb +92 -0
- data/lib/when_exe/locales/de_CH.rb +92 -0
- data/lib/when_exe/locales/el.rb +93 -0
- data/lib/when_exe/locales/en.rb +88 -0
- data/lib/when_exe/locales/en_AU.rb +88 -0
- data/lib/when_exe/locales/en_CA.rb +88 -0
- data/lib/when_exe/locales/en_GB.rb +88 -0
- data/lib/when_exe/locales/en_IN.rb +88 -0
- data/lib/when_exe/locales/en_NZ.rb +88 -0
- data/lib/when_exe/locales/eo.rb +89 -0
- data/lib/when_exe/locales/es.rb +84 -0
- data/lib/when_exe/locales/es_419.rb +84 -0
- data/lib/when_exe/locales/es_AR.rb +84 -0
- data/lib/when_exe/locales/es_CL.rb +84 -0
- data/lib/when_exe/locales/es_CO.rb +84 -0
- data/lib/when_exe/locales/es_MX.rb +84 -0
- data/lib/when_exe/locales/es_PE.rb +85 -0
- data/lib/when_exe/locales/es_VE.rb +84 -0
- data/lib/when_exe/locales/et.rb +94 -0
- data/lib/when_exe/locales/eu.rb +95 -0
- data/lib/when_exe/locales/fa.rb +80 -0
- data/lib/when_exe/locales/fi.rb +89 -0
- data/lib/when_exe/locales/fr.rb +88 -0
- data/lib/when_exe/locales/fr_CA.rb +88 -0
- data/lib/when_exe/locales/fr_CH.rb +88 -0
- data/lib/when_exe/locales/gl.rb +81 -0
- data/lib/when_exe/locales/he.rb +84 -0
- data/lib/when_exe/locales/hi.rb +80 -0
- data/lib/when_exe/locales/hi_IN.rb +84 -0
- data/lib/when_exe/locales/hr.rb +128 -0
- data/lib/when_exe/locales/hu.rb +84 -0
- data/lib/when_exe/locales/id.rb +89 -0
- data/lib/when_exe/locales/is.rb +89 -0
- data/lib/when_exe/locales/it.rb +87 -0
- data/lib/when_exe/locales/it_CH.rb +87 -0
- data/lib/when_exe/locales/ja.rb +78 -0
- data/lib/when_exe/locales/kn.rb +86 -0
- data/lib/when_exe/locales/ko.rb +78 -0
- data/lib/when_exe/locales/links.rb +2342 -0
- data/lib/when_exe/locales/lo.rb +123 -0
- data/lib/when_exe/locales/locales.rb +91 -0
- data/lib/when_exe/locales/lt.rb +111 -0
- data/lib/when_exe/locales/lv.rb +118 -0
- data/lib/when_exe/locales/mk.rb +93 -0
- data/lib/when_exe/locales/mn.rb +80 -0
- data/lib/when_exe/locales/nb.rb +81 -0
- data/lib/when_exe/locales/ne.rb +81 -0
- data/lib/when_exe/locales/nl.rb +92 -0
- data/lib/when_exe/locales/nn.rb +73 -0
- data/lib/when_exe/locales/or.rb +84 -0
- data/lib/when_exe/locales/pl.rb +128 -0
- data/lib/when_exe/locales/pt.rb +88 -0
- data/lib/when_exe/locales/pt_BR.rb +88 -0
- data/lib/when_exe/locales/rm.rb +143 -0
- data/lib/when_exe/locales/ro.rb +105 -0
- data/lib/when_exe/locales/ru.rb +128 -0
- data/lib/when_exe/locales/sk.rb +109 -0
- data/lib/when_exe/locales/sl.rb +122 -0
- data/lib/when_exe/locales/sr.rb +122 -0
- data/lib/when_exe/locales/sv.rb +83 -0
- data/lib/when_exe/locales/sw.rb +89 -0
- data/lib/when_exe/locales/th.rb +78 -0
- data/lib/when_exe/locales/tl.rb +99 -0
- data/lib/when_exe/locales/tr.rb +96 -0
- data/lib/when_exe/locales/uk.rb +128 -0
- data/lib/when_exe/locales/uz.rb +128 -0
- data/lib/when_exe/locales/vi.rb +94 -0
- data/lib/when_exe/locales/wo.rb +82 -0
- data/lib/when_exe/locales/zh_CN.rb +77 -0
- data/lib/when_exe/locales/zh_HK.rb +77 -0
- data/lib/when_exe/locales/zh_TW.rb +77 -0
- data/lib/when_exe/mini_application.rb +252 -0
- data/lib/when_exe/parts/enumerator.rb +472 -0
- data/lib/when_exe/parts/geometric_complex.rb +379 -0
- data/lib/when_exe/parts/locale.rb +513 -0
- data/lib/when_exe/parts/method_cash.rb +207 -0
- data/lib/when_exe/parts/resource.rb +806 -0
- data/lib/when_exe/parts/timezone.rb +182 -0
- data/lib/when_exe/region/bahai.rb +145 -0
- data/lib/when_exe/region/balinese.rb +627 -0
- data/lib/when_exe/region/chinese.rb +896 -0
- data/lib/when_exe/region/chinese_calendar.rb +919 -0
- data/lib/when_exe/region/chinese_epoch.rb +1245 -0
- data/lib/when_exe/region/christian.rb +644 -0
- data/lib/when_exe/region/far_east.rb +192 -0
- data/lib/when_exe/region/french.rb +66 -0
- data/lib/when_exe/region/geologicalage.rb +639 -0
- data/lib/when_exe/region/indian.rb +1066 -0
- data/lib/when_exe/region/iranian.rb +66 -0
- data/lib/when_exe/region/islamic.rb +105 -0
- data/lib/when_exe/region/japanese.rb +851 -0
- data/lib/when_exe/region/japanese_notes.rb +964 -0
- data/lib/when_exe/region/japanese_residues.rb +1149 -0
- data/lib/when_exe/region/javanese.rb +228 -0
- data/lib/when_exe/region/jewish.rb +127 -0
- data/lib/when_exe/region/korean.rb +267 -0
- data/lib/when_exe/region/m17n.rb +115 -0
- data/lib/when_exe/region/martian.rb +215 -0
- data/lib/when_exe/region/mayan.rb +122 -0
- data/lib/when_exe/region/moon.rb +333 -0
- data/lib/when_exe/region/nihon_shoki.rb +73 -0
- data/lib/when_exe/region/planets.rb +585 -0
- data/lib/when_exe/region/pope.rb +298 -0
- data/lib/when_exe/region/residue.rb +229 -0
- data/lib/when_exe/region/roman.rb +325 -0
- data/lib/when_exe/region/ryukyu.rb +98 -0
- data/lib/when_exe/region/shire.rb +254 -0
- data/lib/when_exe/region/sun.rb +210 -0
- data/lib/when_exe/region/thai.rb +227 -0
- data/lib/when_exe/region/tibetan.rb +233 -0
- data/lib/when_exe/region/v50.rb +111 -0
- data/lib/when_exe/region/vietnamese.rb +173 -0
- data/lib/when_exe/region/world.rb +197 -0
- data/lib/when_exe/timestandard.rb +547 -0
- data/lib/when_exe/tmduration.rb +330 -330
- data/lib/when_exe/tmobjects.rb +1295 -0
- data/lib/when_exe/tmposition.rb +1955 -0
- data/lib/when_exe/tmreference.rb +1547 -0
- data/lib/when_exe/version.rb +10 -3
- data/link_to_online_documents +4 -0
- data/test/examples/JapanHolidays.ics +456 -0
- data/test/examples/Millennium.ics +17 -0
- data/test/examples/NewYork.ics +61 -0
- data/test/examples/Residue.m17n +135 -0
- data/test/examples/Spatial.m17n +179 -0
- data/test/examples/Terms.m17n +39 -0
- data/test/examples/Test.ics +53 -0
- data/test/examples/USA-DST.ics +61 -0
- data/test/examples/geometric_complex.rb +41 -0
- data/test/examples/sample.xml +14 -0
- data/test/examples/today.rb +61 -0
- data/test/test.rb +54 -19
- data/test/test.rb.config +1 -0
- data/test/test/basictypes.rb +368 -0
- data/test/test/calendartypes.rb +57 -0
- data/test/test/coordinates.rb +380 -0
- data/test/test/ephemeris.rb +127 -0
- data/test/test/googlecalendar.rb +167 -0
- data/test/test/icalendar.rb +848 -0
- data/test/test/inspect.rb +115 -0
- data/test/test/parts.rb +480 -0
- data/test/test/region/chinese.rb +161 -0
- data/test/test/region/french.rb +33 -0
- data/test/test/region/geologicalage.rb +14 -0
- data/test/test/region/indian.rb +55 -0
- data/test/test/region/iran.rb +54 -0
- data/test/test/region/islamic.rb +18 -0
- data/test/test/region/japanese.rb +62 -0
- data/test/test/region/jewish.rb +61 -0
- data/test/test/region/m17n.rb +181 -0
- data/test/test/region/mayan.rb +78 -0
- data/test/test/region/moon.rb +14 -0
- data/test/test/region/planets.rb +14 -0
- data/test/test/region/residue.rb +123 -0
- data/test/test/region/sun.rb +14 -0
- data/test/test/region/thai.rb +94 -0
- data/test/test/region/tibetan.rb +30 -0
- data/test/test/tmobjects.rb +356 -57
- data/test/test/tmposition.rb +237 -0
- data/test/test/tmreference.rb +95 -0
- data/when_exe.gemspec +2 -2
- metadata +187 -7
- data/doc/COPYING +0 -31
- data/doc/COPYING.ja +0 -25
- data/doc/document_url +0 -1
@@ -0,0 +1,89 @@
|
|
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/eo.yml
|
12
|
+
|
13
|
+
Locale_eo =
|
14
|
+
{"date"=>
|
15
|
+
{"abbr_day_names"=>["dim", "lun", "mar", "mer", "ĵaŭ", "ven", "sam"],
|
16
|
+
"abbr_month_names"=>
|
17
|
+
[nil,
|
18
|
+
"jan.",
|
19
|
+
"feb.",
|
20
|
+
"mar.",
|
21
|
+
"apr.",
|
22
|
+
"majo",
|
23
|
+
"jun.",
|
24
|
+
"jul.",
|
25
|
+
"aŭg.",
|
26
|
+
"sep.",
|
27
|
+
"okt.",
|
28
|
+
"nov.",
|
29
|
+
"dec."],
|
30
|
+
"day_names"=>
|
31
|
+
["dimanĉo", "lundo", "mardo", "merkredo", "ĵaŭdo", "vendredo", "sabato"],
|
32
|
+
"formats"=>{"default"=>"%Y/%m/%d", "long"=>"%e %B %Y", "short"=>"%e %b"},
|
33
|
+
"month_names"=>
|
34
|
+
[nil,
|
35
|
+
"januaro",
|
36
|
+
"februaro",
|
37
|
+
"marto",
|
38
|
+
"aprilo",
|
39
|
+
"majo",
|
40
|
+
"junio",
|
41
|
+
"julio",
|
42
|
+
"aŭgusto",
|
43
|
+
"septembro",
|
44
|
+
"oktobro",
|
45
|
+
"novembro",
|
46
|
+
"decembro"],
|
47
|
+
"order"=>[:day, :month, :year]},
|
48
|
+
"time"=>
|
49
|
+
{"am"=>"am",
|
50
|
+
"formats"=>
|
51
|
+
{"default"=>"%d %B %Y %H:%M:%S",
|
52
|
+
"long"=>"%A %d %B %Y %H:%M",
|
53
|
+
"short"=>"%d %b %H:%M",
|
54
|
+
"time"=>"%H:%M:%S"},
|
55
|
+
"pm"=>"pm"},
|
56
|
+
"datetime"=>
|
57
|
+
{"distance_in_words"=>
|
58
|
+
{"about_x_hours"=>
|
59
|
+
{"one"=>"ĉirkaŭ unu horo", "other"=>"ĉirkaŭ %{count} horoj"},
|
60
|
+
"about_x_months"=>
|
61
|
+
{"one"=>"ĉirkaŭ unu monato", "other"=>"ĉirkaŭ %{count} monatoj"},
|
62
|
+
"about_x_years"=>
|
63
|
+
{"one"=>"ĉirkaŭ uno jaro", "other"=>"ĉirkaŭ %{count} jaroj"},
|
64
|
+
"almost_x_years"=>
|
65
|
+
{"one"=>"preskaŭ unu jaro", "other"=>"preskaŭ %{count} jaroj"},
|
66
|
+
"half_a_minute"=>"duona minuto",
|
67
|
+
"less_than_x_minutes"=>
|
68
|
+
{"one"=>"malpli ol unu minuto",
|
69
|
+
"other"=>"malpli ol %{count} minutoj",
|
70
|
+
"zero"=>"malpli ol unu minuto"},
|
71
|
+
"less_than_x_seconds"=>
|
72
|
+
{"one"=>"malpli ol unu sekundo",
|
73
|
+
"other"=>"malpli ol %{count} sekundoj",
|
74
|
+
"zero"=>"malpli ol unu sekundo"},
|
75
|
+
"over_x_years"=>
|
76
|
+
{"one"=>"pli ol unu jaro", "other"=>"pli ol %{count} jaroj"},
|
77
|
+
"x_days"=>{"one"=>"1 tago", "other"=>"%{count} tagoj"},
|
78
|
+
"x_minutes"=>{"one"=>"1 minuto", "other"=>"%{count} minutoj"},
|
79
|
+
"x_months"=>{"one"=>"1 monato", "other"=>"%{count} monatoj"},
|
80
|
+
"x_seconds"=>{"one"=>"1 sekundo", "other"=>"%{count} sekundoj"}},
|
81
|
+
"prompts"=>
|
82
|
+
{"day"=>"Tago",
|
83
|
+
"hour"=>"Horo",
|
84
|
+
"minute"=>"Minuto",
|
85
|
+
"month"=>"Monato",
|
86
|
+
"second"=>"Sekundo",
|
87
|
+
"year"=>"Jaro"}}}
|
88
|
+
end
|
89
|
+
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.yml
|
12
|
+
|
13
|
+
Locale_es =
|
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"=>"%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 %H:%M:%S %z",
|
53
|
+
"long"=>"%d de %B de %Y %H:%M",
|
54
|
+
"short"=>"%d de %b %H:%M",
|
55
|
+
"time"=>"%H:%M:%S %z"},
|
56
|
+
"pm"=>"pm"},
|
57
|
+
"datetime"=>
|
58
|
+
{"distance_in_words"=>
|
59
|
+
{"about_x_hours"=>
|
60
|
+
{"one"=>"alrededor de 1 hora", "other"=>"alrededor de %{count} horas"},
|
61
|
+
"about_x_months"=>
|
62
|
+
{"one"=>"alrededor de 1 mes", "other"=>"alrededor de %{count} meses"},
|
63
|
+
"about_x_years"=>
|
64
|
+
{"one"=>"alrededor de 1 año", "other"=>"alrededor 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"=>"Minutos",
|
80
|
+
"month"=>"Mes",
|
81
|
+
"second"=>"Segundos",
|
82
|
+
"year"=>"Año"}}}
|
83
|
+
end
|
84
|
+
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-419.yml
|
12
|
+
|
13
|
+
Locale_es_419 =
|
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
|
@@ -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-AR.yml
|
12
|
+
|
13
|
+
Locale_es_AR =
|
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
|
@@ -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-CL.yml
|
12
|
+
|
13
|
+
Locale_es_CL =
|
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 %H:%M:%S %z",
|
53
|
+
"long"=>"%A %d de %B de %Y %H:%M",
|
54
|
+
"short"=>"%d de %b %H:%M",
|
55
|
+
"time"=>"%H:%M:%S %z"},
|
56
|
+
"pm"=>"pm"},
|
57
|
+
"datetime"=>
|
58
|
+
{"distance_in_words"=>
|
59
|
+
{"about_x_hours"=>
|
60
|
+
{"one"=>"alrededor de 1 hora", "other"=>"alrededor de %{count} horas"},
|
61
|
+
"about_x_months"=>
|
62
|
+
{"one"=>"alrededor de 1 mes", "other"=>"alrededor de %{count} meses"},
|
63
|
+
"about_x_years"=>
|
64
|
+
{"one"=>"alrededor de 1 año", "other"=>"alrededor 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"=>"Minutos",
|
80
|
+
"month"=>"Mes",
|
81
|
+
"second"=>"Segundos",
|
82
|
+
"year"=>"Año"}}}
|
83
|
+
end
|
84
|
+
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-CO.yml
|
12
|
+
|
13
|
+
Locale_es_CO =
|
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
|