camaleon_cms 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of camaleon_cms might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/apps/plugins/attack/config/locales/translation.yml +38 -1
- data/app/apps/plugins/front_cache/admin_controller.rb +2 -3
- data/app/apps/plugins/front_cache/config/locales/translation.yml +39 -0
- data/app/apps/plugins/front_cache/front_cache_helper.rb +7 -2
- data/app/apps/plugins/front_cache/views/admin/settings.html.erb +1 -0
- data/app/apps/themes/camaleon_first/views/layouts/mailer.html.erb +2 -2
- data/app/assets/javascripts/camaleon_cms/admin/_custom_fields.js +2 -1
- data/app/controllers/camaleon_cms/admin/settings_controller.rb +10 -0
- data/app/controllers/camaleon_cms/admin/users_controller.rb +6 -2
- data/app/controllers/camaleon_cms/frontend_controller.rb +5 -6
- data/app/helpers/camaleon_cms/html_helper.rb +2 -3
- data/app/helpers/camaleon_cms/plugins_helper.rb +4 -3
- data/app/mailers/camaleon_cms/html_mailer.rb +7 -1
- data/app/models/camaleon_cms/ability.rb +1 -1
- data/app/models/camaleon_cms/custom_field.rb +1 -1
- data/app/models/camaleon_cms/custom_field_group.rb +1 -1
- data/app/views/camaleon_cms/admin/plugins/_plugins_list.html.erb +4 -0
- data/app/views/camaleon_cms/admin/posts/_sidebar.html.erb +1 -1
- data/app/views/camaleon_cms/admin/settings/_configuration_settings.html.erb +8 -4
- data/app/views/camaleon_cms/admin/settings/_email_settings.html.erb +26 -4
- data/app/views/camaleon_cms/admin/settings/custom_fields/_render.html.erb +2 -2
- data/app/views/camaleon_cms/default_theme/partials/_search_form.html.erb +1 -1
- data/app/views/layouts/camaleon_cms/admin/_form_error.html.erb +1 -1
- data/app/views/layouts/camaleon_cms/mailer.html.erb +2 -2
- data/config/locales/camaleon_cms/admin/en.yml +2 -1
- data/config/locales/camaleon_cms/admin/es.yml +1 -0
- data/config/locales/camaleon_cms/admin/it.yml +125 -77
- data/config/locales/camaleon_cms/admin/pt-BR.yml +2 -0
- data/config/locales/camaleon_cms/admin/pt.yml +641 -0
- data/config/locales/camaleon_cms/common.yml +66 -1
- data/config/locales/camaleon_cms/languages.yml +25 -6
- data/config/locales/pt-BR.yml +10 -8
- data/config/locales/pt.yml +201 -0
- data/config/routes/admin.rb +1 -0
- data/lib/camaleon_cms/version.rb +1 -1
- data/lib/generators/camaleon_cms/gem_plugin_template/config/initializers/custom_models.rb +4 -2
- data/lib/plugin_routes.rb +2 -0
- metadata +5 -3
- data/lib/generators/camaleon_cms/install_template/apps/plugins/readme.txt +0 -0
@@ -323,6 +323,71 @@ ru:
|
|
323
323
|
previous_label: 'Предыдущий'
|
324
324
|
next_label: 'Следующий'
|
325
325
|
|
326
|
+
pt:
|
327
|
+
camaleon_cms:
|
328
|
+
common:
|
329
|
+
profile: "Perfil"
|
330
|
+
dashboard: "Página Inicial"
|
331
|
+
read_more: "Ler Mais"
|
332
|
+
submit: "Submeter"
|
333
|
+
send: "Enviar"
|
334
|
+
login: "Login"
|
335
|
+
logout: "Sair"
|
336
|
+
confirm: "Tem certeza?"
|
337
|
+
register: "Registar"
|
338
|
+
proceted_article: 'Artigo Protegido'
|
339
|
+
|
340
|
+
comment_msg: "Deverá fazer login para poder comentar"
|
341
|
+
comment: "Comentário"
|
342
|
+
comments: "Comentários"
|
343
|
+
message: "Mensagem"
|
344
|
+
leave_comment: "Deixar um comentário"
|
345
|
+
comment_new: "Novo comentário"
|
346
|
+
comment_saved: "Seu comentário foi salvo"
|
347
|
+
comment_error: "Ocorreu um erro ao tentar gravar o comentário"
|
348
|
+
comment_reply: "Responder"
|
349
|
+
edit: "Editar"
|
350
|
+
|
351
|
+
recent_posts: "Publicações Recentes"
|
352
|
+
|
353
|
+
search_msg: "Procurar Resultados para:"
|
354
|
+
search_not_found: "A busca não encontrou nenhum resultado"
|
355
|
+
category_list: "Listagem de Categorias"
|
356
|
+
post_tag_list: "Lista de Tags"
|
357
|
+
sub_category_list: "Lista de Sub Categorias"
|
358
|
+
content_list: "Lista de Conteúdo: %s"
|
359
|
+
visit: "Visitar"
|
360
|
+
no_contents_found: "Nenhum conteúdo encontrado"
|
361
|
+
no_results_found: "Nenhum resultado encontrado"
|
362
|
+
|
363
|
+
author: "Autor"
|
364
|
+
site: "Sítio"
|
365
|
+
categories: "Categorias"
|
366
|
+
next: "Próximo"
|
367
|
+
prev: "Anterior"
|
368
|
+
current: "Atual"
|
369
|
+
search: "Procurar"
|
370
|
+
file_format_error: "Formato de arquivo não permitido"
|
371
|
+
file_size_exceeded: "Tamanho do arquivo excedeu o limite"
|
372
|
+
|
373
|
+
notice: "Novidades "
|
374
|
+
share: "Partilhar em"
|
375
|
+
share_facebook: "Partilhar no Facebook"
|
376
|
+
share_twitter: "Partilhar no Twitter"
|
377
|
+
share_google_plus: "Partilhar no Google Plus"
|
378
|
+
back_top: "Voltar para o topo"
|
379
|
+
total_followers_social: "Total de seguidores nas redes sociais"
|
380
|
+
latest_articles: "Últimos Artigos"
|
381
|
+
photo_gallery: "Galeria de Fotos"
|
382
|
+
home_galleries: "Ir para a página principal das Categorias"
|
383
|
+
addition: "Adição"
|
384
|
+
view_all_news: "Ver todas as notícias"
|
385
|
+
extra_attributes: "Atributos Extra"
|
386
|
+
|
387
|
+
will_paginate:
|
388
|
+
previous_label: 'Anterior'
|
389
|
+
next_label: 'Seguinte'
|
390
|
+
|
326
391
|
pt-BR:
|
327
392
|
camaleon_cms:
|
328
393
|
common:
|
@@ -373,7 +438,7 @@ pt-BR:
|
|
373
438
|
notice: "Novidades "
|
374
439
|
share: "Compatilhar em"
|
375
440
|
share_facebook: "Compartilhar no Facebook"
|
376
|
-
share_twitter: "
|
441
|
+
share_twitter: "Compartilhar no Twitter"
|
377
442
|
share_google_plus: "Compartilhar no Google Plus"
|
378
443
|
back_top: "Voltar para o topo"
|
379
444
|
total_followers_social: "Total de seguidores nas redes sociais"
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# encoding: utf-8
|
1
2
|
en:
|
2
3
|
languages:
|
3
4
|
es: "Spanish"
|
@@ -5,7 +6,8 @@ en:
|
|
5
6
|
fr: "French"
|
6
7
|
zh: "Chinese"
|
7
8
|
de: "Deutsch"
|
8
|
-
pt: "Português"
|
9
|
+
pt: "Português (Portugal)"
|
10
|
+
pt-BR: "Português (Brazil)"
|
9
11
|
it: "Italian"
|
10
12
|
ru: "Russian"
|
11
13
|
nl: "Dutch"
|
@@ -17,7 +19,8 @@ es:
|
|
17
19
|
fr: "Francés"
|
18
20
|
zh: "Chino"
|
19
21
|
de: "Alemán"
|
20
|
-
pt: "Portugues"
|
22
|
+
pt: "Portugues (Portugal)"
|
23
|
+
pt-BR: "Portugues (Brasil)"
|
21
24
|
it: "Italiano"
|
22
25
|
ru: "Russian"
|
23
26
|
nl: "Holandés"
|
@@ -29,7 +32,8 @@ it:
|
|
29
32
|
fr: "Francese"
|
30
33
|
zh: "Cinese"
|
31
34
|
de: "Tedesco"
|
32
|
-
pt: "Portoghese"
|
35
|
+
pt: "Portoghese (Portogallo)"
|
36
|
+
pt-BR: "Portoghese (Brasile)"
|
33
37
|
it: "Italiano"
|
34
38
|
ru: "Russian"
|
35
39
|
nl: "Olandese"
|
@@ -41,7 +45,8 @@ ru:
|
|
41
45
|
fr: "Французский"
|
42
46
|
zh: "Китайский"
|
43
47
|
de: "Немецкий"
|
44
|
-
pt: "Португальский"
|
48
|
+
pt: "Португальский (Португалия)"
|
49
|
+
pt-BR: "Португальский (Бразилия)"
|
45
50
|
it: "Итальянский"
|
46
51
|
ru: "Русский"
|
47
52
|
nl: "Голландский"
|
@@ -53,12 +58,13 @@ nl:
|
|
53
58
|
fr: "Frans"
|
54
59
|
zh: "Chinees"
|
55
60
|
de: "Duits"
|
56
|
-
pt: "Portugees"
|
61
|
+
pt: "Portugees (Portugal)"
|
62
|
+
pt-BR: "Portugees (Brazilië)"
|
57
63
|
it: "Italiaans"
|
58
64
|
ru: "Russisch"
|
59
65
|
nl: "Nederlands"
|
60
66
|
|
61
|
-
pt
|
67
|
+
pt:
|
62
68
|
languages:
|
63
69
|
es: "Espanhol"
|
64
70
|
en: "Inglês"
|
@@ -66,7 +72,20 @@ pt-BR:
|
|
66
72
|
zh: "Chinês"
|
67
73
|
de: "Alemão"
|
68
74
|
pt: "Português (Portugal)"
|
75
|
+
pt-BR: "Português (Brasil)"
|
69
76
|
it: "Italiano"
|
70
77
|
ru: "Russo"
|
71
78
|
nl: "Holandês"
|
79
|
+
|
80
|
+
pt-BR:
|
81
|
+
languages:
|
82
|
+
es: "Espanhol"
|
83
|
+
en: "Inglês"
|
84
|
+
fr: "Francês"
|
85
|
+
zh: "Chinês"
|
86
|
+
de: "Alemão"
|
87
|
+
pt: "Português (Portugal)"
|
72
88
|
pt-BR: "Português (Brasil)"
|
89
|
+
it: "Italiano"
|
90
|
+
ru: "Russo"
|
91
|
+
nl: "Holandês"
|
data/config/locales/pt-BR.yml
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
1
3
|
---
|
2
4
|
pt-BR:
|
3
5
|
date:
|
@@ -10,7 +12,7 @@ pt-BR:
|
|
10
12
|
- Sex
|
11
13
|
- Sáb
|
12
14
|
abbr_month_names:
|
13
|
-
-
|
15
|
+
-
|
14
16
|
- Jan
|
15
17
|
- Fev
|
16
18
|
- Mar
|
@@ -36,7 +38,7 @@ pt-BR:
|
|
36
38
|
long: "%d de %B de %Y"
|
37
39
|
short: "%d de %B"
|
38
40
|
month_names:
|
39
|
-
-
|
41
|
+
-
|
40
42
|
- Janeiro
|
41
43
|
- Fevereiro
|
42
44
|
- Março
|
@@ -153,18 +155,18 @@ pt-BR:
|
|
153
155
|
format: "%n %u"
|
154
156
|
units:
|
155
157
|
billion:
|
156
|
-
one:
|
157
|
-
other:
|
158
|
+
one: bilhão
|
159
|
+
other: bilhões
|
158
160
|
million:
|
159
161
|
one: milhão
|
160
162
|
other: milhões
|
161
163
|
quadrillion:
|
162
|
-
one:
|
163
|
-
other:
|
164
|
+
one: quadrilhão
|
165
|
+
other: quadrilhões
|
164
166
|
thousand: mil
|
165
167
|
trillion:
|
166
|
-
one:
|
167
|
-
other:
|
168
|
+
one: trilhão
|
169
|
+
other: trilhões
|
168
170
|
unit: ''
|
169
171
|
format:
|
170
172
|
delimiter: ''
|
@@ -0,0 +1,201 @@
|
|
1
|
+
---
|
2
|
+
pt:
|
3
|
+
date:
|
4
|
+
abbr_day_names:
|
5
|
+
- dom
|
6
|
+
- seg
|
7
|
+
- ter
|
8
|
+
- qua
|
9
|
+
- qui
|
10
|
+
- sex
|
11
|
+
- sáb
|
12
|
+
abbr_month_names:
|
13
|
+
-
|
14
|
+
- jan
|
15
|
+
- fev
|
16
|
+
- mar
|
17
|
+
- abr
|
18
|
+
- mai
|
19
|
+
- jun
|
20
|
+
- jul
|
21
|
+
- ago
|
22
|
+
- set
|
23
|
+
- out
|
24
|
+
- nov
|
25
|
+
- dez
|
26
|
+
day_names:
|
27
|
+
- domingo
|
28
|
+
- segunda-feira
|
29
|
+
- terça-feira
|
30
|
+
- quarta-feira
|
31
|
+
- quinta-feira
|
32
|
+
- sexta-feira
|
33
|
+
- sábado
|
34
|
+
formats:
|
35
|
+
default: "%d/%m/%Y"
|
36
|
+
long: "%d de %B de %Y"
|
37
|
+
short: "%d de %B"
|
38
|
+
month_names:
|
39
|
+
-
|
40
|
+
- janeiro
|
41
|
+
- fevereiro
|
42
|
+
- março
|
43
|
+
- abril
|
44
|
+
- maio
|
45
|
+
- junho
|
46
|
+
- julho
|
47
|
+
- agosto
|
48
|
+
- setembro
|
49
|
+
- outubro
|
50
|
+
- novembro
|
51
|
+
- dezembro
|
52
|
+
order:
|
53
|
+
- :day
|
54
|
+
- :month
|
55
|
+
- :year
|
56
|
+
datetime:
|
57
|
+
distance_in_words:
|
58
|
+
about_x_hours:
|
59
|
+
one: há aproximadamente 1 hora
|
60
|
+
other: há aproximadamente %{count} horas
|
61
|
+
about_x_months:
|
62
|
+
one: há aproximadamente 1 mês
|
63
|
+
other: há aproximadamente %{count} meses
|
64
|
+
about_x_years:
|
65
|
+
one: há aproximadamente 1 ano
|
66
|
+
other: há aproximadamente %{count} anos
|
67
|
+
almost_x_years:
|
68
|
+
one: há quase 1 ano
|
69
|
+
other: há quase %{count} anos
|
70
|
+
half_a_minute: há meio minuto
|
71
|
+
less_than_x_minutes:
|
72
|
+
one: há menos de um minuto
|
73
|
+
other: há menos de %{count} minutos
|
74
|
+
less_than_x_seconds:
|
75
|
+
one: há menos de 1 segundo
|
76
|
+
other: há menos de %{count} segundos
|
77
|
+
over_x_years:
|
78
|
+
one: há mais de 1 ano
|
79
|
+
other: há mais de %{count} anos
|
80
|
+
x_days:
|
81
|
+
one: há 1 dia
|
82
|
+
other: "há %{count} dias"
|
83
|
+
x_minutes:
|
84
|
+
one: há 1 minuto
|
85
|
+
other: "há %{count} minutos"
|
86
|
+
x_months:
|
87
|
+
one: há 1 mês
|
88
|
+
other: "há %{count} meses"
|
89
|
+
x_seconds:
|
90
|
+
one: há 1 segundo
|
91
|
+
other: "há %{count} segundos"
|
92
|
+
prompts:
|
93
|
+
day: Dia
|
94
|
+
hour: Hora
|
95
|
+
minute: Minuto
|
96
|
+
month: Mês
|
97
|
+
second: Segundo
|
98
|
+
year: Ano
|
99
|
+
errors:
|
100
|
+
format: "%{attribute} %{message}"
|
101
|
+
messages:
|
102
|
+
accepted: deve ser aceite
|
103
|
+
blank: não pode estar em branco
|
104
|
+
confirmation: não coincide com a confirmação
|
105
|
+
empty: não pode estar vazio
|
106
|
+
equal_to: deve ser igual a %{count}
|
107
|
+
even: deve ser par
|
108
|
+
exclusion: é reservado
|
109
|
+
greater_than: deve ser maior que %{count}
|
110
|
+
greater_than_or_equal_to: deve ser maior ou igual a %{count}
|
111
|
+
inclusion: não está incluído na lista
|
112
|
+
invalid: é inválido
|
113
|
+
less_than: deve ser menor que %{count}
|
114
|
+
less_than_or_equal_to: deve ser menor ou igual a %{count}
|
115
|
+
not_a_number: não é um número
|
116
|
+
not_an_integer: deve ser um inteiro
|
117
|
+
odd: deve ser ímpar
|
118
|
+
record_invalid: 'A validação falhou: %{errors}'
|
119
|
+
taken: não está disponível
|
120
|
+
too_long: é demasiado grande (o máximo é de %{count} caracteres)
|
121
|
+
too_short: é demasiado pequeno (o mínimo é de %{count} caracteres)
|
122
|
+
wrong_length: comprimento errado (deve ter %{count} caracteres)
|
123
|
+
template:
|
124
|
+
body: 'Por favor, verifique os seguintes campos:'
|
125
|
+
header:
|
126
|
+
one: 'Não foi possível guardar %{model}: 1 erro'
|
127
|
+
other: 'Não foi possível guardar %{model}: %{count} erros'
|
128
|
+
helpers:
|
129
|
+
select:
|
130
|
+
prompt: Por favor selecione
|
131
|
+
submit:
|
132
|
+
create: Criar %{model}
|
133
|
+
submit: Gravar %{model}
|
134
|
+
update: Atualizar %{model}
|
135
|
+
number:
|
136
|
+
currency:
|
137
|
+
format:
|
138
|
+
delimiter: " "
|
139
|
+
format: "%n %u"
|
140
|
+
precision: 2
|
141
|
+
separator: ","
|
142
|
+
significant: false
|
143
|
+
strip_insignificant_zeros: false
|
144
|
+
unit: "€"
|
145
|
+
format:
|
146
|
+
delimiter: "."
|
147
|
+
precision: 3
|
148
|
+
separator: ","
|
149
|
+
significant: false
|
150
|
+
strip_insignificant_zeros: false
|
151
|
+
human:
|
152
|
+
decimal_units:
|
153
|
+
format: "%n %u"
|
154
|
+
units:
|
155
|
+
billion:
|
156
|
+
one: mil milhões
|
157
|
+
other: mil milhões
|
158
|
+
million:
|
159
|
+
one: milhão
|
160
|
+
other: milhões
|
161
|
+
quadrillion:
|
162
|
+
one: mil biliões
|
163
|
+
other: mil biliões
|
164
|
+
thousand: mil
|
165
|
+
trillion:
|
166
|
+
one: bilião
|
167
|
+
other: biliões
|
168
|
+
unit: ''
|
169
|
+
format:
|
170
|
+
delimiter: ''
|
171
|
+
precision: 1
|
172
|
+
significant: true
|
173
|
+
strip_insignificant_zeros: true
|
174
|
+
storage_units:
|
175
|
+
format: "%n %u"
|
176
|
+
units:
|
177
|
+
byte:
|
178
|
+
one: Byte
|
179
|
+
other: Bytes
|
180
|
+
gb: GB
|
181
|
+
kb: KB
|
182
|
+
mb: MB
|
183
|
+
tb: TB
|
184
|
+
percentage:
|
185
|
+
format:
|
186
|
+
delimiter: ''
|
187
|
+
precision:
|
188
|
+
format:
|
189
|
+
delimiter: ''
|
190
|
+
support:
|
191
|
+
array:
|
192
|
+
last_word_connector: ", e"
|
193
|
+
two_words_connector: " e "
|
194
|
+
words_connector: ", "
|
195
|
+
time:
|
196
|
+
am: am
|
197
|
+
formats:
|
198
|
+
default: "%A, %d de %B de %Y, %H:%Mh"
|
199
|
+
long: "%A, %d de %B de %Y, %H:%Mh"
|
200
|
+
short: "%d/%m, %H:%M hs"
|
201
|
+
pm: pm
|
data/config/routes/admin.rb
CHANGED
data/lib/camaleon_cms/version.rb
CHANGED
data/lib/plugin_routes.rb
CHANGED
@@ -298,8 +298,10 @@ class PluginRoutes
|
|
298
298
|
p = p.with_indifferent_access rescue p
|
299
299
|
p["key"] = gem.name if p["key"].nil? # TODO REVIEW ERROR FOR conflict plugin keys
|
300
300
|
#p["key"] = File.basename(path)
|
301
|
+
p["version"] = gem.version
|
301
302
|
p["path"] = path
|
302
303
|
p["kind"] = "plugin"
|
304
|
+
p["descr"] = gem.description unless p["descr"].present?
|
303
305
|
p["gem_mode"] = true
|
304
306
|
entries << p
|
305
307
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: camaleon_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Owen Peredo Diaz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bcrypt
|
@@ -748,6 +748,7 @@ files:
|
|
748
748
|
- config/locales/camaleon_cms/admin/js.yml
|
749
749
|
- config/locales/camaleon_cms/admin/nl.yml
|
750
750
|
- config/locales/camaleon_cms/admin/pt-BR.yml
|
751
|
+
- config/locales/camaleon_cms/admin/pt.yml
|
751
752
|
- config/locales/camaleon_cms/admin/ru.yml
|
752
753
|
- config/locales/camaleon_cms/common.yml
|
753
754
|
- config/locales/camaleon_cms/languages.yml
|
@@ -760,6 +761,7 @@ files:
|
|
760
761
|
- config/locales/nl.yml
|
761
762
|
- config/locales/pl.yml
|
762
763
|
- config/locales/pt-BR.yml
|
764
|
+
- config/locales/pt.yml
|
763
765
|
- config/locales/ru.yml
|
764
766
|
- config/routes.rb
|
765
767
|
- config/routes/admin.rb
|
@@ -804,7 +806,6 @@ files:
|
|
804
806
|
- lib/generators/camaleon_cms/gem_plugin_template/config/camaleon_plugin.json
|
805
807
|
- lib/generators/camaleon_cms/gem_plugin_template/config/initializers/custom_models.rb
|
806
808
|
- lib/generators/camaleon_cms/install_generator.rb
|
807
|
-
- lib/generators/camaleon_cms/install_template/apps/plugins/readme.txt
|
808
809
|
- lib/generators/camaleon_cms/install_template/apps/themes/readme.txt
|
809
810
|
- lib/generators/camaleon_cms/install_template/plugin_routes.rb
|
810
811
|
- lib/generators/camaleon_cms/install_template/system.json
|
@@ -849,3 +850,4 @@ signing_key:
|
|
849
850
|
specification_version: 4
|
850
851
|
summary: Camaleon is a cms for Ruby on Rails 4 as an alternative to wordpress.
|
851
852
|
test_files: []
|
853
|
+
has_rdoc:
|