mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-20 15:55:48 +00:00
Random Email (#97)
* add random email * Update inbound_modal.html * Update inbound_modal.html * [bug] fix client nil for other types Co-authored-by: Hossin Asaadi <hossin.asaadi@gmail.com>
This commit is contained in:
@@ -23,7 +23,7 @@ func (a *BaseController) checkLogin(c *gin.Context) {
|
||||
}
|
||||
|
||||
|
||||
func I18n(c *gin.Context , name string, data ...string) string{
|
||||
func I18n(c *gin.Context , name string) string{
|
||||
anyfunc, _ := c.Get("I18n")
|
||||
i18n, _ := anyfunc.(func(key string, params ...string) (string, error))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user