Compare commits

..

6 Commits

12 changed files with 19 additions and 5 deletions

View File

@ -59,7 +59,6 @@ type fsData struct {
func (fsd *fsData) SetLanguageSelected(ctx context.Context, sym string, input []byte) (resource.Result, error) {
inputStr := string(input)
res := resource.Result{}
switch inputStr {
case "0":
res.FlagSet = []uint32{state.FLAG_LANG}
@ -257,6 +256,9 @@ func main() {
if err != nil {
pr = pr.WithContent(&st, ca)
err = pr.Save(cfg.SessionId)
if err != nil {
fmt.Fprintf(os.Stderr, "Failed to save state with error: %v\n", err)
}
en, err = engine.NewPersistedEngine(ctx, cfg, pr, rfs)
if err != nil {
fmt.Fprintf(os.Stderr, "engine create exited with error: %v\n", err)

View File

@ -0,0 +1 @@
My Account

View File

@ -0,0 +1 @@
Akaunti yangu

View File

@ -0,0 +1 @@
Help

View File

@ -0,0 +1 @@
Usaidizi

View File

@ -1,2 +1,2 @@
Welcome. Your account is
{{.check_identifier}}
Balance: 0.00 SRF

View File

@ -1,4 +1,9 @@
LOAD check_identifier 64
RELOAD check_identifier
MAP check_identifier
MOUT send 1
MOUT vouchers 2
MOUT account 3
MOUT help 4
HALT

View File

@ -1,2 +1 @@
Karibu. Akaunti yako ni
{{.check_identifier}}
Salio: 0.00 SRF

View File

@ -0,0 +1 @@
Send

View File

@ -0,0 +1 @@
Tuma

View File

@ -0,0 +1 @@
My Vouchers

View File

@ -0,0 +1 @@
Sarafu yangu