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 portuguese language #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
<li><a href="#" class="listSelectionLink" data-list="russian">Russian</a></li>
<li><a href="#" class="listSelectionLink" data-list="spanish">Spanish</a></li>
<li><a href="#" class="listSelectionLink" data-list="swedish">Swedish</a></li>
<li><a href="#" class="listSelectionLink" data-list="portuguese">Portuguese (PT) </a></li>
<li><a href="#" class="listSelectionLink" data-list="portuguesebr">Portuguese (BR) </a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
Expand Down Expand Up @@ -340,9 +342,11 @@ <h3 class="panel-title">Who created this?</h3>
<script async src="lists/russian-min.js" integryty="sha384-hQRKR3ReKFidL1Zkprmbumo3c/u7DIkrWXHKe31uPEv2GyVseFnPWkIAfXYj7T+P" crossorigin="anonymous"></script>
<script async src="lists/spanish-min.js" integrity="sha384-Run924pvGSmDFc9EfHQSE1qgb/A+Ct8ZEIKh03/HzvpIQROCuc2zlUoRY2Aah2CR" crossorigin="anonymous"></script>
<script async src="lists/swedish-min.js" integrity="sha384-6JJZcWqkihCRQXrH0UtKejY0PkFd+bTx7yHuwp56kj21xVt9NTOG4yuDsHKlUAfX" crossorigin="anonymous"></script>
<script async src="lists/portuguese.js" integrity="sha384-T+4s7KSwjV1QehVBYYpUTpFFZmeJSN87iWkkBpx8iFnsMoO/B0qB7BO6B6YS3AVm" crossorigin="anonymous"></script>
<script async src="lists/portuguesebr.js" integrity="sha384-Z7BsgqF2LtrWUDUU1MS0PTOP22F+rR1CTrWb2AHBDsm2FJeVox51vplzieWMsBQO" crossorigin="anonymous"></script>

<!-- core application JS -->
<script src="index.js" integrity="sha384-gSWvwLjtk9D9/TjPoZijwEquFBpJc2+eyfUwB0kXzXpvQCIMQK0eQ7oh9SfJoGZf" crossorigin="anonymous"></script>
<script src="index.js" integrity="sha384-axXMAH75+uWk4eHyD1Rx506ZZvLuRLwCCmrAxQS4LVEZ3karzvQRu1zlbtl9J+TF" crossorigin="anonymous"></script>

</body>

Expand Down
6 changes: 6 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,12 @@ function getWordFromWordNum (wordNum) {
case 'spanish':
word = spanish[wordNum]
break
case 'portuguese':
word = portuguese[wordNum]
break
case 'portuguesebr':
word = portuguesebr[wordNum]
break
default:
word = eff[wordNum]
break
Expand Down
Loading