File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 144144 <ul id =" lang-list" class =" theme-popup" aria-label =" Languages" role =" menu" >
145145 <li role =" none" ><button role =" menuitem" class =" theme" data-lang =" en" >English</button ></li >
146146 <li role =" none" ><button role =" menuitem" class =" theme" data-lang =" zh-TW" >中文</button ></li >
147+ <li role =" none" ><button role =" menuitem" class =" theme" data-lang =" ko-KR" >한글</button ></li >
147148 </ul >
148149 {{ #if search_enabled }}
149150 <button id =" search-toggle" class =" icon-button" type =" button" title =" Search. (Shortkey: s)" aria-label =" Toggle Searchbar" aria-expanded =" false" aria-keyshortcuts =" S" aria-controls =" searchbar" >
Original file line number Diff line number Diff line change 3030 document . addEventListener ( 'click' , function ( e ) {
3131 if ( e . target && e . target . matches ( 'button[data-lang]' ) ) {
3232 const chosenLang = e . target . getAttribute ( 'data-lang' ) ;
33- const supportedLangs = [ 'en' , 'zh-TW' ] ; // Add translated languages here
33+ const supportedLangs = [ 'en' , 'zh-TW' , 'ko-KR' ] ; // Add translated languages here
3434
3535 let currentPath = window . location . pathname ;
3636
Original file line number Diff line number Diff line change 11[book ]
2- authors = [" Karnage" ]
3- language = " en "
2+ authors = [" Karnage" , " DDing " ]
3+ language = " ko-KR "
44src = " src"
55title = " Learn Vulkan"
66
77[output .html ]
8- theme = " theme"
9- additional-js = [" theme/lang_toggle.js" ]
10- additional-css = [" theme/lang_toggle.css" ]
8+ theme = " ../ theme"
9+ additional-js = [" ../ theme/lang_toggle.js" ]
10+ additional-css = [" ../ theme/lang_toggle.css" ]
You can’t perform that action at this time.
0 commit comments