typus 3.1.0.rc18 → 3.1.0.rc19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. data/.gitignore +14 -11
  2. data/.travis.yml +12 -0
  3. data/CHANGELOG +253 -0
  4. data/Gemfile +69 -0
  5. data/Guardfile +11 -0
  6. data/README.md +14 -26
  7. data/Rakefile +24 -100
  8. data/app/assets/javascripts/typus/application.js +8 -2
  9. data/app/assets/javascripts/typus/custom.js +2 -0
  10. data/app/assets/javascripts/typus/jquery.application.js +14 -0
  11. data/app/assets/stylesheets/typus/application.css +18 -10
  12. data/app/assets/stylesheets/typus/content.css +0 -1
  13. data/app/assets/stylesheets/typus/custom.css +11 -0
  14. data/app/assets/stylesheets/typus/errors.css +1 -1
  15. data/app/assets/stylesheets/typus/forms.css +17 -5
  16. data/app/assets/stylesheets/typus/hacks.css +4 -0
  17. data/app/assets/stylesheets/typus/header.css +8 -2
  18. data/app/assets/stylesheets/typus/pagination.css +3 -3
  19. data/app/assets/stylesheets/typus/sidebar.css +4 -0
  20. data/app/assets/stylesheets/typus/tables.css +0 -1
  21. data/app/controllers/admin/account_controller.rb +1 -2
  22. data/app/controllers/admin/base_controller.rb +5 -2
  23. data/app/controllers/admin/dashboard_controller.rb +5 -0
  24. data/app/controllers/admin/resource_controller.rb +1 -2
  25. data/app/controllers/admin/resources_controller.rb +36 -51
  26. data/app/controllers/admin/session_controller.rb +2 -3
  27. data/app/helpers/admin/base_helper.rb +2 -5
  28. data/app/helpers/admin/resources/data_types/belongs_to_helper.rb +35 -27
  29. data/app/helpers/admin/resources/data_types/dragonfly_helper.rb +16 -3
  30. data/app/helpers/admin/resources/data_types/has_and_belongs_to_many_helper.rb +45 -13
  31. data/app/helpers/admin/resources/data_types/has_many_helper.rb +27 -19
  32. data/app/helpers/admin/resources/data_types/has_one_helper.rb +24 -11
  33. data/app/helpers/admin/resources/data_types/paperclip_helper.rb +1 -1
  34. data/app/helpers/admin/resources/data_types/string_helper.rb +1 -1
  35. data/app/helpers/admin/resources/data_types/text_helper.rb +1 -1
  36. data/app/helpers/admin/resources/data_types/transversal_helper.rb +1 -1
  37. data/app/helpers/admin/resources/data_types/tree_helper.rb +1 -1
  38. data/app/helpers/admin/resources/display_helper.rb +10 -9
  39. data/app/helpers/admin/resources/filters_helper.rb +3 -10
  40. data/app/helpers/admin/resources/form_helper.rb +12 -2
  41. data/app/helpers/admin/resources/list_helper.rb +13 -5
  42. data/app/helpers/admin/resources/relationships_helper.rb +0 -21
  43. data/app/helpers/admin/resources_helper.rb +3 -3
  44. data/app/mailers/admin/mailer.rb +9 -4
  45. data/app/views/admin/base/user_guide.html.erb +1 -1
  46. data/app/views/admin/dashboard/{show.html.erb → index.html.erb} +0 -0
  47. data/app/views/admin/dashboard/widgets/_applications.html.erb +32 -10
  48. data/app/views/admin/mailer/reset_password_instructions.html.erb +9 -0
  49. data/app/views/admin/mailer/reset_password_instructions.text.erb +9 -0
  50. data/app/views/admin/resources/edit.html.erb +3 -13
  51. data/app/views/admin/resources/index.html.erb +11 -4
  52. data/app/views/admin/resources/new.html.erb +2 -2
  53. data/app/views/admin/resources/show.html.erb +1 -1
  54. data/app/views/admin/shared/_head.html.erb +2 -2
  55. data/app/views/admin/templates/_belongs_to.html.erb +6 -9
  56. data/app/views/admin/templates/_dragonfly.html.erb +1 -1
  57. data/app/views/admin/templates/_dragonfly_form_preview.html.erb +21 -0
  58. data/app/views/admin/templates/_dragonfly_preview.html.erb +1 -1
  59. data/app/views/admin/templates/_has_and_belongs_to_many.html.erb +15 -0
  60. data/app/views/admin/templates/{_has_n.html.erb → _has_many.html.erb} +0 -0
  61. data/app/views/admin/templates/_password.html.erb +1 -1
  62. data/app/views/admin/templates/_selector.html.erb +1 -11
  63. data/app/views/admin/templates/_string.html.erb +2 -20
  64. data/app/views/admin/templates/_string_with_preview.html.erb +2 -3
  65. data/app/views/admin/templates/_text.html.erb +1 -8
  66. data/app/views/admin/templates/_text_with_ckeditor.html.erb +1 -1
  67. data/app/views/admin/templates/_text_with_ckeditor_and_assets.html.erb +12 -9
  68. data/app/views/helpers/admin/base/_apps.html.erb +12 -4
  69. data/app/views/helpers/admin/base/_login_info.html.erb +1 -1
  70. data/app/views/helpers/admin/resources/_filters.html.erb +2 -1
  71. data/app/views/helpers/admin/resources/_sidebar.html.erb +25 -41
  72. data/app/views/layouts/admin/base.html.erb +1 -1
  73. data/config/locales/typus.ca.yml +1 -1
  74. data/config/locales/typus.de.yml +40 -35
  75. data/config/locales/typus.el.yml +1 -1
  76. data/config/locales/typus.es.yml +1 -1
  77. data/config/locales/typus.fr.yml +1 -1
  78. data/config/locales/typus.hu.yml +1 -1
  79. data/config/locales/typus.it.yml +1 -1
  80. data/config/locales/typus.locale.models.yml.template +17 -0
  81. data/config/locales/typus.locale.yml.template +80 -0
  82. data/config/locales/typus.pt-BR.yml +1 -1
  83. data/config/locales/typus.pt-PT.yml +2 -2
  84. data/config/locales/typus.ru.yml +1 -1
  85. data/config/locales/typus.zh-CN.yml +1 -1
  86. data/config/routes.rb +5 -1
  87. data/lib/generators/templates/config/initializers/typus.rb +9 -0
  88. data/lib/generators/templates/config/typus/README +0 -6
  89. data/lib/support/active_record.rb +2 -10
  90. data/lib/support/string.rb +6 -1
  91. data/lib/typus.rb +49 -10
  92. data/lib/typus/authentication/base.rb +0 -4
  93. data/lib/typus/authentication/none_with_role.rb +15 -0
  94. data/lib/typus/configuration.rb +3 -7
  95. data/lib/typus/controller/ancestry.rb +1 -1
  96. data/lib/typus/controller/bulk.rb +6 -2
  97. data/lib/typus/controller/format.rb +38 -25
  98. data/lib/typus/orm/active_record/class_methods.rb +0 -1
  99. data/lib/typus/orm/active_record/search.rb +6 -2
  100. data/lib/typus/orm/base.rb +4 -3
  101. data/lib/typus/orm/mongoid.rb +4 -0
  102. data/lib/typus/orm/{mongo → mongoid}/class_methods.rb +4 -3
  103. data/lib/typus/resources.rb +9 -0
  104. data/lib/typus/version.rb +1 -1
  105. data/typus.gemspec +13 -13
  106. data/vendor/assets/chosen/chosen-sprite.png +0 -0
  107. data/vendor/assets/chosen/chosen.css +334 -0
  108. data/vendor/assets/chosen/chosen.jquery.min.js +10 -0
  109. data/vendor/assets/fancybox/jquery.fancybox-1.3.4.css +17 -17
  110. metadata +57 -131
  111. data/.gitmodules +0 -6
  112. data/app/assets/javascripts/typus.js +0 -8
  113. data/app/assets/stylesheets/typus.css +0 -20
  114. data/app/assets/stylesheets/typus/actions.css +0 -11
  115. data/app/views/admin/mailer/reset_password_link.text.erb +0 -9
  116. data/app/views/admin/templates/_belongs_to_with_autocomplete.html.erb +0 -26
  117. data/lib/typus/controller/associations.rb +0 -146
  118. data/lib/typus/controller/autocomplete.rb +0 -16
  119. data/vendor/assets/fancybox/jquery.easing-1.3.pack.js +0 -72
  120. data/vendor/assets/fancybox/jquery.fancybox-1.3.4.js +0 -1156
  121. data/vendor/assets/fancybox/jquery.mousewheel-3.0.4.pack.js +0 -14
  122. data/vendor/assets/formalize/css/_formalize.sass +0 -332
  123. data/vendor/assets/formalize/css/demo.css +0 -47
  124. data/vendor/assets/formalize/css/reset.css +0 -202
  125. data/vendor/assets/formalize/css/text.css +0 -81
  126. data/vendor/assets/formalize/js/dojo.formalize.js +0 -166
  127. data/vendor/assets/formalize/js/dojo.formalize.min.js +0 -1
  128. data/vendor/assets/formalize/js/extjs.formalize.js +0 -163
  129. data/vendor/assets/formalize/js/extjs.formalize.min.js +0 -1
  130. data/vendor/assets/formalize/js/jquery.formalize.js +0 -150
  131. data/vendor/assets/formalize/js/mootools.formalize.js +0 -155
  132. data/vendor/assets/formalize/js/mootools.formalize.min.js +0 -1
  133. data/vendor/assets/formalize/js/prototype.formalize.js +0 -163
  134. data/vendor/assets/formalize/js/prototype.formalize.min.js +0 -1
  135. data/vendor/assets/formalize/js/yui.formalize.js +0 -152
  136. data/vendor/assets/formalize/js/yui.formalize.min.js +0 -1
  137. data/vendor/assets/jquery-tokeninput/jquery.tokeninput.js +0 -736
  138. data/vendor/assets/jquery-tokeninput/token-input.css +0 -120
@@ -10,7 +10,7 @@
10
10
  $(document).ready(function() {
11
11
  // var config = { toolbar: 'Basic', };
12
12
  // var config = { toolbar: 'Full', };
13
- var config = { toolbar: [['Bold', 'Italic', 'Underline', '-', 'NumberedList', 'BulletedList', '-', 'Undo', 'Redo', '-', 'SelectAll']] };
13
+ var config = { toolbar: [['Source', '-', 'Bold', 'Italic', 'Underline', '-', 'NumberedList', 'BulletedList', '-', 'Undo', 'Redo', '-', 'Maximize']] };
14
14
  $(".rich_text").ckeditor(config);
15
15
  });
16
16
  </script>
@@ -22,14 +22,17 @@
22
22
  %>
23
23
 
24
24
  <%
25
- input = "#{@resource.model_name.underscore.gsub("/", "_")}_#{attribute}"
26
- label_text << <<-DATA
27
- <small>
28
- #{link_to "Insert picture",
29
- {:controller => "/admin/assets", :layout => 'admin/headless', :input => input},
30
- {:class => "iframe", :style => "font-size: 10px; background: black; color: white; padding: 2px 5px; -moz-border-radius: 3px; -webkit-border-radius: 3px;"}}
31
- </small>
32
- DATA
25
+ unless options[:disabled] == true
26
+ input = "#{@resource.model_name.underscore.gsub("/", "_")}_#{attribute}"
27
+ insert_picture = <<-DATA
28
+ <small>
29
+ #{link_to "Insert picture",
30
+ {:controller => "/admin/assets", :layout => 'admin/headless', :input => input},
31
+ {:class => "iframe", :style => "font-size: 10px; background: black; color: white; padding: 2px 5px; -moz-border-radius: 3px; -webkit-border-radius: 3px;"}}
32
+ </small>
33
+ DATA
34
+ label_text << insert_picture.html_safe
35
+ end
33
36
  %>
34
37
 
35
38
  <li id="<%= attribute_id %>">
@@ -1,17 +1,25 @@
1
1
  <ul>
2
2
 
3
- <% dashboard = 'active' if params[:controller].include?('dashboard') %>
3
+ <%
4
+ if !params[:application] && params[:controller].include?('dashboard')
5
+ dashboard = 'active'
6
+ end
7
+ %>
4
8
 
5
- <li><%= link_to Typus::I18n.t("Dashboard"), admin_dashboard_path, :class => dashboard %></li>
9
+ <li><%= link_to Typus::I18n.t("Dashboard"), admin_dashboard_index_path, :class => dashboard %></li>
6
10
 
7
11
  <% admin_user.applications.each do |application| %>
8
12
 
13
+ <% app_id = application.parameterize %>
14
+
9
15
  <%
10
16
  apps = admin_user.application(application)
11
- klass = 'active' if (@resource && apps.include?(@resource.model_name))
17
+ if (params[:application] == app_id) || (@resource && apps.include?(@resource.model_name))
18
+ klass = 'active'
19
+ end
12
20
  %>
13
21
 
14
- <li><%= link_to Typus::I18n.t(application), { :controller => "/admin/#{apps.first.tableize}" }, { :class => klass } %></li>
22
+ <li><%= link_to Typus::I18n.t(application), admin_dashboard_path(app_id), { :class => klass } %></li>
15
23
 
16
24
  <% end %>
17
25
 
@@ -1,4 +1,4 @@
1
1
  <ul>
2
- <li><%= Typus::I18n.t("Logged as") %> <%= link_to admin_user.to_label, { :controller => "/admin/#{Typus.user_class.to_resource}", :action => 'edit', :id => admin_user.id } %></li>
2
+ <li><%= Typus::I18n.t("Logged in as") %> <%= link_to admin_user.to_label, { :controller => "/admin/#{Typus.user_class.to_resource}", :action => 'edit', :id => admin_user.id } %></li>
3
3
  <li><%= link_to Typus::I18n.t("Sign out"), admin_sign_out_path, :confirm => Typus::I18n.t("Are you sure you want to sign out and end your session?") %></li>
4
4
  </ul>
@@ -3,7 +3,8 @@
3
3
  <div id="filters">
4
4
  <ul>
5
5
  <% filters.each do |filter| %>
6
- <li><%= select_tag filter[:filter], options_for_select(filter[:items], params[filter[:filter]]) %></li>
6
+ <% key, value = filter[:key], filter[:value] %>
7
+ <li><%= select_tag key, options_for_select(value, params[key]) %></li>
7
8
  <% end %>
8
9
 
9
10
  <% hidden_filters.each do |key, value| %>
@@ -1,41 +1,25 @@
1
- <% if Typus.quick_sidebar %>
2
- <h2><%= @resource.typus_application %></h2>
3
-
4
- <ul>
5
- <% resources.each do |resource, actions| %>
6
- <% klass = resource.constantize %>
7
- <li>
8
- <%= link_to klass.model_name.human.pluralize, :controller => "/admin/#{klass.to_resource}" %>
9
- <small>
10
- <%= link_to Typus::I18n.t("Add New"), :controller => "/admin/#{klass.to_resource}", :action => "new" %>
11
- </small>
12
- </li>
13
- <% end %>
14
- </ul>
15
- <% else %>
16
- <div id="sidebar">
17
-
18
- <% resources.each do |resource, actions| %>
19
-
20
- <% klass = resource.constantize %>
21
-
22
- <ul>
23
-
24
- <%= link_to :controller => "/admin/#{klass.to_resource}" do %>
25
- <li class="header"><%= klass.model_name.human.pluralize %></li>
26
- <% end %>
27
-
28
- <% if @resource.model_name.eql?(resource) %>
29
- <ul>
30
- <% actions.each do |action| %>
31
- <li><%= link_to action[:message], action[:url] %></li>
32
- <% end %>
33
- </ul>
34
- <% end %>
35
-
36
- </ul>
37
-
38
- <% end %>
39
-
40
- </div>
41
- <% end %>
1
+ <div id="sidebar">
2
+
3
+ <% resources.each do |resource, actions| %>
4
+
5
+ <% klass = resource.constantize %>
6
+
7
+ <ul>
8
+
9
+ <%= link_to :controller => "/admin/#{klass.to_resource}" do %>
10
+ <li class="header"><%= klass.model_name.human.pluralize %></li>
11
+ <% end %>
12
+
13
+ <% if @resource.model_name.eql?(resource) %>
14
+ <ul>
15
+ <% actions.each do |action| %>
16
+ <li><%= link_to action[:message], action[:url] %></li>
17
+ <% end %>
18
+ </ul>
19
+ <% end %>
20
+
21
+ </ul>
22
+
23
+ <% end %>
24
+
25
+ </div>
@@ -36,7 +36,7 @@
36
36
  <div class="container_12">
37
37
  <div class="grid_12">
38
38
  <span class="copyright">
39
- Powered by <%= link_to "Typus", "http://core.typuscms.com/" %> &#183; <%= Typus.admin_sub_title.html_safe %>
39
+ Powered by <%= link_to "Typus", "http://core.typuscmf.com/" %> &#183; <%= Typus.admin_sub_title.html_safe %>
40
40
  </span>
41
41
  </div>
42
42
  </div>
@@ -32,7 +32,7 @@ ca:
32
32
  "Last few days": "Últims dies"
33
33
  "Last 30 days": "Últims 30 dies"
34
34
  "Last 7 days": "Últims 7 dies"
35
- "Logged as": "Identificat com"
35
+ "Logged in as": "Identificat com"
36
36
  "Login": "Login"
37
37
 
38
38
  "New": "Nou"
@@ -1,79 +1,84 @@
1
1
  # German (de) translations for Typus by:
2
2
  # - Michael Grunewalder <http://michael.grunewalder.com>
3
+ # - Thomas von Deyen <http://thomas.vondeyen.com>
3
4
 
4
5
  de:
5
-
6
6
  "Actions": "Aktionen"
7
- "Active":
8
- "Add": "Zuf&uuml;gen"
7
+ "Active": "Aktiv"
8
+ "List" : 'Liste'
9
+ "Add": "Hinzufügen"
9
10
  "Add New": "Erstellen"
10
- "Are you sure?":
11
+ "All" : 'Alle'
12
+ "Are you sure?": "Sind Sie sicher?"
11
13
  "Are you sure you want to sign out and end your session?": "Wollen Sie sich abmelden und die Sitzung beenden?"
14
+ "Assign": "Zuweisen"
12
15
 
13
- "Change %{attribute}?": "%{attribute}&auml;ndern?"
14
- "Create %{resource}": "Erstellen %{resource}"
16
+ "Change %{attribute}?": "%{attribute} ändern?"
17
+ "Create %{resource}": "%{resource} erstellen"
15
18
 
16
19
  "Dashboard": "Dashboard"
17
20
  "Down": "Runter"
18
21
 
19
22
  "Edit": "Bearbeiten"
20
- "Edit %{resource}": "Bearbeiten %{resource}"
23
+ "Edit %{resource}": "%{resource} bearbeiten"
21
24
  "Enter your email below to create the first user": "Geben Sie Ihre Email Adresse unten ein, um den ersten Benutzer zu erstellen"
22
25
 
23
- "False": "Falsch"
26
+ "False": "Nein"
24
27
  "Filter": "Filter"
25
28
 
26
29
  "I remember my password": "Ich erinnere mein Passwort"
27
- "If you didn't request a password update, you can ignore this message": "Falls Sie keine Passwort &Auml;derung beantragt haben, k&ouml;nnen Sie diese nachricht ignorieren"
28
- "If you have made any changes to the fields without clicking the Save/Update entry button, your changes will be lost": "Wenn Sie &Auml;nderungen an Feldern vorgenommen haben, ohne den Speichern/Bearbeiten Knopf gedr7uuml;ckt zu haben, gehen diese &Auml;nderungen verloren"
30
+ "If you didn't request a password update, you can ignore this message": "Falls Sie keine Passwort Änderung beantragt haben, können Sie diese Nachricht ignorieren"
31
+ "If you have made any changes to the fields without clicking the Save/Update entry button, your changes will be lost": "Wenn Sie Änderungen an Feldern vorgenommen haben, ohne den Speichern/Bearbeiten Knopf gedrückt zu haben, gehen diese Änderungen verloren"
29
32
  "Inactive":
30
33
 
31
34
  "Last few days": "Letzten Tage"
32
35
  "Last 30 days": "Letzten 30 Tage"
33
36
  "Last 7 days": "Letzten 7 Tage"
34
- "Logged as": "Aufgezeichnet als"
35
- "Login": "Anmeldem"
37
+ "List" : "Liste"
38
+ "Logged in as": "Angemeldet als"
39
+ "Login": "Anmelden"
36
40
 
37
41
  "New": "Neu"
38
- "New %{resource}": "Neu %{resource}"
39
- "Next": "N&auml;chster"
40
- "No %{resources} found":
42
+ "New %{resource}": "%{resource} erstellen"
43
+ "Next": "Nächste"
44
+ "No %{resources} found": "Keine %{resources} gefunden"
41
45
 
42
- "Password recovery link sent to your email": "Der Link zur Wiederfindung des Passworts wurde an Ihre Email Adresse gechickt"
46
+ "Password recovery link sent to your email": "Der Link zur Wiederherstelllung Ihres Passworts wurde an Ihre Email Adresse geschickt"
43
47
  "Previous": "Vorheriger"
44
48
 
45
- "Record moved %{to}": "Datensatz verschoben nach %{to}"
49
+ "Record moved %{to}": "Datensatz wurde verschoben nach %{to}"
46
50
  "Recover password": "Passwort vergessen?"
47
51
  "Remove": "Eintrag"
48
- "Remove %{resource}?": "Eintrag %{resource}?"
49
- "Reset password": "Passwort zur&uuml;cksetzen"
52
+ "Remove %{resource}?": "%{resource} entfernen?"
53
+ "Reset password": "Passwort zurücksetzen"
50
54
  "Resources": "Resourcen"
51
55
 
52
- "Save %{resource}":
56
+ "Save %{resource}": "%{resource} speichern"
53
57
  "Search": "Suchen"
54
58
  "Show": "Anzeigen"
55
- "Show all dates":
56
- "Show by %{attribute}":
57
- "Show %{resource}": "Anzeigen %{resource}"
59
+ "Show all dates": "Alle anzeigen"
60
+ "Show by %{attribute}": "An Hand von %{attribute} anzeigen"
61
+ "Show %{resource}": "%{resource} anzeigen"
58
62
  "Sign in": "Anmelden"
59
63
  "Sign out": "Abmelden"
60
64
  "Sign up": "Konto erstellen"
61
- "System Users Administration": "System Benutzer Verwaltung"
65
+ "System Users Administration": "Admin Benutzer Verwaltung"
62
66
 
63
67
  "Today": "Heute"
64
- "True": "Richtig"
68
+ "Trash": "Löschen"
69
+ "True": "Ja"
65
70
 
66
- "Unrelate":
71
+ "Unrelate": "Trennen"
67
72
  "Up": "Hoch"
68
73
 
69
- "View all %{attribute}":
70
- "View site": "Site anzeigen"
74
+ "View all %{attribute}": "Alle %{attribute} anzeigen"
75
+ "View site": "Webseite anzeigen"
71
76
 
72
- "You can update your password at": "Sie k7ouml;nnen Ihr Passwort &auml;ndern unter"
73
- "You can't change your role": "Sie k&ouml;nnen Ihre Rolle nicht &auml;ndern"
74
- "You can't toggle your status": "Sie k&ouml;nnen Ihren Status nicht umschalten"
77
+ "You can update your password at": "Sie können Ihr Passwort ändern unter"
78
+ "You can't change your role": "Sie können Ihre Rolle nicht ändern"
79
+ "You can't toggle your status": "Sie können Ihren Status nicht umschalten"
75
80
 
76
- "%{errors} prohibited this page from being saved:":
77
- "%{model} successfully created": "%{model} erfolgreich erstellt"
78
- "%{model} successfully removed": "%{model} erfolgreich gel&ouml;scht"
79
- "%{model} successfully updated": "%{model} erfolgreich ge&auml;ndert"
81
+ "%{errors} prohibited this page from being saved:": "%{errors} haben diese Seite davon abgehalten gespeichert zu werden:"
82
+ "%{model} successfully created": "%{model} wurde erfolgreich erstellt"
83
+ "%{model} successfully removed": "%{model} wurde erfolgreich gelöscht"
84
+ "%{model} successfully updated": "%{model} wurde erfolgreich geändert"
@@ -32,7 +32,7 @@ el:
32
32
  "Last few days": "Τελευταίες ημέρες"
33
33
  "Last 30 days": "Τελευταίες 30 ημέρες"
34
34
  "Last 7 days": "Τελευταίες 7 ημέρες"
35
- "Logged as": "Συνδεδεμένος ως"
35
+ "Logged in as": "Συνδεδεμένος ως"
36
36
  "Login": "Σύνδεση"
37
37
 
38
38
  "New": "Νέο"
@@ -32,7 +32,7 @@ es:
32
32
  "Last few days": "Últimos dias"
33
33
  "Last 30 days": "Últimos 30 dias"
34
34
  "Last 7 days": "Últimos 7 dias"
35
- "Logged as": "Autenticado como"
35
+ "Logged in as": "Autenticado como"
36
36
  "Login": "Login"
37
37
 
38
38
  "New": "Nuevo"
@@ -34,7 +34,7 @@ fr:
34
34
  "Last few days": "Ces derniers jours"
35
35
  "Last 30 days": "30 derniers jours"
36
36
  "Last 7 days": "7 derniers jours"
37
- "Logged as": "Identifié comme"
37
+ "Logged in as": "Identifié comme"
38
38
  "Login": "Identification"
39
39
 
40
40
  "New": "Nouveau"
@@ -31,7 +31,7 @@ hu:
31
31
  "Last few days": "Utóbbi néhány nap"
32
32
  "Last 30 days": "Az elmúlt 30 nap"
33
33
  "Last 7 days": "Az elmúlt 7 nap"
34
- "Logged as": "Bejelentkezve"
34
+ "Logged in as": "Bejelentkezve"
35
35
  "Login": "Belépés"
36
36
 
37
37
  "New": "Új"
@@ -35,7 +35,7 @@ it:
35
35
  "Last 30 days": "Ultimi 30 giorni"
36
36
  "Last 7 days": "Ultimi 7 giorni"
37
37
  "Loading": "Caricamento"
38
- "Logged as": "Loggato come"
38
+ "Logged in as": "Loggato come"
39
39
  "Login": "Login"
40
40
 
41
41
  "New": "Nuovo"
@@ -0,0 +1,17 @@
1
+ # <locale> translations for Typus
2
+ # - <your_name> <contact_form>
3
+
4
+ <locale>:
5
+ activerecord:
6
+ models:
7
+ admin_user:
8
+ attributes:
9
+ admin_user:
10
+ email:
11
+ first_name:
12
+ last_name:
13
+ locale:
14
+ password:
15
+ password_confirmation:
16
+ role:
17
+ status:
@@ -0,0 +1,80 @@
1
+ # <locale> translations for Typus
2
+ # - <your_name> <contact_form>
3
+
4
+ <locale>:
5
+
6
+ "Actions":
7
+ "Active":
8
+ "Add":
9
+ "Add New":
10
+ "All":
11
+ "Are you sure?":
12
+ "Are you sure you want to sign out and end your session?":
13
+
14
+ "Change %{attribute}?":
15
+ "Create %{resource}":
16
+
17
+ "Dashboard":
18
+ "Down":
19
+
20
+ "Edit":
21
+ "Enter your email below to create the first user":
22
+
23
+ "False":
24
+ "Filter":
25
+
26
+ "I remember my password":
27
+ "If you didn't request a password update, you can ignore this message":
28
+ "If you have made any changes to the fields without clicking the Save/Update entry button, your changes will be lost":
29
+ "Inactive":
30
+
31
+ "Last few days":
32
+ "Last 30 days":
33
+ "Last 7 days":
34
+ "Logged in as":
35
+ "Login":
36
+
37
+ "New":
38
+ "New %{resource}":
39
+ "Next":
40
+ "No %{resources} found":
41
+
42
+ "Password recovery link sent to your email":
43
+ "Previous":
44
+
45
+ "Record moved %{to}":
46
+ "Recover password":
47
+ "Remove":
48
+ "Remove %{resource}?":
49
+ "Reset password":
50
+ "Resources":
51
+
52
+ "Save %{resource}":
53
+ "Search":
54
+ "Show":
55
+ "Show all dates":
56
+ "Show by %{attribute}":
57
+ "Show %{resource}":
58
+ "Sign in":
59
+ "Sign out":
60
+ "Sign up":
61
+ "System Users Administration":
62
+
63
+ "Today":
64
+ "Trash":
65
+ "True":
66
+
67
+ "Unrelate":
68
+ "Up":
69
+
70
+ "View all %{attribute}":
71
+ "View site":
72
+
73
+ "You can update your password at":
74
+ "You can't change your role":
75
+ "You can't toggle your status":
76
+
77
+ "%{errors} prohibited this page from being saved:":
78
+ "%{model} successfully created":
79
+ "%{model} successfully removed":
80
+ "%{model} successfully updated":
@@ -31,7 +31,7 @@ pt-BR:
31
31
  "Last few days": "Últimos dias"
32
32
  "Last 30 days": "Últimos 30 dias"
33
33
  "Last 7 days": "Últimos 7 dias"
34
- "Logged as": "Logado como"
34
+ "Logged in as": "Logado como"
35
35
  "Login": "Login"
36
36
 
37
37
  "New": "Novo"