Node.js based forum software built for the modern web
fix: translate topic/post tools plugin entries
Barış Soner Uşaklıcffdf5b8ca6b
diff --git a/src/views/partials/topic/post-menu-list.tpl b/src/views/partials/topic/post-menu-list.tplindex 2367b97062..e572e81f82 100644--- a/src/views/partials/topic/post-menu-list.tpl+++ b/src/views/partials/topic/post-menu-list.tpl@@ -67,7 +67,7 @@{{{ each posts.tools }}}<li {{{ if ./disabled }}}class="disabled" {{{ end }}}><a class="dropdown-item rounded-1 d-flex align-items-center gap-2" {{{ if ./action}}}component="{./action}"{{{ end }}} role="menuitem" href="{{{ if ./href }}}{./href}{{{ else }}}#{{{ end }}}">- <span class="menu-icon"><i class="fa fa-fw text-secondary {./icon}"></i></span> {{./html}}+ <span class="menu-icon"><i class="fa fa-fw text-secondary {./icon}"></i></span> {{tx(./html)}}</a></li>{{{ end }}}diff --git a/src/views/partials/topic/topic-menu-list.tpl b/src/views/partials/topic/topic-menu-list.tplindex e6f798f2ad..e285a1f3bf 100644--- a/src/views/partials/topic/topic-menu-list.tpl+++ b/src/views/partials/topic/topic-menu-list.tpl@@ -77,6 +77,6 @@<!-- plugins only add to thread_tools if user has permission to perform action -->{{{ each thread_tools }}}<li>- <a href="#" class="dropdown-item rounded-1 d-flex align-items-center gap-2 {./class}" role="menuitem"><i class="fa fa-fw text-secondary {./icon}"></i> {./title}</a>+ <a href="#" class="dropdown-item rounded-1 d-flex align-items-center gap-2 {./class}" role="menuitem"><i class="fa fa-fw text-secondary {./icon}"></i> {{tx(./title)}}</a></li>{{{ end }}}