package Ġcom . so yle . stories . desktop . config . so yle stories Ċ Ċ import Ġcom . so yle . stories . desktop . config . character . Characters Ċ import Ġcom . so yle . stories . desktop . config . locale . Locale Holder Ċ import Ġcom . so yle . stories . desktop . config . location . Locations Ċ import Ġcom . so yle . stories . desktop . config . project . Projects Ċ import Ġcom . so yle . stories . desktop . config . pro se . Pro se Ċ import Ġcom . so yle . stories . desktop . config . scene . Sc enes Ċ import Ġcom . so yle . stories . desktop . config . theme . Themes Ċ import Ġcom . so yle . stories . desktop . locale . So yle Messages Ċ import Ġcom . so yle . stories . di . DI Ċ import Ġcom . so yle . stories . di . configure DI Ċ import Ġcom . so yle . stories . di . get Ċ import Ġcom . so yle . stories . di . scoped Ċ import Ġcom . so yle . stories . scene . setting . Scene Setting Tool Locale Ċ import Ġcom . so yle . stories . so yle stories . Application Scope Ċ import Ġcom . so yle . stories . so yle stories . So yle St ories Ċ import Ġcom . sun . java fx . application . Launcher Impl Ċ import Ġjavafx . beans . value . Observable Value Ċ import Ġt orn ad of x . object Property Ċ import Ġjava . util .* Ċ import Ġjava . util . prefs . Preferences Ċ Ċ fun Ġmain ( args : ĠArray < String >) Ġ{ ĊĠĠĠ ĠSo yle St ories . initialization Ġ= Ġ:: configure Modules ĊĊĠĠĠ Ġconfigure Localization () ĊĊĠĠĠ ĠLaunch er Impl . launch Application ( So yle St ories :: class . java , ĠSo yle St ories Pre Loader :: class . java , Ġargs ) Ċ } Ċ Ċ fun Ġconfigure Localization () Ġ{ ĊĠĠĠ Ġscoped < Application Scope > Ġ{ ĊĠĠĠĠĠĠĠ Ġkeep In Scope Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠLocale Holder ( So yle Messages . getLocale ( Locale . getDefault ())) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġkeep In Scope < Scene Setting Tool Locale > Ġ{ Ġget < Locale Holder >() Ġ} ĊĠĠĠ Ġ} Ċ } Ċ Ċ fun Ġconfigure Modules () Ġ{ ĊĠĠĠ Ġconfigure DI () ĊĠĠĠ ĠProjects () ĊĠĠĠ ĠSc enes () ĊĠĠĠ ĠPro se () ĊĠĠĠ ĠThe mes () ĊĠĠĠ ĠChar acters () ĊĠĠĠ ĠLoc ations () Ċ }