administrate 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of administrate might be problematic. Click here for more details.

Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/administrate/search.svg +2 -2
  3. data/app/assets/images/administrate/sort_arrow.svg +1 -1
  4. data/app/assets/javascripts/administrate/components/has_many_form.js +1 -1
  5. data/app/assets/stylesheets/administrate/application.scss +3 -8
  6. data/app/assets/stylesheets/administrate/base/_forms.scss +56 -44
  7. data/app/assets/stylesheets/administrate/base/_layout.scss +20 -0
  8. data/app/assets/stylesheets/administrate/base/_lists.scss +9 -21
  9. data/app/assets/stylesheets/administrate/base/_tables.scss +9 -6
  10. data/app/assets/stylesheets/administrate/base/_typography.scss +12 -57
  11. data/app/assets/stylesheets/administrate/components/_app-container.scss +7 -0
  12. data/app/assets/stylesheets/administrate/components/_attributes.scss +1 -1
  13. data/app/assets/stylesheets/administrate/components/_buttons.scss +36 -0
  14. data/app/assets/stylesheets/administrate/components/_cells.scss +31 -37
  15. data/app/assets/stylesheets/administrate/components/_field-unit.scss +17 -0
  16. data/app/assets/stylesheets/administrate/components/_flashes.scss +16 -0
  17. data/app/assets/stylesheets/administrate/components/_form-actions.scss +3 -0
  18. data/app/assets/stylesheets/administrate/components/_header.scss +9 -8
  19. data/app/assets/stylesheets/administrate/components/_main-content.scss +6 -0
  20. data/app/assets/stylesheets/administrate/components/_pagination.scss +3 -2
  21. data/app/assets/stylesheets/administrate/components/_search.scss +9 -10
  22. data/app/assets/stylesheets/administrate/components/_sidebar.scss +22 -0
  23. data/app/assets/stylesheets/administrate/components/_table.scss +7 -3
  24. data/app/assets/stylesheets/administrate/{mixins → library}/_data_label.scss +2 -2
  25. data/app/assets/stylesheets/administrate/library/_variables.scss +57 -0
  26. data/app/assets/stylesheets/docs.scss +92 -0
  27. data/app/controllers/administrate/application_controller.rb +4 -3
  28. data/app/controllers/docs_controller.rb +9 -0
  29. data/app/helpers/administrate/application_helper.rb +16 -0
  30. data/app/views/administrate/application/_collection.html.erb +17 -12
  31. data/app/views/administrate/application/_flashes.html.erb +1 -1
  32. data/app/views/administrate/application/_form.html.erb +6 -8
  33. data/app/views/administrate/application/_sidebar.html.erb +1 -1
  34. data/app/views/administrate/application/edit.html.erb +3 -3
  35. data/app/views/administrate/application/index.html.erb +7 -6
  36. data/app/views/administrate/application/new.html.erb +2 -2
  37. data/app/views/administrate/application/show.html.erb +3 -3
  38. data/app/views/fields/belongs_to/_form.html.erb +8 -4
  39. data/app/views/fields/belongs_to/_index.html.erb +1 -1
  40. data/app/views/fields/belongs_to/_show.html.erb +1 -1
  41. data/app/views/fields/boolean/_form.html.erb +6 -2
  42. data/app/views/fields/date_time/_form.html.erb +6 -2
  43. data/app/views/fields/email/_form.html.erb +6 -2
  44. data/app/views/fields/has_many/_form.html.erb +8 -5
  45. data/app/views/fields/has_one/_form.html.erb +3 -1
  46. data/app/views/fields/has_one/_index.html.erb +1 -1
  47. data/app/views/fields/has_one/_show.html.erb +1 -1
  48. data/app/views/fields/image/_form.html.erb +6 -2
  49. data/app/views/fields/number/_form.html.erb +6 -2
  50. data/app/views/fields/polymorphic/_form.html.erb +3 -1
  51. data/app/views/fields/polymorphic/_index.html.erb +1 -1
  52. data/app/views/fields/polymorphic/_show.html.erb +1 -1
  53. data/app/views/fields/string/_form.html.erb +6 -2
  54. data/app/views/fields/text/_form.html.erb +6 -2
  55. data/app/views/layouts/administrate/application.html.erb +11 -11
  56. data/app/views/layouts/docs.html.erb +39 -0
  57. data/config/locales/administrate.de.yml +2 -2
  58. data/config/locales/administrate.it.yml +23 -0
  59. data/config/locales/administrate.uk.yml +23 -0
  60. data/lib/administrate/engine.rb +2 -2
  61. data/lib/administrate/fields/deferred.rb +3 -1
  62. data/lib/administrate/generator_helpers.rb +13 -0
  63. data/lib/administrate/resource_resolver.rb +5 -3
  64. data/lib/administrate/search.rb +3 -0
  65. data/lib/administrate/version.rb +1 -1
  66. data/lib/administrate/view_generator.rb +3 -0
  67. data/lib/generators/administrate/assets/assets_generator.rb +13 -0
  68. data/lib/generators/administrate/assets/images_generator.rb +17 -0
  69. data/lib/generators/administrate/assets/javascripts_generator.rb +17 -0
  70. data/lib/generators/administrate/assets/stylesheets_generator.rb +17 -0
  71. data/lib/generators/administrate/dashboard/USAGE +1 -1
  72. data/lib/generators/administrate/dashboard/dashboard_generator.rb +23 -4
  73. data/lib/generators/administrate/dashboard/templates/dashboard.rb.erb +7 -1
  74. data/lib/generators/administrate/install/install_generator.rb +17 -51
  75. data/lib/generators/administrate/manifest/manifest_generator.rb +65 -0
  76. data/lib/generators/administrate/{install → manifest}/templates/dashboard_manifest.rb.erb +0 -0
  77. data/lib/generators/administrate/views/layout_generator.rb +22 -0
  78. data/lib/generators/administrate/views/sidebar_generator.rb +15 -0
  79. data/lib/generators/administrate/views/views_generator.rb +4 -4
  80. metadata +28 -37
  81. data/app/assets/stylesheets/administrate/_sidebar.scss +0 -27
  82. data/app/assets/stylesheets/administrate/base/_base.scss +0 -24
  83. data/app/assets/stylesheets/administrate/base/_buttons.scss +0 -11
  84. data/app/assets/stylesheets/administrate/base/_grid-settings.scss +0 -15
  85. data/app/assets/stylesheets/administrate/base/_variables.scss +0 -106
  86. data/app/assets/stylesheets/administrate/base/extends/_button.scss +0 -23
  87. data/app/assets/stylesheets/administrate/base/extends/_clearfix.scss +0 -3
  88. data/app/assets/stylesheets/administrate/base/extends/_errors.scss +0 -11
  89. data/app/assets/stylesheets/administrate/base/extends/_flashes.scss +0 -34
  90. data/app/assets/stylesheets/administrate/base/extends/_hide-text.scss +0 -3
  91. data/app/assets/stylesheets/administrate/components/_components.scss +0 -8
  92. data/app/assets/stylesheets/administrate/components/_date_time_picker.scss +0 -3
  93. data/app/assets/stylesheets/administrate/components/_form.scss +0 -41
  94. data/app/assets/stylesheets/administrate/layout.scss +0 -29
  95. data/app/assets/stylesheets/administrate/mixins/_mixins.scss +0 -2
  96. data/app/assets/stylesheets/administrate/mixins/_shadow.scss +0 -35
  97. data/lib/administrate/namespace.rb +0 -3
@@ -12,7 +12,7 @@ This partial renders flash messages on every page.
12
12
  %>
13
13
 
14
14
  <% if flash.any? %>
15
- <div id="flashes">
15
+ <div class="flashes">
16
16
  <% flash.each do |key, value| -%>
17
17
  <div class="flash flash--<%= key %>"><%= value %></div>
18
18
  <% end -%>
@@ -14,7 +14,7 @@ and renders all form fields for a resource's editable attributes.
14
14
  [1]: http://www.rubydoc.info/gems/administrate/Administrate/Page/Form
15
15
  %>
16
16
 
17
- <%= form_for([Administrate::NAMESPACE, page.resource], html: { class: "form" }) do |f| %>
17
+ <%= form_for([namespace, page.resource], html: { class: "form" }) do |f| %>
18
18
  <% if page.resource.errors.any? %>
19
19
  <div id="error_explanation">
20
20
  <h2>
@@ -30,13 +30,11 @@ and renders all form fields for a resource's editable attributes.
30
30
  </div>
31
31
  <% end %>
32
32
 
33
- <div class="form-inputs">
34
- <% page.attributes.each do |attribute| -%>
35
- <div class="form-field form-field--<%= attribute.html_class %>">
36
- <%= render_field attribute, f: f %>
37
- </div>
38
- <% end -%>
39
- </div>
33
+ <% page.attributes.each do |attribute| -%>
34
+ <div class="field-unit field-unit--<%= attribute.html_class %>">
35
+ <%= render_field attribute, f: f %>
36
+ </div>
37
+ <% end -%>
40
38
 
41
39
  <div class="form-actions">
42
40
  <%= f.submit %>
@@ -12,7 +12,7 @@ as defined by the DashboardManifest.
12
12
  <li>
13
13
  <%= link_to(
14
14
  display_resource_name(resource),
15
- [Administrate::NAMESPACE, resource],
15
+ [namespace, resource],
16
16
  class: "sidebar__link sidebar__link--#{nav_link_state(resource)}"
17
17
  ) %>
18
18
  </li>
@@ -18,11 +18,11 @@ It displays a header, and renders the `_form` partial to do the heavy lifting.
18
18
  <% content_for(:title) { "Edit #{page.page_title}" } %>
19
19
 
20
20
  <header class="header">
21
- <h1 class="header-heading"><%= content_for(:title) %></h1>
22
- <div class="header-actions">
21
+ <h1 class="header__heading"><%= content_for(:title) %></h1>
22
+ <div class="header__actions">
23
23
  <%= link_to(
24
24
  "Show #{page.page_title}",
25
- [Administrate::NAMESPACE, page.resource],
25
+ [namespace, page.resource],
26
26
  class: "button",
27
27
  ) %>
28
28
  </div>
@@ -8,7 +8,7 @@ It renders the `_table` partial to display details about the resources.
8
8
  ## Local variables:
9
9
 
10
10
  - `page`:
11
- An instance of [Administrate::Page::Table][1].
11
+ An instance of [Administrate::Page::Collection][1].
12
12
  Contains helper methods to help display a table,
13
13
  and knows which attributes should be displayed in the resource's table.
14
14
  - `resources`:
@@ -18,7 +18,7 @@ It renders the `_table` partial to display details about the resources.
18
18
  - `search_term`:
19
19
  A string containing the term the user has searched for, if any.
20
20
 
21
- [1]: http://www.rubydoc.info/gems/administrate/Administrate/Page/Table
21
+ [1]: http://www.rubydoc.info/gems/administrate/Administrate/Page/Collection
22
22
  %>
23
23
 
24
24
  <% content_for(:title) do %>
@@ -28,7 +28,7 @@ It renders the `_table` partial to display details about the resources.
28
28
  <% content_for(:search) do %>
29
29
  <form class="search">
30
30
  <span class="search__icon">
31
- <%= inline_svg "administrate/search.svg" %>
31
+ <%= svg_tag "administrate/search.svg", "search", width: 16, height: 16 %>
32
32
  </span>
33
33
  <input
34
34
  type="text"
@@ -36,6 +36,7 @@ It renders the `_table` partial to display details about the resources.
36
36
  class="search__input"
37
37
  placeholder="Search"
38
38
  value="<%= search_term %>"
39
+ aria-label="Search"
39
40
  />
40
41
  <span class="search__hint">
41
42
  Press enter to search
@@ -44,11 +45,11 @@ It renders the `_table` partial to display details about the resources.
44
45
  <% end %>
45
46
 
46
47
  <header class="header">
47
- <h1 class="header-heading"><%= content_for(:title) %></h1>
48
- <div class="header-actions">
48
+ <h1 class="header__heading" id="page-title"><%= content_for(:title) %></h1>
49
+ <div class="header__actions">
49
50
  <%= link_to(
50
51
  "New #{page.resource_name.titleize.downcase}",
51
- [:new, Administrate::NAMESPACE, page.resource_name],
52
+ [:new, namespace, page.resource_name],
52
53
  class: "button",
53
54
  ) %>
54
55
  </div>
@@ -18,8 +18,8 @@ to do the heavy lifting.
18
18
  <% content_for(:title) { "New #{page.resource_name.titleize}" } %>
19
19
 
20
20
  <header class="header">
21
- <h1 class="header-heading"><%= content_for(:title) %></h1>
22
- <div class="header-actions">
21
+ <h1 class="header__heading"><%= content_for(:title) %></h1>
22
+ <div class="header__actions">
23
23
  <%= link_to 'Back', :back, class: "button" %>
24
24
  </div>
25
25
  </header>
@@ -19,11 +19,11 @@ as well as a link to its edit page.
19
19
  <% content_for(:title) { page.page_title } %>
20
20
 
21
21
  <header class="header">
22
- <h1 class="header-heading"><%= content_for(:title) %></h1>
23
- <div class="header-actions">
22
+ <h1 class="header__heading"><%= content_for(:title) %></h1>
23
+ <div class="header__actions">
24
24
  <%= link_to(
25
25
  "Edit",
26
- [:edit, Administrate::NAMESPACE, page.resource],
26
+ [:edit, namespace, page.resource],
27
27
  class: "button",
28
28
  ) %>
29
29
  </div>
@@ -16,7 +16,11 @@ that displays all possible records to associate with.
16
16
  [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/BelongsTo
17
17
  %>
18
18
 
19
- <%= f.label field.permitted_attribute %>
20
- <%= f.select(field.permitted_attribute) do %>
21
- <%= options_for_select(field.associated_resource_options, field.selected_option) %>
22
- <% end %>
19
+ <div class="field-unit__label">
20
+ <%= f.label field.permitted_attribute %>
21
+ </div>
22
+ <div class="field-unit__field">
23
+ <%= f.select(field.permitted_attribute) do %>
24
+ <%= options_for_select(field.associated_resource_options, field.selected_option) %>
25
+ <% end %>
26
+ </div>
@@ -18,6 +18,6 @@ By default, the relationship is rendered as a link to the associated object.
18
18
  <% if field.data %>
19
19
  <%= link_to(
20
20
  field.display_associated_resource,
21
- [Administrate::NAMESPACE, field.data],
21
+ [namespace, field.data],
22
22
  ) %>
23
23
  <% end %>
@@ -18,6 +18,6 @@ By default, the relationship is rendered as a link to the associated object.
18
18
  <% if field.data %>
19
19
  <%= link_to(
20
20
  field.display_associated_resource,
21
- [Administrate::NAMESPACE, field.data],
21
+ [namespace, field.data],
22
22
  ) %>
23
23
  <% end %>
@@ -15,5 +15,9 @@ By default, the input is a checkbox.
15
15
  [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Boolean
16
16
  %>
17
17
 
18
- <%= f.label field.attribute %>
19
- <%= f.check_box field.attribute %>
18
+ <div class="field-unit__label">
19
+ <%= f.label field.attribute %>
20
+ </div>
21
+ <div class="field-unit__field">
22
+ <%= f.check_box field.attribute %>
23
+ </div>
@@ -16,5 +16,9 @@ By default, the input is a text field that is augmented with [DateTimePicker].
16
16
  [DateTimePicker]: https://github.com/Eonasdan/bootstrap-datetimepicker
17
17
  %>
18
18
 
19
- <%= f.label field.attribute %>
20
- <%= f.text_field field.attribute, class: "datetimepicker" %>
19
+ <div class="field-unit__label">
20
+ <%= f.label field.attribute %>
21
+ </div>
22
+ <div class="field-unit__field">
23
+ <%= f.text_field field.attribute, class: "datetimepicker" %>
24
+ </div>
@@ -15,5 +15,9 @@ By default, the input is a text box.
15
15
  [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Email
16
16
  %>
17
17
 
18
- <%= f.label field.attribute %>
19
- <%= f.email_field field.attribute %>
18
+ <div class="field-unit__label">
19
+ <%= f.label field.attribute %>
20
+ </div>
21
+ <div class="field-unit__field">
22
+ <%= f.email_field field.attribute %>
23
+ </div>
@@ -19,8 +19,11 @@ and is augmented with [Selectize].
19
19
  [Selectize]: http://brianreavis.github.io/selectize.js
20
20
  %>
21
21
 
22
- <%= f.label field.attribute_key, field.attribute %>
23
-
24
- <%= f.select(field.attribute_key, nil, {}, multiple: true) do %>
25
- <%= options_for_select(field.associated_resource_options, field.selected_options) %>
26
- <% end %>
22
+ <div class="field-unit__label">
23
+ <%= f.label field.attribute_key, field.attribute %>
24
+ </div>
25
+ <div class="field-unit__field">
26
+ <%= f.select(field.attribute_key, nil, {}, multiple: true) do %>
27
+ <%= options_for_select(field.associated_resource_options, field.selected_options) %>
28
+ <% end %>
29
+ </div>
@@ -17,6 +17,8 @@ so this partial renders a message to that effect.
17
17
  [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/HasOne
18
18
  %>
19
19
 
20
- <%= f.label field.attribute %>
20
+ <div class="field-unit__label">
21
+ <%= f.label field.attribute %>
22
+ </div>
21
23
 
22
24
  <%= t("administrate.fields.has_one.not_supported") %>
@@ -18,6 +18,6 @@ By default, the relationship is rendered as a link to the associated object.
18
18
  <% if field.data %>
19
19
  <%= link_to(
20
20
  field.display_associated_resource,
21
- [Administrate::NAMESPACE, field.data],
21
+ [namespace, field.data],
22
22
  ) %>
23
23
  <% end %>
@@ -18,6 +18,6 @@ By default, the relationship is rendered as a link to the associated object.
18
18
  <% if field.data %>
19
19
  <%= link_to(
20
20
  field.display_associated_resource,
21
- [Administrate::NAMESPACE, field.data],
21
+ [namespace, field.data],
22
22
  ) %>
23
23
  <% end %>
@@ -15,5 +15,9 @@ By default, the input is a text field for the image's URL.
15
15
  [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Image
16
16
  %>
17
17
 
18
- <%= f.label field.attribute %>
19
- <%= f.text_field field.attribute %>
18
+ <div class="field-unit__label">
19
+ <%= f.label field.attribute %>
20
+ </div>
21
+ <div class="field-unit__field">
22
+ <%= f.text_field field.attribute %>
23
+ </div>
@@ -15,5 +15,9 @@ By default, the input is a text field.
15
15
  [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Number
16
16
  %>
17
17
 
18
- <%= f.label field.attribute %>
19
- <%= f.text_field field.attribute %>
18
+ <div class="field-unit__label">
19
+ <%= f.label field.attribute %>
20
+ </div>
21
+ <div class="field-unit__field">
22
+ <%= f.text_field field.attribute %>
23
+ </div>
@@ -18,6 +18,8 @@ so this partial renders a message to that effect.
18
18
  [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Polymorphic
19
19
  %>
20
20
 
21
- <%= f.label field.name %>
21
+ <div class="field-unit__label">
22
+ <%= f.label field.name %>
23
+ </div>
22
24
 
23
25
  <%= t("administrate.fields.polymorphic.not_supported") %>
@@ -19,6 +19,6 @@ By default, the relationship is rendered as a link to the associated object.
19
19
  <% if field.data %>
20
20
  <%= link_to(
21
21
  field.display_associated_resource,
22
- [Administrate::NAMESPACE, field.data]
22
+ [namespace, field.data]
23
23
  ) %>
24
24
  <% end %>
@@ -19,6 +19,6 @@ By default, the relationship is rendered as a link to the associated object.
19
19
  <% if field.data %>
20
20
  <%= link_to(
21
21
  field.display_associated_resource,
22
- [Administrate::NAMESPACE, field.data],
22
+ [namespace, field.data],
23
23
  ) %>
24
24
  <% end %>
@@ -15,5 +15,9 @@ By default, the input is a text field.
15
15
  [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/String
16
16
  %>
17
17
 
18
- <%= f.label field.attribute %>
19
- <%= f.text_field field.attribute %>
18
+ <div class="field-unit__label">
19
+ <%= f.label field.attribute %>
20
+ </div>
21
+ <div class="field-unit__field">
22
+ <%= f.text_field field.attribute %>
23
+ </div>
@@ -14,5 +14,9 @@ This partial renders a textarea element for a text attribute.
14
14
  [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Text
15
15
  %>
16
16
 
17
- <%= f.label field.attribute %>
18
- <%= f.text_area field.attribute %>
17
+ <div class="field-unit__label">
18
+ <%= f.label field.attribute %>
19
+ </div>
20
+ <div class="field-unit__field">
21
+ <%= f.text_area field.attribute %>
22
+ </div>
@@ -13,31 +13,31 @@ By default, it renders:
13
13
  %>
14
14
 
15
15
  <!DOCTYPE html>
16
- <html>
16
+ <html lang="<%= I18n.locale %>">
17
17
  <head>
18
18
  <meta charset="utf-8" />
19
19
  <meta name="ROBOTS" content="NOODP" />
20
20
  <meta name="viewport" content="initial-scale=1" />
21
21
  <title><%= content_for(:title) %> | <%= Rails.application.class.parent_name.titlecase %></title>
22
- <%= stylesheet_link_tag "//fonts.googleapis.com/css?family=Lato:300,400,900", media: "all" %>
23
22
  <%= stylesheet_link_tag "administrate/application", media: "all" %>
24
23
  <%= csrf_meta_tags %>
25
24
  </head>
26
25
 
27
- <body class="administrate">
28
- <main class="main">
26
+ <body>
27
+
28
+ <div class="app-container">
29
+
29
30
  <div class="sidebar">
30
31
  <%= render "sidebar" -%>
31
32
  </div>
32
33
 
33
- <div class="container">
34
+ <main class="main-content" role="main">
34
35
  <%= content_for(:search) %>
35
- <div class="content">
36
- <%= render "flashes" -%>
37
- <%= yield %>
38
- </div>
39
- </div>
40
- </main>
36
+ <%= render "flashes" -%>
37
+ <%= yield %>
38
+ </main>
39
+
40
+ </div>
41
41
 
42
42
  <%= render "javascript" %>
43
43
  </body>
@@ -0,0 +1,39 @@
1
+ <html>
2
+ <head>
3
+ <%= stylesheet_link_tag "docs", media: "all" %>
4
+ <link href='//fonts.googleapis.com/css?family=Lato|Source+Code+Pro|Fjalla+One' rel='stylesheet' type='text/css'>
5
+ <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/default.min.css">
6
+ </head>
7
+
8
+ <body>
9
+ <div class="content">
10
+ <div class="sidebar">
11
+ <h1>Administrate</h1>
12
+
13
+ <ul class="sidebar-links">
14
+ <li><a href="/">Home</a></li>
15
+ <li><a href="https://github.com/thoughtbot/administrate/issues/new">Feedback</a></li>
16
+ </ul>
17
+
18
+ <h3>Documentation</h3>
19
+
20
+ <ul class="sidebar-links">
21
+ <li><a href="/">README</a></li>
22
+ <li><a href="/getting_started">Getting Started</a></li>
23
+ <li><a href="/customizing_dashboards">Customizing Dashboards</a></li>
24
+ <li><a href="/customizing_page_views">Customizing Page Views</a></li>
25
+ <li><a href="/customizing_attribute_partials">Customizing Attribute Partials</a></li>
26
+ <li><a href="/adding_custom_field_types">Adding Custom Field Types</a></li>
27
+ <li><a href="/customizing_controller_actions">Customizing Controller Actions</a></li>
28
+ </ul>
29
+ </div>
30
+
31
+ <div class="main">
32
+ <%= yield %>
33
+ </div>
34
+ </div>
35
+
36
+ <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
37
+ <script>hljs.initHighlightingOnLoad();</script>
38
+ </body>
39
+ </html>
@@ -2,7 +2,7 @@
2
2
  de:
3
3
  administrate:
4
4
  actions:
5
- confirm: Sind sie sicher?
5
+ confirm: Sind Sie sicher?
6
6
  destroy: Löschen
7
7
  edit: Editieren
8
8
  show: Anzeigen
@@ -20,4 +20,4 @@ de:
20
20
  polymorphic:
21
21
  not_supported: Polymorphe Beziehungen werden nicht unterstützt.
22
22
  has_one:
23
- not_supported: HasOne-beziehungen werden nicht unterstützt.
23
+ not_supported: HasOne Beziehungen werden nicht unterstützt.
@@ -0,0 +1,23 @@
1
+ ---
2
+ it:
3
+ administrate:
4
+ actions:
5
+ confirm: Sei sicuro?
6
+ destroy: Elimina
7
+ edit: Modifica
8
+ show: Visualizza
9
+ controller:
10
+ create:
11
+ success: "%{resource} è stato creato con successo."
12
+ destroy:
13
+ success: "%{resource} è stato eliminato con successo."
14
+ update:
15
+ success: "%{resource} è stato modificato con successo."
16
+ fields:
17
+ has_many:
18
+ more: Visualizzo %{count} di %{total_count}
19
+ none: Nessuno
20
+ polymorphic:
21
+ not_supported: Associazioni polimorfiche non ancora supportate. Spiacenti!
22
+ has_one:
23
+ not_supported: Associazioni HasOne non ancora supportate. Spiacenti!