Compare commits

...

4 Commits

Author SHA1 Message Date
Carlosokumu
7880294c6f set eng as default language 2024-11-20 17:14:25 +03:00
Carlosokumu
451b15fb6b explicit set_language reload 2024-11-20 17:13:14 +03:00
Carlosokumu
d20700ca74 fix size limit error 2024-11-20 16:39:50 +03:00
Carlosokumu
9cf1cbe425 add swahili translation for catch node 2024-11-20 16:36:18 +03:00
5 changed files with 6 additions and 2 deletions

View File

@@ -154,7 +154,8 @@ func (h *Handlers) SetLanguage(ctx context.Context, sym string, input []byte) (r
code := strings.Split(symbol, "_")[1]
if !utils.IsValidISO639(code) {
return res, nil
//Fallback to english instead?
code = "eng"
}
res.FlagSet = append(res.FlagSet, state.FLAG_LANG)
res.Content = code

View File

@@ -0,0 +1 @@
Tatizo la kimtambo limetokea,tafadhali jaribu tena baadaye.

View File

@@ -1,6 +1,6 @@
LOAD set_default_voucher 8
RELOAD set_default_voucher
LOAD check_balance 64
LOAD check_balance 128
RELOAD check_balance
LOAD check_vouchers 10
RELOAD check_vouchers

View File

@@ -1,3 +1,4 @@
LOAD set_language 6
RELOAD set_language
CATCH terms flag_account_created 0
MOVE language_changed

View File

@@ -1,3 +1,4 @@
LOAD set_language 6
RELOAD set_language
CATCH terms flag_account_created 0
MOVE language_changed