camaleon_cms 2.5.3.1 → 2.6.0
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/app/apps/plugins/front_cache/front_cache_helper.rb +1 -1
- data/app/assets/images/camaleon_cms/language/md.png +0 -0
- data/app/models/camaleon_cms/ability.rb +94 -92
- data/app/models/camaleon_cms/category.rb +45 -44
- data/app/models/camaleon_cms/custom_field.rb +26 -25
- data/app/models/camaleon_cms/custom_field_group.rb +115 -114
- data/app/models/camaleon_cms/custom_fields_relationship.rb +21 -19
- data/app/models/camaleon_cms/media.rb +48 -44
- data/app/models/camaleon_cms/meta.rb +5 -3
- data/app/models/camaleon_cms/nav_menu.rb +27 -24
- data/app/models/camaleon_cms/nav_menu_item.rb +58 -54
- data/app/models/camaleon_cms/plugin.rb +62 -60
- data/app/models/camaleon_cms/post.rb +205 -227
- data/app/models/camaleon_cms/post_comment.rb +44 -42
- data/app/models/camaleon_cms/post_default.rb +65 -62
- data/app/models/camaleon_cms/post_relationship.rb +1 -2
- data/app/models/camaleon_cms/post_tag.rb +9 -6
- data/app/models/camaleon_cms/post_type.rb +170 -163
- data/app/models/camaleon_cms/site.rb +211 -203
- data/app/models/camaleon_cms/term_relationship.rb +16 -14
- data/app/models/camaleon_cms/term_taxonomy.rb +49 -54
- data/app/models/camaleon_cms/theme.rb +24 -23
- data/app/models/camaleon_cms/user.rb +18 -13
- data/app/models/camaleon_cms/user_role.rb +130 -128
- data/app/models/camaleon_cms/widget/assigned.rb +25 -21
- data/app/models/camaleon_cms/widget/main.rb +40 -36
- data/app/models/camaleon_cms/widget/sidebar.rb +20 -16
- data/app/validators/camaleon_cms/post_uniq_validator.rb +28 -0
- data/app/validators/camaleon_cms/uniq_validator.rb +9 -0
- data/config/locales/camaleon_cms/admin/ar.yml +1 -0
- data/config/locales/camaleon_cms/admin/de.yml +1 -0
- data/config/locales/camaleon_cms/admin/en.yml +82 -21
- data/config/locales/camaleon_cms/admin/fr.yml +1 -0
- data/config/locales/camaleon_cms/admin/it.yml +1 -0
- data/config/locales/camaleon_cms/admin/js/de.yml +51 -0
- data/config/locales/camaleon_cms/admin/js/en.yml +51 -0
- data/config/locales/camaleon_cms/admin/js/es.yml +53 -0
- data/config/locales/camaleon_cms/admin/js/it.yml +44 -0
- data/config/locales/camaleon_cms/admin/js/nl.yml +42 -0
- data/config/locales/camaleon_cms/admin/js/pt-BR.yml +44 -0
- data/config/locales/camaleon_cms/admin/js/ru.yml +51 -0
- data/config/locales/camaleon_cms/admin/js/uk.yml +51 -0
- data/config/locales/camaleon_cms/admin/js/zh-CN.yml +51 -0
- data/config/locales/camaleon_cms/admin/nl.yml +1 -0
- data/config/locales/camaleon_cms/admin/ru.yml +1 -0
- data/config/locales/camaleon_cms/admin/uk.yml +2 -1
- data/config/locales/camaleon_cms/admin/zh-CH.yml +1 -0
- data/config/locales/camaleon_cms/common.md +3 -0
- data/config/locales/camaleon_cms/common/ar.yml +66 -0
- data/config/locales/camaleon_cms/common/de.yml +66 -0
- data/config/locales/camaleon_cms/common/en.yml +63 -0
- data/config/locales/camaleon_cms/common/es.yml +66 -0
- data/config/locales/camaleon_cms/common/fr.yml +66 -0
- data/config/locales/camaleon_cms/common/it.yml +63 -0
- data/config/locales/camaleon_cms/common/md.yml +60 -0
- data/config/locales/camaleon_cms/common/nl.yml +64 -0
- data/config/locales/camaleon_cms/common/pt-BR.yml +65 -0
- data/config/locales/camaleon_cms/common/pt.yml +65 -0
- data/config/locales/camaleon_cms/common/ru.yml +66 -0
- data/config/locales/camaleon_cms/common/uk.yml +64 -0
- data/config/locales/camaleon_cms/common/zh-CN.yml +66 -0
- data/config/locales/camaleon_cms/languages/ar.yml +16 -0
- data/config/locales/camaleon_cms/languages/de.yml +16 -0
- data/config/locales/camaleon_cms/languages/en.yml +16 -0
- data/config/locales/camaleon_cms/languages/es.yml +16 -0
- data/config/locales/camaleon_cms/languages/it.yml +16 -0
- data/config/locales/camaleon_cms/languages/md.yml +15 -0
- data/config/locales/camaleon_cms/languages/nl.yml +16 -0
- data/config/locales/camaleon_cms/languages/pt-BR.yml +16 -0
- data/config/locales/camaleon_cms/languages/pt.yml +16 -0
- data/config/locales/camaleon_cms/languages/ru.yml +16 -0
- data/config/locales/camaleon_cms/languages/uk.yml +16 -0
- data/config/locales/camaleon_cms/languages/zh-CN.yml +16 -0
- data/config/locales/camaleon_cms/routes/de.yml +8 -0
- data/config/locales/camaleon_cms/routes/es.yml +8 -0
- data/config/locales/camaleon_cms/routes/fr.yml +8 -0
- data/config/locales/camaleon_cms/routes/it.yml +8 -0
- data/config/locales/camaleon_cms/routes/md.yml +8 -0
- data/config/locales/camaleon_cms/routes/pt-BR.yml +8 -0
- data/config/locales/camaleon_cms/routes/pt.yml +8 -0
- data/config/locales/camaleon_cms/routes/ru.yml +8 -0
- data/config/locales/camaleon_cms/routes/uk.yml +8 -0
- data/config/locales/camaleon_cms/routes/zh-CN.yml +8 -0
- data/config/locales/md.yml +207 -0
- data/lib/camaleon_cms/version.rb +1 -1
- data/spec/dummy/config/application.rb +14 -2
- metadata +102 -109
- data/config/locales/camaleon_cms/admin/js.yml +0 -435
- data/config/locales/camaleon_cms/common.yml +0 -786
- data/config/locales/camaleon_cms/languages.yml +0 -167
- data/config/locales/camaleon_cms/routes.yml +0 -71
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +0 -254
- data/spec/dummy/log/test.log +0 -46384
- data/spec/dummy/public/media/1/rails_tmp.png +0 -0
- data/spec/dummy/public/media/1/rails_tmp_1.png +0 -0
- data/spec/dummy/public/media/1/rails_tmp_2.png +0 -0
- data/spec/dummy/public/media/1/rails_tmp_3.png +0 -0
- data/spec/dummy/public/media/1/sample/rails_tmp.png +0 -0
- data/spec/dummy/public/media/1/sample/thumb/rails_tmp-png.png +0 -0
- data/spec/dummy/public/media/1/slide33.jpg +0 -0
- data/spec/dummy/public/media/1/thumb/rails_tmp-png.png +0 -0
- data/spec/dummy/public/media/1/thumb/rails_tmp-png_20x.png +0 -0
- data/spec/dummy/public/media/1/thumb/rails_tmp-png_300x300.png +0 -0
- data/spec/dummy/public/media/1/thumb/rails_tmp-png_505x350.png +0 -0
- data/spec/dummy/public/media/1/thumb/rails_tmp_1-png.png +0 -0
- data/spec/dummy/public/media/1/thumb/rails_tmp_2-png.png +0 -0
- data/spec/dummy/public/media/1/thumb/rails_tmp_3-png.png +0 -0
- data/spec/dummy/public/media/1/thumb/slide33-jpg.jpg +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2019-09-04-09-19-13.472.html +0 -457
- data/spec/dummy/tmp/capybara/screenshot_2019-09-04-09-19-13.472.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2019-09-04-09-19-28.693.html +0 -428
- data/spec/dummy/tmp/capybara/screenshot_2019-09-04-09-19-28.693.png +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2019-09-04-09-22-45.502.html +0 -337
- data/spec/dummy/tmp/capybara/screenshot_2019-09-04-09-22-45.502.png +0 -0
- data/spec/support/fixtures/rails_tmp.png +0 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
es:
|
3
|
+
languages:
|
4
|
+
ar: "Árabe"
|
5
|
+
es: "Español"
|
6
|
+
en: "Inglés"
|
7
|
+
fr: "Francés"
|
8
|
+
zh-CN: "Chino"
|
9
|
+
de: "Alemán"
|
10
|
+
md: Moldavo
|
11
|
+
pt: "Portugues (Portugal)"
|
12
|
+
pt-BR: "Portugues (Brasil)"
|
13
|
+
it: "Italiano"
|
14
|
+
uk: "Ucraniano"
|
15
|
+
ru: "Russian"
|
16
|
+
nl: "Holandés"
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
it:
|
3
|
+
languages:
|
4
|
+
ar: "Arabo"
|
5
|
+
es: "Spagnolo"
|
6
|
+
en: "Inglese"
|
7
|
+
fr: "Francese"
|
8
|
+
zh-CN: "Cinese"
|
9
|
+
de: "Tedesco"
|
10
|
+
md: Moldavo
|
11
|
+
pt: "Portoghese (Portogallo)"
|
12
|
+
pt-BR: "Portoghese (Brasile)"
|
13
|
+
it: "Italiano"
|
14
|
+
uk: "Ucraina"
|
15
|
+
ru: "Russian"
|
16
|
+
nl: "Olandese"
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
nl:
|
3
|
+
languages:
|
4
|
+
ar: "Arabisch"
|
5
|
+
es: "Spaans"
|
6
|
+
en: "Engels"
|
7
|
+
fr: "Frans"
|
8
|
+
zh-CN: "Chinees"
|
9
|
+
de: "Duits"
|
10
|
+
md: Moldavisch
|
11
|
+
pt: "Portugees (Portugal)"
|
12
|
+
pt-BR: "Portugees (Brazilië)"
|
13
|
+
it: "Italiaans"
|
14
|
+
uk: "Oekraïense"
|
15
|
+
ru: "Russisch"
|
16
|
+
nl: "Nederlands"
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
pt-BR:
|
3
|
+
languages:
|
4
|
+
ar: "Árabe"
|
5
|
+
es: "Espanhol"
|
6
|
+
en: "Inglês"
|
7
|
+
fr: "Francês"
|
8
|
+
zh-CN: "Chinês"
|
9
|
+
de: "Alemão"
|
10
|
+
md: Moldavo
|
11
|
+
pt: "Português (Portugal)"
|
12
|
+
pt-BR: "Português (Brasil)"
|
13
|
+
it: "Italiano"
|
14
|
+
uk: "Ucraniano"
|
15
|
+
ru: "Russo"
|
16
|
+
nl: "Holandês"
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
pt:
|
3
|
+
languages:
|
4
|
+
ar: "Árabe"
|
5
|
+
es: "Espanhol"
|
6
|
+
en: "Inglês"
|
7
|
+
fr: "Francês"
|
8
|
+
zh-CN: "Chinês"
|
9
|
+
de: "Alemão"
|
10
|
+
md: Moldavo
|
11
|
+
pt: "Português (Portugal)"
|
12
|
+
pt-BR: "Português (Brasil)"
|
13
|
+
it: "Italiano"
|
14
|
+
uk: "Ucraniano"
|
15
|
+
ru: "Russo"
|
16
|
+
nl: "Holandês"
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
ru:
|
3
|
+
languages:
|
4
|
+
ar: "арабский"
|
5
|
+
es: "Испанский"
|
6
|
+
en: "Английский"
|
7
|
+
fr: "Французский"
|
8
|
+
zh-CN: "Китайский"
|
9
|
+
de: "Немецкий"
|
10
|
+
md: Молдавский
|
11
|
+
pt: "Португальский (Португалия)"
|
12
|
+
pt-BR: "Португальский (Бразилия)"
|
13
|
+
it: "Итальянский"
|
14
|
+
uk: "Украинский"
|
15
|
+
ru: "Русский"
|
16
|
+
nl: "Голландский"
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
uk:
|
3
|
+
languages:
|
4
|
+
ar: "арабська"
|
5
|
+
es: "Іспанська"
|
6
|
+
en: "Англійська"
|
7
|
+
fr: "Французька"
|
8
|
+
zh-CN: "Китайська"
|
9
|
+
de: "Німецька"
|
10
|
+
md: Молдавський
|
11
|
+
pt: "Португальська (Португалія)"
|
12
|
+
pt-BR: "Португальська (Бразилія)"
|
13
|
+
it: "Італійська"
|
14
|
+
uk: "Українська"
|
15
|
+
ru: "Російська"
|
16
|
+
nl: "Голландська"
|
@@ -0,0 +1,207 @@
|
|
1
|
+
md:
|
2
|
+
date:
|
3
|
+
abbr_day_names:
|
4
|
+
- Dum
|
5
|
+
- Lun
|
6
|
+
- Mar
|
7
|
+
- Mie
|
8
|
+
- Joi
|
9
|
+
- Vin
|
10
|
+
- Sâm
|
11
|
+
abbr_month_names:
|
12
|
+
-
|
13
|
+
- Ian
|
14
|
+
- Feb
|
15
|
+
- Mar
|
16
|
+
- Apr
|
17
|
+
- Mai
|
18
|
+
- Iun
|
19
|
+
- Iul
|
20
|
+
- Aug
|
21
|
+
- Sep
|
22
|
+
- Oct
|
23
|
+
- Noi
|
24
|
+
- Dec
|
25
|
+
day_names:
|
26
|
+
- Duminică
|
27
|
+
- Luni
|
28
|
+
- Marţi
|
29
|
+
- Miercuri
|
30
|
+
- Joi
|
31
|
+
- Vineri
|
32
|
+
- Sâmbătă
|
33
|
+
formats:
|
34
|
+
default: "%d-%m-%Y"
|
35
|
+
long: "%B %d, %Y"
|
36
|
+
short: "%b %d"
|
37
|
+
month_names:
|
38
|
+
-
|
39
|
+
- Ianuarie
|
40
|
+
- Februarie
|
41
|
+
- Martie
|
42
|
+
- Aprilie
|
43
|
+
- Mai
|
44
|
+
- Iunie
|
45
|
+
- Iulie
|
46
|
+
- August
|
47
|
+
- Septembrie
|
48
|
+
- Octombrie
|
49
|
+
- Noiembrie
|
50
|
+
- Decembrie
|
51
|
+
order:
|
52
|
+
- :day
|
53
|
+
- :month
|
54
|
+
- :year
|
55
|
+
datetime:
|
56
|
+
distance_in_words:
|
57
|
+
about_x_hours:
|
58
|
+
one: aproximativ 1 oră
|
59
|
+
other: aproximativ %{count} ore
|
60
|
+
about_x_months:
|
61
|
+
one: aproximativ 1 lună
|
62
|
+
other: aproximativ %{count} luni
|
63
|
+
about_x_years:
|
64
|
+
one: aproximativ 1 an
|
65
|
+
other: aproximativ %{count} ani
|
66
|
+
almost_x_years:
|
67
|
+
one: aproape 1 an
|
68
|
+
other: aproape %{count} ani
|
69
|
+
half_a_minute: jumătate de minută
|
70
|
+
less_than_x_minutes:
|
71
|
+
one: mai puţin de o minută
|
72
|
+
other: mai puţin de %{count} minute
|
73
|
+
less_than_x_seconds:
|
74
|
+
one: mai puţin de 1 secundă
|
75
|
+
other: mai puţin de %{count} secunde
|
76
|
+
over_x_years:
|
77
|
+
one: mai mult de 1 an
|
78
|
+
other: mai mult de %{count} ani
|
79
|
+
x_days:
|
80
|
+
one: 1 zi
|
81
|
+
other: "%{count} zile"
|
82
|
+
x_minutes:
|
83
|
+
one: 1 minută
|
84
|
+
other: "%{count} minutes"
|
85
|
+
x_months:
|
86
|
+
one: 1 lună
|
87
|
+
other: "%{count} months"
|
88
|
+
x_seconds:
|
89
|
+
one: 1 secundă
|
90
|
+
other: "%{count} seconds"
|
91
|
+
prompts:
|
92
|
+
day: Ziua
|
93
|
+
hour: Ora
|
94
|
+
minute: Minuta
|
95
|
+
month: Luna
|
96
|
+
second: Secunde
|
97
|
+
year: Anul
|
98
|
+
errors:
|
99
|
+
format: "%{attribute} %{message}"
|
100
|
+
messages:
|
101
|
+
accepted: trebuie acceptat
|
102
|
+
blank: nu poate fi pustiu
|
103
|
+
present: trebuie să fie necompletat
|
104
|
+
confirmation: nu se potrivește %{attribute}
|
105
|
+
empty: nu poate fi deşert
|
106
|
+
equal_to: trebuie să fie egal cu %{count}
|
107
|
+
even: trebuie să fie par
|
108
|
+
exclusion: este rezervat
|
109
|
+
greater_than: trebuie să fie mai mare decât %{count}
|
110
|
+
greater_than_or_equal_to: trebuie să fie mai mare sau egal cu %{count}
|
111
|
+
inclusion: nu este inclus în listă
|
112
|
+
invalid: nu este valid
|
113
|
+
less_than: trebuie să fie mai mic decât %{count}
|
114
|
+
less_than_or_equal_to: trebuie să fie mai mic sau egal cu %{count}
|
115
|
+
not_a_number: nu este un număr
|
116
|
+
not_an_integer: trebuie să fie un număr întreg
|
117
|
+
odd: trebuie să fie impar
|
118
|
+
record_invalid: 'Validarea a eşuat: %{errors}'
|
119
|
+
restrict_dependent_destroy:
|
120
|
+
one: Înregistrarea nu poate fi ștearsă deoarece există una %{record} dependentă
|
121
|
+
many: Înregistrarea nu poate fi ștearsă deoarece există %{record} dependente
|
122
|
+
taken: a fost deja luat
|
123
|
+
too_long:
|
124
|
+
one: este prea lung (maximum 1 caracter)
|
125
|
+
other: este prea lung (maximum este %{count} caractere)
|
126
|
+
too_short:
|
127
|
+
one: este prea scurt (minimum 1 caracter)
|
128
|
+
other: este prea scurt (minimum este %{count} caractere)
|
129
|
+
wrong_length:
|
130
|
+
one: are lungime greșită (ar trebui să fie 1 caracter)
|
131
|
+
other: este lungimea greșită (ar trebui să fie %{count} caractere)
|
132
|
+
other_than: trebuie să fie altul decât %{count}
|
133
|
+
template:
|
134
|
+
body: 'Au apărut probleme cu următoarele câmpuri:'
|
135
|
+
header:
|
136
|
+
one: 1 eroare a intervenit la salvarea acestui %{model}
|
137
|
+
other: "%{count} errori au intervenit la păstrarea acestui %{model}"
|
138
|
+
helpers:
|
139
|
+
select:
|
140
|
+
prompt: Alegeți, vă rog
|
141
|
+
submit:
|
142
|
+
create: Creare %{model}
|
143
|
+
submit: Păstrare %{model}
|
144
|
+
update: Actualizare %{model}
|
145
|
+
number:
|
146
|
+
currency:
|
147
|
+
format:
|
148
|
+
delimiter: ","
|
149
|
+
format: "%n %u"
|
150
|
+
precision: 2
|
151
|
+
separator: ","
|
152
|
+
significant: false
|
153
|
+
strip_insignificant_zeros: false
|
154
|
+
unit: "MDL"
|
155
|
+
format:
|
156
|
+
delimiter: ","
|
157
|
+
precision: 3
|
158
|
+
separator: "."
|
159
|
+
significant: false
|
160
|
+
strip_insignificant_zeros: false
|
161
|
+
human:
|
162
|
+
decimal_units:
|
163
|
+
format: "%n %u"
|
164
|
+
units:
|
165
|
+
billion: Miliard
|
166
|
+
million: Milion
|
167
|
+
quadrillion: Cvadrilion
|
168
|
+
thousand: Mie
|
169
|
+
trillion: Trilion
|
170
|
+
unit: ''
|
171
|
+
format:
|
172
|
+
delimiter: ''
|
173
|
+
precision: 3
|
174
|
+
significant: true
|
175
|
+
strip_insignificant_zeros: true
|
176
|
+
storage_units:
|
177
|
+
format: "%n %u"
|
178
|
+
units:
|
179
|
+
byte:
|
180
|
+
one: Byte
|
181
|
+
other: Byte-uri
|
182
|
+
gb: GB
|
183
|
+
kb: KB
|
184
|
+
mb: MB
|
185
|
+
tb: TB
|
186
|
+
percentage:
|
187
|
+
format:
|
188
|
+
delimiter: ''
|
189
|
+
format: "%n%"
|
190
|
+
precision:
|
191
|
+
format:
|
192
|
+
delimiter: ''
|
193
|
+
support:
|
194
|
+
array:
|
195
|
+
last_word_connector: ", și "
|
196
|
+
two_words_connector: " și "
|
197
|
+
words_connector: ", "
|
198
|
+
recaptcha:
|
199
|
+
errors:
|
200
|
+
incorrect-captcha-sol: 'Vai! reCAPTCHA rezolvat greșit!'
|
201
|
+
time:
|
202
|
+
am: dimineața
|
203
|
+
formats:
|
204
|
+
default: "%a, %d %b %Y %H:%M:%S %z"
|
205
|
+
long: "%B %d, %Y %H:%M"
|
206
|
+
short: "%d %b %H:%M"
|
207
|
+
pm: seara
|