django-cms / django-filer

File and Image Management Application for django
https://django-filer.readthedocs.io/
Other
1.73k stars 575 forks source link

[bug] focal point, data-ratio localized with comma in admin for languages with comma as decimal separator #1314

Closed damosc closed 1 year ago

damosc commented 1 year ago

how to reproduce

history

Looks like it was fixed years ago https://github.com/django-cms/django-filer/commit/f9a59acb4acbf58ed75ca62d5d46c79630893638#diff-413510b65e311ed6e4685ed9b2532e35a47c9fcfd8a4b39d8c0d1544515d1030

Probably this commit broke it https://github.com/django-cms/django-filer/commit/fde463c13d694289d9ed3198ab098a7375e6d5ad#diff-1bb0ad12f90a5c8b52c698d1f453bd576a02b107f8a3687fc320ce54265c770a

possible solution

use {{ sidebar_image_ratio|unlocalize }} in file_icon.html template

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

This will now be closed due to inactivity, but feel free to reopen it.