Skip to content

Update index.js, test.js, and languages.js to add functionality from multiple unmerged PRs from the unmaintained upstream as well as clean up the code a bit#15

Closed
rawr51919 wants to merge 9 commits into
vitalets:masterfrom
rawr51919:patch-4
Closed

Update index.js, test.js, and languages.js to add functionality from multiple unmerged PRs from the unmaintained upstream as well as clean up the code a bit#15
rawr51919 wants to merge 9 commits into
vitalets:masterfrom
rawr51919:patch-4

Conversation

@rawr51919

@rawr51919 rawr51919 commented Mar 20, 2019

Copy link
Copy Markdown

Updates index.js, test.js, and languages.js to expose the individual languages in the API, allow for translations over 2083 characters in length, make the language names match Google Translate, and add numerous test cases adding in their functionalities (carryovers from unmaintained upstream PRs matheuss#13, matheuss#30, matheuss#31, and matheuss#61). This also merges the test.js contents with the contents of the test.js from PR #12 to avoid conflicts.

Updates index.js to fix translations over 2083 characters (carryover from unmaintained upstream PR matheuss#13).
Updates test.js to add the test case in from matheuss#13 and merge in the tweaks from #12
@codecov-io

codecov-io commented Mar 20, 2019

Copy link
Copy Markdown

Codecov Report

Merging #15 into master will increase coverage by 0.63%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #15      +/-   ##
==========================================
+ Coverage   92.42%   93.05%   +0.63%     
==========================================
  Files           2        2              
  Lines          66       72       +6     
==========================================
+ Hits           61       67       +6     
  Misses          5        5
Impacted Files Coverage Δ
languages.js 100% <ø> (ø) ⬆️
index.js 91.22% <100%> (+1.03%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1bd6a01...b31abde. Read the comment docs.

@rawr51919 rawr51919 changed the title Update index.js to fix translations over 2083 characters Update index.js to fix translations over 2083 characters and test.js to remove redundant test cases and enhance readability Mar 20, 2019
Add newline to enhance readability
@rawr51919 rawr51919 changed the title Update index.js to fix translations over 2083 characters and test.js to remove redundant test cases and enhance readability Update index.js to fix translations over 2083 characters and test.js to remove redundant test cases, add a test case for the new 2083+ character code, and enhance readability Mar 20, 2019
@rawr51919 rawr51919 changed the title Update index.js to fix translations over 2083 characters and test.js to remove redundant test cases, add a test case for the new 2083+ character code, and enhance readability Update index.js and test.js to add functionality from multiple unmerged PRs from the unmaintained upstream as well as clean up the code a bit Mar 20, 2019
Updates index.js to add in content from more unmerged PRs to the unmaintained upstream.
Updates languages.js to add content from unmerged PRs to the unmaintained upstream where possible.
Fix a minor error in the index.js keeping the Travis CI build from passing.
Updates test.js to add test cases from unmerged PRs to the unmaintained upstream.
Updates the test.js to fix a minor typo in one of the test cases.
Updates index.js to fix Travis CI builds.
@rawr51919 rawr51919 changed the title Update index.js and test.js to add functionality from multiple unmerged PRs from the unmaintained upstream as well as clean up the code a bit Update index.js, test.js, and languages.js to add functionality from multiple unmerged PRs from the unmaintained upstream as well as clean up the code a bit Mar 20, 2019
@vitalets

vitalets commented Mar 21, 2019

Copy link
Copy Markdown
Owner

@coltongit Thanks a lot! Could you please split on different PRs: one pr - one purpose.
It's much easier to understand and review.

@rawr51919

rawr51919 commented Mar 21, 2019

Copy link
Copy Markdown
Author

I'll reopen #12 as part of that and get separate PRs going to show exactly which one goes to which PR. Every change featured here would warrant a v2.9.0 just due to how much has happened here.

@rawr51919 rawr51919 closed this Mar 21, 2019
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.

3 participants