diff --git a/app/views/repositories/_form.html.erb b/app/views/repositories/_form.html.erb index b9830d4..1f44bfd 100644 --- a/app/views/repositories/_form.html.erb +++ b/app/views/repositories/_form.html.erb @@ -30,7 +30,7 @@
- <%= f.label :license, 'License', class: 'control-label' %> + <%= f.label :license, class: 'control-label' %> <%= f.select( :license, license_options, class: 'text-area form-control' ) %>
@@ -42,7 +42,7 @@
- <%= f.label :scm_type, 'Type', class: 'control-label' %> + <%= f.label :scm_type, class: 'control-label' %> <%= f.select( :scm_type, @repository_types, class: 'tooltip-control' ) %>
@@ -66,7 +66,7 @@
- <%= f.label :period, 'Process Period', class: 'control-label' %> + <%= f.label :period, class: 'control-label' %> <%= f.select( :period, periodicity_options, class: 'tooltip-control' ) %>
@@ -92,6 +92,6 @@
- <%= f.submit 'Save', class: 'btn btn-primary' %> - <%= link_to 'Back', project_path(@project_id), class: 'btn btn-default' %> + <%= f.submit t('save'), class: 'btn btn-primary' %> + <%= link_to t('back'), project_path(@project_id), class: 'btn btn-default' %>
diff --git a/config/locales/views/repository/en.yml b/config/locales/views/repository/en.yml index fd310e5..af5d798 100644 --- a/config/locales/views/repository/en.yml +++ b/config/locales/views/repository/en.yml @@ -11,7 +11,7 @@ en: license: "License" scm_type: "Type" address: "Address" - period: "Period" + period: "Process Period" hints: repository: name: "The name of your Repository." diff --git a/config/locales/views/repository/pt.yml b/config/locales/views/repository/pt.yml index 129c2a8..3a816bc 100644 --- a/config/locales/views/repository/pt.yml +++ b/config/locales/views/repository/pt.yml @@ -8,9 +8,9 @@ pt: repository: name: "Nome" description: "Descrição" - license: "Licensa" + license: "Licença" scm_type: "Tipo" - address: "endereço" + address: "Endereço" period: "Período" hints: repository: -- libgit2 0.21.2