Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more default units #22 #38 - Add option to translate reference unit #39

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

DanieliMi
Copy link

I've added km, qm, cbm, pc as default units. And for km the corresponding conversions. Additionally I changed getReferenceUnit to return the reference unit as a Phrase so it can be translated. The translation is especially helpful in front end for non English stores because you can simply add the reference units to your dictionary for example to translate "pc" to "Stk.".
After adding the options I sort the options in order to keep them grouped.

@DanieliMi DanieliMi mentioned this pull request Jan 25, 2019
@amenk
Copy link

amenk commented Jan 31, 2019

I like it, can it be merged?

@kolaente
Copy link

kolaente commented Mar 5, 2019

@sippsolutions @wick-ed Any chances this will be merged?

@sippsolutions
Copy link
Member

@sydekumf can you check it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants