diff --git a/contrib/backends/srndv2/src/srnd/templates.go b/contrib/backends/srndv2/src/srnd/templates.go index d4bbe65..6b8afaf 100644 --- a/contrib/backends/srndv2/src/srnd/templates.go +++ b/contrib/backends/srndv2/src/srnd/templates.go @@ -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) } diff --git a/contrib/translations/en-US.ini b/contrib/translations/en-US.ini index 0090ef2..a7efd14 100644 --- a/contrib/translations/en-US.ini +++ b/contrib/translations/en-US.ini @@ -176,5 +176,5 @@ start_mining=Mine! download_prompt=Download -postbutton-reply=Reply -postbutton-thread=New Thread +postbutton_reply=Reply +postbutton_thread=New Thread diff --git a/contrib/translations/ja-JP.ini b/contrib/translations/ja-JP.ini index 65ea800..c5df226 100644 --- a/contrib/translations/ja-JP.ini +++ b/contrib/translations/ja-JP.ini @@ -180,8 +180,8 @@ board_title-overchan=のページ # navbar-links-title=ページ navbar-link=検索 data-subject-none=無し -postbutton-reply=回答 -postbutton-thread=親スレ +postbutton_reply=回答 +postbutton_thread=親スレ excluded=# ポスト除外 data-name=名無し paginator-next=次