Commit a9024e1bf75c0e9db6efce0543be2378917632ab

Authored by Rafael Manzo
1 parent 9001b3bb

Translation for idiom selection menu heading

app/views/layouts/application.html.erb
... ... @@ -73,7 +73,7 @@
73 73 <% end %>
74 74 <li class="dropdown">
75 75 <a class="dropdown-toggle" aria-expanded="true" role="button" data-toggle="dropdown" href="#">
76   - Languages
  76 + <%= t('idiom') %>
77 77 <span class="caret"></span>
78 78 </a>
79 79 <ul class="dropdown-menu" role="menu">
... ...
config/locales/views/en.yml
... ... @@ -290,3 +290,4 @@ en:
290 290 comments: "Comments"
291 291 aggregation_form: "Aggregation Form"
292 292 kalibro_configuration: "Configuration"
  293 + idiom: 'Idiom'
... ...
config/locales/views/pt.yml
... ... @@ -295,6 +295,7 @@ pt:
295 295 comments: "Comentários"
296 296 aggregation_form: "Forma de Agregação"
297 297 kalibro_configuration: "Configuração"
  298 + idiom: 'Idioma'
298 299  
299 300 #errors
300 301 errors:
... ...
features/homepage.feature
... ... @@ -22,6 +22,6 @@ Feature: Homepage
22 22  
23 23 Scenario: Language selection
24 24 Given I am at the homepage
25   - When I click the Languages link
  25 + When I click the Idiom link
26 26 And I click the pt link
27 27 Then I should see "Entendendo Métricas de Código"
28 28 \ No newline at end of file
... ...