flockonus-nifty-generators 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ 0.0.7 (January 17, 2011)
2
+
3
+ * Translated most views to pt-BR
4
+
5
+
1
6
  0.0.1 - 0.0.6 (January 17, 2011)
2
7
 
3
8
  * Made a JS counter based on the limit of the :string field.
@@ -1,14 +1,15 @@
1
- <%% title "Edit <%= singular_name.titleize %>" %>
2
-
3
- <%= render_form %>
4
-
1
+ <%% title "<%= singular_name.titleize %> : Editando" %>
5
2
  <%- if actions? :show, :index -%>
6
3
  <p>
7
4
  <%- if action? :show -%>
8
- <%%= link_to "Show", <%= item_path :instance_variable => true %> %> |
5
+ <%%= link_to "Exibir", <%= item_path :instance_variable => true %> %> |
9
6
  <%- end -%>
10
7
  <%- if action? :index -%>
11
- <%%= link_to "View All", <%= items_path %> %>
8
+ <%%= link_to "Listagem", <%= items_path %> %>
12
9
  <%- end -%>
13
10
  </p>
14
11
  <%- end -%>
12
+
13
+ <%= render_form %>
14
+
15
+
@@ -1,5 +1,8 @@
1
1
  <%% title "<%= plural_name.titleize %>" %>
2
2
 
3
+ <%- if action? :new -%>
4
+ <p><%%= link_to "Adicionar +", <%= item_path :action => :new %> %></p>
5
+ <%- end -%>
3
6
  <table>
4
7
  <tr>
5
8
  <%- for attribute in model_attributes -%>
@@ -12,18 +15,16 @@
12
15
  <td><%%= <%= instance_name %>.<%= attribute.name %> %></td>
13
16
  <%- end -%>
14
17
  <%- if action? :show -%>
15
- <td><%%= link_to "Show", <%= item_path %> %></td>
18
+ <td><%%= link_to "Exibir", <%= item_path %> %></td>
16
19
  <%- end -%>
17
20
  <%- if action? :edit -%>
18
- <td><%%= link_to "Edit", <%= item_path :action => :edit %> %></td>
21
+ <td><%%= link_to "Editar", <%= item_path :action => :edit %> %></td>
19
22
  <%- end -%>
20
23
  <%- if action? :destroy -%>
21
- <td><%%= link_to "Destroy", <%= item_path %>, :confirm => 'Are you sure?', :method => :delete %></td>
24
+ <td><%%= link_to "Excluir", <%= item_path %>, :confirm => 'Esta ação não tem volta, deseja prosseguir?', :method => :delete %></td>
22
25
  <%- end -%>
23
26
  </tr>
24
27
  <%% end %>
25
28
  </table>
26
29
 
27
- <%- if action? :new -%>
28
- <p><%%= link_to "New <%= singular_name.titleize %>", <%= item_path :action => :new %> %></p>
29
- <%- end -%>
30
+
@@ -1,7 +1,7 @@
1
- <%% title "New <%= singular_name.titleize %>" %>
1
+ <%% title "Adicionar <%= singular_name.titleize %>" %>
2
2
 
3
3
  <%= render_form %>
4
4
 
5
5
  <%- if action? :index -%>
6
- <p><%%= link_to "Back to List", <%= items_path %> %></p>
6
+ <p><%%= link_to "Listagem", <%= items_path %> %></p>
7
7
  <%- end -%>
@@ -9,12 +9,12 @@
9
9
 
10
10
  <p>
11
11
  <%- if action? :edit -%>
12
- <%%= link_to "Edit", <%= item_path :action => :edit, :instance_variable => true %> %> |
12
+ <%%= link_to "Editar", <%= item_path :action => :edit, :instance_variable => true %> %> |
13
13
  <%- end -%>
14
14
  <%- if action? :destroy -%>
15
- <%%= link_to "Destroy", <%= item_path :instance_variable => true %>, :confirm => 'Are you sure?', :method => :delete %> |
15
+ <%%= link_to "Deletar", <%= item_path :instance_variable => true %>, :confirm => 'Are you sure?', :method => :delete %> |
16
16
  <%- end -%>
17
17
  <%- if action? :index -%>
18
- <%%= link_to "View All", <%= items_path %> %>
18
+ <%%= link_to "Listagem", <%= items_path %> %>
19
19
  <%- end -%>
20
20
  </p>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flockonus-nifty-generators
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Fabiano PS
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-03 00:00:00 -02:00
18
+ date: 2011-02-04 00:00:00 -02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency