MusikAnimal/MusikBot

Add missing pt translations

he7d3r opened this issue · 1 comments

Looks like we need to translate a few more words:

Filtro 136 (novo) — Ações: translation missing: pt.(none); Marcas: ativado,translation missing: pt.public; Padrão modificado

These seems to come from

def self.keyword_from_value(prop, value)
case prop
when 'actions'
value.blank? ? '(none)' : value
when 'pattern'
value
when 'description'
value
when 'enabled'
value == '1' ? 'enabled' : 'disabled'
# when 'deleted'
# value == '1' ? 'deleted' : 'restored'
when 'private'
value == '1' ? 'private' : 'public'
end
end

These are the translations:

  • none: nenhuma
  • public: público

Yup! I was just going to ask. I've added this and fixed the bot. Thank you!!!