AntonLV 7 anni fa
parent
commit
ce2ba6faaf

+ 3 - 1
modules/base/text/classes/BxBaseModTextFormPoll.php

@@ -179,11 +179,13 @@ class BxBaseModTextFormPoll extends BxTemplFormView
 
     protected function genCustomInputAnswersButton($aInput)
     {
+        $CNF = &$this->_oModule->_oConfig->CNF;
+
         $sName = $aInput['name'];
 
         $aInput['type'] = 'button';
         $aInput['name'] .= '_add';
-        $aInput['value'] = _t('_bx_posts_form_poll_input_answers_add');
+        $aInput['value'] = _t($CNF['T']['txt_poll_form_answers_add']);
         $aInput['attrs']['class'] = 'bx-def-margin-sec-top';
         $aInput['attrs']['onclick'] = $this->_oModule->_oConfig->getJsObject('poll') . ".addPollAnswer(this, '" . $sName . "');";
 

+ 1 - 0
modules/boonex/ads/classes/BxAdsConfig.php

@@ -191,6 +191,7 @@ class BxAdsConfig extends BxBaseModTextConfig
                 'txt_all_entries_by_author' => '_bx_ads_page_title_browse_by_author',
                 'txt_all_entries_by_context' => '_bx_ads_page_title_browse_by_context',
                 'txt_err_cannot_perform_action' => '_bx_ads_txt_err_cannot_perform_action',
+                'txt_poll_form_answers_add' => '_bx_ads_form_poll_input_answers_add',
                 'txt_poll_menu_view_answers' => '_bx_ads_txt_poll_view_answers',
                 'txt_poll_menu_view_results' => '_bx_ads_txt_poll_view_results',
                 'txt_poll_answer_vote_do_by' => '_bx_ads_txt_poll_answer_vote_do_by',

+ 1 - 0
modules/boonex/posts/classes/BxPostsConfig.php

@@ -188,6 +188,7 @@ class BxPostsConfig extends BxBaseModTextConfig
                 'txt_all_entries_by_author' => '_bx_posts_page_title_browse_by_author',
                 'txt_all_entries_by_context' => '_bx_posts_page_title_browse_by_context',
                 'txt_err_cannot_perform_action' => '_bx_posts_txt_err_cannot_perform_action',
+                'txt_poll_form_answers_add' => '_bx_posts_form_poll_input_answers_add',
                 'txt_poll_menu_view_answers' => '_bx_posts_txt_poll_view_answers',
                 'txt_poll_menu_view_results' => '_bx_posts_txt_poll_view_results',
                 'txt_poll_menu_view_' => '_bx_posts_txt_poll_view_',

+ 0 - 1
template/vote_do_vote_likes_label.html

@@ -1 +0,0 @@
-<bx_if:show_icon><i class="sys-icon __name__"></i></bx_if:show_icon><bx_if:show_text><span class="bx-def-margin-sec-left-auto">__text__</span></bx_if:show_text>

+ 0 - 1
template/vote_do_vote_reactions_label.html

@@ -1 +0,0 @@
-<bx_if:show_icon><i class="sys-icon __name__"></i></bx_if:show_icon><bx_if:show_text><span class="bx-def-margin-sec-left-auto">__text__</span></bx_if:show_text>