You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the below example, shouldn't AS be in lowercase?
irb > 'HARRY POTTER E AS RELÍQUIAS DA MORTE: PARTE 2'.titleize_pt_br=>"Harry Potter e As RelÍquias da Morte: Parte 2"
While I'm not necessary a fan of such chicanery, have you considered an interface like this (untested):
moduleTitleizePTBRdefself.include(m)ifm.instance_methods.include?:titleizem.class_evaldoalias:old_titleize:titleizedeftitleize(*locale)locale.first == :pt_BR ? titleize_pt_br : old_titleize# check arity of old_titleizeendendendenddeftitleize_pt_br# ...endendclassStringincludeTitleizePTBRends="surra de bunda"ps.titleize# Surra De Bundaps.titleize(:pt_BR)# Surra de Bunda
The text was updated successfully, but these errors were encountered:
Hi, I need to check brazilian portuguese grammar, but I think you are right. And there is an error, there is an accent in the world 'RELÍQUIAS' and it isn't in uppercase. I will study your suggestion. Thanks!
Hi!
Given the below example, shouldn't
AS
be in lowercase?While I'm not necessary a fan of such chicanery, have you considered an interface like this (untested):
The text was updated successfully, but these errors were encountered: