Commit a9024e1bf75c0e9db6efce0543be2378917632ab
1 parent
9001b3bb
Exists in
colab
and in
4 other branches
Translation for idiom selection menu heading
Showing
4 changed files
with
4 additions
and
2 deletions
Show diff stats
app/views/layouts/application.html.erb
| @@ -73,7 +73,7 @@ | @@ -73,7 +73,7 @@ | ||
| 73 | <% end %> | 73 | <% end %> |
| 74 | <li class="dropdown"> | 74 | <li class="dropdown"> |
| 75 | <a class="dropdown-toggle" aria-expanded="true" role="button" data-toggle="dropdown" href="#"> | 75 | <a class="dropdown-toggle" aria-expanded="true" role="button" data-toggle="dropdown" href="#"> |
| 76 | - Languages | 76 | + <%= t('idiom') %> |
| 77 | <span class="caret"></span> | 77 | <span class="caret"></span> |
| 78 | </a> | 78 | </a> |
| 79 | <ul class="dropdown-menu" role="menu"> | 79 | <ul class="dropdown-menu" role="menu"> |
config/locales/views/en.yml
config/locales/views/pt.yml
| @@ -295,6 +295,7 @@ pt: | @@ -295,6 +295,7 @@ pt: | ||
| 295 | comments: "Comentários" | 295 | comments: "Comentários" |
| 296 | aggregation_form: "Forma de Agregação" | 296 | aggregation_form: "Forma de Agregação" |
| 297 | kalibro_configuration: "Configuração" | 297 | kalibro_configuration: "Configuração" |
| 298 | + idiom: 'Idioma' | ||
| 298 | 299 | ||
| 299 | #errors | 300 | #errors |
| 300 | errors: | 301 | errors: |
features/homepage.feature
| @@ -22,6 +22,6 @@ Feature: Homepage | @@ -22,6 +22,6 @@ Feature: Homepage | ||
| 22 | 22 | ||
| 23 | Scenario: Language selection | 23 | Scenario: Language selection |
| 24 | Given I am at the homepage | 24 | Given I am at the homepage |
| 25 | - When I click the Languages link | 25 | + When I click the Idiom link |
| 26 | And I click the pt link | 26 | And I click the pt link |
| 27 | Then I should see "Entendendo Métricas de Código" | 27 | Then I should see "Entendendo Métricas de Código" |
| 28 | \ No newline at end of file | 28 | \ No newline at end of file |