[rspec-users] [Cucumber] Portuguese keywords not recognized

Oliver Barnes oli.azevedo.barnes at gmail.com
Wed Feb 18 11:44:26 EST 2009


Valeu David! muito bom poder falar com o mestre em português :)

Mas eu tentei com estes, tanto com passos em inglês como em português:

http://pastie.org/392962

com os passos em inglês, o cucumber simplesmente responde "0
features". com os passos em português (que eu não tenho certeza se têm
suporte, estou testando just in case), ele não reconhece:

./features/step_definitions/busca_de_tese_steps.rb:1: undefined method
`Dado' for #<Object:0x389a0> (NoMethodError)


2009/2/17 David Chelimsky <dchelimsky at gmail.com>:

> Oi Oliver,
>
> Poderia ver o codigo aqui:
> http://github.com/aslakhellesoy/cucumber/blob/e1afbf1908fdb3867d857478847403abeedd91d7/lib/cucumber/languages.yml
>
> HTH,
> David
>
>>
>> 2009/2/14 Oliver Barnes <oli.azevedo.barnes at gmail.com>:
>>> Hello,
>>>
>>> I've just installed cucumber 0.1.99, and it looks like the Portuguese
>>> step keywords aren't recognized for some reason. I'm following this
>>> example up on github:
>>>
>>> http://github.com/aslakhellesoy/cucumber/blob/ae9bf75d586cda232310721f62ecab91fc2336c0/examples/i18n/pt/features/adicao.feature
>>>
>>> When I switch to the original English keywords, it runs fine. I've
>>> also tried using "Característica", instead of "Funcionalidade" for the
>>> translation of "Feature", but that didn't work either.
>>>
>>> Is this a bug, or have the Portuguese keywords changed?
>>>
>>> thanks
>>> Oliver
>>>
>> _______________________________________________
>> rspec-users mailing list
>> rspec-users at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list