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

added swedish language including test cases #352

Merged
merged 9 commits into from
Jan 28, 2021

Conversation

peternordstrom
Copy link
Contributor

Fixes # by...

Changes proposed in this pull request:

  • add swedish language support

Status

  • [ X] READY
  • HOLD
  • [] WIP (Work-In-Progress)

How to verify this change

Check if words look reasonable? Compare to Norweigan.

Additional notes

Swedish rules are very similar to norweigan so it was pretty easy to add this language

@coveralls
Copy link

coveralls commented Dec 7, 2020

Pull Request Test Coverage Report for Build 974

  • 96 of 96 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.03%) to 95.881%

Totals Coverage Status
Change from base Build 970: 0.03%
Covered Lines: 6099
Relevant Lines: 6283

💛 - Coveralls

@mromdhane mromdhane self-requested a review January 22, 2021 14:51
@erozqba
Copy link
Collaborator

erozqba commented Jan 24, 2021

@peternordstrom could you please, add tests for the missing lines on https://coveralls.io/builds/35506839/source?filename=num2words%2Flang_SV.py#L98? We can't merge the PR if the coverage decreases.

@peternordstrom
Copy link
Contributor Author

@mromdhane, I have updated the code so that it passes all tests now. See if it looks ok to you.

Copy link
Collaborator

@erozqba erozqba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@peternordstrom thanks for updating the tests. I forgot to suggest you update the README.md also to include Swedish on the list of languages, could you do it, please.

Any intention to implement year, currency and ordinal ?

@peternordstrom
Copy link
Contributor Author

peternordstrom commented Jan 28, 2021 via email

@mromdhane
Copy link
Contributor

mromdhane commented Jan 28, 2021

@peternordstrom Thank you for adding the Swedish language and hope to continue the Not implemented.

@mromdhane mromdhane merged commit 75c1489 into savoirfairelinux:master Jan 28, 2021
@mromdhane mromdhane mentioned this pull request Jan 29, 2021
3 tasks
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.

None yet

5 participants