From c3c1af72d17f89325de9322f8e37dbf69125453e Mon Sep 17 00:00:00 2001 From: Sjur N Moshagen Date: Wed, 25 Oct 2023 22:35:37 +0200 Subject: [PATCH] Try to use the new table for Script names --- assets/js/langtable.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/js/langtable.js b/assets/js/langtable.js index f9debe08..c2043d1f 100644 --- a/assets/js/langtable.js +++ b/assets/js/langtable.js @@ -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('-') + ')' }