Compare commits
4 Commits
single-err
...
7880294c6f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7880294c6f
|
||
|
|
451b15fb6b
|
||
|
|
d20700ca74
|
||
|
|
9cf1cbe425
|
@@ -154,7 +154,8 @@ func (h *Handlers) SetLanguage(ctx context.Context, sym string, input []byte) (r
|
|||||||
code := strings.Split(symbol, "_")[1]
|
code := strings.Split(symbol, "_")[1]
|
||||||
|
|
||||||
if !utils.IsValidISO639(code) {
|
if !utils.IsValidISO639(code) {
|
||||||
return res, nil
|
//Fallback to english instead?
|
||||||
|
code = "eng"
|
||||||
}
|
}
|
||||||
res.FlagSet = append(res.FlagSet, state.FLAG_LANG)
|
res.FlagSet = append(res.FlagSet, state.FLAG_LANG)
|
||||||
res.Content = code
|
res.Content = code
|
||||||
|
|||||||
1
services/registration/_catch_swa
Normal file
1
services/registration/_catch_swa
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Tatizo la kimtambo limetokea,tafadhali jaribu tena baadaye.
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
LOAD set_default_voucher 8
|
LOAD set_default_voucher 8
|
||||||
RELOAD set_default_voucher
|
RELOAD set_default_voucher
|
||||||
LOAD check_balance 64
|
LOAD check_balance 128
|
||||||
RELOAD check_balance
|
RELOAD check_balance
|
||||||
LOAD check_vouchers 10
|
LOAD check_vouchers 10
|
||||||
RELOAD check_vouchers
|
RELOAD check_vouchers
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
LOAD set_language 6
|
LOAD set_language 6
|
||||||
|
RELOAD set_language
|
||||||
CATCH terms flag_account_created 0
|
CATCH terms flag_account_created 0
|
||||||
MOVE language_changed
|
MOVE language_changed
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
LOAD set_language 6
|
LOAD set_language 6
|
||||||
|
RELOAD set_language
|
||||||
CATCH terms flag_account_created 0
|
CATCH terms flag_account_created 0
|
||||||
MOVE language_changed
|
MOVE language_changed
|
||||||
|
|||||||
Reference in New Issue
Block a user