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.
Files changed (155) hide show
  1. data/CHANGES.txt +234 -282
  2. data/Rakefile +3 -3
  3. data/VERSION +1 -1
  4. data/app/controllers/dev_controller.rb +2 -2
  5. data/bin/hobo +3 -3
  6. data/config/routes.rb +1 -1
  7. data/doctests/hobo/lifecycles.rdoctest +1 -0
  8. data/doctests/hobo/model.rdoctest +5 -0
  9. data/doctests/hobo/multi_model_forms.rdoctest +5 -4
  10. data/doctests/hobo/scopes.rdoctest +8 -11
  11. data/doctests/prepare_testapp.rb +1 -2
  12. data/hobo.gemspec +2 -2
  13. data/lib/generators/hobo/admin_subsite/admin_subsite_generator.rb +11 -5
  14. data/lib/generators/hobo/admin_subsite/templates/admin.css +2 -20
  15. data/lib/generators/hobo/admin_subsite/templates/admin_tag_injection.erb +1 -3
  16. data/lib/generators/hobo/admin_subsite/templates/controller.rb.erb +5 -5
  17. data/lib/generators/hobo/admin_subsite/templates/users_index.dryml +1 -3
  18. data/lib/generators/hobo/basic/basic_generator.rb +17 -0
  19. data/lib/generators/hobo/{assets → basic}/templates/application.css +0 -0
  20. data/lib/generators/hobo/{assets → basic}/templates/application.dryml.erb +1 -1
  21. data/lib/generators/hobo/{assets → basic}/templates/dryml-support.js +2 -2
  22. data/lib/generators/hobo/{assets → basic}/templates/en_injection.yml +0 -0
  23. data/lib/generators/hobo/{assets → basic}/templates/guest.rb +0 -0
  24. data/lib/generators/hobo/controller.rb +1 -6
  25. data/lib/generators/hobo/front_controller/front_controller_generator.rb +3 -2
  26. data/{app/views/dev → lib/generators/hobo/front_controller/templates}/summary.dryml +10 -7
  27. data/lib/generators/hobo/hints/hints_generator.rb +12 -0
  28. data/lib/generators/hobo/hints/templates/hints.rb.erb +5 -0
  29. data/lib/generators/hobo/hints/templates/model_injection.rb.erb +36 -0
  30. data/lib/generators/hobo/i18n/i18n_generator.rb +9 -1
  31. data/lib/generators/hobo/i18n/templates/app.en.yml +1 -1
  32. data/lib/generators/hobo/i18n/templates/app.es-DO.yml +24 -0
  33. data/lib/generators/hobo/i18n/templates/app.it.yml +1 -5
  34. data/lib/generators/hobo/i18n/templates/app.pt-PT.yml +0 -1
  35. data/lib/generators/hobo/i18n/templates/default_count_injection.rb +10 -0
  36. data/lib/generators/hobo/i18n/templates/hobo.en.yml +10 -26
  37. data/lib/generators/hobo/i18n/templates/{hobo.es.yml → hobo.es-DO.yml} +10 -27
  38. data/lib/generators/hobo/i18n/templates/hobo.it.yml +4 -20
  39. data/lib/generators/hobo/i18n/templates/hobo.pt-PT.yml +9 -25
  40. data/lib/generators/hobo/model.rb +13 -0
  41. data/lib/generators/hobo/model/USAGE +3 -2
  42. data/lib/generators/hobo/model/model_generator.rb +1 -2
  43. data/lib/generators/hobo/rapid/rapid_generator.rb +0 -2
  44. data/lib/generators/hobo/rapid/templates/hobo-rapid.js +93 -78
  45. data/lib/generators/hobo/rapid/templates/ie7-recalc.js +21 -21
  46. data/lib/generators/hobo/rapid/templates/lowpro.js +31 -31
  47. data/lib/generators/hobo/rapid/templates/reset.css +1 -1
  48. data/lib/generators/hobo/rapid/templates/themes/clean/public/stylesheets/clean.css +16 -17
  49. data/lib/generators/hobo/rapid/templates/themes/clean/public/stylesheets/rapid-ui.css +3 -3
  50. data/lib/generators/hobo/rapid/templates/themes/clean/views/clean.dryml +1 -1
  51. data/lib/generators/hobo/resource/resource_generator.rb +1 -1
  52. data/lib/generators/hobo/routes/router.rb +4 -4
  53. data/lib/generators/hobo/routes/routes_generator.rb +1 -12
  54. data/lib/generators/hobo/routes/templates/hobo_routes.rb.erb +1 -1
  55. data/lib/generators/hobo/setup_wizard/setup_wizard_generator.rb +43 -88
  56. data/lib/generators/hobo/subsite.rb +5 -18
  57. data/lib/generators/hobo/subsite/subsite_generator.rb +1 -1
  58. data/lib/generators/hobo/subsite/templates/controller.rb.erb +1 -1
  59. data/lib/generators/hobo/subsite_taglib/templates/taglib.dryml.erb +2 -2
  60. data/lib/generators/hobo/test_framework/test_framework_generator.rb +7 -7
  61. data/lib/generators/hobo/user_controller/templates/controller.rb.erb +3 -8
  62. data/lib/generators/hobo/user_mailer/templates/activation.erb +2 -2
  63. data/lib/generators/hobo/user_mailer/templates/forgot_password.erb +2 -2
  64. data/lib/generators/hobo/user_mailer/templates/invite.erb +2 -2
  65. data/lib/generators/hobo/user_mailer/templates/mailer.rb.erb +17 -10
  66. data/lib/generators/hobo/user_mailer/user_mailer_generator.rb +1 -1
  67. data/lib/generators/hobo/user_model/USAGE +9 -2
  68. data/lib/generators/hobo/user_model/user_model_generator.rb +1 -2
  69. data/lib/hobo.rb +7 -13
  70. data/lib/hobo/controller.rb +14 -21
  71. data/lib/hobo/controller/authentication_support.rb +23 -1
  72. data/lib/hobo/controller/model.rb +53 -48
  73. data/lib/hobo/controller/{user_base.rb → user.rb} +36 -47
  74. data/lib/hobo/engine.rb +11 -25
  75. data/lib/hobo/extensions/action_controller/hobo_methods.rb +1 -25
  76. data/lib/hobo/extensions/active_model/translation.rb +1 -1
  77. data/lib/hobo/extensions/active_record/{associations/collection.rb → association_collection.rb} +3 -12
  78. data/lib/hobo/extensions/active_record/{associations/proxy.rb → association_proxy.rb} +7 -6
  79. data/lib/hobo/extensions/active_record/association_reflection.rb +19 -0
  80. data/lib/hobo/extensions/active_record/hobo_methods.rb +1 -1
  81. data/lib/hobo/extensions/active_record/scopes.rb +31 -0
  82. data/lib/hobo/extensions/array.rb +1 -13
  83. data/lib/hobo/helper.rb +6 -27
  84. data/lib/hobo/helper/translations.rb +90 -39
  85. data/lib/hobo/model.rb +20 -72
  86. data/lib/hobo/model/lifecycles.rb +11 -12
  87. data/lib/hobo/model/lifecycles/lifecycle.rb +4 -12
  88. data/lib/hobo/model/lifecycles/transition.rb +0 -1
  89. data/lib/hobo/model/permissions.rb +3 -2
  90. data/lib/hobo/model/scopes/apply_scopes.rb +1 -1
  91. data/lib/hobo/model/scopes/automatic_scopes.rb +80 -78
  92. data/lib/hobo/model/{user_base.rb → user.rb} +7 -9
  93. data/lib/hobo/rapid/generators/rapid/cards.dryml.erb +2 -2
  94. data/lib/hobo/rapid/generators/rapid/forms.dryml.erb +4 -5
  95. data/lib/hobo/rapid/generators/rapid/pages.dryml.erb +27 -26
  96. data/lib/hobo/rapid/helper.rb +5 -10
  97. data/lib/hobo/rapid/taglibs/rapid.dryml +1 -1
  98. data/lib/hobo/rapid/taglibs/rapid_core.dryml +42 -72
  99. data/lib/hobo/rapid/taglibs/rapid_document_tags.dryml +2 -2
  100. data/lib/hobo/rapid/taglibs/rapid_editing.dryml +16 -36
  101. data/lib/hobo/rapid/taglibs/rapid_forms.dryml +49 -87
  102. data/lib/hobo/rapid/taglibs/rapid_generics.dryml +2 -2
  103. data/lib/hobo/rapid/taglibs/rapid_i18n.dryml +75 -50
  104. data/lib/hobo/rapid/taglibs/rapid_lifecycles.dryml +5 -7
  105. data/lib/hobo/rapid/taglibs/rapid_navigation.dryml +2 -2
  106. data/lib/hobo/rapid/taglibs/rapid_pages.dryml +7 -8
  107. data/lib/hobo/rapid/taglibs/rapid_plus.dryml +43 -66
  108. data/lib/hobo/rapid/taglibs/rapid_summary.dryml +45 -16
  109. data/lib/hobo/rapid/taglibs/rapid_translations.dryml +36 -0
  110. data/lib/hobo/rapid/taglibs/rapid_user_pages.dryml +8 -8
  111. data/lib/hobo/routes.rb +23 -22
  112. data/lib/hobo/view_hints.rb +101 -0
  113. data/test/irt/generators/admin_subsite.irt +1 -1
  114. data/test/irt/generators/{assets.irt → basic.irt} +2 -2
  115. data/test/irt/generators/front_controller.irt +4 -2
  116. data/test/irt/generators/partials/_subsite_taglib_variables.rb +1 -1
  117. data/test/irt/generators/subsite.irt +1 -1
  118. data/test/permissions/test_permissions.rb +103 -103
  119. metadata +108 -69
  120. data/lib/generators/hobo/admin_subsite/USAGE +0 -25
  121. data/lib/generators/hobo/admin_subsite/templates/application.dryml +0 -1
  122. data/lib/generators/hobo/assets/USAGE +0 -5
  123. data/lib/generators/hobo/assets/assets_generator.rb +0 -18
  124. data/lib/generators/hobo/assets/templates/dryml_taglibs_initializer.rb +0 -1
  125. data/lib/generators/hobo/controller/USAGE +0 -3
  126. data/lib/generators/hobo/i18n/USAGE +0 -3
  127. data/lib/generators/hobo/i18n/templates/app.de.yml +0 -30
  128. data/lib/generators/hobo/i18n/templates/app.es.yml +0 -31
  129. data/lib/generators/hobo/i18n/templates/app.fr.yml +0 -26
  130. data/lib/generators/hobo/i18n/templates/app.nb.yml +0 -25
  131. data/lib/generators/hobo/i18n/templates/app.ru.yml +0 -24
  132. data/lib/generators/hobo/i18n/templates/hobo.de.yml +0 -204
  133. data/lib/generators/hobo/i18n/templates/hobo.fr.yml +0 -195
  134. data/lib/generators/hobo/i18n/templates/hobo.nb.yml +0 -198
  135. data/lib/generators/hobo/i18n/templates/hobo.ru.yml +0 -200
  136. data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/100-ACD3E6-DBE1E5-H.png +0 -0
  137. data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/100-DBE1E5-FCFEF5-H.png +0 -0
  138. data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/300-3B5F87-ACD3E6-H.png +0 -0
  139. data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/spinner.gif +0 -0
  140. data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/stylesheets/clean-sidemenu.css +0 -81
  141. data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/views/clean-sidemenu.dryml +0 -30
  142. data/lib/generators/hobo/resource/USAGE +0 -39
  143. data/lib/generators/hobo/subsite/USAGE +0 -24
  144. data/lib/generators/hobo/subsite_taglib/USAGE +0 -4
  145. data/lib/generators/hobo/test_framework/USAGE +0 -2
  146. data/lib/generators/hobo/user_controller/USAGE +0 -3
  147. data/lib/generators/hobo/user_mailer/USAGE +0 -2
  148. data/lib/generators/hobo/user_resource/USAGE +0 -10
  149. data/lib/hobo/extensions/action_view/translation_helper.rb +0 -25
  150. data/lib/hobo/extensions/active_record/associations/reflection.rb +0 -23
  151. data/lib/hobo/extensions/active_record/associations/scope.rb +0 -35
  152. data/lib/hobo/extensions/active_record/relation_with_origin.rb +0 -32
  153. data/lib/hobo/extensions/i18n.rb +0 -17
  154. data/lib/hobo/helper/translations/normalizer.rb +0 -39
  155. data/lib/hobo/model/view_hints.rb +0 -123
@@ -1,31 +0,0 @@
1
- # Hobo application translation file for Spanish.
2
- # Please, add the specific models and attributes for your application.
3
-
4
- # Translated by Domizio Demichelis (dd.nexus@gmail.com)
5
- # Corrections by Ricardo Pacheco
6
-
7
- # This file might be used for other Latin America Spanish Countries without any change
8
- # It might be ok also for Spain. If you find any error, or if you have any more specific translation,
9
- # please post it to http://hobousers.googlegroups.com. Thank you!
10
-
11
- es:
12
-
13
- attributes:
14
- created_at: Creado el
15
- updated_at: Actualizado el
16
-
17
- activerecord:
18
- models:
19
- user:
20
- one: Usuario
21
- other: Usuarios
22
- attributes:
23
- user:
24
- name: Nombre
25
- password: Contraseña
26
- current_password: Contraseña Actual
27
- password_confirmation: Confirmación Contraseña
28
- email_address: Correo Electrónico
29
- # attribute_help:
30
- # user:
31
- # email_address:
@@ -1,26 +0,0 @@
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
@@ -1,25 +0,0 @@
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
@@ -1,24 +0,0 @@
1
- # Hobo application translation file for Russian.
2
- # Please, add the specific models and attributes for your application.
3
-
4
- ru:
5
-
6
- attributes:
7
- created_at: Создано
8
- updated_at: Обновлено
9
-
10
- activerecord:
11
- models:
12
- user:
13
- one: Пользователь
14
- other: Пользователи
15
- attributes:
16
- user:
17
- name: Имя
18
- password: Пароль
19
- current_password: Текущий пароль
20
- password_confirmation: Подтверждение пароля
21
- email_address: Электронный адрес
22
- # attribute_help:
23
- # user:
24
- # email_address: We will never share your address with third parties
@@ -1,204 +0,0 @@
1
- # Hobo internals translation file for German
2
- # Translated by Matthias Wächter (matthias@waechter.wiz.at)
3
-
4
- # If you find any error, please post it to http://hobousers.googlegroups.com.
5
- # Thank you!
6
-
7
- de:
8
- hobo:
9
- # default hobo pages translations
10
- index:
11
- # if you uncomment the following you will loose the automatic selection of dinamically pluralized nav-tabs
12
- # if you need a different title you should implement a different way to select the tab on your own
13
- #title: "%{model} Index"
14
- heading: "%{model} Übersicht"
15
-
16
- new:
17
- title: "%{model} anlegen"
18
- heading: "%{model} anlegen"
19
-
20
- show:
21
- title: "%{model}"
22
- heading: "%{model} %{name}"
23
- back_link: "Zurück"
24
- edit_link: "%{model} bearbeiten"
25
- new_link: "%{model} anlegen"
26
- add_form_heading: "%{model} hinzufügen"
27
-
28
- edit:
29
- title: "%{model} bearbeiten"
30
- heading: "%{model} bearbeiten"
31
-
32
- index_for_owner:
33
- title: "%{model} für"
34
- # be aware that you will loose the automatic Your <collection> / Jom's <collection>
35
- # default output for User models
36
- # you better define the heading.* in the specific collection namespace
37
- #heading:
38
- subheading: "Für:"
39
-
40
- new_for_owner:
41
- title: "%{model} anlegen für"
42
- heading: "%{model} anlegen"
43
- subheading: "Für:"
44
-
45
- login:
46
- title: "Login"
47
- heading: "Login"
48
- email_address: &email_address "E-Mail-Adresse"
49
- name: "Name"
50
- password: "Passwort"
51
- remember_me: "Remember me"
52
- login: "Login"
53
- signup: "Konto anlegen"
54
- forgot_password: &forgot_password "Passwort vergessen?"
55
-
56
- signup:
57
- title: "Benutzerkonto anlegen"
58
- heading: "Neuen Benutzer anlegen"
59
-
60
- forgot_password:
61
- title: *forgot_password
62
- heading: *forgot_password
63
- text: "Geben Sie die E-Mail-Adresse ein, die Sie bei der Anmeldung verwendet haben.
64
- Im Anschluss erhalten Sie ein E-Mail, mit dem Sie Ihr Passwort zurücksetzen können."
65
- email_address: *email_address
66
- send: "Abschicken"
67
-
68
- forgot_password_sent:
69
- title: "Passwort vergessen – E-Mail abgeschickt"
70
- heading: "Passwort vergessen – E-Mail abgeschickt"
71
- text: "Es wurde ein E-Mail an %{email_address} verschickt, das Anweisungen zum Rücksetzen
72
- des Passworts enthält. Wenn Sie es nicht erhalten, überprüfen Sie bitte Ihren
73
- Spam-Filter."
74
-
75
- account_disabled_page:
76
- title: "Benutzerkonto deaktiviert"
77
- heading: "Benutzerkonto deaktiviert"
78
- text: "Ihr Benutzerkonto ist derzeit deaktiviert"
79
-
80
- account_page:
81
- title: "Ihr Benutzerkonto"
82
- heading: "Ihr Benutzerkonto"
83
- new_password: "Neues Passwort"
84
- confirm_new_password: "Neues Passwort (wiederholen)"
85
-
86
- # default hobo action translation
87
- # The action with added model variable are new, create, delete, save,
88
- # edit and back_to_parent
89
- actions:
90
- new: "%{model} anlegen"
91
- create: "%{model} erzeugen"
92
- previous: "Voriges"
93
- next: "Nächstes"
94
- add: "Hinzufügen"
95
- show_all: "Alle anzeigen: %{model}"
96
- delete: "%{model} löschen"
97
- save: "%{model} speichern"
98
- cancel: "Abbrechen"
99
- edit: "%{model} bearbeiten"
100
- edit_control: "Bearbeiten"
101
- back: "Zurück zu"
102
- back_to_parent: "Zurück zu %{parent} %{name}"
103
- send: "Abschicken"
104
- remove: "Entfernen"
105
- signup: "Konto anlegen"
106
- login: "Anmelden"
107
- logout: "Abmelden"
108
- logged_in_as: "Angemeldet als %{name}"
109
- account: "Benutzerkonto"
110
- save_account: "Daten abspeichern"
111
-
112
- # default hobo message translation
113
- messages:
114
- create:
115
- success: "%{model} erfolgreich angelegt"
116
- error: "%{model} konnte nicht angelegt werden.\n%{errors}"
117
- creator:
118
- error: "Konnte %{name}-Creator nicht ausführen.\n%{errors}"
119
- transition:
120
- error: "Konnte %{name}-Transition nicht ausführen.\n%{errors}"
121
- update:
122
- no_attribute_error: "Keine Aktualisierung in params spezifiziert"
123
- success: "Änderungen an %{model} gesichert"
124
- error: "Mit dieser Änderung gab es Probleme.\n%{errors}"
125
- destroy:
126
- success: "%{model} wurde gelöscht"
127
- signup:
128
- success: "Vielen Dank für Ihre Anmeldung!"
129
- must_activate: "Sie müssen Ihr Konto erst aktivieren, bevor Sie sich damit anmelden können.
130
- Bitte schauen Sie in Ihr Postfach."
131
- login:
132
- success: "Sie haben sich angemeldet."
133
- error: "You did not provide a valid %{login} and Password!"
134
- logout: "Sie haben sich abgemeldet."
135
- reset_password: "Ihr Passwort wurde zurückgesetzt."
136
- permission_denied: "Zugriff verweigert"
137
- not_found: "Die angeforderte Seite konnte nicht gefunden werden."
138
- unauthenticated: "Sie konnten nicht Authentifiziert werden"
139
- validate_password: "muss mindestens 6 Buchstaben lang sein und darf nicht nur aus
140
- Kleinbuchstaben bestehen"
141
- current_password_is_not_correct: "ist nicht korrekt"
142
- you_are_site_admin: "Sie sind jetzt der Administrator"
143
- you_signed_up: "Sie haben sich angemeldet"
144
- none: "Kein %{model}-Objekt gefunden."
145
- confirm: "Sind Sie sich sicher?"
146
-
147
- # default hobo collection translation
148
- collection:
149
- count: &collection_count
150
- zero: &no_model "Kein %{model}-Objekt"
151
- one: "Es gibt derzeit nur ein %{model}-Objekt"
152
- other: "Es gibt bereits %{count} %{model}-Objekte"
153
- # you can use the following to completely override the collection heading
154
- # be aware that you will loose the automatic Your <collection> / Jom's <collection>
155
- # default output for User models
156
- # you better define the heading.* in the specific collection namespace
157
- #heading:
158
- add_form_heading: "%{model} hinzufügen"
159
- empty_message: "Keine Enträge"
160
-
161
- # default hobo form translation
162
- form:
163
- new:
164
- heading: "%{model} anlegen"
165
- error:
166
- heading: "Die folgenden Fehler sind aufgetreten:"
167
- select_many:
168
- prompt: "%{model} anlegen"
169
-
170
- # hobo support
171
- support:
172
- or: "oder"
173
- a: "ein/e"
174
- an: "ein/e"
175
-
176
- table_plus:
177
- search: "Suche"
178
- submit_label: "Go"
179
-
180
- live_search:
181
- label: "Suche"
182
- results_label: "Suchergebnisse"
183
- close_button: "Schließen"
184
- no_results: "Die Suche ergab keine Treffer."
185
-
186
- dev_user_changer:
187
- guest: "Gast"
188
-
189
- admin:
190
- subsite_name: "Admin"
191
- invite_new_user: "Neuen Benutzer einladen"
192
-
193
- subsite:
194
- back_link: "Zur Hauptseite"
195
-
196
- boolean_yes: "Ja"
197
- boolean_no: "Nein"
198
- password_hidden: "[Passwort versteckt]"
199
-
200
- in_place_editor:
201
- click_to_edit: "(Zum Bearbeiten anklicken)"
202
-
203
- select_one_editor:
204
- blank_message: *no_model
@@ -1,195 +0,0 @@
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