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,7 +30,7 @@ | ||
| 30 | 30 | ||
| 31 | <div class="form-row"> | 31 | <div class="form-row"> |
| 32 | <div class="field-container"> | 32 | <div class="field-container"> |
| 33 | - <%= f.label :license, 'License', class: 'control-label' %> | 33 | + <%= f.label :license, class: 'control-label' %> |
| 34 | <%= f.select( :license, license_options, class: 'text-area form-control' ) %> | 34 | <%= f.select( :license, license_options, class: 'text-area form-control' ) %> |
| 35 | </div> | 35 | </div> |
| 36 | <div class="help-container"> | 36 | <div class="help-container"> |
| @@ -42,7 +42,7 @@ | @@ -42,7 +42,7 @@ | ||
| 42 | 42 | ||
| 43 | <div class="form-row"> | 43 | <div class="form-row"> |
| 44 | <div class="field-container"> | 44 | <div class="field-container"> |
| 45 | - <%= f.label :scm_type, 'Type', class: 'control-label' %> | 45 | + <%= f.label :scm_type, class: 'control-label' %> |
| 46 | <%= f.select( :scm_type, @repository_types, class: 'tooltip-control' ) %> | 46 | <%= f.select( :scm_type, @repository_types, class: 'tooltip-control' ) %> |
| 47 | </div> | 47 | </div> |
| 48 | <div class="help-container"> | 48 | <div class="help-container"> |
| @@ -66,7 +66,7 @@ | @@ -66,7 +66,7 @@ | ||
| 66 | 66 | ||
| 67 | <div class="form-row"> | 67 | <div class="form-row"> |
| 68 | <div class="field-container"> | 68 | <div class="field-container"> |
| 69 | - <%= f.label :period, 'Process Period', class: 'control-label' %> | 69 | + <%= f.label :period, class: 'control-label' %> |
| 70 | <%= f.select( :period, periodicity_options, class: 'tooltip-control' ) %> | 70 | <%= f.select( :period, periodicity_options, class: 'tooltip-control' ) %> |
| 71 | </div> | 71 | </div> |
| 72 | <div class="help-container"> | 72 | <div class="help-container"> |
| @@ -92,6 +92,6 @@ | @@ -92,6 +92,6 @@ | ||
| 92 | </div> | 92 | </div> |
| 93 | </div> | 93 | </div> |
| 94 | <div class="row margin-left-none" style="margin-top: 20px"> | 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 | </div> | 97 | </div> |
config/locales/views/repository/en.yml
| @@ -11,7 +11,7 @@ en: | @@ -11,7 +11,7 @@ en: | ||
| 11 | license: "License" | 11 | license: "License" |
| 12 | scm_type: "Type" | 12 | scm_type: "Type" |
| 13 | address: "Address" | 13 | address: "Address" |
| 14 | - period: "Period" | 14 | + period: "Process Period" |
| 15 | hints: | 15 | hints: |
| 16 | repository: | 16 | repository: |
| 17 | name: "The name of your Repository." | 17 | name: "The name of your Repository." |
config/locales/views/repository/pt.yml
| @@ -8,9 +8,9 @@ pt: | @@ -8,9 +8,9 @@ pt: | ||
| 8 | repository: | 8 | repository: |
| 9 | name: "Nome" | 9 | name: "Nome" |
| 10 | description: "Descrição" | 10 | description: "Descrição" |
| 11 | - license: "Licensa" | 11 | + license: "Licença" |
| 12 | scm_type: "Tipo" | 12 | scm_type: "Tipo" |
| 13 | - address: "endereço" | 13 | + address: "Endereço" |
| 14 | period: "Período" | 14 | period: "Período" |
| 15 | hints: | 15 | hints: |
| 16 | repository: | 16 | repository: |