hobo 1.3.0.pre31 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES-1.1.txt +5253 -0
- data/CHANGES.txt +255 -5095
- data/VERSION +1 -1
- data/hobo.gemspec +1 -2
- data/lib/generators/hobo/admin_subsite/USAGE +25 -0
- data/lib/generators/hobo/admin_subsite/admin_subsite_generator.rb +2 -1
- data/lib/generators/hobo/assets/USAGE +5 -0
- data/lib/generators/hobo/assets/templates/application.dryml.erb +1 -1
- data/lib/generators/hobo/controller/USAGE +3 -0
- data/lib/generators/hobo/i18n/USAGE +3 -0
- data/lib/generators/hobo/i18n/templates/app.fr.yml +26 -0
- data/lib/generators/hobo/i18n/templates/app.nb.yml +25 -0
- data/lib/generators/hobo/i18n/templates/hobo.de.yml +1 -0
- data/lib/generators/hobo/i18n/templates/hobo.en.yml +3 -2
- data/lib/generators/hobo/i18n/templates/hobo.es.yml +1 -0
- data/lib/generators/hobo/i18n/templates/hobo.fr.yml +195 -0
- data/lib/generators/hobo/i18n/templates/hobo.it.yml +1 -0
- data/lib/generators/hobo/i18n/templates/hobo.nb.yml +198 -0
- data/lib/generators/hobo/i18n/templates/hobo.pt-PT.yml +1 -0
- data/lib/generators/hobo/i18n/templates/hobo.ru.yml +1 -0
- data/lib/generators/hobo/model/USAGE +2 -2
- data/lib/generators/hobo/rapid/templates/hobo-rapid.js +15 -30
- data/lib/generators/hobo/rapid/templates/themes/clean/public/stylesheets/clean.css +1 -0
- data/lib/generators/hobo/resource/USAGE +39 -0
- data/lib/generators/hobo/routes/router.rb +2 -2
- data/lib/generators/hobo/setup_wizard/setup_wizard_generator.rb +23 -9
- data/lib/generators/hobo/subsite.rb +13 -2
- data/lib/generators/hobo/subsite/USAGE +24 -0
- data/lib/generators/hobo/subsite_taglib/USAGE +4 -0
- data/lib/generators/hobo/subsite_taglib/templates/taglib.dryml.erb +1 -1
- data/lib/generators/hobo/test_framework/USAGE +2 -0
- data/lib/generators/hobo/user_controller/USAGE +3 -0
- data/lib/generators/hobo/user_controller/templates/controller.rb.erb +3 -0
- data/lib/generators/hobo/user_mailer/USAGE +2 -0
- data/lib/generators/hobo/user_model/USAGE +2 -9
- data/lib/generators/hobo/user_resource/USAGE +10 -0
- data/lib/hobo.rb +1 -1
- data/lib/hobo/controller/authentication_support.rb +0 -22
- data/lib/hobo/controller/model.rb +15 -13
- data/lib/hobo/controller/{user.rb → user_base.rb} +43 -32
- data/lib/hobo/extensions/action_controller/hobo_methods.rb +25 -1
- data/lib/hobo/extensions/active_record/associations/collection.rb +12 -3
- data/lib/hobo/extensions/active_record/associations/reflection.rb +1 -1
- data/lib/hobo/extensions/active_record/relation_with_origin.rb +4 -0
- data/lib/hobo/helper.rb +6 -1
- data/lib/hobo/helper/translations.rb +1 -1
- data/lib/hobo/model.rb +55 -19
- data/lib/hobo/model/lifecycles.rb +3 -3
- data/lib/hobo/model/lifecycles/lifecycle.rb +7 -3
- data/lib/hobo/model/permissions.rb +1 -0
- data/lib/hobo/model/scopes/automatic_scopes.rb +0 -2
- data/lib/hobo/model/view_hints.rb +1 -0
- data/lib/hobo/rapid/generators/rapid/forms.dryml.erb +2 -1
- data/lib/hobo/rapid/generators/rapid/pages.dryml.erb +10 -11
- data/lib/hobo/rapid/helper.rb +4 -3
- data/lib/hobo/rapid/taglibs/rapid_core.dryml +92 -67
- data/lib/hobo/rapid/taglibs/rapid_editing.dryml +35 -15
- data/lib/hobo/rapid/taglibs/rapid_forms.dryml +46 -22
- data/lib/hobo/rapid/taglibs/rapid_i18n.dryml +103 -37
- data/lib/hobo/rapid/taglibs/rapid_lifecycles.dryml +3 -1
- data/lib/hobo/rapid/taglibs/rapid_pages.dryml +3 -3
- data/lib/hobo/rapid/taglibs/rapid_plus.dryml +49 -45
- data/test/irt/generators/partials/_subsite_taglib_variables.rb +1 -1
- metadata +38 -33
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.0
|
1
|
+
1.3.0
|
data/hobo.gemspec
CHANGED
@@ -11,11 +11,10 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.summary = 'The web app builder for Rails'
|
12
12
|
s.description = 'The web app builder for Rails'
|
13
13
|
|
14
|
-
s.add_runtime_dependency('rails', [">= 3.0.0"])
|
15
|
-
s.add_runtime_dependency('will_paginate', [">= 3.0.pre"])
|
16
14
|
s.add_runtime_dependency('hobo_support', ["= #{version}"])
|
17
15
|
s.add_runtime_dependency('hobo_fields', ["= #{version}"])
|
18
16
|
s.add_runtime_dependency('dryml', ["= #{version}"])
|
17
|
+
s.add_runtime_dependency('will_paginate', [">= 3.0.0"])
|
19
18
|
|
20
19
|
s.add_development_dependency('rubydoctest', [">= 0"])
|
21
20
|
s.add_development_dependency('shoulda', [">= 0"])
|
@@ -0,0 +1,25 @@
|
|
1
|
+
Description:
|
2
|
+
|
3
|
+
Creates a subsite, a namespaced section of your application.
|
4
|
+
|
5
|
+
Controllers for the subsite are created in
|
6
|
+
app/controllers/<subsite_name>/ and views are also in their own
|
7
|
+
subdirectory. This allows you to have two different controllers
|
8
|
+
and two different sets of views for the same model.
|
9
|
+
|
10
|
+
The subsite will use app/views/taglibs/<subsite_name>_site.dryml
|
11
|
+
as well as app/views/taglibs/application.dryml. This allows you
|
12
|
+
to customize the look and feel of a portion of your site. The
|
13
|
+
remaining views of your application that are not under a subsite
|
14
|
+
load both application.dryml and front_site.dryml.
|
15
|
+
|
16
|
+
It is thus recommended that you ensure that
|
17
|
+
<subsite_name>_site.dryml and application.dryml do not repeat
|
18
|
+
code, such as the inclusion of rapid or the setting of the theme.
|
19
|
+
One easy way of ensuring this is to use the --make-front-site
|
20
|
+
option. If you have already accounted for this, use
|
21
|
+
--make-front-site=false.
|
22
|
+
|
23
|
+
The difference between hobo:admin_site and hobo:subsite is that
|
24
|
+
hobo:admin_site limits the subsite to use by administrators only.
|
25
|
+
|
@@ -5,7 +5,6 @@ module Hobo
|
|
5
5
|
# overrides the default
|
6
6
|
argument :name, :type => :string, :default => 'admin', :optional => true
|
7
7
|
|
8
|
-
include Generators::Hobo::Subsite
|
9
8
|
include Generators::Hobo::InviteOnly
|
10
9
|
include Generators::HoboSupport::EvalTemplate
|
11
10
|
|
@@ -31,5 +30,7 @@ module Hobo
|
|
31
30
|
append_file(destination) { eval_template('admin_tag_injection.erb') }
|
32
31
|
end
|
33
32
|
|
33
|
+
include Generators::Hobo::Subsite
|
34
|
+
|
34
35
|
end
|
35
36
|
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Hobo application translation file for French.
|
2
|
+
# Please, add the specific models and attributes for your application.
|
3
|
+
|
4
|
+
# If you find any error, or if you have any more specific translation,
|
5
|
+
# please post it to http://hobousers.googlegroups.com. Thank you!
|
6
|
+
|
7
|
+
fr:
|
8
|
+
attributes:
|
9
|
+
created_at: Créé à
|
10
|
+
updated_at: Mis à jour à
|
11
|
+
|
12
|
+
activerecord:
|
13
|
+
models:
|
14
|
+
user:
|
15
|
+
one: Utilisateur
|
16
|
+
other: Utilisateurs
|
17
|
+
attributes:
|
18
|
+
user:
|
19
|
+
name: Nom
|
20
|
+
password: Mot de passe
|
21
|
+
current_password: Mot de passe actuel
|
22
|
+
password_confirmation: Confirmation du mot de passe
|
23
|
+
email_address: Adresse email
|
24
|
+
attribute_help:
|
25
|
+
user:
|
26
|
+
email_address: Nous ne transmettrons jamais votre adresse à des tiers
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# Even if you only support one language, you can use this file to customise the names that appear in the UI
|
2
|
+
# e.g.
|
3
|
+
|
4
|
+
nb:
|
5
|
+
hello: "Hei verden"
|
6
|
+
|
7
|
+
# attributes:
|
8
|
+
# created_at: Opprettet
|
9
|
+
# updated_at: Endret
|
10
|
+
#
|
11
|
+
# activerecord:
|
12
|
+
# models:
|
13
|
+
# user:
|
14
|
+
# one: Bruker
|
15
|
+
# other: Brukere
|
16
|
+
# attributes:
|
17
|
+
# user:
|
18
|
+
# name: Navn
|
19
|
+
# password: Passord
|
20
|
+
# current_password: Gjeldende Password
|
21
|
+
# password_confirmation: Bekreft Passord
|
22
|
+
# email_address: E-post
|
23
|
+
# attribute_help:
|
24
|
+
# user:
|
25
|
+
# email_address: Vi kommer aldri til � dele mailadressen din med tredjepart
|
@@ -3,7 +3,7 @@ en:
|
|
3
3
|
hobo:
|
4
4
|
# default hobo pages translations
|
5
5
|
index:
|
6
|
-
# if you uncomment the following you will loose the automatic selection of
|
6
|
+
# if you uncomment the following you will loose the automatic selection of dynamically pluralized nav-tabs
|
7
7
|
# if you need a different title you should implement a different way to select the tab on your own
|
8
8
|
#title: "%{model} Index"
|
9
9
|
heading: "%{model} Index"
|
@@ -90,6 +90,7 @@ en:
|
|
90
90
|
save: "Save %{model}"
|
91
91
|
cancel: "Cancel"
|
92
92
|
edit: "Edit %{model}"
|
93
|
+
edit_control: "Edit"
|
93
94
|
back: "Back to"
|
94
95
|
back_to_parent: "Back to %{parent} %{name}"
|
95
96
|
send: "Send"
|
@@ -153,7 +154,7 @@ en:
|
|
153
154
|
new:
|
154
155
|
heading: "New %{model}"
|
155
156
|
error:
|
156
|
-
heading: "The following error
|
157
|
+
heading: "The following error occurred:"
|
157
158
|
select_many:
|
158
159
|
prompt: "Add %{model}"
|
159
160
|
|
@@ -0,0 +1,195 @@
|
|
1
|
+
# Hobo internals translation file for French
|
2
|
+
fr:
|
3
|
+
hobo:
|
4
|
+
# default hobo pages translations
|
5
|
+
index:
|
6
|
+
# if you uncomment the following you will loose the automatic selection of dynamically pluralized nav-tabs
|
7
|
+
# if you need a different title you should implement a different way to select the tab on your own
|
8
|
+
#title: "%{model} Index"
|
9
|
+
heading: "Index des %{model}"
|
10
|
+
|
11
|
+
new:
|
12
|
+
title: "Ajout de %{model}"
|
13
|
+
heading: "Ajout de %{model}"
|
14
|
+
|
15
|
+
show:
|
16
|
+
title: "%{model}"
|
17
|
+
heading: "%{model} %{name}"
|
18
|
+
back_link: "Retour"
|
19
|
+
edit_link: "Editer %{model}"
|
20
|
+
new_link: "Ajout de %{model}"
|
21
|
+
add_form_heading: "Ajout de %{model}"
|
22
|
+
|
23
|
+
edit:
|
24
|
+
title: "Edition de %{model}"
|
25
|
+
heading: "Edition de %{model}"
|
26
|
+
|
27
|
+
index_for_owner:
|
28
|
+
title: "%{model} pour"
|
29
|
+
# be aware that you will loose the automatic Your <collection> / Jom's <collection>
|
30
|
+
# default output for User models
|
31
|
+
# you better define the heading.* in the specific collection namespace
|
32
|
+
#heading:
|
33
|
+
subheading: "Pour:"
|
34
|
+
|
35
|
+
new_for_owner:
|
36
|
+
title: "Ajout de %{model} pour"
|
37
|
+
heading: "Ajout de %{model}"
|
38
|
+
subheading: "Pour:"
|
39
|
+
|
40
|
+
login:
|
41
|
+
title: "Login"
|
42
|
+
heading: "Login"
|
43
|
+
email_address: &email_address "Email"
|
44
|
+
name: "Nom"
|
45
|
+
password: "Mot de passe"
|
46
|
+
remember_me: "Mémoriser"
|
47
|
+
login: "Login"
|
48
|
+
signup: "Inscription"
|
49
|
+
forgot_password: &forgot_password "Mot de passe oublié?"
|
50
|
+
|
51
|
+
signup:
|
52
|
+
title: "Inscription"
|
53
|
+
heading: "Inscription d'un nouvel utilisateur"
|
54
|
+
|
55
|
+
forgot_password:
|
56
|
+
title: *forgot_password
|
57
|
+
heading: *forgot_password
|
58
|
+
text: "Veuillez saisir l'adresse email que vous avez utilisée lors de votre inscription.
|
59
|
+
Nous vous enverrons un email vous permettant de générer un nouveau mot de passe."
|
60
|
+
email_address: *email_address
|
61
|
+
send: "Envoyer"
|
62
|
+
|
63
|
+
forgot_password_sent:
|
64
|
+
title: "Mot de passe oublié - Email envoyé"
|
65
|
+
heading: "Mot de passe oublié - Email envoyé"
|
66
|
+
text: "Un email contenant les instructions nécessaires pour générer un nouveau mot de passe ont été envoyées à %{email_address}. Si vous ne recevez pas cet email, merci de bien vouloir vérfier vos spams."
|
67
|
+
|
68
|
+
account_disabled_page:
|
69
|
+
title: "Compte désactivé"
|
70
|
+
heading: "Compte désactivé"
|
71
|
+
text: "Votre compte est actuellement désactivé."
|
72
|
+
|
73
|
+
account_page:
|
74
|
+
title: "Votre compte"
|
75
|
+
heading: "Votre compte"
|
76
|
+
new_password: "Nouveau mot de passe"
|
77
|
+
confirm_new_password: "Confirmer le mot de passe"
|
78
|
+
|
79
|
+
# default hobo action translation
|
80
|
+
# The action with added model variable are new, create, delete, save,
|
81
|
+
# edit and back_to_parent
|
82
|
+
actions:
|
83
|
+
new: "Ajout de %{model}"
|
84
|
+
create: "Creation de %{model}"
|
85
|
+
previous: "Précédent"
|
86
|
+
next: "Suivant"
|
87
|
+
add: "Ajouter"
|
88
|
+
show_all: "Lister tous les %{model}..."
|
89
|
+
delete: "Effacement de %{model}"
|
90
|
+
save: "Sauvegarde de %{model}"
|
91
|
+
cancel: "Annuler"
|
92
|
+
edit: "Edition de %{model}"
|
93
|
+
edit_control: "Editer"
|
94
|
+
back: "Retour à"
|
95
|
+
back_to_parent: "Retour à %{parent} %{name}"
|
96
|
+
send: "Envoyer"
|
97
|
+
remove: "Effacer"
|
98
|
+
signup: "Inscription"
|
99
|
+
login: "Login"
|
100
|
+
logout: "Quitter"
|
101
|
+
logged_in_as: "%{name}"
|
102
|
+
account: "Compte"
|
103
|
+
save_account: "Sauvegarder vos données"
|
104
|
+
|
105
|
+
# default hobo message translation
|
106
|
+
messages:
|
107
|
+
create:
|
108
|
+
success: "La création de %{model} a été réalisée avec succès"
|
109
|
+
error: "Echec de la création de %{model}.\n%{errors}"
|
110
|
+
creator:
|
111
|
+
error: "Le createur %{name} a échoué.\n%{errors}"
|
112
|
+
transition:
|
113
|
+
error: "La transition %{name} a échoué.\n%{errors}"
|
114
|
+
update:
|
115
|
+
no_attribute_error: "Pas de mise à jour spécifiée dans les paramètres"
|
116
|
+
success: "Les modifications de %{model} ont été sauvegardés"
|
117
|
+
error: "Problème avec la modification.\n%{errors}"
|
118
|
+
destroy:
|
119
|
+
success: "L'effacement de %{model} a été réalisé avec succès"
|
120
|
+
signup:
|
121
|
+
success: "Merci de votre inscription!"
|
122
|
+
must_activate: "Vous devez activer votre compte avant de pouvoir vous logger. L'activation devrait être dans vos emails."
|
123
|
+
login:
|
124
|
+
success: "Vous êtes loggé."
|
125
|
+
error: "Erreur de %{login} et de mot de passe!"
|
126
|
+
logout: "Vous avez quitté votre session."
|
127
|
+
reset_password: "Votre mot de passe a été réinitialisé."
|
128
|
+
permission_denied: "Accès refusé"
|
129
|
+
not_found: "Page non trouvée."
|
130
|
+
unauthenticated: "Echec de l'authentification"
|
131
|
+
validate_password: "doit être long d'au moins 6 caractères et ne peut contenir que des lettres minuscules"
|
132
|
+
current_password_is_not_correct: "n'est pas correct"
|
133
|
+
you_are_site_admin: "Vous êtes désormais administrateur du site"
|
134
|
+
you_signed_up: "Vous vous êtes inscrit"
|
135
|
+
none: "Pas de %{model} disponible."
|
136
|
+
confirm: "Etes-vous certain?"
|
137
|
+
|
138
|
+
# default hobo collection translation
|
139
|
+
collection:
|
140
|
+
count: &collection_count
|
141
|
+
zero: &no_model "Pas de %{model}"
|
142
|
+
one: "Il y a 1 %{model}."
|
143
|
+
other: "Il y a %{count} %{model}."
|
144
|
+
# you can use the following to completely override the collection heading
|
145
|
+
# be aware that you will loose the automatic Your <collection> / Jom's <collection>
|
146
|
+
# default output for User models
|
147
|
+
# you better define the heading.* in the specific collection namespace
|
148
|
+
#heading:
|
149
|
+
add_form_heading: "Ajouter %{model}"
|
150
|
+
empty_message: "Aucun enregistrement à afficher"
|
151
|
+
|
152
|
+
# default hobo form translation
|
153
|
+
form:
|
154
|
+
new:
|
155
|
+
heading: "Ajout de %{model}"
|
156
|
+
error:
|
157
|
+
heading: "L'erreur suivante s'est produite:"
|
158
|
+
select_many:
|
159
|
+
prompt: "Ajouter %{model}"
|
160
|
+
|
161
|
+
# hobo support
|
162
|
+
support:
|
163
|
+
or: "ou"
|
164
|
+
a: "un(e)"
|
165
|
+
an: "un(e)"
|
166
|
+
|
167
|
+
table_plus:
|
168
|
+
search: "Rechercher"
|
169
|
+
submit_label: "OK"
|
170
|
+
|
171
|
+
live_search:
|
172
|
+
label: "Rechercher"
|
173
|
+
results_label: "Résultats de recherche"
|
174
|
+
close_button: "fermer"
|
175
|
+
no_results: "Votre recherche n'a pas produit de résultat."
|
176
|
+
|
177
|
+
dev_user_changer:
|
178
|
+
guest: "Invité"
|
179
|
+
|
180
|
+
admin:
|
181
|
+
subsite_name: "Administration"
|
182
|
+
invite_new_user: "Inviter un nouvel utilisateur"
|
183
|
+
|
184
|
+
subsite:
|
185
|
+
back_link: "Retour au site"
|
186
|
+
|
187
|
+
boolean_yes: "Oui"
|
188
|
+
boolean_no: "Non"
|
189
|
+
password_hidden: "[mot de passe caché]"
|
190
|
+
|
191
|
+
in_place_editor:
|
192
|
+
click_to_edit: "(cliquez pour éditer)"
|
193
|
+
|
194
|
+
select_one_editor:
|
195
|
+
blank_message: *no_model
|
@@ -0,0 +1,198 @@
|
|
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
|