Compare commits
No commits in common. "1d23a0cc4b96b237a2d61e18cde71912b4d9448c" and "c8146ea211ac631470a9ea25200202f0cf0c0c4a" have entirely different histories.
1d23a0cc4b
...
c8146ea211
@ -21,10 +21,3 @@ LANGUAGES=eng, swa
|
|||||||
|
|
||||||
#Alias search domains
|
#Alias search domains
|
||||||
ALIAS_SEARCH_DOMAINS=sarafu.local, sarafu.eth
|
ALIAS_SEARCH_DOMAINS=sarafu.local, sarafu.eth
|
||||||
|
|
||||||
#Pool swap
|
|
||||||
DEFAULT_POOL_NAME="Kenya ROLA Pool"
|
|
||||||
DEFAULT_POOL_SYMBOL=ROLA
|
|
||||||
DEFAULT_POOL_CONTRACT_ADDRESS=0x48a953cA5cf5298bc6f6Af3C608351f537AAcb9e
|
|
||||||
DEFAULT_LIMITER_ADDRESS=
|
|
||||||
DEFAULT_VOUCHER_REGISTRY=
|
|
||||||
|
|||||||
@ -25,7 +25,7 @@ const (
|
|||||||
defaultSSHHost string = "127.0.0.1"
|
defaultSSHHost string = "127.0.0.1"
|
||||||
defaultSSHPort uint = 7122
|
defaultSSHPort uint = 7122
|
||||||
defaultHTTPHost string = "127.0.0.1"
|
defaultHTTPHost string = "127.0.0.1"
|
||||||
defaultHTTPPort uint = 7123
|
defaultHTTPPort uint = 7123
|
||||||
defaultDomain = "sarafu.local"
|
defaultDomain = "sarafu.local"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -52,6 +52,7 @@ func SearchDomains() []string {
|
|||||||
return ParsedDomains
|
return ParsedDomains
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func Language() string {
|
func Language() string {
|
||||||
return viseconfig.DefaultLanguage
|
return viseconfig.DefaultLanguage
|
||||||
}
|
}
|
||||||
@ -75,15 +76,3 @@ func PortSSH() uint {
|
|||||||
func ATEndpoint() string {
|
func ATEndpoint() string {
|
||||||
return env.GetEnv("AT_ENDPOINT", "/")
|
return env.GetEnv("AT_ENDPOINT", "/")
|
||||||
}
|
}
|
||||||
|
|
||||||
func DefaultPoolAddress() string {
|
|
||||||
return env.GetEnv("DEFAULT_POOL_CONTRACT_ADDRESS", "")
|
|
||||||
}
|
|
||||||
|
|
||||||
func DefaultPoolName() string {
|
|
||||||
return env.GetEnv("DEFAULT_POOL_NAME", "")
|
|
||||||
}
|
|
||||||
|
|
||||||
func DefaultPoolSymbol() string {
|
|
||||||
return env.GetEnv("DEFAULT_POOL_SYMBOL", "")
|
|
||||||
}
|
|
||||||
|
|||||||
@ -2738,9 +2738,9 @@ func (h *MenuHandlers) LoadSwapToList(ctx context.Context, sym string, input []b
|
|||||||
}
|
}
|
||||||
|
|
||||||
defaultPool := dataserviceapi.PoolDetails{
|
defaultPool := dataserviceapi.PoolDetails{
|
||||||
PoolName: config.DefaultPoolName(),
|
PoolName: "Kenya ROLA Pool",
|
||||||
PoolSymbol: config.DefaultPoolSymbol(),
|
PoolSymbol: "ROLA",
|
||||||
PoolContractAdrress: config.DefaultPoolAddress(),
|
PoolContractAdrress: "0x48a953cA5cf5298bc6f6Af3C608351f537AAcb9e",
|
||||||
LimiterAddress: "",
|
LimiterAddress: "",
|
||||||
VoucherRegistry: "",
|
VoucherRegistry: "",
|
||||||
}
|
}
|
||||||
@ -2765,9 +2765,8 @@ func (h *MenuHandlers) LoadSwapToList(ctx context.Context, sym string, input []b
|
|||||||
if !r.CanSwapFrom {
|
if !r.CanSwapFrom {
|
||||||
res.FlagSet = append(res.FlagSet, flag_incorrect_voucher)
|
res.FlagSet = append(res.FlagSet, flag_incorrect_voucher)
|
||||||
res.Content = l.Get(
|
res.Content = l.Get(
|
||||||
"%s is not in %s. Please update your voucher and try again.",
|
"%s is not in the KENYA ROLA POOL. Please update your voucher and try again.",
|
||||||
activeSym,
|
activeSym,
|
||||||
config.DefaultPoolName(),
|
|
||||||
)
|
)
|
||||||
return res, nil
|
return res, nil
|
||||||
}
|
}
|
||||||
|
|||||||
@ -37,5 +37,5 @@ msgstr "Ombi lako limetumwa. Utapokea SMS wakati %s %s yako itakapobadilishwa ku
|
|||||||
msgid "%s balance: %s\n"
|
msgid "%s balance: %s\n"
|
||||||
msgstr "%s salio: %s\n"
|
msgstr "%s salio: %s\n"
|
||||||
|
|
||||||
msgid "%s is not in %s. Please update your voucher and try again."
|
msgid "%s is not in the KENYA ROLA POOL. Please update your voucher and try again."
|
||||||
msgstr "%s haipo kwenye %s. Tafadhali badilisha sarafu yako na ujaribu tena."
|
msgstr "%s haipo kwenye BWAWA LA KENYA ROLA. Tafadhali badilisha sarafu yako na ujaribu tena."
|
||||||
Loading…
Reference in New Issue
Block a user