File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 144
144
<ul id =" lang-list" class =" theme-popup" aria-label =" Languages" role =" menu" >
145
145
<li role =" none" ><button role =" menuitem" class =" theme" data-lang =" en" >English</button ></li >
146
146
<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" >KR</button ></li >
147
148
</ul >
148
149
{{ #if search_enabled }}
149
150
<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 30
30
document . addEventListener ( 'click' , function ( e ) {
31
31
if ( e . target && e . target . matches ( 'button[data-lang]' ) ) {
32
32
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
34
34
35
35
let currentPath = window . location . pathname ;
36
36
Original file line number Diff line number Diff line change 1
1
[book ]
2
2
authors = [" Karnage" ]
3
- language = " en "
3
+ language = " ko-KR "
4
4
src = " src"
5
5
title = " Learn Vulkan"
6
6
7
7
[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