hobo 1.3.0.RC4 → 1.3.0.pre10
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +234 -282
- data/Rakefile +3 -3
- data/VERSION +1 -1
- data/app/controllers/dev_controller.rb +2 -2
- data/bin/hobo +3 -3
- data/config/routes.rb +1 -1
- data/doctests/hobo/lifecycles.rdoctest +1 -0
- data/doctests/hobo/model.rdoctest +5 -0
- data/doctests/hobo/multi_model_forms.rdoctest +5 -4
- data/doctests/hobo/scopes.rdoctest +8 -11
- data/doctests/prepare_testapp.rb +1 -2
- data/hobo.gemspec +2 -2
- data/lib/generators/hobo/admin_subsite/admin_subsite_generator.rb +11 -5
- data/lib/generators/hobo/admin_subsite/templates/admin.css +2 -20
- data/lib/generators/hobo/admin_subsite/templates/admin_tag_injection.erb +1 -3
- data/lib/generators/hobo/admin_subsite/templates/controller.rb.erb +5 -5
- data/lib/generators/hobo/admin_subsite/templates/users_index.dryml +1 -3
- data/lib/generators/hobo/basic/basic_generator.rb +17 -0
- data/lib/generators/hobo/{assets → basic}/templates/application.css +0 -0
- data/lib/generators/hobo/{assets → basic}/templates/application.dryml.erb +1 -1
- data/lib/generators/hobo/{assets → basic}/templates/dryml-support.js +2 -2
- data/lib/generators/hobo/{assets → basic}/templates/en_injection.yml +0 -0
- data/lib/generators/hobo/{assets → basic}/templates/guest.rb +0 -0
- data/lib/generators/hobo/controller.rb +1 -6
- data/lib/generators/hobo/front_controller/front_controller_generator.rb +3 -2
- data/{app/views/dev → lib/generators/hobo/front_controller/templates}/summary.dryml +10 -7
- data/lib/generators/hobo/hints/hints_generator.rb +12 -0
- data/lib/generators/hobo/hints/templates/hints.rb.erb +5 -0
- data/lib/generators/hobo/hints/templates/model_injection.rb.erb +36 -0
- data/lib/generators/hobo/i18n/i18n_generator.rb +9 -1
- data/lib/generators/hobo/i18n/templates/app.en.yml +1 -1
- data/lib/generators/hobo/i18n/templates/app.es-DO.yml +24 -0
- data/lib/generators/hobo/i18n/templates/app.it.yml +1 -5
- data/lib/generators/hobo/i18n/templates/app.pt-PT.yml +0 -1
- data/lib/generators/hobo/i18n/templates/default_count_injection.rb +10 -0
- data/lib/generators/hobo/i18n/templates/hobo.en.yml +10 -26
- data/lib/generators/hobo/i18n/templates/{hobo.es.yml → hobo.es-DO.yml} +10 -27
- data/lib/generators/hobo/i18n/templates/hobo.it.yml +4 -20
- data/lib/generators/hobo/i18n/templates/hobo.pt-PT.yml +9 -25
- data/lib/generators/hobo/model.rb +13 -0
- data/lib/generators/hobo/model/USAGE +3 -2
- data/lib/generators/hobo/model/model_generator.rb +1 -2
- data/lib/generators/hobo/rapid/rapid_generator.rb +0 -2
- data/lib/generators/hobo/rapid/templates/hobo-rapid.js +93 -78
- data/lib/generators/hobo/rapid/templates/ie7-recalc.js +21 -21
- data/lib/generators/hobo/rapid/templates/lowpro.js +31 -31
- data/lib/generators/hobo/rapid/templates/reset.css +1 -1
- data/lib/generators/hobo/rapid/templates/themes/clean/public/stylesheets/clean.css +16 -17
- data/lib/generators/hobo/rapid/templates/themes/clean/public/stylesheets/rapid-ui.css +3 -3
- data/lib/generators/hobo/rapid/templates/themes/clean/views/clean.dryml +1 -1
- data/lib/generators/hobo/resource/resource_generator.rb +1 -1
- data/lib/generators/hobo/routes/router.rb +4 -4
- data/lib/generators/hobo/routes/routes_generator.rb +1 -12
- data/lib/generators/hobo/routes/templates/hobo_routes.rb.erb +1 -1
- data/lib/generators/hobo/setup_wizard/setup_wizard_generator.rb +43 -88
- data/lib/generators/hobo/subsite.rb +5 -18
- data/lib/generators/hobo/subsite/subsite_generator.rb +1 -1
- data/lib/generators/hobo/subsite/templates/controller.rb.erb +1 -1
- data/lib/generators/hobo/subsite_taglib/templates/taglib.dryml.erb +2 -2
- data/lib/generators/hobo/test_framework/test_framework_generator.rb +7 -7
- data/lib/generators/hobo/user_controller/templates/controller.rb.erb +3 -8
- data/lib/generators/hobo/user_mailer/templates/activation.erb +2 -2
- data/lib/generators/hobo/user_mailer/templates/forgot_password.erb +2 -2
- data/lib/generators/hobo/user_mailer/templates/invite.erb +2 -2
- data/lib/generators/hobo/user_mailer/templates/mailer.rb.erb +17 -10
- data/lib/generators/hobo/user_mailer/user_mailer_generator.rb +1 -1
- data/lib/generators/hobo/user_model/USAGE +9 -2
- data/lib/generators/hobo/user_model/user_model_generator.rb +1 -2
- data/lib/hobo.rb +7 -13
- data/lib/hobo/controller.rb +14 -21
- data/lib/hobo/controller/authentication_support.rb +23 -1
- data/lib/hobo/controller/model.rb +53 -48
- data/lib/hobo/controller/{user_base.rb → user.rb} +36 -47
- data/lib/hobo/engine.rb +11 -25
- data/lib/hobo/extensions/action_controller/hobo_methods.rb +1 -25
- data/lib/hobo/extensions/active_model/translation.rb +1 -1
- data/lib/hobo/extensions/active_record/{associations/collection.rb → association_collection.rb} +3 -12
- data/lib/hobo/extensions/active_record/{associations/proxy.rb → association_proxy.rb} +7 -6
- data/lib/hobo/extensions/active_record/association_reflection.rb +19 -0
- data/lib/hobo/extensions/active_record/hobo_methods.rb +1 -1
- data/lib/hobo/extensions/active_record/scopes.rb +31 -0
- data/lib/hobo/extensions/array.rb +1 -13
- data/lib/hobo/helper.rb +6 -27
- data/lib/hobo/helper/translations.rb +90 -39
- data/lib/hobo/model.rb +20 -72
- data/lib/hobo/model/lifecycles.rb +11 -12
- data/lib/hobo/model/lifecycles/lifecycle.rb +4 -12
- data/lib/hobo/model/lifecycles/transition.rb +0 -1
- data/lib/hobo/model/permissions.rb +3 -2
- data/lib/hobo/model/scopes/apply_scopes.rb +1 -1
- data/lib/hobo/model/scopes/automatic_scopes.rb +80 -78
- data/lib/hobo/model/{user_base.rb → user.rb} +7 -9
- data/lib/hobo/rapid/generators/rapid/cards.dryml.erb +2 -2
- data/lib/hobo/rapid/generators/rapid/forms.dryml.erb +4 -5
- data/lib/hobo/rapid/generators/rapid/pages.dryml.erb +27 -26
- data/lib/hobo/rapid/helper.rb +5 -10
- data/lib/hobo/rapid/taglibs/rapid.dryml +1 -1
- data/lib/hobo/rapid/taglibs/rapid_core.dryml +42 -72
- data/lib/hobo/rapid/taglibs/rapid_document_tags.dryml +2 -2
- data/lib/hobo/rapid/taglibs/rapid_editing.dryml +16 -36
- data/lib/hobo/rapid/taglibs/rapid_forms.dryml +49 -87
- data/lib/hobo/rapid/taglibs/rapid_generics.dryml +2 -2
- data/lib/hobo/rapid/taglibs/rapid_i18n.dryml +75 -50
- data/lib/hobo/rapid/taglibs/rapid_lifecycles.dryml +5 -7
- data/lib/hobo/rapid/taglibs/rapid_navigation.dryml +2 -2
- data/lib/hobo/rapid/taglibs/rapid_pages.dryml +7 -8
- data/lib/hobo/rapid/taglibs/rapid_plus.dryml +43 -66
- data/lib/hobo/rapid/taglibs/rapid_summary.dryml +45 -16
- data/lib/hobo/rapid/taglibs/rapid_translations.dryml +36 -0
- data/lib/hobo/rapid/taglibs/rapid_user_pages.dryml +8 -8
- data/lib/hobo/routes.rb +23 -22
- data/lib/hobo/view_hints.rb +101 -0
- data/test/irt/generators/admin_subsite.irt +1 -1
- data/test/irt/generators/{assets.irt → basic.irt} +2 -2
- data/test/irt/generators/front_controller.irt +4 -2
- data/test/irt/generators/partials/_subsite_taglib_variables.rb +1 -1
- data/test/irt/generators/subsite.irt +1 -1
- data/test/permissions/test_permissions.rb +103 -103
- metadata +108 -69
- data/lib/generators/hobo/admin_subsite/USAGE +0 -25
- data/lib/generators/hobo/admin_subsite/templates/application.dryml +0 -1
- data/lib/generators/hobo/assets/USAGE +0 -5
- data/lib/generators/hobo/assets/assets_generator.rb +0 -18
- data/lib/generators/hobo/assets/templates/dryml_taglibs_initializer.rb +0 -1
- data/lib/generators/hobo/controller/USAGE +0 -3
- data/lib/generators/hobo/i18n/USAGE +0 -3
- data/lib/generators/hobo/i18n/templates/app.de.yml +0 -30
- data/lib/generators/hobo/i18n/templates/app.es.yml +0 -31
- data/lib/generators/hobo/i18n/templates/app.fr.yml +0 -26
- data/lib/generators/hobo/i18n/templates/app.nb.yml +0 -25
- data/lib/generators/hobo/i18n/templates/app.ru.yml +0 -24
- data/lib/generators/hobo/i18n/templates/hobo.de.yml +0 -204
- data/lib/generators/hobo/i18n/templates/hobo.fr.yml +0 -195
- data/lib/generators/hobo/i18n/templates/hobo.nb.yml +0 -198
- data/lib/generators/hobo/i18n/templates/hobo.ru.yml +0 -200
- data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/100-ACD3E6-DBE1E5-H.png +0 -0
- data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/100-DBE1E5-FCFEF5-H.png +0 -0
- data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/300-3B5F87-ACD3E6-H.png +0 -0
- data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/spinner.gif +0 -0
- data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/stylesheets/clean-sidemenu.css +0 -81
- data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/views/clean-sidemenu.dryml +0 -30
- data/lib/generators/hobo/resource/USAGE +0 -39
- data/lib/generators/hobo/subsite/USAGE +0 -24
- data/lib/generators/hobo/subsite_taglib/USAGE +0 -4
- data/lib/generators/hobo/test_framework/USAGE +0 -2
- data/lib/generators/hobo/user_controller/USAGE +0 -3
- data/lib/generators/hobo/user_mailer/USAGE +0 -2
- data/lib/generators/hobo/user_resource/USAGE +0 -10
- data/lib/hobo/extensions/action_view/translation_helper.rb +0 -25
- data/lib/hobo/extensions/active_record/associations/reflection.rb +0 -23
- data/lib/hobo/extensions/active_record/associations/scope.rb +0 -35
- data/lib/hobo/extensions/active_record/relation_with_origin.rb +0 -32
- data/lib/hobo/extensions/i18n.rb +0 -17
- data/lib/hobo/helper/translations/normalizer.rb +0 -39
- data/lib/hobo/model/view_hints.rb +0 -123
@@ -1,198 +0,0 @@
|
|
1
|
-
# Hobo internals translation file for Norwegian
|
2
|
-
# Translated by Ronny Hanssen (super.ronny@gmail.com)
|
3
|
-
# If you find an error or if you have suggestions on improvements, please post it to http://hobousers.googlegroups.com.
|
4
|
-
|
5
|
-
nb:
|
6
|
-
hobo:
|
7
|
-
# default hobo pages translations
|
8
|
-
index:
|
9
|
-
# if you uncomment the following you will loose the automatic selection of dynamically pluralized nav-tabs
|
10
|
-
# if you need a different title you should implement a different way to select the tab on your own
|
11
|
-
#title: "%{model} Index"
|
12
|
-
heading: "%{model}liste"
|
13
|
-
|
14
|
-
new:
|
15
|
-
title: "Ny %{model}"
|
16
|
-
heading: "Ny %{model}"
|
17
|
-
|
18
|
-
show:
|
19
|
-
title: "%{model}"
|
20
|
-
heading: "%{model} %{name}"
|
21
|
-
back_link: "Tilbake"
|
22
|
-
edit_link: "Endre %{model}"
|
23
|
-
new_link: "Ny %{model}"
|
24
|
-
add_form_heading: "Legg til %{model}"
|
25
|
-
|
26
|
-
edit:
|
27
|
-
title: "Endre %{model}"
|
28
|
-
heading: "Endre %{model}"
|
29
|
-
|
30
|
-
index_for_owner:
|
31
|
-
title: "%{model} for"
|
32
|
-
# be aware that you will loose the automatic Your <collection> / Jom's <collection>
|
33
|
-
# default output for User models
|
34
|
-
# you better define the heading.* in the specific collection namespace
|
35
|
-
#heading:
|
36
|
-
subheading: "For:"
|
37
|
-
|
38
|
-
new_for_owner:
|
39
|
-
title: "Ny %{model} for"
|
40
|
-
heading: "Ny %{model}"
|
41
|
-
subheading: "For:"
|
42
|
-
|
43
|
-
login:
|
44
|
-
title: "Logg på"
|
45
|
-
heading: "Logg på"
|
46
|
-
email_address: &email_address "E-post adresse"
|
47
|
-
name: "Navn"
|
48
|
-
password: "Passord"
|
49
|
-
remember_me: "Husk meg"
|
50
|
-
login: "Logg på"
|
51
|
-
signup: "Opprett konto"
|
52
|
-
forgot_password: &forgot_password "Glemt passordet?"
|
53
|
-
|
54
|
-
signup:
|
55
|
-
title: "Opprett Konto"
|
56
|
-
heading: "Opprett Konto"
|
57
|
-
|
58
|
-
forgot_password:
|
59
|
-
title: *forgot_password
|
60
|
-
heading: *forgot_password
|
61
|
-
text: "Skriv inn epost-adressen du brukte når du registrerte deg.
|
62
|
-
Vi sender deg en epost som du kan bruke for å generere et nytt passord."
|
63
|
-
email_address: *email_address
|
64
|
-
send: "Send"
|
65
|
-
|
66
|
-
forgot_password_sent:
|
67
|
-
title: "Gjenopprettelse av passord - Epost sendt."
|
68
|
-
heading: "Gjenopprettelse av passord - Epost sendt."
|
69
|
-
text: "En epost med instruksjoner om hvordan du kan opprette nytt passsord har blitt sendt til %{email_address}. Hvis du ikke mottar denne mailen så vennligst sjekk søppelpostfilter o.l."
|
70
|
-
|
71
|
-
account_disabled_page:
|
72
|
-
title: "Konto inaktiv"
|
73
|
-
heading: "Konto inaktiv"
|
74
|
-
text: "Kontoen din er inaktiv for øyeblikket."
|
75
|
-
|
76
|
-
account_page:
|
77
|
-
title: "Din Konto"
|
78
|
-
heading: "Din Konto"
|
79
|
-
new_password: "Nytt passord"
|
80
|
-
confirm_new_password: "Bekreft nytt passord"
|
81
|
-
|
82
|
-
# default hobo action translation
|
83
|
-
# The action with added model variable are new, create, delete, save,
|
84
|
-
# edit and back_to_parent
|
85
|
-
actions:
|
86
|
-
new: "Ny %{model}"
|
87
|
-
create: "Opprett %{model}"
|
88
|
-
previous: "Forrige"
|
89
|
-
next: "Neste"
|
90
|
-
add: "Legg til"
|
91
|
-
show_all: "Vis alle %{model}..."
|
92
|
-
delete: "Slett %{model}"
|
93
|
-
save: "Lagre %{model}"
|
94
|
-
cancel: "Avbryt"
|
95
|
-
edit: "Endre %{model}"
|
96
|
-
edit_control: "Endre"
|
97
|
-
back: "Tilbake til"
|
98
|
-
back_to_parent: "Tilbake til %{parent} %{name}"
|
99
|
-
send: "Send"
|
100
|
-
remove: "Fjern"
|
101
|
-
signup: "Opprett konto"
|
102
|
-
login: "Logg på"
|
103
|
-
logout: "Logg av"
|
104
|
-
logged_in_as: "Logget på som %{name}"
|
105
|
-
account: "Konto"
|
106
|
-
save_account: "Lagre Dine Innstillinger"
|
107
|
-
|
108
|
-
# default hobo message translation
|
109
|
-
messages:
|
110
|
-
create:
|
111
|
-
success: "%{model} ble opprettet"
|
112
|
-
error: "Klarte ikke å opprette %{model}.\n%{errors}"
|
113
|
-
creator:
|
114
|
-
error: "Kunne ikke utføre oppretteren; %{name}.\n%{errors}"
|
115
|
-
transition:
|
116
|
-
error: "Kunne ikke utføre transisjonen; %{name}.\n%{errors}"
|
117
|
-
update:
|
118
|
-
no_attribute_error: "Ingen oppdatering spesifisert i 'params'"
|
119
|
-
success: "Endringene for %{model} ble lagret"
|
120
|
-
error: "Det oppsto et problem med å gjennomføre denne endringen.\n%{errors}"
|
121
|
-
destroy:
|
122
|
-
success: "%{model} ble slettet"
|
123
|
-
signup:
|
124
|
-
success: "Takk for at du opprettet en konto!"
|
125
|
-
must_activate: "Du må aktivere kontoen din før du kan logge på. Vennligst sjekk eposten din."
|
126
|
-
login:
|
127
|
-
success: "Du er nå logget på."
|
128
|
-
error: "Du oppga ikke et gyldig %{login} og passord!"
|
129
|
-
logout: "Du er nå logget av."
|
130
|
-
reset_password: "Passordet ditt har blitt tilbakestilt."
|
131
|
-
permission_denied: "Ingen Tilgang"
|
132
|
-
not_found: "Finner ikke siden du ba om."
|
133
|
-
unauthenticated: "Kunne ikke autentisere deg"
|
134
|
-
validate_password: "må være minst 6 tegn langt og kan ikke være bare små bokstaver"
|
135
|
-
current_password_is_not_correct: "er ikke riktig"
|
136
|
-
you_are_site_admin: "Du har nå admininstrator-rettigheter for dette webstedet"
|
137
|
-
you_signed_up: "Du har opprettet konto"
|
138
|
-
none: "Ingen %{model} tilgjengelig."
|
139
|
-
confirm: "Er du sikker?"
|
140
|
-
|
141
|
-
# default hobo collection translation
|
142
|
-
collection:
|
143
|
-
count: &collection_count
|
144
|
-
zero: "Ingen %{model}"
|
145
|
-
one: "Viser %{count} %{model}"
|
146
|
-
other: "Viser %{count} %{model}"
|
147
|
-
# you can use the following to completely override the collection heading
|
148
|
-
# be aware that you will loose the automatic Your <collection> / Jom's <collection>
|
149
|
-
# default output for User models
|
150
|
-
# you better define the heading.* in the specific collection namespace
|
151
|
-
#heading:
|
152
|
-
add_form_heading: "Legg til %{model}"
|
153
|
-
empty_message: "Ingen poster å vise"
|
154
|
-
|
155
|
-
# default hobo form translation
|
156
|
-
form:
|
157
|
-
new:
|
158
|
-
heading: "Ny %{model}"
|
159
|
-
error:
|
160
|
-
heading: "Følgende feil oppstod:"
|
161
|
-
select_many:
|
162
|
-
prompt: "Legg til %{model}"
|
163
|
-
|
164
|
-
# hobo support
|
165
|
-
support:
|
166
|
-
or: "eller"
|
167
|
-
a: "en"
|
168
|
-
an: "en"
|
169
|
-
|
170
|
-
table_plus:
|
171
|
-
search: "Søk"
|
172
|
-
submit_label: "Søk"
|
173
|
-
|
174
|
-
live_search:
|
175
|
-
label: "Søk"
|
176
|
-
results_label: "Søkeresultater"
|
177
|
-
close_button: "lukk"
|
178
|
-
no_results: "Ingen resultater for søket ditt."
|
179
|
-
|
180
|
-
dev_user_changer:
|
181
|
-
guest: "Gjest"
|
182
|
-
|
183
|
-
admin:
|
184
|
-
subsite_name: "Admin"
|
185
|
-
invite_new_user: "Invitér en ny bruker"
|
186
|
-
|
187
|
-
subsite:
|
188
|
-
back_link: "Tlbake til nettstedet"
|
189
|
-
|
190
|
-
boolean_yes: "Ja"
|
191
|
-
boolean_no: "Nei"
|
192
|
-
password_hidden: "[passordet er skjult]"
|
193
|
-
|
194
|
-
in_place_editor:
|
195
|
-
click_to_edit: "(klikk her for å endre)"
|
196
|
-
|
197
|
-
select_one_editor:
|
198
|
-
blank_message: *no_model
|
@@ -1,200 +0,0 @@
|
|
1
|
-
# Hobo internals translation file for Russian
|
2
|
-
# Based on russian translations by Nick Gorbikoff
|
3
|
-
# https://github.com/konung/hobo-i18n-locales
|
4
|
-
# Adapted by Paul Shepel (http://github.com/tacid)
|
5
|
-
#
|
6
|
-
# If you find any error, please post it to http://hobousers.googlegroups.com.
|
7
|
-
# Thank you!
|
8
|
-
ru:
|
9
|
-
hobo:
|
10
|
-
# default hobo pages translations
|
11
|
-
index:
|
12
|
-
# if you uncomment the following you will loose the automatic selection of dinamically pluralized nav-tabs
|
13
|
-
# if you need a different title you should implement a different way to select the tab on your own
|
14
|
-
#title: "%{model} Index"
|
15
|
-
heading: "Список %{model}"
|
16
|
-
|
17
|
-
new:
|
18
|
-
title: "Создать %{model}"
|
19
|
-
heading: "Создать %{model}"
|
20
|
-
|
21
|
-
show:
|
22
|
-
title: "%{model}"
|
23
|
-
heading: "%{model} %{name}"
|
24
|
-
back_link: "Назад"
|
25
|
-
edit_link: "Изменить %{model}"
|
26
|
-
new_link: "Создать %{model}"
|
27
|
-
add_form_heading: "Добавить %{model}"
|
28
|
-
|
29
|
-
edit:
|
30
|
-
title: "Изменить %{model}"
|
31
|
-
heading: "Изменить %{model}"
|
32
|
-
|
33
|
-
index_for_owner:
|
34
|
-
title: "%{model} для"
|
35
|
-
# be aware that you will loose the automatic Your <collection> / Jom's <collection>
|
36
|
-
# default output for User models
|
37
|
-
# you better define the heading.* in the specific collection namespace
|
38
|
-
#heading:
|
39
|
-
subheading: "Для:"
|
40
|
-
|
41
|
-
new_for_owner:
|
42
|
-
title: "Создать %{model} для"
|
43
|
-
heading: "Создать %{model}"
|
44
|
-
subheading: "Для:"
|
45
|
-
|
46
|
-
login:
|
47
|
-
title: "Логин"
|
48
|
-
heading: "Логин"
|
49
|
-
email_address: &email_address "E-mail"
|
50
|
-
name: "Имя"
|
51
|
-
password: "Пароль"
|
52
|
-
remember_me: "Запомнить меня"
|
53
|
-
login: "Войти"
|
54
|
-
signup: "Регистрация"
|
55
|
-
forgot_password: &forgot_password "Забыли пароль?"
|
56
|
-
|
57
|
-
signup:
|
58
|
-
title: "Регистрация"
|
59
|
-
heading: "Регистрация нового пользователя"
|
60
|
-
|
61
|
-
forgot_password:
|
62
|
-
title: *forgot_password
|
63
|
-
heading: *forgot_password
|
64
|
-
text: "Введите адрес электроной почты, который Вы использовали при регистрации. Мы вышлем Вам на него инструкции для изменения пароля."
|
65
|
-
email_address: *email_address
|
66
|
-
send: "Выслать"
|
67
|
-
|
68
|
-
forgot_password_sent:
|
69
|
-
title: "Забытый пароль - Письмо отправлено"
|
70
|
-
heading: "Забытый пароль - Письмо с инструкциями отправлено"
|
71
|
-
text: "Письмо с инструкциями для восстановления пароля было выслано на %{email_address}. Если Вы не получили письмо, проверьте Ваш спам-фильтр."
|
72
|
-
|
73
|
-
account_disabled_page:
|
74
|
-
title: "Учётная запись не найдена"
|
75
|
-
heading: "Учётная запись не найдена"
|
76
|
-
text: "Мы не можем найти учётную запись соответствующую данному адресу электроной почты. Проверте, что он введён правельно."
|
77
|
-
|
78
|
-
account_page:
|
79
|
-
title: "Моя учётная запись"
|
80
|
-
heading: "Моя учётная запись"
|
81
|
-
new_password: "Новый пароль"
|
82
|
-
confirm_new_password: "Подверждение нового пароля"
|
83
|
-
|
84
|
-
# default hobo action translation
|
85
|
-
# The action with added model variable are new, create, delete, save,
|
86
|
-
# edit and back_to_parent
|
87
|
-
actions:
|
88
|
-
new: "Добавить %{model}"
|
89
|
-
create: "Создать %{model}"
|
90
|
-
previous: "Предыдущая"
|
91
|
-
next: "Следующая"
|
92
|
-
add: "Добавить"
|
93
|
-
show_all: "Показать все %{model}и..."
|
94
|
-
delete: "Удалить %{model}"
|
95
|
-
save: "Сохранить"
|
96
|
-
cancel: "Отменить"
|
97
|
-
edit: "Изменить %{model}"
|
98
|
-
edit_control: "Изменить"
|
99
|
-
back: "Назад к"
|
100
|
-
back_to_parent: "Назад к %{parent} %{name}"
|
101
|
-
send: "Отослать"
|
102
|
-
remove: "Убрать"
|
103
|
-
signup: "Регистрация"
|
104
|
-
login: "Войти"
|
105
|
-
logout: "Выйти"
|
106
|
-
logged_in_as: "Вы вошли как %{name}"
|
107
|
-
account: "Моя учетная запись"
|
108
|
-
save_account: "Сохранить данные"
|
109
|
-
|
110
|
-
# default hobo message translation
|
111
|
-
messages:
|
112
|
-
create:
|
113
|
-
success: "%{model} была создана без ошибок"
|
114
|
-
error: "Нельзя создать %{model}.\n%{errors}"
|
115
|
-
creator:
|
116
|
-
error: "Не могу исполнить указазания создателя %{name}.\n%{errors}"
|
117
|
-
transition:
|
118
|
-
error: "Не могу исполнить указазания изменителя %{name}.\n%{errors}"
|
119
|
-
update:
|
120
|
-
no_attribute_error: "Изменения не указаны в аттрибутах."
|
121
|
-
success: "Изменения сохранены."
|
122
|
-
error: "Не могу сохранить изменения. \n%{errors}"
|
123
|
-
destroy:
|
124
|
-
success: "Удаление %{model} было завершено без ошибок."
|
125
|
-
signup:
|
126
|
-
success: "Спасибо за регистрацию"
|
127
|
-
must_activate: "Вы должны активировать вашу учётную запись. Пожалуйста, проверте вашу электроную почту."
|
128
|
-
login:
|
129
|
-
success: "Вы зашли в систему."
|
130
|
-
error: "Имя пользователя (%{login}) и пароль предоставленные вами - неправильны!"
|
131
|
-
logout: "Вы вышли из системы."
|
132
|
-
reset_password: "Ваш пароль был изменён."
|
133
|
-
permission_denied: "Доступ закрыт!"
|
134
|
-
not_found: "Страницы, запрошеной вами, не существует."
|
135
|
-
unauthenticated: "Система не может подтвердить аутентичность вашой учётной записи."
|
136
|
-
validate_password: "должен быть не меньше 6 символов и НЕ должен состоять только из маленьких букв"
|
137
|
-
current_password_is_not_correct: "неправильно"
|
138
|
-
you_are_site_admin: "Вы получили права администратора сайта."
|
139
|
-
you_signed_up: "Вы зарегестрировались."
|
140
|
-
none: "Нет доступных %{model}ей."
|
141
|
-
confirm: "Вы уверены?"
|
142
|
-
|
143
|
-
# default hobo collection translation
|
144
|
-
collection:
|
145
|
-
count: &collection_count
|
146
|
-
zero: &no_model "Нет %{model}"
|
147
|
-
one: "В базе только одна %{model}."
|
148
|
-
other: "В базе %{count} %{model}"
|
149
|
-
# you can use the following to completely override the collection heading
|
150
|
-
# be aware that you will loose the automatic Your <collection> / Jom's <collection>
|
151
|
-
# default output for User models
|
152
|
-
# you better define the heading.* in the specific collection namespace
|
153
|
-
#heading:
|
154
|
-
add_form_heading: "Добавить %{model}"
|
155
|
-
empty_message: "Нет записей для отображения."
|
156
|
-
|
157
|
-
# default hobo form translation
|
158
|
-
form:
|
159
|
-
new:
|
160
|
-
heading: "Создать %{model}"
|
161
|
-
error:
|
162
|
-
heading: "Произошла ошибка:"
|
163
|
-
select_many:
|
164
|
-
prompt: "Добавить %{model}"
|
165
|
-
|
166
|
-
# hobo support
|
167
|
-
support:
|
168
|
-
or: "или"
|
169
|
-
a: ""
|
170
|
-
an: ""
|
171
|
-
|
172
|
-
table_plus:
|
173
|
-
search: "Поиск"
|
174
|
-
submit_label: "Искать"
|
175
|
-
|
176
|
-
live_search:
|
177
|
-
label: "Найти"
|
178
|
-
results_label: "Результаты поиска"
|
179
|
-
close_button: "закрыть"
|
180
|
-
no_results: "Не найдено записей удовлетворяюих критериям поиска"
|
181
|
-
|
182
|
-
dev_user_changer:
|
183
|
-
guest: "Гость"
|
184
|
-
|
185
|
-
admin:
|
186
|
-
subsite_name: "Админ"
|
187
|
-
invite_new_user: "Пригласить нового пользователя"
|
188
|
-
|
189
|
-
subsite:
|
190
|
-
back_link: "Показать сайт"
|
191
|
-
|
192
|
-
boolean_yes: "Да"
|
193
|
-
boolean_no: "Нет"
|
194
|
-
password_hidden: "[пароль скрыт]"
|
195
|
-
|
196
|
-
in_place_editor:
|
197
|
-
click_to_edit: "(нажмите для изменения)"
|
198
|
-
|
199
|
-
select_one_editor:
|
200
|
-
blank_message: *no_model
|
data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/100-ACD3E6-DBE1E5-H.png
DELETED
Binary file
|
data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/100-DBE1E5-FCFEF5-H.png
DELETED
Binary file
|
data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/300-3B5F87-ACD3E6-H.png
DELETED
Binary file
|
Binary file
|
data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/stylesheets/clean-sidemenu.css
DELETED
@@ -1,81 +0,0 @@
|
|
1
|
-
@import url('/hobothemes/clean/stylesheets/clean.css');
|
2
|
-
@import url('/hobothemes/clean/stylesheets/rapid-ui.css');
|
3
|
-
|
4
|
-
body {
|
5
|
-
width: 95%;
|
6
|
-
min-width: 800px;
|
7
|
-
}
|
8
|
-
|
9
|
-
.page-header div.search {
|
10
|
-
margin-top: 0;
|
11
|
-
padding-left:50px;
|
12
|
-
padding-right:0
|
13
|
-
}
|
14
|
-
|
15
|
-
.page-header{
|
16
|
-
margin-top: 6px;
|
17
|
-
background: none;
|
18
|
-
}
|
19
|
-
|
20
|
-
.account-nav {
|
21
|
-
margin-top: 0;
|
22
|
-
}
|
23
|
-
|
24
|
-
.page-header h1 {
|
25
|
-
padding: 20px 30px 20px 20px;
|
26
|
-
}
|
27
|
-
|
28
|
-
.page-header h1 a {
|
29
|
-
color:#3B5F87
|
30
|
-
}
|
31
|
-
|
32
|
-
#container{
|
33
|
-
width:100%;
|
34
|
-
}
|
35
|
-
|
36
|
-
#main-nav-container{
|
37
|
-
width: 20%;
|
38
|
-
background: #ACD3E6 url(../images/300-3B5F87-ACD3E6-H.png) repeat-y;
|
39
|
-
vertical-align:top;
|
40
|
-
}
|
41
|
-
|
42
|
-
#content-container {
|
43
|
-
width: 80%;
|
44
|
-
background-color:#FCFFF5;
|
45
|
-
vertical-align:top;
|
46
|
-
}
|
47
|
-
|
48
|
-
.section.with-flash {
|
49
|
-
background: none;
|
50
|
-
padding-top: 10px;
|
51
|
-
}
|
52
|
-
|
53
|
-
.main-nav {
|
54
|
-
padding: 30px 0;
|
55
|
-
}
|
56
|
-
|
57
|
-
.main-nav li {
|
58
|
-
text-align: right;
|
59
|
-
margin-right: 0;
|
60
|
-
list-style-type: none;
|
61
|
-
}
|
62
|
-
|
63
|
-
.main-nav a {
|
64
|
-
background: none;
|
65
|
-
border-bottom: 1px dotted #FCFFF5;
|
66
|
-
display: block;
|
67
|
-
font-size: 14px;
|
68
|
-
font-weight: bold;
|
69
|
-
padding: 7px 20px;
|
70
|
-
color: #FCFFF5;
|
71
|
-
}
|
72
|
-
|
73
|
-
.main-nav a:hover {
|
74
|
-
background: #DBE1E5 url(../images/100-ACD3E6-DBE1E5-H.png) repeat-y;
|
75
|
-
color:#3B5F87;
|
76
|
-
}
|
77
|
-
|
78
|
-
.main-nav li.current a {
|
79
|
-
background: #FCFFF5 url(../images/100-DBE1E5-FCFEF5-H.png) repeat-y;
|
80
|
-
color: #242E42;
|
81
|
-
}
|