bright-gpu-74537
04/02/2023, 12:38 PMbright-gpu-74537
04/02/2023, 12:38 PMicy-zebra-52882
04/02/2023, 2:26 PMicy-zebra-52882
04/02/2023, 2:27 PMicy-zebra-52882
04/02/2023, 2:34 PMLocaleManager.instance.addStrings(localeId:String, map<String,String>, filename:String = null)
but I'm not sure what the map is meant to be if I'm loading from the filebright-gpu-74537
04/02/2023, 2:35 PMicy-zebra-52882
04/02/2023, 2:38 PMbright-gpu-74537
04/02/2023, 2:38 PMicy-zebra-52882
04/02/2023, 2:38 PMhaxe.ui.locale.LocaleManager.instance.language = "en";
but it still shows the keys as textbright-gpu-74537
04/02/2023, 2:39 PMicy-zebra-52882
04/02/2023, 2:40 PMxml
<button text="{{UI.gotoFirstPage}}" id="firstPageButton" />
and the view create function has the above LocaleManager code to try to set en.properties
as the sourcebright-gpu-74537
04/02/2023, 2:40 PMicy-zebra-52882
04/02/2023, 2:41 PMicy-zebra-52882
04/02/2023, 2:41 PMbright-gpu-74537
04/02/2023, 2:41 PMbright-gpu-74537
04/02/2023, 2:42 PMicy-zebra-52882
04/02/2023, 2:44 PMicy-zebra-52882
04/02/2023, 2:44 PMbright-gpu-74537
04/02/2023, 2:44 PMicy-zebra-52882
04/02/2023, 3:00 PMicy-zebra-52882
04/02/2023, 3:01 PMhttps://plzlookat.mystupid.pictures/ZVypwWHiKK.png▾
bright-gpu-74537
04/02/2023, 3:20 PMicy-zebra-52882
04/02/2023, 3:58 PM<menuitem>
to run a callback when bound with @:bind(myMenuItem, MouseEvent.CLICK)
icy-zebra-52882
04/02/2023, 3:59 PMbright-gpu-74537
04/02/2023, 4:18 PMicy-zebra-52882
04/02/2023, 4:20 PMbright-gpu-74537
04/02/2023, 4:21 PMbright-gpu-74537
04/02/2023, 4:21 PMicy-zebra-52882
04/02/2023, 4:22 PMicy-zebra-52882
04/02/2023, 4:22 PM