You are here: Home > Latest news from Darcs > Missed new label without translation

Revision 20080729222659-9043f-f7586b...

Missed new label without translation

app/views/wiki/edit.rhtml
db/translation/pt-BR.rb

Changes to edit.rhtml

4
          <%= hidden_field_tag('page_name', params[:page_name]) if params[:page_name] %>
          <%= hidden_field_tag('page_name', params[:page_name]) if params[:page_name] %>
4
5
          <%= text_field 'page', 'title', :id => 'txtTitle' %>
          <%= text_field 'page', 'title', :id => 'txtTitle' %>
5
6
          <%= text_area 'page', 'text', :id => 'txaEditor', :rows => '30' %>
          <%= text_area 'page', 'text', :id => 'txaEditor', :rows => '30' %>
6
7
          <label for="image">Attach an image: </label>
          <label for="image"><%= 'Attach an image:'.t -%></label>
7
8
          <%= file_field 'image', :uploaded_data %>
          <%= file_field 'image', :uploaded_data %>
8
9
          <br />
          <br />
9
10
          <%= submit_tag 'Save modifications'.t, :class => 'button',
          <%= submit_tag 'Save modifications'.t, :class => 'button',
10

Changes to pt-BR.rb

64
64
65
# Wiki edition page
# Wiki edition page
65
66
'Insert page title here' => 'Digite o título aqui',
'Insert page title here' => 'Digite o título aqui',
66
 
'Attach an image:' => 'Anexar uma imagem:',
67
67
'Save modifications' => 'Salvar modificações',
'Save modifications' => 'Salvar modificações',
68
68
'Discard' => 'Descartar',
'Discard' => 'Descartar',
69
69
'Quick reference' => 'Referência rápida',
'Quick reference' => 'Referência rápida',
70