The "most common units" for currency listed by KUnitConversion are EUR, USD, GBP, CAD, JPY but the local currency is probably what the user cares most about.
BUG: 374275
FIXED-IN: 5.9.0
davidedmundson |
Plasma |
The "most common units" for currency listed by KUnitConversion are EUR, USD, GBP, CAD, JPY but the local currency is probably what the user cares most about.
BUG: 374275
FIXED-IN: 5.9.0
LC_ALL=NO_no krunner
typed "5 eur"
got an additional 45 NOK result
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
not units.prepend(localCurrency) so it's first?
(Slightly offtopic:
when Martin G, eike or I make a diff, there's always an option to expand the context in phab to view lines above, when Kai or Subdiff make one, it says "Context not available" above the diff and I have to open files manually to work out what the code is doing. Does anyone know what's being done differently ?)
Yes. You can use (for example) git diff master -U99 > file as workaround. It will generate a diff with 99 lines of context.
not units.prepend(localCurrency) so it's first?
That's what I did originally but since we sort by magnitude/value at the end, the order would be lost eventually.
(Reviewboard manages to pick context from the repository, Phab only does so *after* having committed… I'll try the "-U" workaround, though)