Commit ce5eb789e54bd48e02f6e9123a290b25eb9fa49c
1 parent
119b56ec
Exists in
colab
and in
4 other branches
Fixing translation to portugues issues on creating repository page
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"> |
| ... | ... | @@ -92,6 +92,6 @@ |
| 92 | 92 | </div> |
| 93 | 93 | </div> |
| 94 | 94 | <div class="row margin-left-none" style="margin-top: 20px"> |
| 95 | - <%= f.submit 'Save', class: 'btn btn-primary' %> | |
| 96 | - <%= link_to 'Back', project_path(@project_id), class: 'btn btn-default' %> | |
| 95 | + <%= f.submit t('save'), class: 'btn btn-primary' %> | |
| 96 | + <%= link_to t('back'), project_path(@project_id), class: 'btn btn-default' %> | |
| 97 | 97 | </div> | ... | ... |
config/locales/views/repository/en.yml
config/locales/views/repository/pt.yml