hassio-addons / addon-grocy

Grocy - Home Assistant Community Add-ons
https://addons.community
MIT License
319 stars 60 forks source link

The Currency in Brasil is the Real R$ #438

Closed JCGuima closed 4 months ago

JCGuima commented 5 months ago

Problem/Motivation

Here in Brasil our Currency is Real simbol R$

(Why the issue was filed) This addon as it is does not support Brasilian currency

Expected behavior

(What you expected to happen)
I expect that this addon could allow R$ currency be selected.

Actual behavior

(What actually happened) If i try to use R$ as currency it is impossible to save the configuration.

Falha ao salvar a configuração do add-on, does not match regular expression ^[A-Z]{3}$. Got {'culture': 'pt_BR', 'currency': 'R$', 'entry_page': 'stock', 'features': {'batteries': True, 'calendar': True, 'chores': True, 'equipment': True, 'recipes': True, 'shoppinglist': True, 'stock': True, 'tasks': True}, 'tweaks': {'chores_assignment': True, 'multiple_shopping_lists': True, 'stock_best_before_date_tracking': True, 'stock_location_tracking': True, 'stock_price_tracking': True, 'stock_product_freezing': True, 'stock_product_opened_tracking': True, 'stock_count_opened_products_again...

Steps to reproduce

just fill the currency with R$ ( this is the Brasilian Currency)

(How can someone else make/see it happen)

Proposed changes

Allow the Brasilian Currency as was allowe the tranlation to Brasilian Portuguese.

(If you have a proposed change, workaround or fix, describe the rationale behind it)

github-actions[bot] commented 4 months ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!