Skip to content

Commit

Permalink
Trekk ut rett del for å bli bytt til namn
Browse files Browse the repository at this point in the history
  • Loading branch information
snomos committed Oct 24, 2023
1 parent ccbf3c5 commit 0cc176d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/langtable.js
Original file line number Diff line number Diff line change
Expand Up @@ -8326,7 +8326,7 @@ function addTemplTR(repo) {

function reponame2templatename(reponame) {
parts = reponame.split('-');
return code2templatename[parts[2]] + ' (' + parts[2] + ')'
return code2templatename[parts[1]] + ' (' + parts[1] + ')'
}

const code2templatename = {
Expand Down

0 comments on commit 0cc176d

Please sign in to comment.