Skip to content

Commit

Permalink
deploy: c3c1af7
Browse files Browse the repository at this point in the history
  • Loading branch information
snomos committed Oct 25, 2023
1 parent c870132 commit f612ae5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/js/langtable.js
Original file line number Diff line number Diff line change
Expand Up @@ -8218,6 +8218,10 @@ function reponame2langname(reponame) {
return code2langname[parts[1]]
}

if (parts.length === 3 && parts[2].length === 4) {
return code2langname[parts[1]] + ' (' + code2scriptname[parts[2]] + ')'
}

return code2langname[parts[1]] + ' (' + parts.slice(3).join('-') + ')'
}

Expand Down

0 comments on commit f612ae5

Please sign in to comment.