iommirocks / iommi

Your first pick for a django power cord
http://iommi.rocks
BSD 3-Clause "New" or "Revised" License
784 stars 51 forks source link

table__query__form__actions__submit__display_name in czech (maybe other languages?) #401

Closed berycz closed 1 year ago

berycz commented 1 year ago

In query.py you have filter submit button with display_name=gettext('Filter'), which gets translated in czech (from django translates) as Filtr - that is noun though and this should be verb (CZ: imperative Filtruj or infinitive Filtrovat) Might be better to make it display_name=gettext('Submit filter') and translate it even for EN I might be wrong but I'd also guess that iommi translates override the ones from django based on INSTALLED_APPS order?

boxed commented 1 year ago

Probably broken in Swedish and German too.

yurkobb commented 1 year ago

As an alternative, pgettext may be used.

berycz commented 1 year ago

oh btw, I had similar problem with the freetext_search__display_name where Search has cz translate Hledat (verb infinitive) and I need rather something like Hledané slovo (=Search term)