es-mx-locale 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.document +5 -0
- data/.gitignore +23 -0
- data/Rakefile +19 -0
- data/VERSION +1 -0
- data/lib/es-mx-locale.rb +5 -0
- data/lib/locale/action_view.es-MX.yml +38 -0
- data/lib/locale/action_view.es.yml +73 -0
- data/lib/locale/active_record.es.yml +34 -0
- data/lib/locale/active_support.es-MX.yml +14 -0
- data/lib/locale/active_support.es.yml +17 -0
- metadata +13 -3
data/.document
ADDED
data/.gitignore
ADDED
data/Rakefile
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake'
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'jeweler'
|
6
|
+
Jeweler::Tasks.new do |gem|
|
7
|
+
gem.name = "es-mx-locale"
|
8
|
+
gem.summary = %Q{Localización para Rails en es-MX empacada como una gema}
|
9
|
+
gem.description = %Q{Localización para Rails en es-MX empacada como una gema}
|
10
|
+
gem.email = "macarui@gmail.com"
|
11
|
+
gem.homepage = "http://github.com/maca/es-mx-locale"
|
12
|
+
gem.authors = ["Edgar J. Suárez", "Macario Ortega"]
|
13
|
+
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
14
|
+
end
|
15
|
+
Jeweler::GemcutterTasks.new
|
16
|
+
rescue LoadError
|
17
|
+
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
18
|
+
end
|
19
|
+
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.1
|
data/lib/es-mx-locale.rb
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
es-MX:
|
2
|
+
number:
|
3
|
+
format:
|
4
|
+
separator: "."
|
5
|
+
delimiter: ","
|
6
|
+
precision: 3
|
7
|
+
|
8
|
+
currency:
|
9
|
+
format:
|
10
|
+
format: "%u%n"
|
11
|
+
unit: "$"
|
12
|
+
separator: "."
|
13
|
+
delimiter: ","
|
14
|
+
precision: 2
|
15
|
+
|
16
|
+
percentage:
|
17
|
+
format:
|
18
|
+
delimiter: ""
|
19
|
+
|
20
|
+
precision:
|
21
|
+
format:
|
22
|
+
delimiter: ""
|
23
|
+
|
24
|
+
human:
|
25
|
+
format:
|
26
|
+
delimiter: ""
|
27
|
+
precision: 1
|
28
|
+
storage_units:
|
29
|
+
format: "%n %u"
|
30
|
+
units:
|
31
|
+
byte:
|
32
|
+
one: "Byte"
|
33
|
+
other: "Bytes"
|
34
|
+
kb: "KB"
|
35
|
+
mb: "MB"
|
36
|
+
gb: "GB"
|
37
|
+
tb: "TB"
|
38
|
+
|
@@ -0,0 +1,73 @@
|
|
1
|
+
es:
|
2
|
+
datetime:
|
3
|
+
distance_in_words:
|
4
|
+
half_a_minute: "medio minuto"
|
5
|
+
less_than_x_seconds:
|
6
|
+
one: "menos de un segundo"
|
7
|
+
other: "menos de {{count}} segundos"
|
8
|
+
x_seconds:
|
9
|
+
one: "un segundo"
|
10
|
+
other: "{{count}} segundos"
|
11
|
+
less_than_x_minutes:
|
12
|
+
one: "menos de un minuto"
|
13
|
+
other: "menos de {{count}} minutos"
|
14
|
+
x_minutes:
|
15
|
+
one: "un minuto"
|
16
|
+
other: "{{count}} minutos"
|
17
|
+
about_x_hours:
|
18
|
+
one: "cerca de una hora"
|
19
|
+
other: "cerca de {{count}} horas"
|
20
|
+
x_days:
|
21
|
+
one: "un día"
|
22
|
+
other: "{{count}} días"
|
23
|
+
about_x_months:
|
24
|
+
one: "cerca de un mes"
|
25
|
+
other: "cerca de {{count}} meses"
|
26
|
+
x_months:
|
27
|
+
one: "un mes"
|
28
|
+
other: "{{count}} meses"
|
29
|
+
about_x_years:
|
30
|
+
other: "cerca de {{count}} años"
|
31
|
+
one: "cerca de un año"
|
32
|
+
over_x_years:
|
33
|
+
one: "más de un año"
|
34
|
+
other: "más de {{count}} años"
|
35
|
+
almost_x_years:
|
36
|
+
one: "cási 1 año"
|
37
|
+
other: "casi {{count}} años"
|
38
|
+
prompts:
|
39
|
+
year: "Año"
|
40
|
+
month: "Mes"
|
41
|
+
day: "Dia"
|
42
|
+
hour: "Hora"
|
43
|
+
minute: "Minuto"
|
44
|
+
second: "Segundo"
|
45
|
+
|
46
|
+
activerecord:
|
47
|
+
errors:
|
48
|
+
template:
|
49
|
+
header:
|
50
|
+
one: "{{model}} no pudo guardarse debido a un error"
|
51
|
+
other: "{{model}} no pudo guardarse debido a {{count}} errores"
|
52
|
+
body: "Revise que los siguientes campos sean válidos:"
|
53
|
+
|
54
|
+
support:
|
55
|
+
select:
|
56
|
+
prompt: "Seleccione, por favor"
|
57
|
+
|
58
|
+
views:
|
59
|
+
actions:
|
60
|
+
edit: "Editar"
|
61
|
+
destroy: "Eliminar"
|
62
|
+
create: "Crear %{model}"
|
63
|
+
back: Regresar
|
64
|
+
show: Mostrar
|
65
|
+
|
66
|
+
headers:
|
67
|
+
index: "Listar %{models}"
|
68
|
+
new: "Nuevo %{model}"
|
69
|
+
show: "Mostrar %{model}"
|
70
|
+
edit: "Editar %{model}"
|
71
|
+
|
72
|
+
prompts:
|
73
|
+
confirm_destroy: "¿Quiere eliminar el %{model}?"
|
@@ -0,0 +1,34 @@
|
|
1
|
+
es:
|
2
|
+
activerecord:
|
3
|
+
errors:
|
4
|
+
messages:
|
5
|
+
inclusion: "no está incluído en la lista"
|
6
|
+
exclusion: "está reservado"
|
7
|
+
invalid: "es inválido"
|
8
|
+
confirmation: "no coincide con la confirmación"
|
9
|
+
accepted: "debe ser aceptado"
|
10
|
+
empty: "no puede estar vacío"
|
11
|
+
blank: "no puede estar en blanco"
|
12
|
+
too_long:
|
13
|
+
one: "es demasiado largo (máximo un carácter)"
|
14
|
+
other: "es demasiado largo (máximo {{count}} caracteres)"
|
15
|
+
too_short:
|
16
|
+
one: "es demasiado corto (mínimo un carácter)"
|
17
|
+
other: "es demasiado corto (mínimo {{count}} caracteres)"
|
18
|
+
wrong_length:
|
19
|
+
one: "longitud errónea (debe ser de un carácter)"
|
20
|
+
other: "longitud errónea (debe ser de {{count}} caracteres)"
|
21
|
+
taken: "ya ha sido tomado"
|
22
|
+
not_a_number: "no es un número"
|
23
|
+
invalid_date: "es una fecha inválida"
|
24
|
+
greater_than: "debe ser mayor que {{count}}"
|
25
|
+
greater_than_or_equal_to: "debe ser mayor o igual que {{count}}"
|
26
|
+
equal_to: "debe ser igual a {{count}}"
|
27
|
+
less_than: "debe ser menor que {{count}}"
|
28
|
+
less_than_or_equal_to: "debe ser menor o igual que {{count}}"
|
29
|
+
odd: "debe ser un número non"
|
30
|
+
even: "debe ser un número par"
|
31
|
+
record_invalid: "La validación falló: {{errors}}"
|
32
|
+
|
33
|
+
full_messages:
|
34
|
+
format: "{{attribute}} {{message}}"
|
@@ -0,0 +1,14 @@
|
|
1
|
+
es-MX:
|
2
|
+
date:
|
3
|
+
formats:
|
4
|
+
short: "%d de %b"
|
5
|
+
default: "%d/%m/%Y"
|
6
|
+
long: "%A, %d de %B de %Y"
|
7
|
+
|
8
|
+
order: [:day, :month, :year]
|
9
|
+
|
10
|
+
time:
|
11
|
+
formats:
|
12
|
+
short: "%d de %b a las %H:%M hrs"
|
13
|
+
default: "%a, %d de %b de %Y a las %H:%M:%S %Z"
|
14
|
+
long: "%A, %d de %B de %Y a las %I:%M %p"
|
@@ -0,0 +1,17 @@
|
|
1
|
+
es:
|
2
|
+
date:
|
3
|
+
day_names: [domingo, lunes, martes, miércoles, jueves, viernes, sábado]
|
4
|
+
abbr_day_names: [dom, lun, mar, mie, jue, vie, sab]
|
5
|
+
|
6
|
+
month_names: [~, enero, febrero, marzo, abril, mayo, junio, julio, agosto, septiembre, octubre, noviembre, diciembre]
|
7
|
+
abbr_month_names: [~, ene, feb, mar, abr, may, jun, jul, ago, sep, oct, nov, dic]
|
8
|
+
|
9
|
+
time:
|
10
|
+
am: "am"
|
11
|
+
pm: "pm"
|
12
|
+
|
13
|
+
support:
|
14
|
+
array:
|
15
|
+
words_connector: ", "
|
16
|
+
two_words_connector: " y "
|
17
|
+
last_word_connector: " y "
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 1
|
9
|
+
version: 0.1.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- "Edgar J. Su\xC3\xA1rez"
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-07-09 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|
@@ -28,7 +28,17 @@ extensions: []
|
|
28
28
|
extra_rdoc_files:
|
29
29
|
- README.rdoc
|
30
30
|
files:
|
31
|
+
- .document
|
32
|
+
- .gitignore
|
31
33
|
- README.rdoc
|
34
|
+
- Rakefile
|
35
|
+
- VERSION
|
36
|
+
- lib/es-mx-locale.rb
|
37
|
+
- lib/locale/action_view.es-MX.yml
|
38
|
+
- lib/locale/action_view.es.yml
|
39
|
+
- lib/locale/active_record.es.yml
|
40
|
+
- lib/locale/active_support.es-MX.yml
|
41
|
+
- lib/locale/active_support.es.yml
|
32
42
|
has_rdoc: true
|
33
43
|
homepage: http://github.com/maca/es-mx-locale
|
34
44
|
licenses: []
|