more
This commit is contained in:
@@ -411,10 +411,16 @@ func renderPostForm(prefix, board, op_msg_id string, files, captcha bool, i18n *
|
||||
if op_msg_id != "" {
|
||||
button = "Reply"
|
||||
if i18n != nil {
|
||||
button = i18n.Translate("postbutton-reply")
|
||||
b := i18n.Translate("postbutton_reply")
|
||||
if b != "" {
|
||||
button = b
|
||||
}
|
||||
}
|
||||
} else if i18n != nil {
|
||||
button = i18n.Translate("postbutton-thread")
|
||||
b := i18n.Translate("postbutton_thread")
|
||||
if b != "" {
|
||||
button = b
|
||||
}
|
||||
}
|
||||
return template.renderTemplate("postform.mustache", map[string]interface{}{"post_url": url, "reference": op_msg_id, "button": button, "files": files, "prefix": prefix, "DisableCaptcha": !captcha}, i18n)
|
||||
}
|
||||
|
Reference in New Issue
Block a user