Compare commits

..

No commits in common. "289fc2b69a16a38c422a94b9c49ddb07c6e601b0" and "951413cc03f74afcea73598f062b3816a504dcdc" have entirely different histories.

12 changed files with 5 additions and 19 deletions

View File

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

View File

@ -1 +0,0 @@
My Account

View File

@ -1 +0,0 @@
Akaunti yangu

View File

@ -1 +0,0 @@
Help

View File

@ -1 +0,0 @@
Usaidizi

View File

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

View File

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

View File

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

View File

@ -1 +0,0 @@
Send

View File

@ -1 +0,0 @@
Tuma

View File

@ -1 +0,0 @@
My Vouchers

View File

@ -1 +0,0 @@
Sarafu yangu