Skip to content

Commit

Permalink
Update shell.nss
Browse files Browse the repository at this point in the history
  • Loading branch information
moudey authored Jan 4, 2025
1 parent c5d701a commit 98bc11f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/bin/shell.nss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
}

// localization
import lang 'imports/lang/en.nss'
$loc_path='imports\lang\'
import lang if(path.exists(loc_path + sys.lang + ".nss"),
loc_path + sys.lang + ".nss",
loc_path + "\\en.nss")
// or import lang 'imports/lang/en.nss'
import 'imports/theme.nss'
import 'imports/images.nss'
Expand Down

0 comments on commit 98bc11f

Please sign in to comment.