This repository was archived by the owner on Aug 31, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ export default {
3030 ja: " 日本語" ,
3131 ko: " 한국어" ,
3232 " nl-be" : " Dutch (Belgium)" ,
33+ no: " Norsk" ,
3334 pl: " Polski" ,
3435 " pt-br" : " Português" ,
3536 pt: " Português (Brasil)" ,
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import("dayjs/locale/vi");
2727import ( "dayjs/locale/zh-cn" ) ;
2828import ( "dayjs/locale/zh-tw" ) ;
2929import ( "dayjs/locale/cs" ) ;
30- import ( "dayjs/locale/no " ) ;
30+ import ( "dayjs/locale/nb " ) ;
3131
3232// All i18n resources specified in the plugin `include` option can be loaded
3333// at once using the import syntax
@@ -102,7 +102,6 @@ export function detectLocale() {
102102 case / ^ t r \b / . test ( locale ) :
103103 locale = "tr" ;
104104 break ;
105- // ua wasnt a valid locale for ukraine
106105 case / ^ u k \b / . test ( locale ) :
107106 locale = "uk" ;
108107 break ;
@@ -116,6 +115,10 @@ export function detectLocale() {
116115 case / ^ n l - b e \b / . test ( locale ) :
117116 locale = "nl-be" ;
118117 break ;
118+ case / ^ n b \b / . test ( locale ) :
119+ case / ^ n o \b / . test ( locale ) :
120+ locale = "no" ;
121+ break ;
119122 default :
120123 locale = "en" ;
121124 }
You can’t perform that action at this time.
0 commit comments