padrino-admin 0.10.7 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (164) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +22 -1
  3. data/lib/padrino-admin.rb +8 -1
  4. data/lib/padrino-admin/access_control.rb +6 -4
  5. data/lib/padrino-admin/bootstrap-less/accordion.less +34 -0
  6. data/lib/padrino-admin/bootstrap-less/alerts.less +98 -0
  7. data/lib/padrino-admin/bootstrap-less/badges.less +58 -0
  8. data/lib/padrino-admin/bootstrap-less/bootstrap.less +62 -0
  9. data/lib/padrino-admin/bootstrap-less/breadcrumbs.less +25 -0
  10. data/lib/padrino-admin/bootstrap-less/button-groups.less +166 -0
  11. data/lib/padrino-admin/bootstrap-less/buttons.less +175 -0
  12. data/lib/padrino-admin/bootstrap-less/carousel.less +192 -0
  13. data/lib/padrino-admin/bootstrap-less/close.less +32 -0
  14. data/lib/padrino-admin/bootstrap-less/code.less +61 -0
  15. data/lib/padrino-admin/bootstrap-less/component-animations.less +32 -0
  16. data/lib/padrino-admin/bootstrap-less/dropdowns.less +223 -0
  17. data/lib/padrino-admin/bootstrap-less/font-awesome-ie7.less +350 -0
  18. data/lib/padrino-admin/bootstrap-less/font-awesome.less +537 -0
  19. data/lib/padrino-admin/bootstrap-less/forms.less +543 -0
  20. data/lib/padrino-admin/bootstrap-less/glyphicons.less +200 -0
  21. data/lib/padrino-admin/bootstrap-less/grid.less +49 -0
  22. data/lib/padrino-admin/bootstrap-less/jumbotron.less +32 -0
  23. data/lib/padrino-admin/bootstrap-less/labels.less +46 -0
  24. data/lib/padrino-admin/bootstrap-less/media.less +54 -0
  25. data/lib/padrino-admin/bootstrap-less/mixins.less +530 -0
  26. data/lib/padrino-admin/bootstrap-less/modals.less +136 -0
  27. data/lib/padrino-admin/bootstrap-less/navbar.less +379 -0
  28. data/lib/padrino-admin/bootstrap-less/navs.less +277 -0
  29. data/lib/padrino-admin/bootstrap-less/normalize.less +396 -0
  30. data/lib/padrino-admin/bootstrap-less/padrino-admin.less +16 -0
  31. data/lib/padrino-admin/bootstrap-less/pager.less +43 -0
  32. data/lib/padrino-admin/bootstrap-less/pagination.less +100 -0
  33. data/lib/padrino-admin/bootstrap-less/popovers.less +133 -0
  34. data/lib/padrino-admin/bootstrap-less/print.less +74 -0
  35. data/lib/padrino-admin/bootstrap-less/progress-bars.less +118 -0
  36. data/lib/padrino-admin/bootstrap-less/responsive-utilities.less +59 -0
  37. data/lib/padrino-admin/bootstrap-less/scaffolding.less +90 -0
  38. data/lib/padrino-admin/bootstrap-less/tables.less +231 -0
  39. data/lib/padrino-admin/bootstrap-less/thumbnails.less +42 -0
  40. data/lib/padrino-admin/bootstrap-less/tooltip.less +71 -0
  41. data/lib/padrino-admin/bootstrap-less/type.less +252 -0
  42. data/lib/padrino-admin/bootstrap-less/utilities.less +42 -0
  43. data/lib/padrino-admin/bootstrap-less/variables.less +316 -0
  44. data/lib/padrino-admin/bootstrap-less/wells.less +29 -0
  45. data/lib/padrino-admin/generators/actions.rb +18 -2
  46. data/lib/padrino-admin/generators/admin_app.rb +38 -26
  47. data/lib/padrino-admin/generators/admin_page.rb +8 -1
  48. data/lib/padrino-admin/generators/orm.rb +58 -11
  49. data/lib/padrino-admin/generators/templates/account/couchrest.rb.tt +1 -1
  50. data/lib/padrino-admin/generators/templates/account/{mini_record.rb.tt → minirecord.rb.tt} +0 -0
  51. data/lib/padrino-admin/generators/templates/account/mongoid.rb.tt +1 -1
  52. data/lib/padrino-admin/generators/templates/account/ohm.rb.tt +61 -0
  53. data/lib/padrino-admin/generators/templates/account/sequel.rb.tt +1 -1
  54. data/lib/padrino-admin/generators/templates/app.rb.tt +36 -29
  55. data/lib/padrino-admin/generators/templates/app/controllers/{base.rb → base.rb.tt} +1 -2
  56. data/lib/padrino-admin/generators/templates/app/controllers/sessions.rb.tt +6 -3
  57. data/lib/padrino-admin/generators/templates/assets/images/favicon.ico +0 -0
  58. data/lib/padrino-admin/generators/templates/assets/images/font/FontAwesome.otf +0 -0
  59. data/lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.eot +0 -0
  60. data/lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.svg +284 -0
  61. data/lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.ttf +0 -0
  62. data/lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.woff +0 -0
  63. data/lib/padrino-admin/generators/templates/assets/images/logo.png +0 -0
  64. data/lib/padrino-admin/generators/templates/assets/javascripts/application.js +117 -0
  65. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-affix.js +117 -0
  66. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-alert.js +99 -0
  67. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-button.js +105 -0
  68. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-carousel.js +207 -0
  69. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-collapse.js +167 -0
  70. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-dropdown.js +165 -0
  71. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-modal.js +251 -0
  72. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-popover.js +114 -0
  73. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-scrollspy.js +162 -0
  74. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-tab.js +144 -0
  75. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-tooltip.js +361 -0
  76. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-transition.js +60 -0
  77. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-typeahead.js +335 -0
  78. data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap.min.js +6 -0
  79. data/lib/padrino-admin/generators/templates/assets/javascripts/jquery-1.9.0.min.js +4 -0
  80. data/lib/padrino-admin/generators/templates/assets/stylesheets/application.css +346 -0
  81. data/lib/padrino-admin/generators/templates/assets/stylesheets/bootstrap.css +952 -0
  82. data/lib/padrino-admin/generators/templates/erb/app/base/index.erb.tt +13 -15
  83. data/lib/padrino-admin/generators/templates/erb/app/errors/403.erb.tt +3 -0
  84. data/lib/padrino-admin/generators/templates/erb/app/errors/404.erb.tt +3 -0
  85. data/lib/padrino-admin/generators/templates/erb/app/errors/500.erb.tt +3 -0
  86. data/lib/padrino-admin/generators/templates/erb/app/layouts/application.erb.tt +59 -39
  87. data/lib/padrino-admin/generators/templates/erb/app/layouts/error.erb.tt +23 -0
  88. data/lib/padrino-admin/generators/templates/erb/app/sessions/new.erb.tt +41 -53
  89. data/lib/padrino-admin/generators/templates/erb/page/_form.erb.tt +16 -9
  90. data/lib/padrino-admin/generators/templates/erb/page/edit.erb.tt +9 -17
  91. data/lib/padrino-admin/generators/templates/erb/page/index.erb.tt +73 -31
  92. data/lib/padrino-admin/generators/templates/erb/page/new.erb.tt +8 -16
  93. data/lib/padrino-admin/generators/templates/haml/app/base/index.haml.tt +11 -24
  94. data/lib/padrino-admin/generators/templates/haml/app/errors/403.haml.tt +3 -0
  95. data/lib/padrino-admin/generators/templates/haml/app/errors/404.haml.tt +3 -0
  96. data/lib/padrino-admin/generators/templates/haml/app/errors/500.haml.tt +3 -0
  97. data/lib/padrino-admin/generators/templates/haml/app/layouts/application.haml.tt +47 -29
  98. data/lib/padrino-admin/generators/templates/haml/app/layouts/error.haml.tt +18 -0
  99. data/lib/padrino-admin/generators/templates/haml/app/sessions/new.haml.tt +33 -28
  100. data/lib/padrino-admin/generators/templates/haml/page/_form.haml.tt +13 -9
  101. data/lib/padrino-admin/generators/templates/haml/page/edit.haml.tt +7 -14
  102. data/lib/padrino-admin/generators/templates/haml/page/index.haml.tt +56 -27
  103. data/lib/padrino-admin/generators/templates/haml/page/new.haml.tt +6 -13
  104. data/lib/padrino-admin/generators/templates/page/controller.rb.tt +57 -12
  105. data/lib/padrino-admin/generators/templates/slim/app/base/index.slim.tt +11 -24
  106. data/lib/padrino-admin/generators/templates/slim/app/errors/403.slim.tt +3 -0
  107. data/lib/padrino-admin/generators/templates/slim/app/errors/404.slim.tt +3 -0
  108. data/lib/padrino-admin/generators/templates/slim/app/errors/500.slim.tt +3 -0
  109. data/lib/padrino-admin/generators/templates/slim/app/layouts/application.slim.tt +43 -26
  110. data/lib/padrino-admin/generators/templates/slim/app/layouts/error.slim.tt +19 -0
  111. data/lib/padrino-admin/generators/templates/slim/app/sessions/new.slim.tt +31 -27
  112. data/lib/padrino-admin/generators/templates/slim/page/_form.slim.tt +13 -11
  113. data/lib/padrino-admin/generators/templates/slim/page/edit.slim.tt +7 -15
  114. data/lib/padrino-admin/generators/templates/slim/page/index.slim.tt +54 -28
  115. data/lib/padrino-admin/generators/templates/slim/page/new.slim.tt +6 -14
  116. data/lib/padrino-admin/helpers/authentication_helpers.rb +6 -4
  117. data/lib/padrino-admin/helpers/view_helpers.rb +27 -5
  118. data/lib/padrino-admin/locale/admin/cs.yml +53 -13
  119. data/lib/padrino-admin/locale/admin/da.yml +53 -13
  120. data/lib/padrino-admin/locale/admin/de.yml +53 -13
  121. data/lib/padrino-admin/locale/admin/en.yml +53 -13
  122. data/lib/padrino-admin/locale/admin/es.yml +53 -13
  123. data/lib/padrino-admin/locale/admin/fr.yml +53 -13
  124. data/lib/padrino-admin/locale/admin/hu.yml +53 -13
  125. data/lib/padrino-admin/locale/admin/it.yml +53 -13
  126. data/lib/padrino-admin/locale/admin/ja.yml +54 -13
  127. data/lib/padrino-admin/locale/admin/lv.yml +53 -13
  128. data/lib/padrino-admin/locale/admin/nl.yml +53 -13
  129. data/lib/padrino-admin/locale/admin/no.yml +53 -13
  130. data/lib/padrino-admin/locale/admin/pl.yml +53 -13
  131. data/lib/padrino-admin/locale/admin/pt_br.yml +53 -13
  132. data/lib/padrino-admin/locale/admin/ro.yml +53 -13
  133. data/lib/padrino-admin/locale/admin/ru.yml +54 -13
  134. data/lib/padrino-admin/locale/admin/sv.yml +53 -13
  135. data/lib/padrino-admin/locale/admin/tr.yml +53 -13
  136. data/lib/padrino-admin/locale/admin/uk.yml +53 -13
  137. data/lib/padrino-admin/locale/admin/zh_cn.yml +53 -13
  138. data/lib/padrino-admin/locale/admin/zh_tw.yml +53 -13
  139. data/lib/padrino-admin/locale/orm/fr.yml +8 -8
  140. data/padrino-admin.gemspec +2 -0
  141. data/test/fixtures/data_mapper.rb +0 -4
  142. data/test/generators/test_account_model_generator.rb +88 -18
  143. data/test/generators/test_admin_app_generator.rb +120 -165
  144. data/test/generators/test_admin_page_generator.rb +53 -56
  145. data/test/helper.rb +4 -0
  146. data/test/test_admin_application.rb +5 -5
  147. data/test/test_locale.rb +3 -3
  148. metadata +119 -35
  149. data/lib/padrino-admin/generators/templates/assets/stylesheets/base.css +0 -95
  150. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/amro/style.css +0 -364
  151. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/bec-green/style.css +0 -290
  152. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/bec/style.css +0 -301
  153. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/blue/style.css +0 -287
  154. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/default/style.css +0 -373
  155. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/djime-cerulean/style.css +0 -305
  156. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/kathleene/style.css +0 -279
  157. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/olive/style.css +0 -345
  158. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/orange/style.css +0 -269
  159. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/reidb-greenish/style.css +0 -302
  160. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/ruby/style.css +0 -281
  161. data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/warehouse/style.css +0 -391
  162. data/lib/padrino-admin/generators/templates/erb/app/base/_sidebar.erb.tt +0 -13
  163. data/lib/padrino-admin/generators/templates/haml/app/base/_sidebar.haml.tt +0 -11
  164. data/lib/padrino-admin/generators/templates/slim/app/base/_sidebar.slim.tt +0 -11
@@ -1,16 +1,56 @@
1
1
  it:
2
2
  padrino:
3
3
  admin:
4
- save: Salva
5
- cancel: Annulla
6
- list: Elenco
7
- edit: Modifica
8
- new: Nuovo
9
- show: Mostra
10
- delete: Elimina
11
- confirm: Sei sicuro?
12
- created_at: Creato il
13
- all: Tutti
14
- profile: Profilo
15
- settings: Impostazioni
16
- logout: Esci
4
+ login:
5
+ title: "Accesso"
6
+ email: "Email"
7
+ password: "Password"
8
+ bypass: "Saltare l'accesso?"
9
+ sign_in: "Accedi"
10
+ error: "Email o password errate."
11
+ save: "Salva"
12
+ save_and_continue: "Salva e continua"
13
+ cancel: "Annulla"
14
+ list: "Elenco"
15
+ edit: "Modifica"
16
+ new: "Nuovo"
17
+ show: "Mostra"
18
+ delete: "Elimina"
19
+ confirm: "Sei sicuro?"
20
+ created_at: "Creato il"
21
+ all: "Tutti"
22
+ profile: "Profilo"
23
+ settings: "Impostazioni"
24
+ logout: "Esci"
25
+ select_all: "Seleziona tutti"
26
+ deselect_all: "Deseleziona tutti"
27
+ delete_selected: "Elimina selezionati"
28
+ delete_selected_title: "Eliminare quelli selezionati, sicuro?"
29
+ example: "Es: un semplice testo"
30
+ new_title: "Nuovo %{model}"
31
+ create_title: "Modifica %{model}"
32
+ create_success: "%{model} è stato creato con successo."
33
+ create_error: "Non è stato possibile creare il %{model}"
34
+ edit_title: "Modifica %{model}"
35
+ edit_warning: "Non è stato possibile trovare il %{model} con l'ID %{id}."
36
+ update_title: "Modifica %{model}"
37
+ update_success: "%{model} con ID %{id} è stato aggiornato con successo."
38
+ update_error: "Non è stato possible aggiornare il %{model}."
39
+ update_warning: "Non è stato possible trovare il %{model} con l'ID %{id}"
40
+ delete_title: "Elimino il %{model}?"
41
+ delete_success: "%{model} con ID %{id} è stato eliminato con successo."
42
+ delete_error: "Impossibile cancellare il %{model}!"
43
+ delete_warning: "Non è stato possible trovare il %{model} con l'ID %{id}."
44
+ destroy_many_error: "Devi seleziona più di un %{model} per eliminarli."
45
+ destroy_many_success: "%{model} %{ids} eliminato con successo."
46
+ custom_errors:
47
+ title: "Errore"
48
+ '403':
49
+ title: "Errore 403"
50
+ description: "Non autorizzato"
51
+ '404':
52
+ title: "Errore 404"
53
+ description: "Risorsa non trovata"
54
+ '500':
55
+ title: "Errore 500"
56
+ description: "Errore del server"
@@ -1,16 +1,57 @@
1
1
  ja:
2
2
  padrino:
3
3
  admin:
4
- save: 保存
5
- cancel: キャンセル
6
- list: 一覧
7
- edit: 編集
8
- new: 新規
9
- show: 詳細
10
- delete: 削除
11
- confirm: 本当に削除しますか?
12
- created_at: 作成日時
13
- all: 全ての
14
- profile: プロフィール
15
- settings: 設定
16
- logout: ログアウト
4
+ login:
5
+ title: "ログイン"
6
+ email: "メール"
7
+ password: "パスワード"
8
+ bypass: "ログインをバイパス?"
9
+ sign_in: "にサインイン"
10
+ error: "電子メールやパスワードが間違っています."
11
+ save: "保存"
12
+ save_and_continue: "保存して続行"
13
+ cancel: "キャンセル"
14
+ list: "リスト"
15
+ edit: "編集"
16
+ new: "新規"
17
+ show: "表示"
18
+ delete: "削除"
19
+ confirm: "よろしいですか?"
20
+ created_at: "に作成"
21
+ all: "すべて"
22
+ profile: "プロフィールの編集"
23
+ settings: "設定"
24
+ logout: "管理ページを終了します"
25
+ login_error: "メールアドレスかパスワードが間違っています。"
26
+ select_all: "すべて選択"
27
+ deselect_all: "すべて選択解除"
28
+ delete_selected: "選択削除"
29
+ delete_selected_title: "選択したすべての項目を削除してもよろしいですか?"
30
+ example: "例:シンプルなテキスト"
31
+ new_title: "新規 %{model}"
32
+ create_title: "%{model} の作成"
33
+ create_success: "%{model} は正常に作成されました。"
34
+ create_error: "%{model} を作成できませんでした"
35
+ edit_title: "%{model} の編集"
36
+ edit_warning: "ID %{id} の %{model} が見つかりませんでした。"
37
+ update_title: "%{model} の編集"
38
+ update_success: "ID %{id} の %{model} は正常に更新されました。"
39
+ update_error: "%{model} を更新できませんでした。"
40
+ update_warning: "ID %{id} の %{model} が見つかりませんでした"
41
+ delete_title: "%{model} を削除しますか?"
42
+ delete_success: "ID %{id} の %{model} は正常に削除されました。"
43
+ delete_error: "を削除することができません %{model}!"
44
+ delete_warning: "ID %{id} の %{model} が見つかりませんでした。"
45
+ destroy_many_error: "削除するには、少なくとも1つの %{model} を選択する必要があります。"
46
+ destroy_many_success: "%{model} %{ids} は正常に削除されました。"
47
+ custom_errors:
48
+ title: "エラー"
49
+ '403':
50
+ title: "エラー 403"
51
+ description: "アクセスは許可されていません"
52
+ '404':
53
+ title: "エラー 404"
54
+ description: "ページが見つかりません"
55
+ '500':
56
+ title: "エラー 500"
57
+ description: "サーバーエラーが発生しました"
@@ -1,16 +1,56 @@
1
1
  lv:
2
2
  padrino:
3
3
  admin:
4
- save: Saglabāt
5
- cancel: Atcelt
6
- list: Saraksts
7
- edit: Labot
8
- new: Jauns
9
- show: Parādīt
10
- delete: Dzēst
11
- confirm: Vai esat pārliecināts?
12
- created_at: Izveidots
13
- all: Viss
14
- profile: Profils
15
- settings: Uzstādījumi
16
- logout: Iziet
4
+ login:
5
+ title: "Jūs turite prisijungti"
6
+ email: "laišką"
7
+ password: "slaptažodis"
8
+ bypass: "Apeiti prisijungimo vardą?"
9
+ sign_in: "Prisijunkite"
10
+ error: "E-pasts vai parole nepareiza."
11
+ save: "Saglabāt"
12
+ save_and_continue: "Saglabāt un turpināt"
13
+ cancel: "Atcelt"
14
+ list: "Saraksts"
15
+ edit: "Edit"
16
+ new: "Jauns"
17
+ show: "Show"
18
+ delete: "Dzēst"
19
+ confirm: "Vai esat pārliecināts?"
20
+ created_at: "Izveidots pie"
21
+ all: "Visi"
22
+ profile: "Labot savu profilu"
23
+ settings: "Uzstādījumi"
24
+ logout: "Iziet no admin"
25
+ select_all: "Select All"
26
+ deselect_all: "Atcelt visu"
27
+ delete_selected: "Dzēst atlasīto"
28
+ delete_selected_title: "Vai tiešām vēlaties dzēst visus izvēlētos objektus?"
29
+ example: "Ex: vienkāršs teksts"
30
+ new_title: "Jaunā %{model}"
31
+ create_title: "Rediģēšana %{model}"
32
+ create_success: "%{model} tika veiksmīgi izveidots."
33
+ create_error: "Nevar izveidot %{model}"
34
+ edit_title: "Rediģēšana %{model}"
35
+ edit_warning: "Nevarēju atrast %{model} ar ID %{id}."
36
+ update_title: "Rediģēšana %{model}"
37
+ update_success: "%{model} ar ID %{id} tika veiksmīgi atjaunināts."
38
+ update_error: "Nevarēju atjaunināt %{modeli}."
39
+ update_warning: "Nevarēju atrast %{model} ar ID %{id}"
40
+ delete_title: "Dzēst %{model}?"
41
+ delete_success: "%{model} ar ID %{id} tika veiksmīgi dzēsts."
42
+ delete_error: "Nevar izdzēst %{model}!"
43
+ delete_warning: "Nevarēju atrast %{model} ar ID %{id}."
44
+ destroy_many_error: "Jums ir jāizvēlas vismaz viens %{model} dzēst."
45
+ destroy_many_success: "%{model} %{ids} tika veiksmīgi dzēsti."
46
+ custom_errors:
47
+ title: "Klaida"
48
+ '403':
49
+ title: "Klaida 403"
50
+ description: "draudžiamas"
51
+ '404':
52
+ title: "Klaida 404"
53
+ description: "Not Found"
54
+ '500':
55
+ title: "Klaida 500"
56
+ description: "serverio klaida"
@@ -1,16 +1,56 @@
1
1
  nl:
2
2
  padrino:
3
3
  admin:
4
- save: Opslaan
5
- cancel: Annuleren
6
- list: Lijst
7
- edit: Bewerken
8
- new: Nieuw
9
- show: Toon
10
- delete: Verwijderen
11
- confirm: Weet u het zeker?
12
- created_at: Aangemaakt op
13
- all: Alle
14
- profile: Profiel
15
- settings: Voorkeuren
16
- logout: Afmelden
4
+ login:
5
+ title: "inloggen"
6
+ email: "Email"
7
+ password: "wachtwoord"
8
+ bypass: "Bypass login?"
9
+ sign_in: "Aanmelden"
10
+ error: "E-mail of wachtwoord verkeerd."
11
+ save: "Opslaan"
12
+ save_and_continue: "Opslaan en doorgaan"
13
+ cancel: "Annuleren"
14
+ list: "Lijst"
15
+ edit: "Edit"
16
+ new: "Nieuw"
17
+ show: "Toon"
18
+ delete: "Verwijderen"
19
+ confirm: "Weet je het zeker? "
20
+ created_at: "Gemaakt om"
21
+ all: "All"
22
+ profile: "Bewerk je profiel"
23
+ settings: "Instellingen"
24
+ logout: "Verlaat de admin"
25
+ select_all: "Alles selecteren"
26
+ deselect_all: "Alles deselecteren"
27
+ delete_selected: "Selectie verwijderen"
28
+ delete_selected_title: "Weet u zeker dat u alle geselecteerde items wilt verwijderen?"
29
+ example: "Ex: een eenvoudige tekst"
30
+ new_title: "Nieuwe %{model}"
31
+ create_title: "Bezig met bewerken van %{model}"
32
+ create_success: "%{model} is succesvol aangemaakt."
33
+ create_error: "Kan niet maken %{model}"
34
+ edit_title: "Bezig met bewerken van %{model}"
35
+ edit_warning: "Kan niet vinden het %{model} met id %{id}."
36
+ update_title: "Bezig met bewerken van %{model}"
37
+ update_success: "%{model} met id %{id} is bijgewerkt."
38
+ update_error: "Kan niet bijwerken van de %{model}."
39
+ update_warning: "Kan niet vinden het %{model} met id %{id}"
40
+ delete_title: "Delete %{model}?"
41
+ delete_success: "%{model} met id %{id} is succesvol verwijderd."
42
+ delete_error: "Kan% verwijderen {model}!"
43
+ delete_warning: "Kan niet vinden het %{model} met id %{id}."
44
+ destroy_many_error: "U moet ten minste een %{model} om te verwijderen."
45
+ destroy_many_success: "%{model} %{ids} werden met succes verwijderd."
46
+ custom_errors:
47
+ title: "Fout"
48
+ '403':
49
+ title: "Fout 403"
50
+ description: "verboden"
51
+ '404':
52
+ title: "Fout 404"
53
+ description: "niet gevonden"
54
+ '500':
55
+ title: "Fout 500"
56
+ description: "Server Fout"
@@ -1,16 +1,56 @@
1
1
  "no":
2
2
  padrino:
3
3
  admin:
4
- save: Lagre
5
- cancel: Avbryt
6
- list: Liste
7
- edit: Rediger
8
- new: Ny
9
- show: Vis
10
- delete: Slett
11
- confirm: Er du sikker?
12
- created_at: Opprettet
13
- all: Alle
14
- profile: Profil
15
- settings: Instillinger
16
- logout: Logg ut
4
+ login:
5
+ title: "logg"
6
+ email: "E-post"
7
+ password: "passord"
8
+ bypass: "Bypass innlogging?"
9
+ sign_in: "Logg inn"
10
+ error: "E-post eller passord feil."
11
+ save: "Lagre"
12
+ save_and_continue: "Lagre og fortsett"
13
+ cancel: "Avbryt"
14
+ list: "List"
15
+ edit: "Edit"
16
+ new: "Ny"
17
+ show: "Show"
18
+ delete: "Slett"
19
+ confirm: "Er du sikker?"
20
+ created_at: "Opprettet"
21
+ all: "Alle"
22
+ profile: "Rediger profil"
23
+ settings: "Innstillinger"
24
+ logout: "Avslutt admin"
25
+ select_all: "Select All"
26
+ deselect_all: "Fjern all merking"
27
+ delete_selected: "Slett valgte"
28
+ delete_selected_title: "Er du sikker på at du vil slette alle de valgte elementene?"
29
+ example: "Ex: en enkel tekst"
30
+ new_title: "Ny %{model}"
31
+ create_title: "Editing %{model}"
32
+ create_success: "%{model} ble opprettet."
33
+ create_error: "Kunne ikke opprette %{model}"
34
+ edit_title: "Editing %{model}"
35
+ edit_warning: "Kunne ikke finne %{modellen} med ID %{id}."
36
+ update_title: "Editing %{model}"
37
+ update_success: "%{model} med ID %{id} er oppdatert."
38
+ update_error: "Kunne ikke oppdatere %{modellen}."
39
+ update_warning: "Kunne ikke finne %{modellen} med ID %{id}"
40
+ delete_title: "Slett %{model}?"
41
+ delete_success: "%{model} med ID %{id} ble slettet."
42
+ delete_error: "Kan ikke slette %{model}!"
43
+ delete_warning: "Kunne ikke finne %{modellen} med ID %{id}."
44
+ destroy_many_error: "Du må velge minst ett %{model} for å slette."
45
+ destroy_many_success: "%{model} %{ids} ble slettet."
46
+ custom_errors:
47
+ title: "Feil"
48
+ '403':
49
+ title: "Feil 403"
50
+ description: "forbudt"
51
+ '404':
52
+ title: "Feil 404"
53
+ description: "Finner ikke"
54
+ '500':
55
+ title: "Feil 500"
56
+ description: "Server Feil"
@@ -1,16 +1,56 @@
1
1
  pl:
2
2
  padrino:
3
3
  admin:
4
- save: Zapisz
5
- cancel: Anuluj
6
- list: Lista
7
- edit: Edycja
8
- new: Nowy
9
- show: Pokaż
10
- delete: Usuń
11
- confirm: Na pewno?
12
- created_at: Utworzono
13
- all: Wszystkie
14
- profile: Profil
15
- settings: Ustawienia
16
- logout: Wyloguj
4
+ login:
5
+ title: "Login"
6
+ email: "Email"
7
+ password: "hasło"
8
+ bypass: "Obwodnica login?"
9
+ sign_in: "Zaloguj się"
10
+ error: "E-mail lub hasło złe."
11
+ save: "Zapisz"
12
+ save_and_continue: "Zapisz i kontynuuj"
13
+ cancel: "Anuluj"
14
+ list: "List"
15
+ edit: "Edit"
16
+ new: "Nowy"
17
+ show: "Show"
18
+ delete: "Usuń"
19
+ confirm: "Czy na pewno?"
20
+ created_at: "Utworzono"
21
+ all: "All"
22
+ profile: "Edytuj swój profil"
23
+ settings: "Ustawienia"
24
+ logout: "Wyjdź z administratorem"
25
+ select_all: "Zaznacz wszystko"
26
+ deselect_all: "Odznacz wszystko"
27
+ delete_selected: "Usuń zaznaczone"
28
+ delete_selected_title: "Czy na pewno chcesz usunąć wszystkie zaznaczone pozycje?"
29
+ example: "Ex: prosty tekst"
30
+ new_title: "New %{model}"
31
+ create_title: "% Editing {model}"
32
+ create_success: "%{model} został utworzony."
33
+ create_error: "Nie można utworzyć %{model}"
34
+ edit_title: "% Editing {model}"
35
+ edit_warning: "Nie można znaleźć %{model} z ID %{id}."
36
+ update_title: "% Editing {model}"
37
+ update_success: "%{model} z ID %{id} został zaktualizowany."
38
+ update_error: "Nie można zaktualizować %{wzór}."
39
+ update_warning: "Nie można znaleźć %{wzór} z ID %{id}"
40
+ delete_title: "% Usuń {model}?"
41
+ delete_success: "%{model} z ID %{id} został pomyślnie usunięty."
42
+ delete_error: "Nie można usunąć %{model}!"
43
+ delete_warning: "Nie można znaleźć %{model} z ID %{id}."
44
+ destroy_many_error: "Musisz wybrać przynajmniej jedną %{model} do usunięcia."
45
+ destroy_many_success: "%{model} %{ids} zostały usunięte."
46
+ custom_errors:
47
+ title: "błąd"
48
+ '403':
49
+ title: "błąd 403"
50
+ description: "zabroniony"
51
+ '404':
52
+ title: "błąd 404"
53
+ description: "Not Found"
54
+ '500':
55
+ title: "błąd 500"
56
+ description: "Błąd serwera"
@@ -1,16 +1,56 @@
1
1
  pt_br:
2
2
  padrino:
3
3
  admin:
4
- save: Salvar
5
- cancel: Cancelar
6
- list: Lista
7
- edit: Editar
8
- new: Novo
9
- show: Exibir
10
- delete: Excluir
11
- confirm: Tem certeza?
12
- created_at: Criado em
13
- all: Todos
14
- profile: Perfil
15
- settings: Preferências
16
- logout: Sair
4
+ login:
5
+ title: "Login"
6
+ email: "Email"
7
+ password: "senha"
8
+ bypass: "Ignorar login?"
9
+ sign_in: "Entre"
10
+ error: "E-mail ou senha errada."
11
+ save: "Salvar"
12
+ save_and_continue: "Salvar e continuar"
13
+ cancel: "Cancelar"
14
+ list: "Lista"
15
+ edit: "Editar"
16
+ new: "Novo"
17
+ show: "Show"
18
+ delete: "Excluir"
19
+ confirm: "Você tem certeza?"
20
+ created_at: "Criado em"
21
+ all: "Todos"
22
+ profile: "Editar seu perfil"
23
+ settings: "Configurações"
24
+ logout: "Sair do administrador"
25
+ select_all: "Selecionar Tudo"
26
+ deselect_all: "Desmarcar Todos"
27
+ delete_selected: "Excluir selecionados"
28
+ delete_selected_title: "Tem certeza de que deseja excluir todos os itens selecionados?"
29
+ example: "Ex: um texto simples"
30
+ new_title: "New %{model}"
31
+ create_title: "Edição %{model}"
32
+ create_success: "%{model} foi criado com sucesso."
33
+ create_error: "Não foi possível criar o %{model}"
34
+ edit_title: "Edição %{model}"
35
+ edit_warning: "Não foi possível encontrar o %{model} com ID %{id}."
36
+ update_title: "Edição %{model}"
37
+ update_success: "%{model} com ID %{id} foi atualizado com sucesso."
38
+ update_error: "Não foi possível atualizar o %{model}."
39
+ update_warning: "Não foi possível encontrar o %{model} com ID %{id}"
40
+ delete_title: "Excluir %{model}?"
41
+ delete_success: "%{model} com ID %{id} foi excluído com sucesso."
42
+ delete_error: "Não foi possível apagar %{model}!"
43
+ delete_warning: "Não foi possível encontrar o %{model} com ID %{id}."
44
+ destroy_many_error: "Você deve selecionar pelo menos um %{model} excluir."
45
+ destroy_many_success: "%{model} %{ids} foram apagados com sucesso."
46
+ custom_errors:
47
+ title: "Erro"
48
+ '403':
49
+ title: "Erro 403"
50
+ description: "proibido"
51
+ '404':
52
+ title: "Erro 404"
53
+ description: "não encontrado"
54
+ '500':
55
+ title: "Erro 500"
56
+ description: "Erro de servidor"