Skip to content

Commit 98bc11f

Browse files
authored
Update shell.nss
1 parent c5d701a commit 98bc11f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/bin/shell.nss

+6-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@
99
}
1010

1111
// localization
12-
import lang 'imports/lang/en.nss'
12+
$loc_path='imports\lang\'
13+
import lang if(path.exists(loc_path + sys.lang + ".nss"),
14+
loc_path + sys.lang + ".nss",
15+
loc_path + "\\en.nss")
16+
17+
// or import lang 'imports/lang/en.nss'
1318
1419
import 'imports/theme.nss'
1520
import 'imports/images.nss'

0 commit comments

Comments
 (0)