Skip to content

Commit

Permalink
Merge pull request #451 from OWASP/fix-language
Browse files Browse the repository at this point in the history
Fix language
  • Loading branch information
Ali Razmjoo authored Sep 12, 2021
2 parents aa651ab + 17dfaa4 commit 54ec990
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion api/api_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ def languages_to_country():
"ur": "pk",
"id": "id",
"es": "es",
"iw": "il"
"iw": "il",
"pt-br": "br"
}
for language in languages:
res += """<option {2} id="{0}" data-content='<span class="flag-icon flag-icon-{1}"
Expand Down
2 changes: 1 addition & 1 deletion web/static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ $(document).ready(function () {
selected_modules: selected_modules,
graph_name: graph_name,
language: language,
report_path_filename: $("#report_path_filename").val(),
report_path_filename: $("#output_file").val(),
scan_ip_range: p_1,
scan_subdomains: p_3,
ping_before_scan: p_2,
Expand Down

0 comments on commit 54ec990

Please sign in to comment.