Bug 336016 - [Patch] Add currency conversion for Israeli shekel
Summary: [Patch] Add currency conversion for Israeli shekel
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kunitconverter (show other bugs)
Version: 4.13.0
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Petri Damstén
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-09 23:10 UTC by Wolfgang Ludwig
Modified: 2016-04-11 09:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
diff for currency.cpp (892 bytes, patch)
2014-06-09 23:10 UTC, Wolfgang Ludwig
Details
diff for converter.h (623 bytes, patch)
2014-06-09 23:11 UTC, Wolfgang Ludwig
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Ludwig 2014-06-09 23:10:53 UTC
Created attachment 87092 [details]
diff for currency.cpp

kunitconverter so far lacks the functionality to convert currency into Israeli Shekel.

This patch fills this gap. The attached two files show the diffs to the corresponding files in the "kunitconversion" directory. The patch is developed and tested with KDE 4.13.0, but it should work with later version as well because according to the Git repository the files 'converter.h' and 'currency.cpp' haven't been changed since 2011.

This is the first patch I submitted so let me know if I did something wrong here.
Comment 1 Wolfgang Ludwig 2014-06-09 23:11:31 UTC
Created attachment 87093 [details]
diff for converter.h
Comment 2 Kai Uwe Broulik 2016-04-11 09:25:34 UTC
Git commit 7fb13b2b2e4bbfb34172f6d50cc69c3474150f6c by Kai Uwe Broulik.
Committed on 11/04/2016 at 09:24.
Pushed by broulik into branch 'master'.

[KUnitConversion] Add ILS (Israeli New Shekel) currency

This adds the "Isreali New Shekel" currency to KUnitConversion.

Patch originally created by Wolfgang Ludwig in the linked bug report
but ported to Frameworks 5 by me.

M  +11   -0    src/currency.cpp
M  +1    -1    src/unit.h

http://commits.kde.org/kunitconversion/7fb13b2b2e4bbfb34172f6d50cc69c3474150f6c