Commit 4129defeaea5fb0e26ce2cbfd904396c4dba110c
Exists in
colab
and in
4 other branches
Merge pull request #220 from MezuroUNB20151/issue#214
Fixing translations errors for creating new repositories
Showing
3 changed files
with
8 additions
and
8 deletions
Show diff stats
app/views/repositories/_form.html.erb
... | ... | @@ -30,7 +30,7 @@ |
30 | 30 | |
31 | 31 | <div class="form-row"> |
32 | 32 | <div class="field-container"> |
33 | - <%= f.label :license, 'License', class: 'control-label' %> | |
33 | + <%= f.label :license, class: 'control-label' %> | |
34 | 34 | <%= f.select( :license, license_options, class: 'text-area form-control' ) %> |
35 | 35 | </div> |
36 | 36 | <div class="help-container"> |
... | ... | @@ -42,7 +42,7 @@ |
42 | 42 | |
43 | 43 | <div class="form-row"> |
44 | 44 | <div class="field-container"> |
45 | - <%= f.label :scm_type, 'Type', class: 'control-label' %> | |
45 | + <%= f.label :scm_type, class: 'control-label' %> | |
46 | 46 | <%= f.select( :scm_type, @repository_types, class: 'tooltip-control' ) %> |
47 | 47 | </div> |
48 | 48 | <div class="help-container"> |
... | ... | @@ -66,7 +66,7 @@ |
66 | 66 | |
67 | 67 | <div class="form-row"> |
68 | 68 | <div class="field-container"> |
69 | - <%= f.label :period, 'Process Period', class: 'control-label' %> | |
69 | + <%= f.label :period, class: 'control-label' %> | |
70 | 70 | <%= f.select( :period, periodicity_options, class: 'tooltip-control' ) %> |
71 | 71 | </div> |
72 | 72 | <div class="help-container"> |
... | ... | @@ -91,6 +91,6 @@ |
91 | 91 | </div> |
92 | 92 | </div> |
93 | 93 | <div class="row margin-left-none" style="margin-top: 20px"> |
94 | - <%= f.submit 'Save', class: 'btn btn-primary' %> | |
95 | - <%= link_to 'Back', project_path(@project_id), class: 'btn btn-default' %> | |
94 | + <%= f.submit t('save'), class: 'btn btn-primary' %> | |
95 | + <%= link_to t('back'), project_path(@project_id), class: 'btn btn-default' %> | |
96 | 96 | </div> | ... | ... |
config/locales/views/repository/en.yml
config/locales/views/repository/pt.yml