Skip to content

Commit

Permalink
【新增】评论语言支持
Browse files Browse the repository at this point in the history
  • Loading branch information
PJ-568 committed May 22, 2024
1 parent 3c7576d commit 4883321
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions js/override.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,33 @@
case "arabic":
giscus_lang = "ar";
break;
case "catalan":
giscus_lang = "ca";
break;
case "danish":
giscus_lang = "da";
break;
case "deutsch":
giscus_lang = "de";
break;
case "persian":
giscus_lang = "fa";
break;
case "greek":
giscus_lang = "gr";
break;
case "serbian":
giscus_lang = "hbs";
break;
case "hebrew":
giscus_lang = "he";
break;
case "hungarian":
giscus_lang = "hu";
break;
case "italian":
giscus_lang = "it";
break;
default:
giscus_lang = "zh-CN";
break;
Expand Down

0 comments on commit 4883321

Please sign in to comment.